That’s sad😢
Maybe someone could help?
(I used the bin file provided above)
Is there an up-to-date set of source code to hand?
https://os.mbed.com/users/spinal/code/Pokittris/
[edit] I think I modified pokittolib to update a region of the screen to speed up rendering, not 100% sure though.
I will debug if needed. Some things only come up with a HW debugger
Thanks! Would be really nice to add that to the sd collection. I love the colors!
The problem is the PALETTE_SIZE. When you made the Mode13 you (I think it was you) changed that to 256. Its hanging in the following loop:
void Display::load565Palette(const uint16_t* p) {
for (int i=0;i<PALETTE_SIZE;i++) palette[i] = p[i];
paletteptr = palette;
}
Yep that was it. I will now fix the music.
@spinal : your song name was “pokittris.raw”
Guess what’s wrong with that? In FAT32 it becomes pokitt~1.raw because of the long filename (9 letters)
That was the problem.
Did I not say already that odd numbers are evil and that 8 is the divine number?
Wow, it’s been a while! Do you need anything from me for the above fixes? I assume a simple screen mode check when loading a palette would sort that part, and changing the filename for the music perhaps?
No it will be soon fixed. Massive new gamedisk (50+ games) coming up soon.
Actually, the music sampling rate is not correct. Could you send me the original somehow?
Actually. The music you have is super tiring. Can I suggest something else?
Sure, use whatever you like
A spiced version sent for your approval for the upcoming gamedisk v7