store y first, then a. fix by willymanilly
This commit is contained in:
@@ -341,12 +341,12 @@ vdcsetsrcaddr:
|
|||||||
stx VDC_ADDR_REG
|
stx VDC_ADDR_REG
|
||||||
@L0: bit VDC_ADDR_REG
|
@L0: bit VDC_ADDR_REG
|
||||||
bpl @L0
|
bpl @L0
|
||||||
sta VDC_DATA_REG
|
sty VDC_DATA_REG
|
||||||
inx
|
inx
|
||||||
stx VDC_ADDR_REG
|
stx VDC_ADDR_REG
|
||||||
@L1: bit VDC_ADDR_REG ; XXX: Test waiting for register 18
|
@L1: bit VDC_ADDR_REG ; XXX: Test waiting for register 18
|
||||||
bpl @L1
|
bpl @L1
|
||||||
sty VDC_DATA_REG
|
sta VDC_DATA_REG
|
||||||
rts
|
rts
|
||||||
|
|
||||||
vdcgetbyte:
|
vdcgetbyte:
|
||||||
|
|||||||
Reference in New Issue
Block a user