small cleanup in BASIC
This commit is contained in:
1 parent
37b32759dc
commit
524d532433
8 files changed
+64
-48
No files matched your search
@@ -14,17 +14,11 @@ cmd_bverify:
|
||||
cmd_bload:
|
||||
|
||||
lda #$00 // mark operation as LOAD
|
||||
sta VERCKB
|
||||
|
||||
// Set default device and secondary address; channel is not important now
|
||||
|
||||
jsr select_device
|
||||
ldy #$00 // secondary address 0 - it has to be loaded precisely where we want
|
||||
jsr JSETFLS
|
||||
jsr helper_load_init_params
|
||||
|
||||
// Fetch the file name
|
||||
|
||||
jsr fetch_filename
|
||||
jsr helper_load_fetch_filename
|
||||
bcc !+
|
||||
|
||||
// No filename supplied - this should only be allowed for tape (device number below 8)
|
||||
|
||||
@@ -6,17 +6,11 @@
|
||||
cmd_merge:
|
||||
|
||||
lda #$00 // mark operation as LOAD
|
||||
sta VERCKB
|
||||
|
||||
// Set default device and secondary address; channel is not important now
|
||||
|
||||
jsr select_device
|
||||
ldy #$00 // secondary address 0 - it has to be loaded precisely where we want
|
||||
jsr JSETFLS
|
||||
jsr helper_load_init_params
|
||||
|
||||
// Fetch the file name
|
||||
|
||||
jsr fetch_filename
|
||||
jsr helper_load_fetch_filename
|
||||
bcc !+
|
||||
|
||||
// No filename supplied - this should only be allowed for tape (device number below 8)
|
||||
@@ -30,7 +24,7 @@ cmd_merge:
|
||||
!:
|
||||
// Fetch device number
|
||||
|
||||
jsr fetch_device_secondary_uint8
|
||||
jsr fetch_coma_uint8
|
||||
bcs !+
|
||||
|
||||
sta FA
|
||||
|
||||
Reference in new issue
Block a user