Shop OBEX P1 Docs P2 Docs Learn Events
[FYI] VGA, 50x18, single cog, per cell colour, ROM font ("Hidemaru" release) — Parallax Forums

[FYI] VGA, 50x18, single cog, per cell colour, ROM font ("Hidemaru" release)

kuronekokuroneko Posts: 3,623
edited 2013-10-02 20:00 in Propeller 1
Drivers utilising 50 columns have been around for a while but AFAIK all of them use RAM fonts. So I though let's see if I can get rid of the RAM overhead and use the ROM font instead. Turned out to be easier than expected and I even have one spare insn in the emitter loop.
'' mailbox layout
''
'' long[par][0]:  screen: [!Z]:addr = 16:16 -> zero (accepted), 2n
'' long[par][2]: palette: [!Z]:addr = 16:16 -> zero (accepted), 4n
'' long[par][3]: frame indicator
Note that since 600 isn't quite 32n there is an empty 3/4 line at the bottom of the screen. The UI disallows printing there at the moment but characters put into screen memory will be displayed just fine.

Comments

Sign In or Register to comment.