Shop OBEX P1 Docs P2 Docs Learn Events
What is spacetile and boxchr in VGA_Tile_Driver_Demo 2 ??? — Parallax Forums

What is spacetile and boxchr in VGA_Tile_Driver_Demo 2 ???

ElectricAyeElectricAye Posts: 4,561
edited 2009-04-08 18:58 in Propeller 1
I'm going through the code on VGA_Tile_Driver_Demo 2 from the OBEX and I'm baffled by spacetile and boxchr.
Spacetile seems to fill in the spaces that are not filled with text, but what is the code that is used, $220 ? It seems to change the color of the spaces but it also seems to insert little squiggles. Is there a menu of codes that controls that variable? ROM fonts or something???

Also baffling to me is the use of boxchr. Is this kinda like "box chroma" or something? And, again, is there a list of codes that tells me how to work with this?

Because I don't know assembly code and there are very few comments provided, I'm trying to reverse engineer this code so please excuse my extreme ignorance. Any little clues often go a long way, though.


thanks for your help,
Mark
Sign In or Register to comment.