IEC code cleanup, saved few bytes

This commit is contained in:
FeralChild64 committed 2019-12-27 18:05:43 +01:00
1 parent b5f9b6593b
commit 55f5041aa6
13 files changed
+64 -173

No files matched your search

+20
View File
@@ -9,6 +9,26 @@
#if CONFIG_IEC
#if CONFIG_IEC_JIFFYDOS
iec_tx_dispatch:
php // preserve C flag for EOI indication
lda IECPROTO
cmp #$01
bne !+
plp
jmp jiffydos_tx_byte
!:
plp
// FALLTROUGH
#endif // CONFIG_IEC_JIFFYDOS
iec_tx_byte:
// Store .X and .Y on the stack - preserve them