The code is split into three programs, the first interleaves the four ROMs, the second expands the 4 bits per pixel packing into 8 bits (raw bitmap viewers tend to only go as low as 8bpp) and the third actually draws the sprite data. It's like this at the moment for debugging purposes (as it doesn't work).
You'll find them in the attached zip file, along with a PNG image illustrating what the chain generates as it stands.
Note that the first program (interleave) requires the names of the four ROMs to be specified on the command line and produces a file called "out.raw", the second (4to8) requires the name of a file and also produces "out.raw" and the third (orunspr) assumes that the input is "out.raw" and produces "sprite.raw".
I know it's messy but again, this is just the logic testing phase.
|