A89: LCD memory manipulation (in asm)
[Prev][Next][Index][Thread]
A89: LCD memory manipulation (in asm)
Yes, I know that I can probably do everything a lot easier in C, but don't
ask me why I'm still sticking w/ asm...
What I'd like to do is change the width of the LCD memory from it's normal
state:
160 80
+----------------+--------+
| | |
| | |
100 | | |
| | |
| | |
+----------------+ |
| |
28 | |
+-------------------------+
to something like this:
160 32
+----------------+---+
| | |
| | |
| | |
| | |
| | |
+----------------+ |
| |
...etc...
The default memory width is set to 240bits (30bytes), the size of the
TI-92(+) LCD, and I'd like to know how to change it to 192bits (24bytes)...
Then I believe to shift the actual start of the LCD by (16,16), I can just
add 16*192+16 to set the screen and it's respective memory up like:
16 16
+--------------------+
| +----------------+ |16
| | 160 | |
| | | |
| | 100| |
| | | |
| | | |
| +----------------+ |
| |
...etc...
-Miles Raymond EML: m_rayman@bigfoot.com
AIM: kilier2 ICQ: 13217756 IRC: Killer2
WWW: http://www.bigfoot.com/~m_rayman
Follow-Ups: