This website works better with JavaScript.
Home
Explore
lain.church
Help
Register
Sign In
izaya
/
collapseos
mirror of
https://github.com/hsoft/collapseos.git
Watch
1
Star
1
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
ti/lcd: use brand new support for IX in SRL and RR
pull/75/head
Virgil Dupras
4 years ago
parent
2bff486cd2
commit
30d6fdb16b
1 changed files
with
3 additions
and
8 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-8
kernel/ti/lcd.asm
+ 3
- 8
kernel/ti/lcd.asm
View File
@@ -258,17 +258,12 @@ lcdSendGlyph:
ret z ; zero? nothing to do
push bc ; --> lvl 1
xor a
ld b, a
ld a, (ix)
; TODO: support SRL (IX) and RR (IX) in zasm
ld (ix+FNT_HEIGHT), a
.shiftLoop:
srl
a
rr
b
srl (ix)
rr
(ix+FNT_HEIGHT)
dec c
jr nz, .shiftLoop
ld (ix), a
ld a, b
ld (ix+FNT_HEIGHT), a
pop bc ; <-- lvl 1
ret
Write
Preview
Loading…
Cancel
Save