Posts: 615
Threads: 49
Joined: Feb 2009
Reputation:
2
Bugfixed version uploaded. Can be downloaded from my website.
Posts: 3
Threads: 2
Joined: Jun 2012
Reputation:
0
LCD
I like you BorIDE, makes working with Boriel's compiler very easy, but I have a request.
Can you make a lock for zoom so when the next time the program starts it has the same font size as it closed . I prefer a greater font size.
When ZXB signals a error in the listing BorIDE marks this line with ">>>>" I find this hard to see , could we have something bigger like a red arrow (like bookmark arrow).
Regards,
Frisian
P.S auto complete gives ENDIF but the compiler only accepts END IF
Posts: 615
Threads: 49
Joined: Feb 2009
Reputation:
2
frisian Wrote:LCD
I like you BorIDE, makes working with Boriel's compiler very easy, but I have a request. Hallo, thank you for using BorIDE.
frisian Wrote:Can you make a lock for zoom so when the next time the program starts it has the same font size as it closed . I prefer a greater font size. Usualy it should keep the zoom value saved. Looks like a bug. I will ceck it.
EDIT: fu..! it was commented out as I removed some old code. Will be included again in next release. Thanks!
frisian Wrote:When ZXB signals a error in the listing BorIDE marks this line with ">>>>" I find this hard to see , could we have something bigger like a red arrow (like bookmark arrow). Hmmm... I will try to find a possibility for using better visible marker in the next version.
EDIT: Will be done in next release. You can then select the style and colours of Error, Warn and Bookmark Markers.
frisian Wrote:Regards,
Frisian
P.S auto complete gives ENDIF but the compiler only accepts END IF I like ENDIF much more than END IF, but the fact is that ENDIF belongs to compiler directives (#IFDEF/#ENDIF). Check this post from boriel: <!-- l --><a class="postlink-local" href="http://www.boriel.com/forum/post903.html?hilit=#p903">post903.html?hilit=#p903</a><!-- l -->
Posts: 282
Threads: 48
Joined: Feb 2011
Reputation:
0
it works well now,
are you sure it supplies the right string to the emulator?
when my emulator opens it opens the last game I opened instead of my game
also does BoriDE allow me to use -Tab compiler directives?
Posts: 615
Threads: 49
Joined: Feb 2009
Reputation:
2
07-01-2012, 05:20 PM
(This post was last modified: 04-05-2020, 12:21 PM by boriel.)
Yes, I'm sure... Which Emulator do you use? Are Spaces in filename/folder names?
What does the -Tab directive? Do you have a link where it is described?
https://zxbasic.readthedocs.io/en/latest/zxb/ does not describe it.
Posts: 282
Threads: 48
Joined: Feb 2011
Reputation:
0
I use emuzwin to emulate there are no spaces in the path
the directives are -T -a and -B I think, they always seem to be used,
-T, --tzx Sets output format to tzx (default is .bin)
-a, --autorun Sets the program to be run once loaded
-B, --BASIC Creates a BASIC loader which load the rest of the CODE. Requires -T ot -t
actually you dont seem to need those directives
Posts: 615
Threads: 49
Joined: Feb 2009
Reputation:
2
slenkar Wrote:I use emuzwin to emulate there are no spaces in the path
the directives are -T -a and -B I think, they always seem to be used,
-T, --tzx Sets output format to tzx (default is .bin)
-a, --autorun Sets the program to be run once loaded
-B, --BASIC Creates a BASIC loader which load the rest of the CODE. Requires -T ot -t
actually you dont seem to need those directives Will check EmuZWin...
In fact the flags are not sent to the compiler, but interpreted directly by my BASIC Loader builder (A Binary is generated, and then Loader and autostart added if selected so). I checked that it works in Preview 0.4 R03, so if you select these directives, they will work.
Posts: 615
Threads: 49
Joined: Feb 2009
Reputation:
2
Works fine with EmuZWin too (but I changed therealready something for the next release).
If a wrong file is started, check "Help" -> "Display Info" -> "Files" (expand) if all filenames are set correctly. But it sounds for me like there is something not compiled or not linked.
Posts: 1,763
Threads: 55
Joined: Aug 2019
Reputation:
24
LCD Wrote:frisian Wrote:Regards,
Frisian
P.S auto complete gives ENDIF but the compiler only accepts END IF I like ENDIF much more than END IF, but the fact is that ENDIF belongs to compiler directives (#IFDEF/#ENDIF). Check this post from boriel: <!-- l --><a class="postlink-local" href="http://www.boriel.com/forum/post903.html?hilit=#p903">post903.html?hilit=#p903</a><!-- l --> Note: Both ENDIF and END IF are allowed for the IF sentence. If not, it is a compiler bug.
#ENDIF (with sharp # prefix) is also used for the preprocessor.
Posts: 615
Threads: 49
Joined: Feb 2009
Reputation:
2
boriel Wrote:Note: Both ENDIF and END IF are allowed for the IF sentence. If not, it is a compiler bug. So we have found another one as ENDIF for IF ... THEN block causes unexpected end of file (In release 1.2.9. s888).
Posts: 1,763
Threads: 55
Joined: Aug 2019
Reputation:
24
Hmmm. Your're right.
Apparently, I dropped ENDIF (I can't recall, that was 4 *years* ago from now ![Tongue Tongue](https://www.boriel.com/forum/images/smilies/tongue.png) ) in favor of END IF, following FreeBasic Syntax. But I can add it back easily. Should we? :roll:
Posts: 615
Threads: 49
Joined: Feb 2009
Reputation:
2
boriel Wrote:Hmmm. Your're right.
Apparently, I dropped ENDIF (I can't recall, that was 4 *years* ago from now ) in favor of END IF, following FreeBasic Syntax. But I can add it back easily. Should we? :roll: Yes, I would like it.
Posts: 615
Threads: 49
Joined: Feb 2009
Reputation:
2
BorIDE Preview 0.4 R04 available now from my homepage:
Added:
* Styling for Bookmarks, Error- and warning marker (Frisian)
* Up to 5 emulators can be defined and assigned to sources
* Painter brush now uses texture
* Painter Text to Brush done
* Painter window size now memorized
* Circle and box can now be filled with a texture
Bugs fixed:
* Zoom level of Editor was not saved (Frisian)
* Author name of source was not saved
* Painter colour picker was not changing the bright checkbox
* BorIDE Options did not display Tooltips (was using custom Tooltips, which did not compile on x64)
Changed:
* Layout in styling options cleaned a bit
Posts: 615
Threads: 49
Joined: Feb 2009
Reputation:
2
Thats not a fun anymore: The BorIDE works excellent on my desktop PC, but on my netbook it is not possible to use multiple sources without overwriting the first one every time. I'm hunting this bug, but as I said: It works excellent on my desktop.
Posts: 805
Threads: 135
Joined: Apr 2009
Reputation:
5
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?!)
However: can't get it to do what I want, so I can't use it.
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
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...
Thirdly: If I load in "AlienBreeder.bas" from a folder - why does it save out "AlienBreeder.bor" ?
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!
|