| |
Act-Otl
Registered: Feb 2008 Posts: 9 |
16x16 char screen, how to mask the 'empty' char on the rest of the screen.
Hi,
I'm toying with using a 16x16 char screen for some fast bob (software sprites) routines. This screen uses all available 256 characters. Outside of the 16x16 matrix I also write char 0 to the rest of the screen. This means, that if a point is plotted in character 0, it is repeated all over the screen.
Any solutions for that?
If not, I'll have to go to a smaller (16x15) or a bigger 32x7 over 3 charsets or so...
Cheers... |
|
| |
Oswald
Registered: Apr 2002 Posts: 5094 |
set $d800 outside the mask to background color. |
| |
Mace
Registered: May 2002 Posts: 1799 |
I had to read your story twice to understand what you meant :-)
But then, what Oswald says.
Another solution, but FAR too complex, is to multiplex filled sprites all over the screen except for the spot where your matrix is.
But this is just a ridiculous solution, really :-D |
| |
Skate
Registered: Jul 2003 Posts: 494 |
mace, if you think your solution is ridiculous, listen to this.
just check the first empty (8 zero bytes) character and update the characters each frame. :)))))))) |
| |
Stainless Steel
Registered: Mar 2003 Posts: 966 |
Or what about cutting a frame out of cardboard and tape it onto the monitor to cover the outside of the matrix.
|
| |
Frantic
Registered: Mar 2003 Posts: 1648 |
What about asking the user to pretend not to see the area outside 16x16? |
| |
Act-Otl
Registered: Feb 2008 Posts: 9 |
Hi guys,
really appreciate the answers. Why didn't I think about $d800 myself... must be getting lazy.
But in the end, I'm going for the cardboard solution!
Cheers,
Johan |