Open joffb opened 1 year ago
Please explain exactly what format you want supported, ideally with example files and how they'd be rendered.
Edit: Oops, I thought this was an issue, not a PR. :P But some example files would still be nice for testing.
Hello! The commit will load and save raw maps in a format the wonderswan/color can read Used the spec from here, the tile number is a 9-bit value and the wonderswan color adds another bank which takes it to 10-bit http://daifukkat.su/docs/wsman/#disp_screens Both can use up to 16 palettes and support X/Y flipping
Not 100% sure what to upload but this zip has two 32x32 maps (fg and bg) and three tilesets to be loaded tiles.png at 0x000 (first bank) sprites.png at 0x100 tiles2.png at 0x200 (second bank) Has a rom (test.wsc) which loads the tilesets and maps and does some separate scrolling on each layer (scrolling works fine in mednafen and stoicgoose but looks a bit mad in oswan so I think I need to work on my interrupt handler) and puts a sprite on screen Also has the asm to build with nasm and a build .bat to convert the tiles and palettes with superfamiconv!
loading and saving the wonderswan/wonderswan color map format