LOAD routine now properly closes drive communication

This commit is contained in:
FeralChild64 committed 2019-07-15 20:38:37 +02:00
1 parent b1e882b021
commit 51dc3fabf4
4 files changed
+7

No files matched your search

BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+7
View File
@@ -28,6 +28,10 @@ load:
stx load_save_start_ptr+0
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
jsr install_ram_routines
@@ -215,6 +219,9 @@ load_done:
;; Tell drive to unlisten
jsr unlsn
;; Set IEC status back to idle
jsr iec_set_idle
;; Return last address written to +1
;; (Even though Compute's Mapping the 64 says without the +1.