added proper buffer handling to several IEC commands
This commit is contained in:
1 parent
fea097e795
commit
504f0ffb81
10 files changed
+67
-34
No files matched your search
+1
-5
@@ -25,11 +25,7 @@ close:
|
||||
|
||||
;; IEC device
|
||||
|
||||
;; First check whether we have something to be sent in the buffer
|
||||
lda C3PO
|
||||
beq +
|
||||
sec ; send it with EOI
|
||||
jsr iec_tx_byte ; send the command regardless of the status
|
||||
jsr iec_tx_flush ; make sure no byte is awaiting
|
||||
*
|
||||
lda SAT, y ; get secondary address
|
||||
ora $E0 ; CLOSE command
|
||||
|
||||
Reference in new issue
Block a user