one more cleanup in aliases

This commit is contained in:
FeralChild64 committed 2019-09-09 17:00:42 +02:00
1 parent b9e3cb89bf
commit 8de99f2b14
18 files changed
+40 -45

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ iec_cmd_open: // similar to TKSA, but without turnaround
common_open_close_unlsn_second: // common part of several commands
sta IEC_TMP2
sta TBTCNT
jsr iec_tx_command
bcs !+ // branch if error
jmp iec_tx_command_finalize
+2 -2
View File
@@ -135,12 +135,12 @@ iec_rx_clk_wait2:
plp
// Restore registers
sta IEC_TMP2 // $A4 is a byte buffer according to http://sta.c64.org/cbm64mem.html
sta TBTCNT // $A4 is a byte buffer according to http://sta.c64.org/cbm64mem.html
pla
tay
pla
tax
lda IEC_TMP2
lda TBTCNT
clc
rts
+3 -3
View File
@@ -1,7 +1,7 @@
// Implemented based on https://www.pagetable.com/?p=1135, https://github.com/mist64/cbmbus_doc
// Expects byte to send in IEC_TMP2 ($A4 is a byte buffer according to http://sta.c64.org/cbm64mem.html)
// Expects byte to send in TBTCNT ($A4 is a byte buffer according to http://sta.c64.org/cbm64mem.html)
// Carry flag set = signal EOI
//
// Preserves .X and .Y registers
@@ -53,9 +53,9 @@ iec_tx_common:
iec_tx_common_sendbit:
// Is next bit 0 or 1?
lda IEC_TMP2
lda TBTCNT
lsr
sta IEC_TMP2
sta TBTCNT
bcs !+
// Bit is 0
+1 -1
View File
@@ -1,7 +1,7 @@
// Implemented based on https://www.pagetable.com/?p=1135, https://github.com/mist64/cbmbus_doc
// Expects byte to send in IEC_TMP2 ($A4 is a byte buffer according to http://sta.c64.org/cbm64mem.html)
// Expects byte to send in TBTCNT ($A4 is a byte buffer according to http://sta.c64.org/cbm64mem.html)
// Carry flag set = signal EOI
//
// Preserves .X and .Y registers