Pozitron

Discuss anything not related to the current Uzebox design like successors and other open source gaming hardware
User avatar
Artcfox
Posts: 1382
Joined: Thu Jun 04, 2015 5:35 pm
Contact:

Re: Pozitron

Post by Artcfox »

olin wrote: Tue May 28, 2019 10:32 pm
Artcfox wrote: Tue May 28, 2019 2:05 am Did you implement pgm_read_word, or just pgm_read_byte?
That expects to read 16 bits, that might explain why the timer wasn't correct in Bugz.
Bingo! the implementation was there (would not be able to link otherwise), but it was incorrect. It naively expected the parameter is a pointer to u16 rather than u8. After fixing the implementation the Bugz now works without glitches (no timer issue, intro screen bugz move as they should and I can even get to the next level). Excellent observation, thank you!
Haha, sweet! That's really awesome. I'll have to check this out. I've been so busy lately with work, I haven't had much time for Uzebox stuff.
Post Reply