RS-232 OPEN/CLOSE connected to I/O stack
This commit is contained in:
1 parent
73f1e24e3c
commit
c3383b9e8f
5 files changed
+37
-17
No files matched your search
@@ -54,15 +54,22 @@ open_has_space:
|
||||
iny
|
||||
sty LDTND
|
||||
|
||||
// Check for command to send
|
||||
lda FNLEN
|
||||
beq open_done_success
|
||||
|
||||
// Check for IEC device
|
||||
lda FA
|
||||
|
||||
#if HAS_RS232
|
||||
|
||||
cmp #$02
|
||||
beq_far open_rs232
|
||||
|
||||
#endif
|
||||
|
||||
#if CONFIG_IEC
|
||||
|
||||
jsr iec_check_devnum_oc
|
||||
bcc_far open_iec
|
||||
|
||||
#endif
|
||||
|
||||
// FALLTROUGH
|
||||
|
||||
open_done_success:
|
||||
|
||||
Reference in new issue
Block a user