mirror of
https://github.com/freitz85/AppleIISd.git
synced 2024-11-29 14:50:51 +00:00
Fix in INIT
This commit is contained in:
parent
285c53ae67
commit
f866c3f66e
@ -224,10 +224,10 @@ INIT: STZ CTRL,X ; reset SPI controller
|
|||||||
LDA #SS0 ; set CS high
|
LDA #SS0 ; set CS high
|
||||||
STA SS,X
|
STA SS,X
|
||||||
LDY #10
|
LDY #10
|
||||||
LDA #DUMMY
|
|
||||||
|
|
||||||
@LOOP: STA DATA,X
|
@LOOP: LDA #DUMMY
|
||||||
@WAIT: BIT CTRL,X
|
STA DATA,X
|
||||||
|
@WAIT: LDA CTRL,X ; wait for TC (bit 7) to get high
|
||||||
BPL @WAIT
|
BPL @WAIT
|
||||||
DEY
|
DEY
|
||||||
BNE @LOOP ; do 10 times
|
BNE @LOOP ; do 10 times
|
||||||
|
Loading…
Reference in New Issue
Block a user