Rev 539 | Blame | Compare with Previous | Last modification | View Log | Download
# file opened: autostart_warning.asm1 0000 ;; separate test using the ordinary test-runner script and listing file to verify the warnings situation2 0000 ;; (binary wise this is not testing anything, the binary tests are in savetrd**.asm tests)3 0000 DEVICE ZXSPECTRUM1284 0000 EMPTYTRD "autostart_warning.trd"5 0000 ; warning about "autostart" for BASIC only6 0000 SAVETRD "autostart_warning.trd","ok.B",$C001,$100,$1234autostart_warning.asm(7): warning: zx.trdimage_add_file: autostart value is BASIC program line number (0..9999) (in lua use -1 otherwise).7 0000 SAVETRD "autostart_warning.trd","warn.C",$C001,$100,$1234autostart_warning.asm(8): warning: zx.trdimage_add_file: autostart value is BASIC program line number (0..9999) (in lua use -1 otherwise).8 0000 SAVETRD "autostart_warning.trd","warn2.B",$C001,$100,10000 ; warning because max line is 99999 0000 ; other errorsautostart_warning.asm(10): error: zx.trdimage_add_file: length must be in 0001..FF00 range: SAVETRD "autostart_warning.trd","err1.C",$C001,010 0000 SAVETRD "autostart_warning.trd","err1.C",$C001,0 ; zero lengthautostart_warning.asm(11): error: zx.trdimage_add_file: length must be in 0001..FF00 range: SAVETRD "autostart_warning.trd","err2.C",0,$FF0111 0000 SAVETRD "autostart_warning.trd","err2.C",0,$FF01 ; 0xFF01 length (length in sectors is 0x100+ = error)12 0000 SAVETRD "autostart_warning.trd","ok2.C",$C000,$4000 ; OK: 0xC000+0x4000 = 0x10000autostart_warning.asm(13): error: zx.trdimage_add_file: provided start+length will run out of device memory: SAVETRD "autostart_warning.trd","err3.C",$C000,$400113 0000 SAVETRD "autostart_warning.trd","err3.C",$C000,$4001 ; err: 0xC000+0x4001 = 0x1000114 0000 SAVETRD "autostart_warning.trd","ok3.C",0,$FF00 ; OK: FF00 length = just fits (last one)autostart_warning.asm(15): error: zx.trdimage_add_file: sector length over 0xFF max: SAVETRD "autostart_warning.trd","err4.B",0,$FEFD,$123415 0000 SAVETRD "autostart_warning.trd","err4.B",0,$FEFD,$1234 ; err: FEFD length + autostart = too many sectors (0x100+)autostart_warning.asm(16): warning[trdext]: invalid file extension, TRDOS official extensions are B, C, D and #.: warn.X16 0000 SAVETRD "autostart_warning.trd","warn.X",1,2 ; warning about invalid extension17 0000 SAVETRD "autostart_warning.trd","supwarn.X",1,2 ; suppress warning: trdext-ok18 0000# file closed: autostart_warning.asmValue Label------ - -----------------------------------------------------------