apenao Wrote: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.
Scroll routines ENDED :!: Download version 1.4.0s1785 and run the demo.
Windowed scroll is now available :mrgreen:
G:\Game software\dist>zxb -t test.bas
spectranet.bas:67: warning: FUNCTION 'SNETbind' declared as FASTCALL with 2 para
meters
spectranet.bas:94: warning: FUNCTION 'SNETconnect' declared as FASTCALL with 3 p
arameters
spectranet.bas:121: warning: FUNCTION 'SNETrecv' declared as FASTCALL with 3 par
ameters
spectranet.bas:133: warning: FUNCTION 'SNETsend' declared as FASTCALL with 3 par
ameters
spectranet.bas:291: warning: FUNCTION 'SNETfread' declared as FASTCALL with 3 pa
rameters
spectranet.bas:315: warning: FUNCTION 'SNETfwrite' declared as FASTCALL with 3 p
arameters
spectranet.bas:382: warning: FUNCTION 'SNETfseek' declared as FASTCALL with 3 pa
rameters
test.bas:3: warning: Using default implicit type 'ubyte' for 'mpoint'
test.bas:6: warning: Using default implicit type 'byte' for 'f'
boriel Wrote:It now includes soporte for Spectranet but the syntax is not the same as BASIC.
This means it will now be possible to make ZXodus games without any limits on the size of the game data. Unlimited sound tracks, unlimited tile sets, unlimited dialog, unlimited towns, unlimited world map size, multiple worlds. You'll also be able to use ZXodus to write an MORPG. If anyone plans on doing any of that then I'd start creating the data now, as just doing the data for a 128K game has taken me a very long time.
G:\Game software\dist>zxb -t test.bas
spectranet.bas:67: warning: FUNCTION 'SNETbind' declared as FASTCALL with 2 para
meters
spectranet.bas:94: warning: FUNCTION 'SNETconnect' declared as FASTCALL with 3 p
arameters
spectranet.bas:121: warning: FUNCTION 'SNETrecv' declared as FASTCALL with 3 par
ameters
spectranet.bas:133: warning: FUNCTION 'SNETsend' declared as FASTCALL with 3 par
ameters
spectranet.bas:291: warning: FUNCTION 'SNETfread' declared as FASTCALL with 3 pa
rameters
spectranet.bas:315: warning: FUNCTION 'SNETfwrite' declared as FASTCALL with 3 p
arameters
spectranet.bas:382: warning: FUNCTION 'SNETfseek' declared as FASTCALL with 3 pa
rameters
test.bas:3: warning: Using default implicit type 'ubyte' for 'mpoint'
test.bas:6: warning: Using default implicit type 'byte' for 'f'
G:\Game software\dist>
You can safely compile with these warnings. I'm still working on a ZX BASIC no-warning XXX scheme.
Tests started:
"Yumiko in the haunted Mansion":
Undeclared identifier "label"
Code:
POKE @label+1,variable
I do such stuff in other games too
"U-Boot Hunt":
Works!
"Hunt the Wumpus":
Exit code = 255 (-1) - Works with 1.3. I will upload the source later.
"Earthraid":
Exit code = 255 (-1)
"Quest for Witchcraft":
Works
"Chessboard Attack":
Undeclared identifier "label"
LCD Wrote:Tests started:
"Yumiko in the haunted Mansion":
Undeclared identifier "label"
Code:
POKE @label+1,variable
I do such stuff in other games too
"U-Boot Hunt":
Works!
"Hunt the Wumpus":
Exit code = 255 (-1) - Works with 1.3. I will upload the source later.
"Earthraid":
Exit code = 255 (-1)
"Quest for Witchcraft":
Works
"Chessboard Attack":
Undeclared identifier "label"
ATM thats all...
LCD can you pass me the tiniest piece of code (or the entire source) privately to check for this?