added defaults for LOAD when no tape support is present
This commit is contained in:
1 parent
5d45c166e7
commit
7a92eb2e62
1 file changed
+10
-3
@@ -40,10 +40,17 @@ cmd_load:
|
|||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
// Without tape support, LOAD must have a filename
|
// Without tape support, try to load the first file from disk
|
||||||
// (This also skips any leading spaces)
|
|
||||||
|
|
||||||
jmp do_MISSING_FILENAME_error
|
lda #$01 // name length
|
||||||
|
ldx #<cmd_load_default_filename
|
||||||
|
ldy #>cmd_load_default_filename
|
||||||
|
jsr JSETNAM
|
||||||
|
jmp got_filename
|
||||||
|
|
||||||
|
cmd_load_default_filename:
|
||||||
|
|
||||||
|
.text "*"
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user