1
0
mirror of https://github.com/cc65/cc65.git synced 2026-04-20 17:20:49 +00:00

store y first, then a. fix by willymanilly

This commit is contained in:
mrdudz
2020-01-26 02:18:04 +01:00
parent a2bbb6f1be
commit a59402d5f5
+2 -2
View File
@@ -341,12 +341,12 @@ vdcsetsrcaddr:
stx VDC_ADDR_REG
@L0: bit VDC_ADDR_REG
bpl @L0
sta VDC_DATA_REG
sty VDC_DATA_REG
inx
stx VDC_ADDR_REG
@L1: bit VDC_ADDR_REG ; XXX: Test waiting for register 18
bpl @L1
sty VDC_DATA_REG
sta VDC_DATA_REG
rts
vdcgetbyte: