LOAD/VERIFY commands finished
This commit is contained in:
1 parent
260efdb3c4
commit
8a16ce3934
2 files changed
+17
-2
No files matched your search
@@ -48,7 +48,7 @@
|
|||||||
#define CONFIG_IEC
|
#define CONFIG_IEC
|
||||||
// #define CONFIG_IEC_DOLPHINDOS
|
// #define CONFIG_IEC_DOLPHINDOS
|
||||||
// #define CONFIG_IEC_DOLPHINDOS_FAST
|
// #define CONFIG_IEC_DOLPHINDOS_FAST
|
||||||
// #define CONFIG_IEC_JIFFYDOS
|
#define CONFIG_IEC_JIFFYDOS
|
||||||
// #define CONFIG_IEC_JIFFYDOS_BLANK
|
// #define CONFIG_IEC_JIFFYDOS_BLANK
|
||||||
// #define CONFIG_IEC_BURST_CIA1 // please keep disabled for now
|
// #define CONFIG_IEC_BURST_CIA1 // please keep disabled for now
|
||||||
// #define CONFIG_IEC_BURST_CIA2 // please keep disabled for now
|
// #define CONFIG_IEC_BURST_CIA2 // please keep disabled for now
|
||||||
|
|||||||
@@ -70,6 +70,11 @@ cmd_load_no_error:
|
|||||||
stx VARTAB+0
|
stx VARTAB+0
|
||||||
sty VARTAB+1
|
sty VARTAB+1
|
||||||
|
|
||||||
|
// For VERIFY - this is it
|
||||||
|
|
||||||
|
lda VERCKB
|
||||||
|
bne cmd_load_end
|
||||||
|
|
||||||
// C64 BASIC apparently does not clear variables after a LOAD in the
|
// C64 BASIC apparently does not clear variables after a LOAD in the
|
||||||
// middle of a program. For safety, we do.
|
// middle of a program. For safety, we do.
|
||||||
jsr basic_do_clr
|
jsr basic_do_clr
|
||||||
@@ -86,5 +91,15 @@ cmd_load_no_error:
|
|||||||
// Reset to start of program
|
// Reset to start of program
|
||||||
jsr init_oldtxt
|
jsr init_oldtxt
|
||||||
|
|
||||||
// XXX - should run program if LOAD was used in program mode
|
// If loading was done when running a program - run it
|
||||||
|
|
||||||
|
ldx CURLIN+1
|
||||||
|
inx
|
||||||
|
beq cmd_load_end // branch if direct mode
|
||||||
|
|
||||||
|
// XXX
|
||||||
|
jmp basic_execute_from_current_line
|
||||||
|
|
||||||
|
cmd_load_end:
|
||||||
|
|
||||||
jmp basic_main_loop
|
jmp basic_main_loop
|
||||||
Reference in new issue
Block a user