LOAD routine now properly closes drive communication
This commit is contained in:
1 parent
b1e882b021
commit
51dc3fabf4
4 files changed
+7
No files matched your search
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -28,6 +28,10 @@ load:
|
|||||||
stx load_save_start_ptr+0
|
stx load_save_start_ptr+0
|
||||||
sty load_save_start_ptr+1
|
sty load_save_start_ptr+1
|
||||||
|
|
||||||
|
;; Reset status
|
||||||
|
lda #$00
|
||||||
|
sta IOSTATUS
|
||||||
|
|
||||||
;; We need our helpers to get to filenames under ROMs or IO area
|
;; We need our helpers to get to filenames under ROMs or IO area
|
||||||
jsr install_ram_routines
|
jsr install_ram_routines
|
||||||
|
|
||||||
@@ -216,6 +220,9 @@ load_done:
|
|||||||
;; Tell drive to unlisten
|
;; Tell drive to unlisten
|
||||||
jsr unlsn
|
jsr unlsn
|
||||||
|
|
||||||
|
;; Set IEC status back to idle
|
||||||
|
jsr iec_set_idle
|
||||||
|
|
||||||
;; Return last address written to +1
|
;; Return last address written to +1
|
||||||
;; (Even though Compute's Mapping the 64 says without the +1.
|
;; (Even though Compute's Mapping the 64 says without the +1.
|
||||||
;; I'm suspicious. Will have to check behavour on an original C64)
|
;; I'm suspicious. Will have to check behavour on an original C64)
|
||||||
|
|||||||
Reference in new issue
Block a user