Shop OBEX P1 Docs P2 Docs Learn Events
[FYI] VGA, 100xM, single cog, monochrome — Parallax Forums

[FYI] VGA, 100xM, single cog, monochrome

kuronekokuroneko Posts: 3,623
edited 2013-02-17 23:30 in Propeller 1
Just to see if it could be done, I squeezed the [thread=138654]100xH/P driver[/thread] into a single cog but had to settle for monochrome output. This demo doesn't have a UI yet, it simply dumps the ASCII buffer to the screen. Fonts for 8x8 and 8x12 are included.
'' mailbox layout (100xM, monochrome)
''
'' long[par][0]:  screen:   [!Z]:addr =  16:16 -> zero (accepted), 2n
'' long[par][1]:    font: size:*:addr = 8:8:16 -> zero (accepted), 2n
'' long[par][2]: palette:  [!Z]:fg:bg = 16:8:8 -> zero (accepted), optional colour
'' long[par][3]: frame indicator
Sign In or Register to comment.