added full protection against illegal IEC device numbers
This commit is contained in:
1 parent
f26431b502
commit
2613553ef3
5 files changed
+49
-2
No files matched your search
+4
-1
@@ -14,7 +14,10 @@
|
||||
|
||||
talk:
|
||||
|
||||
and #$1F ; make sure bits encoding the command are cleared out
|
||||
;; First check whether device number is correct
|
||||
jsr iec_devnum_check
|
||||
bcs kernalerror_DEVICE_NOT_FOUND
|
||||
;; Encode and execute the command
|
||||
ora #$40
|
||||
sta BSOUR
|
||||
jmp iec_tx_command
|
||||
Reference in new issue
Block a user