SoC: Difference between revisions
From WSdev Wiki
Jump to navigationJump to search
(add CAIRO reference) |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
* SPHINX2, used in the SwanCrystal. | * SPHINX2, used in the SwanCrystal. | ||
A fourth variant, CAIRO, was planned<ref>[https://web.archive.org/web/20071023111112/http://www.koto.co.jp/products/mono_sp.html CAIRO グラフィックス機能内蔵ローコストSoC - Wayback Machine]</ref>. It was designed as an ASWAN with a doubled clock speed and a built-in ADPCM decoder, but | A fourth variant, CAIRO, was planned<ref>[https://web.archive.org/web/20071023111112/http://www.koto.co.jp/products/mono_sp.html CAIRO グラフィックス機能内蔵ローコストSoC - Wayback Machine]</ref>. It was designed as an ASWAN with a doubled clock speed and a built-in ADPCM decoder, but is not known to have been licensed for any commercial product. | ||
== I/O ports == | == I/O ports == | ||
Line 17: | Line 17: | ||
7 bit 0 | 7 bit 0 | ||
---- ---- | ---- ---- | ||
C??? swcl | |||
| |||| | | |||| | ||
| |||+- 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 = +1 | ||
+--------- | +--------- Cartridge bus test OK | ||
</pre> | </pre> | ||
{{Anchor|System Control 2}} | {{Anchor|System Control 2}} | ||
=== System Control 2 ($60, color) === | === System Control 2 ($60, color) === | ||
Line 32: | Line 33: | ||
7 bit 0 | 7 bit 0 | ||
---- ---- | ---- ---- | ||
c4C. ? | c4C. i?sl | ||
||| | ||| | || | ||
||| | |+- Cartridge clock speed? | |||
||| | +-- Cartridge SRAM wait state: 0 = +0 cycles, 1 = +1 | |||
||| +---- Cartridge I/O 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 | ||
Line 41: | Line 45: | ||
{{Anchor|System Control 3}} | {{Anchor|System Control 3}} | ||
=== System Control 3 ($62, color) === | === System Control 3 ($62, color) === | ||
Revision as of 20:16, 23 February 2025
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 is not known to have been licensed for any commercial product.
I/O ports
System Control ($A0)
7 bit 0 ---- ---- C??? 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 = +1 +--------- Cartridge bus test OK
System Control 2 ($60, color)
7 bit 0 ---- ---- c4C. i?sl ||| | || ||| | |+- Cartridge clock speed? ||| | +-- Cartridge SRAM wait state: 0 = +0 cycles, 1 = +1 ||| +---- Cartridge I/O 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)