Introduction
.ws and .wsc are the extensions under which emulators load
cartridge ROM images for the Bandai WonderSwan and WonderSwan Color.
Structure
The header is the last 16 bytes of the ROM image. It starts with a 5-byte far jump instruction, followed by fields for maintenance, publisher ID, colour support, game ID, version, ROM size, save type, flags and mapper, and ends with a 2-byte checksum: the sum of all ROM bytes apart from the checksum itself. Bit 0 of the colour byte, at offset 7 of the header, is set when the cartridge supports colour mode.
Not described
Known, not yet covered
- Reference: this page is a summary; the values of the header fields and the layout of the program data are not yet described on this site.
- Viewer: the site has no viewer for WonderSwan ROM images.
Links
Software
- Beetle Cygne – libretro WonderSwan core
- Mednafen – the emulator the core comes from
Reference
- WSdev wiki: ROM header – the 16-byte header
- Beetle Cygne core documentation – the file types it accepts