CD32/CDTV text layer working.
Things have been pretty busy over the last few weeks, but I finally got the text layer working in the CD32/CDTV version.
The sprite routines aren't setup correctly to blit 8 pixel blocks, so I had to use a seperate routine for the text layer. The nice thing about the text layer is that it's aligned to 8 pixel boundaries, so it's just a matter of writing the values into memory correctly.
The method I use is to (Commonly referred to as the cookie cutter method):
1) Invert the mask, since I want to keep the area where the text is transparent.
2) And it with the background bitplanes to clear out the areas where the text is to be drawn. This preserves any graphics in the transparent area, and clears the text area to zero.
3) Or the text bitplanes with the display. This overwrites the zeroed area.
On another note, I picked up a Memorex VIS system. I would eventually like to get Frog Feast running on it, but I need to figure out a lot before that will happen. The system runs either a version of Windows or something like DOS.


0 Comments:
Post a Comment
<< Home