SoC: Difference between revisions
From WSdev Wiki
Jump to navigationJump to search
(un-swap cartridge bus speed) |
(document port $60 bit 1) |
||
Line 21: | Line 21: | ||
| |||+- Boot ROM lockout: 0 = off, 1 = on | | |||+- Boot ROM lockout: 0 = off, 1 = on | ||
| ||+-- Color model: 0 = no, 1 = yes | | ||+-- Color model: 0 = no, 1 = yes | ||
| |+--- Cartridge | | |+--- Cartridge ROM width: 0 = 8-bit, 1 = 16-bit | ||
| +---- Cartridge | | +---- Cartridge ROM wait state: 0 = +0 cycles, 1 = +2 | ||
+--------- MBC authentication successful? | +--------- MBC authentication successful? | ||
</pre> | </pre> | ||
Line 32: | Line 32: | ||
7 bit 0 | 7 bit 0 | ||
---- ---- | ---- ---- | ||
c4C. ?.? | c4C. ?.s? | ||
||| | ||| | | ||
||| +-- Cartridge SRAM wait state: 0 = +0 cycles, 1 = +1 | |||
||+------- 1 = 4bpp "chunky"; requires all previous | ||+------- 1 = 4bpp "chunky"; requires all previous | ||
|+-------- 1 = 4bpp; requires all previous | |+-------- 1 = 4bpp; requires all previous |
Revision as of 21:52, 29 August 2023
The WonderSwan SoC is a single-chip solution powering the entirety of the system's hardware - containing the CPU, most peripheral logic, as well as the internal RAM.
There exist three variants of the SoC:
- ASWAN, used in the WonderSwan,
- SPHINX, used in the WonderSwan Color,
- SPHINX2, used in the SwanCrystal.
A fourth variant, CAIRO, was planned[1]. It was designed as an ASWAN with a doubled clock speed and a built-in ADPCM decoder, but was never licensed for a commercial product.
I/O ports
System Control ($A0)
7 bit 0 ---- ---- t??? swcl | |||| | |||+- Boot ROM lockout: 0 = off, 1 = on | ||+-- Color model: 0 = no, 1 = yes | |+--- Cartridge ROM width: 0 = 8-bit, 1 = 16-bit | +---- Cartridge ROM wait state: 0 = +0 cycles, 1 = +2 +--------- MBC authentication successful?
System Control 2 ($60, color)
7 bit 0 ---- ---- c4C. ?.s? ||| | ||| +-- Cartridge SRAM wait state: 0 = +0 cycles, 1 = +1 ||+------- 1 = 4bpp "chunky"; requires all previous |+-------- 1 = 4bpp; requires all previous +--------- 0 = mono, 1 = color; also controls access to WSC-specific features (extra RAM, DMA, etc.)
System Control 3 ($62, color)
7 bit 0 ---- ---- S... ...p | | | +- 1 = Power off system +--------- 0 = WonderSwan Color (SPHINX) 1 = SwanCrystal (SPHINX2)