ti/lcd: use brand new support for IX in SRL and RR
This commit is contained in:
parent
2bff486cd2
commit
30d6fdb16b
@ -258,17 +258,12 @@ lcdSendGlyph:
|
|||||||
ret z ; zero? nothing to do
|
ret z ; zero? nothing to do
|
||||||
push bc ; --> lvl 1
|
push bc ; --> lvl 1
|
||||||
xor a
|
xor a
|
||||||
ld b, a
|
ld (ix+FNT_HEIGHT), a
|
||||||
ld a, (ix)
|
|
||||||
; TODO: support SRL (IX) and RR (IX) in zasm
|
|
||||||
.shiftLoop:
|
.shiftLoop:
|
||||||
srl a
|
srl (ix)
|
||||||
rr b
|
rr (ix+FNT_HEIGHT)
|
||||||
dec c
|
dec c
|
||||||
jr nz, .shiftLoop
|
jr nz, .shiftLoop
|
||||||
ld (ix), a
|
|
||||||
ld a, b
|
|
||||||
ld (ix+FNT_HEIGHT), a
|
|
||||||
pop bc ; <-- lvl 1
|
pop bc ; <-- lvl 1
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user