Code: Select all
COMPILE FROGGER.AT0
If i enclose the argument in quotes i get an "Invalid Filename Error".
Is it possible to pass parameters with or without quotes?
This is under BASIC V1.1 and SEDORIC V3.0
Code: Select all
COMPILE FROGGER.AT0
Code: Select all
20 F2 04 JSR#04F2 Switch to Ram Overlay
E6 E9 INC#E9 add 1 to TXTPTR (to ignore the ":" in the TIB)
20 54 D4 JSR#D454 Sedoric call: analyse filename at TXTPTR address
and copy it to BUFNOM
A9 00 LDA$00 fill the TIB after "MKDIR" with #00 to stop the
exécution in #3A
A2 46 LDX$46 amount of #00 to insert
95 3A STA#3A+X fill from #3A
CA DEX remove 1 from X
10 FB BPL -6 loop while X>=0