News for hackers. Stuff that matters.
Re:Capcom CPS-1 Graphic system study by Bigpet on Wednesday February 23, 2022 @05:54PM (#30447753)
Couldn't immediately find a good explanation of what STAR1 and STAR2 were. Looks like it's 256x256 bitmap that's scrollable and cycles automatically through a color palette. So you can make the stars "twinkle" by it just shifting through the palette

https://github.com/mamedev/mame/blob/master/src/mame/video/c...

edit: didn't see that "col" also contained an x-offset. So like (256*16)x256 but presumably "sparse", so I get more where the "star" idea comes from

Re:Capcom CPS-1 Graphic system study by allenu on Wednesday February 23, 2022 @05:59PM (#30447825)
Thank you for sharing this. That was my first question, i.e. was the star background hardcoded (or at least statically generated)? That's super interesting that it was built-in at all. I suppose so many shooter games had starfield backgrounds that it made sense at the time to include it.