more IEC error reporting work

This commit is contained in:
FeralChild64 committed 2019-07-17 16:57:54 +02:00
1 parent ecf1b3aa50
commit 152120a3fe
10 files changed
+252 -100

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
select_device:
;; Take last device number, make sure it's a drive
;; If not, set to 8 (first drive number)
;; Device number is left in X, for SETFLS Kernal routine
;; Note: if tape support is introduced here, make sure DOS wedge won't get broken
ldx current_device_number
cpx #$07
bpl +
bcs +
ldx #$08
*
rts