|
1 | 1 | # Specifications
|
2 | 2 |
|
3 |
| -  | Game Boy | Game Boy Pocket | Game Boy Color | Super Game Boy | |
4 |
| -----------------|--------------------------------|-----------------|-----------------|----------------| |
5 |
| -CPU | 8-bit Sharp LR35902 | | | | |
6 |
| -Clock | 4.194304 MHz | | 8.388608 MHz | 4.295454MHz (SGB1, NTSC)| |
7 |
| -Work RAM | 8 KB | | 32 KB | | |
8 |
| -Video RAM | 8 KB | | 16 KB | | |
9 |
| -Screen Size | LCD 4,7 x 4,3 cm | LCD 4,8 x 4,4 cm| TFT 4,4 x 4 cm | | |
10 |
| -Resolution | 160x144 | | | 256x224 (including border)| |
11 |
| -Sprites | Max 40 per screen, 10 per line | | | | |
12 |
| -Palettes | 1x4 BG, 2x3 OBJ | | 8x4 BG, 8x3 OBJ | 1+4x3, 4x15 (border) | |
13 |
| -Colors | 4 grayshades | | 32768 colors | | |
14 |
| -Horizontal Sync | 9.198 KHz | | | 9.41986 KHz | |
15 |
| -Vertical Sync | 59.73 Hz | | | 61.1679 Hz | |
16 |
| -Sound | 4 channels with stereo sound | | | | |
17 |
| -Power | DC6V 0.7W | DC3V 0.7W | DC3V 0.6W | | |
| 3 | +<style> |
| 4 | +td { |
| 5 | + text-align: center; |
| 6 | +} |
| 7 | +td:first-child { |
| 8 | + text-align: left; |
| 9 | +} |
| 10 | +</style> |
| 11 | + |
| 12 | +<table> |
| 13 | + <thead> |
| 14 | + <tr> |
| 15 | + <th></th><th>Game Boy (DMG)</th><th>Game Boy Pocket (MGB)</th><th>Super Game Boy (SGB)</th><th>Game Boy Color (CGB)</th> |
| 16 | + </tr> |
| 17 | + </thead> |
| 18 | + <tbody> |
| 19 | + <tr> |
| 20 | + <td>CPU</td><td colspan="4">8-bit 8080-like Sharp CPU (speculated to be a SM83 core)</td> |
| 21 | + </tr> |
| 22 | + <tr> |
| 23 | + <td>CPU freq</td><td colspan="2">4.194304 MHz</td><td>Depends on revision<sup class="footnote-reference"><a href="#sgb_clk">1</a></sup></td><td>Up to 8.388608 MHz</td> |
| 24 | + </tr> |
| 25 | + <tr> |
| 26 | + <td>Work RAM</td><td colspan="3">8 KiB</td><td>32 KiB<sup class="footnote-reference"><a href="#compat">2</a></sup> (4 + 7 × 4 KiB)</td> |
| 27 | + </tr> |
| 28 | + <tr> |
| 29 | + <td>Video RAM</td><td colspan="3">8 KiB</td><td>16 KiB<sup class="footnote-reference"><a href="#compat">2</a></sup> (2 × 8 KiB)</td> |
| 30 | + </tr> |
| 31 | + <tr> |
| 32 | + <td>Screen</td><td>LCD 4.7 × 4.3 cm</td><td>LCD 4.8 × 4.4 cm</td><td>CRT TV</td><td>TFT 4.4 × 4 cm</td> |
| 33 | + </tr> |
| 34 | + <tr> |
| 35 | + <td>Resolution</td><td colspan="2">160 × 144</td><td>160 × 144 within 256 × 224 border</td><td>160 × 144</td> |
| 36 | + </tr> |
| 37 | + <tr> |
| 38 | + <td>OBJ ("sprites")</td><td colspan="4">8 × 8 or 8 ×16 ; max 40 per screen, 10 per line</td> |
| 39 | + </tr> |
| 40 | + <tr> |
| 41 | + <td>Palettes</td><td colspan="2">BG: 1 × 4, OBJ: 2 × 3</td><td>BG/OBJ: 1 + 4 × 3, border: 4 × 15</td><td>BG: 8 × 4, OBJ: 8 × 3<sup class="footnote-reference"><a href="#compat">2</a></sup></td> |
| 42 | + </tr> |
| 43 | + <tr> |
| 44 | + <td>Colors</td><td>4 shades of green</td><td>4 shades of gray</td><td colspan="2">32768 colors (15-bit RGB)</td> |
| 45 | + </tr> |
| 46 | + <tr> |
| 47 | + <td>Horizontal sync</td><td colspan="2">9.198 KHz</td><td>Complicated<sup class="footnote-reference"><a href="#sgb_vid">3</a></sup></td><td>9.198 KHz</td> |
| 48 | + </tr> |
| 49 | + <tr> |
| 50 | + <td>Vertical sync</td><td colspan="2">59.73 Hz</td><td>Complicated<sup class="footnote-reference"><a href="#sgb_vid">3</a></sup></td><td>59.73 Hz</td> |
| 51 | + </tr> |
| 52 | + <tr> |
| 53 | + <td>Sound</td><td colspan="2">4 channels with stereo output</td><td>4 GB channels + SNES audio</td><td>4 channels with stereo output</td> |
| 54 | + </tr> |
| 55 | + <tr> |
| 56 | + <td>Power</td><td>DC 6V, 0.7 W</td><td>DC 3V, 0.7 W</td><td>Powered by SNES</td><td>DC 3V, 0.6 W</td> |
| 57 | + </tr> |
| 58 | + </tbody> |
| 59 | +</table> |
| 60 | + |
| 61 | +[^sgb_clk]: |
| 62 | +SGB1 cartridges derive the GB CPU clock from the SNES' clock, [yielding a clock speed a bit higher](<#SGB System Clock>), which differs slightly between NTSC and PAL systems. |
| 63 | +SGB2 instead uses a clock internal to the cartridge, and so has the same speed as the handhelds. |
| 64 | + |
| 65 | +[^compat]: |
| 66 | +The same value as on DMG is used in compatibility mode. |
| 67 | + |
| 68 | +[^sgb_vid]: |
| 69 | +The SGB runs two consoles: a Game Boy within the SGB cartridge, and the SNES itself. |
| 70 | +The GB LCD output is captured and displayed by the SNES, but the two consoles' frame rates don't quite sync up, leading to duplicated and/or dropped frames. |
| 71 | +The GB side of the vertical sync depends on the CPU clock[^sgb_clk], with the same ratio as the handhelds. |
0 commit comments