FAQ  •  Register  •  Login

As BorIDE progresses...

<<

boriel

Site Admin

Posts: 1461

Joined: Wed Nov 01, 2006 6:18 pm

Location: Santa Cruz de Tenerife, Spain

Post Thu Sep 13, 2012 6:56 am

Re: As BorIDE progresses...

britlion wrote:23:35:16 -> Exit code: 1
23:35:16 -> temp.bor:556: Syntax Error. Unexpected token '0.0' <NUMBER>. Compilation failed
23:35:17 -> FAIL: Compiler cannot write output file in directory (Protected Or does Not exist?)
23:35:17 -> Compilation time: 2403ms

The above looks like a syntax error. :?:
If this it's not related to the IDE, can you check your code using just zxb.exe from the command line, please? (just to discard it's not another compiler bug)
<<

LCD

Posts: 596

Joined: Fri Feb 13, 2009 3:11 pm

Location: Vienna, Austria

Post Thu Sep 13, 2012 12:57 pm

Re: As BorIDE progresses...

britlion wrote:Downloaded to try it again.
It still looks awesome (well, once I change some colours so my eyes don't fall out. What on earth is that default REM colour about?!)

If you send me your configuration file of BorIDE, I can include your favourite highlightning in the next version as preset... The default REM colour is to show that the line is inactive.
britlion wrote:However: can't get it to do what I want, so I can't use it.

I can understand you. I will make it better with each version, if I will get some feedback
britlion wrote:First I keep getting this: and am not sure why.

3:35:15 -> Compilation starts(590 Lines)
23:35:15 -> Source D:\Users\Paul\Documents\Dropbox\Shared with Paul and ElastiPaul\TommyGun\AlienBreeder\AlienBreeder saved
23:35:15 -> C:\Program Files (x86)\Boriel Tm\ZX Basic Compiler\zxb.exe "D:\Users\Paul\Documents\Dropbox\Shared with Paul and ElastiPaul\TommyGun\AlienBreeder\temp.bor" -S 24576 -o "output.bin" --heap-size=1000

23:35:16 -> Exit code: 1
23:35:16 -> temp.bor:556: Syntax Error. Unexpected token '0.0' <NUMBER>. Compilation failed
23:35:17 -> FAIL: Compiler cannot write output file in directory (Protected Or does Not exist?)
23:35:17 -> Compilation time: 2403ms

sounds like the program is not allowed to write in this directory, it does not exist or the path has illegal character codes, or it is somehow related to my notebook problem. But as Boriel wrote, it seems like a syntax error there (Line 556). BorIDE marks usualy the error line and change the view position to display it.
Make a directory for your projects:
D:\MyProjects\AlienBreeder\ or similar.
britlion wrote:Secondly - how do I change the compiler options? I don't want "-S 24576 -o "output.bin" --heap-size=1000" at all! I want something completely different...

On the right side there should be a panel where all these options can by set. If you cannot see them, maybe the window is too small. Check the Config file for "splitter" value and window size.
britlion wrote:Thirdly: If I load in "AlienBreeder.bas" from a folder - why does it save out "AlienBreeder.bor" ?

Go to BorIDE Settings, "editor 1" and change suffix from "BOR" to "BAS"
britlion wrote:Back to tommygun, for the moment. I keep wanting to change to BorIDE though - it's got so much going for it. Even if I don't understand half of what it can do, yet. Folding is the killer option I want so badly - but I can't actually compile anything yet!

Maybe the problem with saving is related to my multitab problem on the notebook. Trying to fix it now.
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
<<

britlion

Posts: 762

Joined: Mon Apr 27, 2009 7:26 pm

Location: Slough, Berkshire, UK

Post Thu Sep 13, 2012 4:04 pm

Re: As BorIDE progresses...

Yes, it saves the file - but the compiler was complaining. A bit baffled by that. I suspect it's not BorIDE's fault that.

Probably my weirdness for keeping files in dropbox so I can work on them with any computer :-)

Also: Using windows 8. I should know better ;)
<<

LCD

Posts: 596

Joined: Fri Feb 13, 2009 3:11 pm

Location: Vienna, Austria

Post Thu Sep 13, 2012 4:37 pm

Re: As BorIDE progresses...

britlion wrote:Yes, it saves the file - but the compiler was complaining. A bit baffled by that. I suspect it's not BorIDE's fault that.

Probably my weirdness for keeping files in dropbox so I can work on them with any computer :-)

Also: Using windows 8. I should know better ;)

Oh, that explains a lot!
It does not work with network storage...
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
<<

britlion

Posts: 762

Joined: Mon Apr 27, 2009 7:26 pm

Location: Slough, Berkshire, UK

Post Thu Sep 13, 2012 4:55 pm

Re: As BorIDE progresses...

Not network storage - it's local. Just dropbox replicates it to cloud.
<<

LCD

Posts: 596

Joined: Fri Feb 13, 2009 3:11 pm

Location: Vienna, Austria

Post Thu Sep 13, 2012 5:16 pm

Re: As BorIDE progresses...

britlion wrote:Not network storage - it's local. Just dropbox replicates it to cloud.

I understand...
Anyway trying to fix the main problem first. My Windows 8 installation was replaced with Windows 7 again btw. I do not like Win 8, it is a nightmare for coders.
My current ZX projects compile excellent with BorIDE on Netbook and all other computers (The lightning FX procedure of "Yomiko in the haunted Mansion" is still too slow!!! :evil: ).
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
<<

boriel

Site Admin

Posts: 1461

Joined: Wed Nov 01, 2006 6:18 pm

Location: Santa Cruz de Tenerife, Spain

Post Fri Sep 14, 2012 6:52 am

Re: As BorIDE progresses...

LCD wrote:
britlion wrote:Not network storage - it's local. Just dropbox replicates it to cloud.

I understand...
Anyway trying to fix the main problem first. My Windows 8 installation was replaced with Windows 7 again btw. I do not like Win 8, it is a nightmare for coders.
My current ZX projects compile excellent with BorIDE on Netbook and all other computers (The lightning FX procedure of "Yomiko in the haunted Mansion" is still too slow!!! :evil: ).

It's slow compiling or executing the game??
Is it ZX Basic??
<<

LCD

Posts: 596

Joined: Fri Feb 13, 2009 3:11 pm

Location: Vienna, Austria

Post Fri Sep 14, 2012 8:35 am

Re: As BorIDE progresses...

boriel wrote:It's slow compiling or executing the game??
Is it ZX Basic??

Executing... I overdid it a bit with the simulation of light, but working now on faster and simpler way to do it. But in the next game in the series "Yomiko in the realm of Slenderman" I planed to simulate the light of a pocket torch lamp, which will be even more complex with shadows and such stuff.
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
<<

LCD

Posts: 596

Joined: Fri Feb 13, 2009 3:11 pm

Location: Vienna, Austria

Post Thu Feb 28, 2013 11:53 pm

Re: As BorIDE progresses...

Next version is forming up now... Very nice features list, most of them well tested, other will need testing.
Examples: clicking on SUB/FUNCTION name and pressing Shift+F3 = Cursor jumps to the SUB definition. These names will also be in autocomplete list and quickhelp will display the parameters.
Also added a sorted list of FUNCTIONs/SUBs in the sidebar. BEEP Pitch <=> Frequency calculator. Explicit-flag. Rewrote Autocompletion (GoScintilla did not allowed Spaces, e.g. "END IF"). All compiler warnings and errors displayed now (also with possibility to display them as Annotations directly in the source code too). And much more...
There is still a lot to do.
Still not done: Help, Painter and binary manager. But I will work on them too.
I wanted to avoid LinkedLists for performance reasons, but writing this stuff with only POKEs is hard.
Watch this space.
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
<<

britlion

Posts: 762

Joined: Mon Apr 27, 2009 7:26 pm

Location: Slough, Berkshire, UK

Post Fri Mar 01, 2013 2:24 pm

Re: As BorIDE progresses...

Nice stuff!
<<

LCD

Posts: 596

Joined: Fri Feb 13, 2009 3:11 pm

Location: Vienna, Austria

Post Sat Mar 02, 2013 11:42 pm

Re: As BorIDE progresses...

Rudimentary Binary Manager is what I'm currently working on. Just created my first program for testing, which is using the memory banks of Spectrum 128. The Loader maker can now detect if binary manager uses banks and adds loader code for loading them. Interrupts creation still on to do list.
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
<<

LCD

Posts: 596

Joined: Fri Feb 13, 2009 3:11 pm

Location: Vienna, Austria

Post Sun Mar 03, 2013 10:29 pm

Re: As BorIDE progresses...

Version 0.5 is ready:

Added:
* TZX Saving readded again
* MegaLZ now displays length of files for direct comparsion.
* Last 21 searches are stored and can be recalled
* MegaLZ decompression, ApLib compression and Exomizer compression
* Find Function or sub (Shift + F3) finds the function or Sub and put the cursor to its position.
* Conversion Numbers to 8-Bit negative
* Conversion of DEFB Data to graphics in Painter
* Added BEEP Pitch <=> Frequency calculator
* sorted list on sidebar collects all SUBs and FUNCTIONs for faster access. List will be recreated everytime program is switched, loaded or tab is switched to bookmarks.
* Explicit-flag added
* Help text (calltips) now available also for subs and functions (Needs to be added to autocompletion list)
* Styling for List with SUBs and FUNCTIONs added
* Autocompletion now do not use GoScintilla Autocompletion, but my own (featuring two-word entrys and SUBs/FUNCTIONs), a long awaited feature
* Compiler warnings and errors are now annotated in source code (but you can switch this off)
* Painter Automask feature
* Binary Manager (saves the binaries list in bmi files - Binary Manager Information) with 128K support
* More types of binaries for memory map
* Interrupt creator works now and supports also switching the memory bank (if Music is in a different bank). Do not forget to POKE 23388 with the actual switched in bank (POKE 23388,16).
* Binary Compression with MegaLZ, ApLib or Exomizer

Bugs fixed:
* Source switching bug resolved, I hope, this time completly (but be careful and report any problems).
* Painter monochrome mode import of pictures does not keep attributes anymore if colour conversion was done before
* Brace Foreground Colour was not saved
* SaveAs saves now current directory for each individual tab
* Painter scrolling with cursor keys now possible if cursor hover over the zoomed image. No need anymore to click to gain focus.
* Now all compiler warnings and errors are displayed, not just the last one.

Changed:
* SUB and FUNCTION now triggers folding only if at the very beginning of the line (Assembler SUB and GO SUB caused mess with folding, so please use indentation in ASM blocks)
* BASIC loader creator optimised and added support for 128K
* Interrupt Creator now only available from Binary manager

Grab it from my hands while it is still warm...
http://members.inode.at/838331/pc/BorIDE%20v0.5%20(Version%20from%2003th%20March%202013).zip
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
<<

JBGV

Posts: 65

Joined: Wed Feb 16, 2011 6:12 am

Post Mon Mar 04, 2013 5:43 am

Re: As BorIDE progresses...

Awesome! Bravo!
<<

britlion

Posts: 762

Joined: Mon Apr 27, 2009 7:26 pm

Location: Slough, Berkshire, UK

Post Mon Mar 04, 2013 5:05 pm

Re: As BorIDE progresses...

And this is version 0.5? :shock:

Will the 1.0 release actually write the code for me?!
<<

LCD

Posts: 596

Joined: Fri Feb 13, 2009 3:11 pm

Location: Vienna, Austria

Post Mon Mar 04, 2013 6:30 pm

Re: As BorIDE progresses...

britlion wrote:And this is version 0.5? :shock:

Will the 1.0 release actually write the code for me?!

No, this is version 0.5 Alpha. Wait for the Beta 0.01 :D.
Joking...
I do not want to call it 1.0 until all features that I want to include, are finished.
There is still a lot to do.
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
PreviousNext

Return to ZX Basic Compiler

Who is online

Users browsing this forum: No registered users and 2 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.

phpBB SEO