mirror of
https://github.com/bobbimanners/Applecorn.git
synced 2025-01-15 10:32:59 +00:00
Fixed bug in VDU5 bit shifting
This commit is contained in:
parent
ffb61077bf
commit
24a251ffa2
BIN
applecorn.po
BIN
applecorn.po
Binary file not shown.
@ -292,6 +292,8 @@ SHRVDU5CH >>> ENTMAIN
|
||||
:L0
|
||||
PHX
|
||||
LDY #$00
|
||||
STZ :PIXBUF+2 ; Clear bytes 3,4 of shift buf
|
||||
STZ :PIXBUF+4 ; Clear bytes 5,6 of shift buf
|
||||
:LOOP LDAL $E10000,X ; Read a word of exploded font
|
||||
STA :PIXBUF,Y ; Store word to shift buffer
|
||||
INX
|
||||
@ -305,6 +307,7 @@ SHRVDU5CH >>> ENTMAIN
|
||||
LDY A2L ; Index into row of pixels
|
||||
STZ :COLCTR
|
||||
LDX #$00
|
||||
INC :BYTES
|
||||
:L1 LDA :PIXBUF,X ; Read word of exploded font
|
||||
PHX
|
||||
SEP #$30 ; 8 bit M & X
|
||||
@ -319,6 +322,7 @@ SHRVDU5CH >>> ENTMAIN
|
||||
LDA :COLCTR
|
||||
CMP :BYTES ; Bytes per row
|
||||
BNE :L1
|
||||
DEC :BYTES
|
||||
|
||||
PLA ; Restore saved X -> A
|
||||
CLC ; Add bytes per row
|
||||
|
Loading…
x
Reference in New Issue
Block a user