more routines placed under compatible addresses

This commit is contained in:
FeralChild64 committed 2019-08-05 22:51:16 +02:00
1 parent 802890ff9c
commit 9187e3e601
11 files changed
+56 -29

No files matched your search

+1 -21
View File
@@ -38,7 +38,7 @@ close:
jsr iec_tx_command
bcs close_remove_from_table
jsr iec_tx_command_finalize
close_remove_from_table:
;; Remove channel from the table
iny
@@ -62,23 +62,3 @@ close_error_not_found:
sec ; report success - not sure if original CLOSE does this, but it's nevertheless a good practice
rts
close_load: ; entry also for LOAD routine
tax
;; Command drive to stop talking and to close the file
jsr untlk
txa
jsr listen
lda #$E0 ; CLOSE command
sta IEC_TMP2
jsr iec_tx_command
jsr iec_tx_command_finalize
;; Tell drive to unlisten
jsr unlsn
rts