The VG Resource

Full Version: Reading I/O ports of Wonderswan emulator
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So, the Wonderswan has 16 different colors (grayscale) but the game can only pick 8 of those to display at a time. The WS Tech 2.3 document at Romhacking.net tells me the chosen colors are stored in I/O ports $1C-$1F. BizHawk lets me view RAM,ROM,SRAM and iEEPROM but is there any way to see these ports as well?

UPDATE: I looked in the save state (a ZIP file where 'Core.bin' has the data) and found the chosen colors separated into 32-bit values (rather than 4-bit). I could then find them in Cheat Engine with the emulator running and found out that the chosen colors in Clock Tower are number 1,3,5,7,9,11,13 and 15 throughout the whole game. I also dumped the palettes used in each area of the game so I'm pretty much set. Really wish these values could be accessed with Lua scripts or any tool in the emulator though.