IEC routines can now be called with enabled IRQs

This commit is contained in:
FeralChild64 committed 2019-07-17 21:56:42 +02:00
1 parent 152120a3fe
commit 6bf715e610
3 files changed
+14 -9

No files matched your search

+5
View File
@@ -5,6 +5,10 @@
iec_tx_common:
;; Timing is critical here - execute on disabled IRQs
php
sei
;; Store the byte to send on a stack
pha
@@ -64,6 +68,7 @@ iec_tx_common_bit_is_sent:
bpl iec_tx_common_nextbit
pla
plp
rts ; Flow continues differently for data/command
iec_tx_common_nextbit: