ZX Basic 1.4 (beta) is out - Printable Version +- Forum (https://www.boriel.com/forum) +-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11) +--- Thread: ZX Basic 1.4 (beta) is out (/showthread.php?tid=580) |
ZX Basic 1.4 (beta) is out - boriel - 01-29-2014 After almost a year (okay, only two month ), a new version of ZX BASIC is out. ZX BASIC 1.4 (not 2.x) is a huge step forward in terms of compiler design. What to expect from this version? Nothing. What? Nothing. ZX BASIC 1.4 is a huge refactor but tries to maintain 100% backward compatibility with previous releases. Well, there are something you might expect: Bugs. Please, if you want to help, at this moment, the best way is to recompile your old programs with this new version and report errors. Another method is to generate --asm files with both 1.3.x and 1.4.x and compare (diff) them, to look for differences. Okay, yes, there are things that have already improved:
The question is: OK, now I'm open to new features... and architectures (MSX, I'm looking at you). It's time to discuss then :twisted: Download, as always, at the Download page. Re: ZX Basic 1.4 (beta) is out - apenao - 01-29-2014 I have been compiling some old code and I have found a problem in one of the "games" I did some months ago (code can be found in the gallery forum, it's the "cicloples y Saturno game" I try to compile with these parameters: -T -B -S 32768 -a %F.bas and I get this warnings and error codes: Code: > Executing: C:\Spectrum\Mis documentos\Archivos de programa\ConTEXT\ConExec.exe -i "C:\Program Files (x86)\Boriel Tm\ZX Basic Compiler\zxb.exe" -T -B -S 32768 -a CI7E9E~1.bas It does compile ok with 1.3.0.s979 Strangely, the other game i did in that time "coches" compiles ok in both the previous and the new versions. They both share most of the code, but I included the "doublesizeprint" routine from the library in the game that doesn't compile. So it might be worth checking that first. I'll upload the code in a while. Edit: uploading code and dependent files Re: ZX Basic 1.4 (beta) is out - apenao - 01-29-2014 I tried again with the Double Size Print routine in the library, this is the code: Code: CLS It compiles ok and Works in the previous versión. In the new versión, it compiles ok (doesn't show any warning or message) but doesn't work (at least in my emulator, Specemu). It shows just one character and then freeze. Re: ZX Basic 1.4 (beta) is out - apenao - 01-29-2014 Another "anormality" found. In my old crap game "Steroids Sports: Diving", it compiles and Works ok with my previous versión. In the new versión, it compiles and Works just to the point I use the "Print64" routine from the library. At this moment, it starts writting a lot of garbage in the screen (in 64 columns) when it should be writting just a number (well, 3 different numbers) in a small box. Re: ZX Basic 1.4 (beta) is out - boriel - 01-29-2014 Thanks a lot, @apenao At this moment, all the bugs except the one in print64 (the last case) has been fixed. Please Download and try... :roll: I'll be fixing the last one, meanwhile... UPDATE: I'ts fixed now. Please download 1.4.0s1754 (in the link above) Re: ZX Basic 1.4 (beta) is out - apenao - 01-30-2014 I have checked a couple of things this morning while on work (don't tell my boss) and it seems ok now, but this night I want to make more test because I tried to compile (with the new versión) one of the demonstration programs included with ZXBC and it didn't work. I'll post later when I do the checkings. P.S. Boriel here goes the program I told you yesterday. It's lacking a game inside but I won't give up in finishing it some day. I am very interested in the posibility of a spectranet support for ZXBC. Re: ZX Basic 1.4 (beta) is out - apenao - 01-30-2014 I have done 3 test involving some of the programs in the example folder included with ZXBC: Pong doesn't compile. It returns a long list of warnings. Scroll doesn't compile (but it does not compile in 1.3 versión either) Spfill compiles but it behaves incorrectly (doesn't fill with the expected pattern, while it behaves correctly if compiled with the 1.3 versión). Others, like clock or freregustav are working OK. Re: ZX Basic 1.4 (beta) is out - JBGV - 01-30-2014 Hello everyone. Boriel, you come with good news! I'll try to compile any of my games tonight and tell you. Re: ZX Basic 1.4 (beta) is out - JBGV - 01-30-2014 Well, it did not work: :roll: The hobbit compiles but does not work well. Abydos not compile: RETROB ERR.PNG (Size: 11.26 KB / Downloads: 16,266) Vade Retro not compile: VADE RETRO ERR.PNG (Size: 14.74 KB / Downloads: 16,255) Retrobsesion II not compile: ABYDOS ERR.PNG (Size: 14.51 KB / Downloads: 16,265) Re: ZX Basic 1.4 (beta) is out - boriel - 01-31-2014 Okay, new version: ZXBASIC 1.4.0s1773. Try this and tell me, please :roll: Re: ZX Basic 1.4 (beta) is out - JBGV - 01-31-2014 Very nice! Compile and run all except Retrobsesion, that keeps on giving the same error. It is the oldest of all, when I programmed it used this: 1.2.8.758 zxb --org=28000 MAPA140e.bas -T -B -a --heap=2000 Re: ZX Basic 1.4 (beta) is out - boriel - 01-31-2014 Sorry, forgot to upload it. Try now: ZXBASIC 1.4.0s1779. Re: ZX Basic 1.4 (beta) is out - ardentcrest - 01-31-2014 anything new added. Re: ZX Basic 1.4 (beta) is out - JBGV - 01-31-2014 Ok, "Retrobsesion II" compiles and works perfectly Thanks !! Re: ZX Basic 1.4 (beta) is out - apenao - 01-31-2014 I have re-compiled all the program I had previously tested and everything is working now. Thanks Boriel |