Retrac Posted September 10, 2020 Share Posted September 10, 2020 (edited) Hi all. I spent a bit of time over the weekend and finally got my 96x192 bitmap display kernel working. I've decided to ditch DASM and try CA65 and I'm liking it so far. This is my first attempt at a high-resolution bitmap display and I'm fairly pleased with the results, though it does flicker. I've used the new 3E+ bankswitching mode. I've also made some use of the CC65 suite's segment support, which is pretty nifty. As to the bitmap, I think I understand the timing, but it was a fair bit of trial-and-error. I'd like to go back and automatically calculate the position values to prove I got it right. I'm also a little ashamed of how I display the last line, but I just can't seem to wrap my head around the off-by-one that's behind it. Not quite sure what direction I'll take this next, but thought it might be of interest or help to others. Haven't tested it on hardware, but it seems to produce a reasonably standard picture in Stella. If you want to try it yourself and generate your own image, you'll need make, Python, etc. and a 96x192 monochrome PNG image as 'input.png' and then run make. To generate the right kind of PNG, I use GIMP and set it to indexed 1-bit colour mode. I've put the source code up here. I tried to add comments for once, but the timings in the comments may be incorrect. I owe a big thank you to everyone, especially Andrew Davie, on this forum to get me this far. So, thank you! game.3ep Edited September 10, 2020 by Retrac 2 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.