Template:WonderSwan: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(Removed ??? Field)
No edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<p id="catlinks">[[Image:WS_small.png]]The following article is for a [[Bandai WonderSwan]] game.</p>
<noinclude>
=Usage=
The following describes the usage of the template as it pertains to the header.
==Template Body==


{| class="infobox bordered" cellpadding="4" style="width: 22em; font-size: 95%; float: right;"
<pre>
| align="center" colspan=2 bgcolor="#ccccff" style="font-size:110%; " | '''{{{title}}}'''
{{WSx| title =
|image = [[File:image.png|center]]
|devid =
|minreq =
|cartid =
|unknown =
|romsize =
|savetype =
|extra =
|rtc =
|checksum =
}}
</pre>
 
==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===
 
<pre>
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"
</pre>
 
===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===
 
<pre>
0x01 = 1Mbit?
0x02 = 4Mbit
0x03 = 8Mbit
0x04 = 16Mbit
0x05 = 24Mbit?
0x06 = 32Mbit
0x07 = 48Mbit?
0x08 = 64Mbit
0x09 = 128Mbit
</pre>
 
===Save Type===
 
<pre>
0x00 = None
0x01 = 64Kbit SRAM
0x02 = 256Kbit SRAM
0x03 = 1Mbit SRAM
0x04 = 2Mbit SRAM
0x10 = 1Kbit EEPROM
0x20 = 16Kbit EEPROM
0x50 = 8Kbit EEPROM
</pre>
 
===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=
</noinclude>
<!--<p id="catlinks">[[File:WS_small.png]]The following article is for a [[Bandai WonderSwan]] game.</p>
 
-->{| class="infobox bordered" cellpadding="4" style="width: 22em; font-size: 95%; float: right;"
| align="center" colspan=2 bgcolor="#ccccff" style="font-size:110%; " | '''{{{title|{{BASEPAGENAME}}}}}'''<!--
|-
|-
| align="center" colspan="2" | {{{image}}}
| align="center" colspan="2" | {{{image}}}-->
|- valign="top"
|- valign="top"
| style="white-space: nowrap;" bgcolor="#ccccff" | '''Developer ID'''
| style="white-space: nowrap;" bgcolor="#ccccff" | '''Developer ID'''
| style="width:14em" | {{{devid}}}
| style="width:14em" | {{{devid|''Unknown''}}}
|- valign="top"
|- valign="top"
| style="white-space: nowrap;" bgcolor="#ccccff" | '''Minimum Requirement'''
| style="white-space: nowrap;" bgcolor="#ccccff" | '''Minimum Requirement'''
| {{{minreq}}}
| {{{minreq|''Unknown''}}}
|- valign="top"
|- valign="top"
| style="white-space: nowrap;" bgcolor="#ccccff" | '''Cartridge ID'''
| style="white-space: nowrap;" bgcolor="#ccccff" | '''Cartridge ID'''
| {{{cartid}}}
| {{{cartid|''Unknown''}}}
|- valign="top"
|- valign="top"
| style="white-space: nowrap;" bgcolor="#ccccff" | '''ROM Size'''
| style="white-space: nowrap;" bgcolor="#ccccff" | '''ROM Size'''
| {{{romsize}}}
| {{{romsize|''Unknown''}}}
|- valign="top"
|- valign="top"
| style="white-space: nowrap;" bgcolor="#ccccff" | '''Save Type'''
| style="white-space: nowrap;" bgcolor="#ccccff" | '''Save Type'''
| {{{savetype}}}
| {{{savetype|''Unknown''}}}
|- valign="top"
|- valign="top"
| style="white-space: nowrap;" bgcolor="#ccccff" | '''Extra Configuration'''
| style="white-space: nowrap;" bgcolor="#ccccff" | '''Extra Configuration'''
| {{{extra}}}
| {{{extra|''Unknown''}}}
|- valign="top"
|- valign="top"
| style="white-space: nowrap;" bgcolor="#ccccff" | '''Real Time Clock'''
| style="white-space: nowrap;" bgcolor="#ccccff" | '''Real Time Clock'''
| {{{rtc}}}
| {{{rtc|''Unknown''}}}
|- valign="top"
|- valign="top"
| style="white-space: nowrap;" bgcolor="#ccccff" | '''Checksum'''
| style="white-space: nowrap;" bgcolor="#ccccff" | '''Checksum'''
| {{{checksum}}}
| {{{checksum|''Unknown''}}}
|-
|-<!--
| align="center" colspan=2 bgcolor="#ccccff" style="font-size:110%; " | [[{{{game}}}:ROM map|'''ROM map''']] | [[{{{game}}}:RAM map|'''RAM map''']] | [[{{{game}}}:TBL|'''Text table''']] | [[{{{game}}}:Notes|'''Notes''']] | [{{{game}}}:Tutorials|'''Tutorials''']
| align="center" colspan=2 bgcolor="#ccccff" style="font-size:110%; " | [[{{{game}}}:ROM map|'''ROM map''']] | [[{{{game}}}:RAM map|'''RAM map''']] | [[{{{game}}}:TBL|'''Text table''']] | [[{{{game}}}:Notes|'''Notes''']] | [[{{{game}}}:Tutorials|'''Tutorials''']]-->
|}
|}<!--
<includeonly>[[Category:WS/C Games]]</includeonly>
<includeonly>[[Category:WS/C Games]]</includeonly>--><noinclude>[[Category:Game templates]]</noinclude>

Latest revision as of 13:51, 28 January 2024

Usage

The following describes the usage of the template as it pertains to the header.

Template Body

{{WSx| title = 
|image = [[File: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 Unknown
Minimum Requirement Unknown
Cartridge ID Unknown
ROM Size Unknown
Save Type Unknown
Extra Configuration Unknown
Real Time Clock Unknown
Checksum Unknown