Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
As BorIDE progresses...
#46
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)
Reply
#47
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!
Reply
#48
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 Wink
Reply
#49
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 Wink
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!
Reply
#50
Not network storage - it's local. Just dropbox replicates it to cloud.
Reply
#51
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!
Reply
#52
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??
Reply
#53
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!
Reply
#54
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!
Reply
#55
Nice stuff!
Reply
#56
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!
Reply
#57
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...02013).zip
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply
#58
Awesome! Bravo!
Reply
#59
And this is version 0.5? Confusedhock:

Will the 1.0 release actually write the code for me?!
Reply
#60
britlion Wrote:And this is version 0.5? Confusedhock:

Will the 1.0 release actually write the code for me?!
No, this is version 0.5 Alpha. Wait for the Beta 0.01 Big Grin.
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!
Reply


Forum Jump:


Users browsing this thread: 15 Guest(s)