Sam Nasty - STOS board game
Moderators: simonsunnyboy, Mug UK, Zorro 2, Moderator Team
Re: Sam Nasty - STOS board game
No, sorry. I'll see if I can compile it tonight.
Still got, still working: Atari 4Mb STe, 520STFM (x2), 2.5Mb STF, Atari 2600JR, Flashback 8 Gold.
Hardware: Cumana CSA 354, Ultimate Ripper, Blitz Turbo, Synchro Express II (US and UK Versions).
Hardware: Cumana CSA 354, Ultimate Ripper, Blitz Turbo, Synchro Express II (US and UK Versions).
Re: Sam Nasty - STOS board game
There are a few problems with SAMNLE01.ASC
I copied it to SAMNLE02.ASC and made modifications in my development environment.
I'm not sure what tools the author used to compile this.
With STOS 2.6 and Compiler v2.7 the following errors occur:
1. Line 50: clear
Invalid command for Compiler v2.7. Easy fix.
2. Line 370: dim COLLVL(15)
The tokenizer thinks this is dim col LVL(15). Easy fix.
3. Line 4080: input "Dur‚e d'attente ";DUR;
French accent character missing in this character set. Removing this entire part of the string in the .ASC source does not prevent syntax error at line 4080. I don't know what's going on with that line. Variable names look good and valid on this line and the lines immediately before and after.
I have been unable to compile this with Compiler v2.7
I copied it to SAMNLE02.ASC and made modifications in my development environment.
I'm not sure what tools the author used to compile this.
With STOS 2.6 and Compiler v2.7 the following errors occur:
1. Line 50: clear
Invalid command for Compiler v2.7. Easy fix.
2. Line 370: dim COLLVL(15)
The tokenizer thinks this is dim col LVL(15). Easy fix.
3. Line 4080: input "Dur‚e d'attente ";DUR;
French accent character missing in this character set. Removing this entire part of the string in the .ASC source does not prevent syntax error at line 4080. I don't know what's going on with that line. Variable names look good and valid on this line and the lines immediately before and after.
I have been unable to compile this with Compiler v2.7
Still got, still working: Atari 4Mb STe, 520STFM (x2), 2.5Mb STF, Atari 2600JR, Flashback 8 Gold.
Hardware: Cumana CSA 354, Ultimate Ripper, Blitz Turbo, Synchro Express II (US and UK Versions).
Hardware: Cumana CSA 354, Ultimate Ripper, Blitz Turbo, Synchro Express II (US and UK Versions).
Re: Sam Nasty - STOS board game
Try line 4080 with commas instead of semicolons?
Re: Sam Nasty - STOS board game
Good thinking Thomas3.
These changes make the program compile and it seems to run correctly with limited testing:
3. Line 4080: input "Dur‚e d'attente ";DUR;
Should be input "Dur‚e d'attente ";DUR
4. Line 6020: FLP(I)=-1 : sprite I,XM(I),YM(I),SP(I) next I
missing colon:
6020 FLP(I)=-1 : sprite I,XM(I),YM(I),SP(I) : next I
5. Line 8910: if YES=0 then inc X : YES=1 : if NTS<=4 then 8930 else INX : goto 8930
missing inc X
8910 if YES=0 then inc X : YES=1 : if NTS<=4 then 8930 else inc X : goto 8930
6. undefined line number in line 6220
6220 on J goto 6240,7180,0,6930,6240,7450,0,7060,6240,7600,0,0,0,0,0
replace 0 with 6230. I don't think it would restart the whole program, so I get it to continue onto the next line.
It would help if there were tool tips on the tiny buttons telling us what they do.
My modified version of the code is:
SAMNLE02.ASC (compare with SAMNLE01.ASC using Beyond Compare),
SAMNLE02.BAS was created with new : load "SAMNLE02.ASC" : load "SPRITES.MBK"
SAMNLE02.PRG was compiled from SAMNLE02.BAS with the following compiler options.
Compiler Options:
The following Options must be enabled:
1. Mouse: Show
2. Loaded mouse pointers: All
Sorry I haven't had time to test this extensively. I think this code is unfinished. Maybe someone else will have more luck with it.
You do not have the required permissions to view the files attached to this post.
Still got, still working: Atari 4Mb STe, 520STFM (x2), 2.5Mb STF, Atari 2600JR, Flashback 8 Gold.
Hardware: Cumana CSA 354, Ultimate Ripper, Blitz Turbo, Synchro Express II (US and UK Versions).
Hardware: Cumana CSA 354, Ultimate Ripper, Blitz Turbo, Synchro Express II (US and UK Versions).