If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working soon.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
Template:WonderSwan
Jump to navigation
Jump to search
Usage
The following describes the usage of the template as it pertains to the header.
Template Body
{{WSx| title = |image = [[Image:image.png|center]] |devid = |minreq = |cartid = |unknown = |romsize = |savetype = |extra = |rtc = |checksum = }}
Header
Used as the template, as it provides enough information. The last 10 bytes of each ROM contain the following entries, 1 byte for each entry, except for the Checksum that takes 2 bytes.
Developer ID
0x01 = "Bandai" 0x02 = "Taito" 0x03 = "Tomy" 0x04 = "Koei" 0x05 = "Data East" 0x06 = "Asmik Ace" 0x07 = "Media Entertainment" 0x08 = "Nichibutsu" 0x0A = "Coconuts Japan" 0x0B = "Sammy" 0x0C = "Sunsoft" 0x0D = "Mebius" 0x0E = "Banpresto" 0x10 = "Jaleco" 0x11 = "Imagineer" 0x12 = "Konami" 0x16 = "Kobunsha" 0x17 = "Bottom Up" 0x18 = "Naxat | Mechanic Arms? | Media Entertainment?" 0x19 = "Sunrise" 0x1A = "Cyberfront" 0x1B = "Megahouse" 0x1D = "Interbec" 0x1E = "NAC" 0x1F = "Emotion | Bandai Visual??" 0x20 = "Athena" 0x21 = "KID" 0x24 = "Omega Micott" 0x25 = "Upstar" 0x26 = "Kadokawa/Megas" 0x27 = "Cocktail Soft" 0x28 = "Squaresoft" 0x2B = "TomCreate" 0x2D = "Namco" 0x2F = "Gust" 0x36 = "Capcom"
Minimum Requirement
- 0x00 = "WonderSwan"
- 0x01 = "WonderSwan Color"
Cartridge ID
ID number used by developers. Maybe the same as game number for the system.
???
Totally unknown.
ROM Size
0x01 = 1Mbit? 0x02 = 4Mbit 0x03 = 8Mbit 0x04 = 16Mbit 0x05 = 24Mbit? 0x06 = 32Mbit 0x07 = 48Mbit? 0x08 = 64Mbit 0x09 = 128Mbit
Save Type
0x00 = None 0x01 = 64Kbit SRAM 0x02 = 256Kbit SRAM 0x03 = 1Mbit SRAM 0x04 = 2Mbit SRAM 0x10 = 1Kbit EEPROM 0x20 = 16Kbit EEPROM 0x50 = 8Kbit EEPROM
Extra Configuration
- Bit 0 sets vertical position.
- Bit 1 sets horizontal position.
- Bit 2 seems always set.
0x04, 0x05, and 0x06 are the possible values.
Real Time Clock
If bit 1 is set (0x02), the RTC is used.
Checksum
The sum of all ROM bytes except the checksum itself. Keep in mind that it is a little-endian value (bytes get reversed)!
Template Preview
WonderSwan | |
Developer ID | {{{devid}}} |
Minimum Requirement | {{{minreq}}} |
Cartridge ID | {{{cartid}}} |
ROM Size | {{{romsize}}} |
Save Type | {{{savetype}}} |
Extra Configuration | {{{extra}}} |
Real Time Clock | {{{rtc}}} |
Checksum | {{{checksum}}} |