These pages describe a sort of blog-ish time log on my 'GameToy' hardware project (stalled indefinitely).
[<< First entry] [< Previous entry] [Next entry >] [Latest entry > >]
Whipped together a simple SDL application which lets me play around with the 1-bit framebuffer.
Wrote a simple font printer - the "standard" textmode 8x8 font is rather huge for screen of that size, so I may have to draw a 4x6 or 4x8 font instead. Have to check what it looks like on the actual hardware before doing that though. There's one thing really going for the 8x8 font - it's easy. It's also (more or less) compatible with the sprite drawing routines..
The background is a xx+yy pattern, plotted with - wait for it! - putpixel! =)
Also wrote a simple 8x8 sprite routines:
Each sprite has a 8 byte mask and a 8 byte sprite data. The sine curves used are floating point for now, so the test seen here won't run on the target device as is =) I'll probably have to write the sprite routines in assembler in the end, but we'll see how well the C version runs when I get the hardware to that state..
Comments are appreciated.