some work towards I/O stack modularization
This commit is contained in:
1 parent
966658eae0
commit
6fa2c5b570
56 files changed
+357
-69
No files matched your search
@@ -39,6 +39,8 @@ chkin_real:
|
||||
cmp #$01
|
||||
beq chkinout_file_not_input
|
||||
|
||||
#if CONFIG_IEC
|
||||
|
||||
// For IEC devices, send TALK + TKSA first
|
||||
lda FAT,Y
|
||||
jsr iec_check_devnum_oc
|
||||
@@ -51,6 +53,8 @@ chkin_real:
|
||||
jsr TKSA
|
||||
bcs chkinout_device_not_present
|
||||
|
||||
#endif // CONFIG_IEC
|
||||
|
||||
chkin_set_device:
|
||||
lda FAT,Y
|
||||
sta DFLTN
|
||||
@@ -121,6 +125,8 @@ ckout_real:
|
||||
lda LAT, Y
|
||||
beq chkinout_file_not_output
|
||||
|
||||
#if CONFIG_IEC
|
||||
|
||||
// For IEC devices, send LISTEN + SECOND first
|
||||
lda FAT,Y
|
||||
jsr iec_check_devnum_oc
|
||||
@@ -133,6 +139,8 @@ ckout_real:
|
||||
jsr SECOND
|
||||
bcs chkinout_device_not_present
|
||||
|
||||
#endif // CONFIG_IEC
|
||||
|
||||
chkout_set_device:
|
||||
lda FAT,Y
|
||||
sta DFLTO
|
||||
|
||||
Reference in new issue
Block a user