One additional concern to look out for reared its ugly head with this version. The Status Bar routine is extremely tight for timing. To the point where if it's positioned so that one of it's branch operations crosses a page boundary....
To fix that, I've got it ORGed. I'll have to remember to ORG the display code as well so those things don't crop up unexpectedly later on with the more complicated kernel.
So now that this is out of the way again, I'm going to return to the display code yet again. At least this time I don't have to reconstruct the entire thing from the ground up to add additional functionality.
In version 0.011 I plan to make the sprites truely positionable rather than have them use the left over settings of the Status Bar. There will be Ugly Black Bars introduced but there's nothing I can do about that until I learn how to write an efficient (and reliable!) Cycle 73/74 HMOVE routine. It's on the To Do list... just... conveniently pushed further ahead.
I'm also going to look through the code and make sure that the sprites are vertically positioned properly (something I'm sure is not being done just now) and that I know exactly how many scanlines are being generated for the playfield. It should be 172ish. I hate 1-off errors.
I'm also going to start looking into the sound registers at some point between version 0.13 and 0.20. *nod self* For that I'm going to examine Paul Slocum's music kit 2 which I downloaded ages ago. As to if I actually use that kit or use it as reference to writing something else is anyone's guess... but it's probably safe to assume I'll use it as-is.
- Read more...
- 2 comments
- 161 views
