trunk/src/mess/drivers/sms.c
| r22931 | r22932 | |
| 33 | 33 | Nov-Dec, 05 - Numerous cleanups, fixes, updates (WP) |
| 34 | 34 | Mar, 07 - More cleanups, fixes, mapper additions, etc (WP) |
| 35 | 35 | |
| 36 | -------------------------------------------------------------------------------- |
| 37 | |
| 38 | Sega Master System II |
| 39 | Sega 1990 |
| 40 | |
| 41 | This particular version was manufactured between July 1991 and October 1992 |
| 42 | The PCB is stamped '17 AUG 1991' |
| 43 | |
| 44 | PCB Layout |
| 45 | ---------- |
| 46 | 171-5922A |
| 47 | (C) SEGA 1990 |
| 48 | IC BD M4Jr. PAL |
| 49 | |----------|------|-----------------------| |
| 50 | | POWER_IN |RF_OUT| IC1 IC2 IC3 | |
| 51 | | | | Z80 BIOS 6264 | |
| 52 | | | | IC9 | |
| 53 | | |------| CXA1145 | |
| 54 | | | |
| 55 | | | |
| 56 | |IC8 | |
| 57 | |7805 | |
| 58 | | |---------------| | |
| 59 | | | CART SLOT | | |
| 60 | | |---------------| | |
| 61 | | | |
| 62 | | | |
| 63 | | PAUSE_SW | |
| 64 | | | |
| 65 | | IC6 IC5 IC4 | |
| 66 | | D4168 315-5246 315-5237 | |
| 67 | | | |
| 68 | | IC7 | |
| 69 | | D4168 | |
| 70 | | | |
| 71 | | POWER_SW JOY1 JOY2 53.2034MHz| |
| 72 | |-----------------------------------------| |
| 73 | Notes: (All ICs shown) |
| 74 | IC1 Z80 - Z0840004PSC Z80 CPU (DIP40). Clock input 3.54689MHz (53.2034/15) |
| 75 | IC2 BIOS - 1M 28-pin mask ROM marked MPR-12808 (DIP28) |
| 76 | IC3 6264 - Samsung KM6264 8k x8 SRAM. Some models have NEC D4168 or Sanyo LC3664 which are compatible (DIP28) |
| 77 | IC4 315-5237 - Custom Sega I/O controller IC (DIP48) |
| 78 | Clocks - Pin 43 - master clock input 53.2034MHz from OSC |
| 79 | Pin 41 - 10.6406MHz (53.2034/5) |
| 80 | Pin 42 - 4.43361MHz (53.2034/12) |
| 81 | IC5 315-5246 - Custom Sega Video Display Processor (VDP) (64 pin flat pack) |
| 82 | The VDP also contains a Texas Instruments SN76489 sound chip |
| 83 | Clocks - Pin 33 - 3.54689MHz (53.2034/15) |
| 84 | Pin 34 - 10.6406MHz (53.2034/5) |
| 85 | Pin 35 - 10.6406MHz (53.2034/5) |
| 86 | Pin 39 - 2.66017MHz (53.2034/20) |
| 87 | IC6/IC7 D4168- NEC D4168 8k x8 SRAM (DIP28) |
| 88 | IC8 7805 - Motorola MC7805 voltage regulator (7v to 25v input, 5v output) |
| 89 | IC9 CXA1145 - Sony CXA1145 RGB to composite video encoder IC (DIP24) |
| 90 | POWER_IN - Power input from AC/DC power pack. System requires 9VDC at 500mA. Center pin is negative and |
| 91 | outer barrel is positive. Note this is opposite to regular DC power packs |
| 92 | RF_OUT - RF modulator with RF signal output to TV |
| 93 | POWER_SW - Power on/off switch |
| 94 | PAUSE_SW - Push button used to pause the game |
| 95 | JOY1/JOY2 - Joystick connectors (DB9) |
| 96 | HSync - 15.5565kHz |
| 97 | VSync - 49.7015Hz |
| 98 | |
| 99 | |
| 100 | Cart PCB Examples |
| 101 | ----------------- |
| 102 | Note! There are many more types of PCBs & custom chip matching variations. This document |
| 103 | is not meant to provide all details of every type in existence. Some games have been |
| 104 | found on different types of ROM boards with and without bankswitching hardware. |
| 105 | |
| 106 | Type with no bankswitching hardware |
| 107 | |
| 108 | 171-5519 \ no visible difference? |
| 109 | 171-5519D/ |
| 110 | |------------------| |
| 111 | ||----------| | |
| 112 | || DIP28 | | |
| 113 | ||----------| | |
| 114 | |IC1 | |
| 115 | |------------------| |
| 116 | Notes: |
| 117 | DIP28 - 1M mask ROM (DIP28) at location IC1. Actual ROM type is Fujitsu MB831001 |
| 118 | This ROM has a built-in mapper so no bankswitching chip is required. |
| 119 | The CPU uses pin 22 of the ROM to bankswitch it. |
| 120 | Found in.... |
| 121 | Game Name Sega ROM ID |
| 122 | ----------------------------- |
| 123 | World Grand Prix MPR-11074 |
| 124 | Black Belt MPR-10150 |
| 125 | Ghost House MPR-12586 |
| 126 | |
| 127 | |
| 128 | Types with bankswitching hardware |
| 129 | |
| 130 | 171-5713D (uses 315-5235) |
| 131 | 171-5838 (uses 315-5365) |
| 132 | 171-5893 (uses 315-5365) |
| 133 | |------------------| |
| 134 | | | |
| 135 | | |------------| | |
| 136 | | | SDIP42 | | |
| 137 | | |------------| | |
| 138 | | IC1| |
| 139 | ||----------| | |
| 140 | || DIP32 | | |
| 141 | ||----------| | |
| 142 | |IC2 | |
| 143 | |------------------| |
| 144 | Notes: |
| 145 | SDIP42 - Custom Sega bankswitch chip at location IC1. There are several different |
| 146 | types of these chips with different 315-xxxx numbers |
| 147 | These include 315-5235 (DIP42), 315-5208 (DIP28) and 315-5365 (DIP42) and possibly others. |
| 148 | DIP32 - 1MBit/2MBit/4MBit mask ROM (DIP32) at location IC2 |
| 149 | Actual ROM type can be 831000, 831001, 832011, 834000, 834011 |
| 150 | Found in.... |
| 151 | Game Name Sega ROM ID Bank Chip |
| 152 | ----------------------------------------- |
| 153 | Spellcaster MPR-12532-T 315-5365 |
| 154 | Altered Beast MPR-12534 315-5235 |
| 155 | Bubble Bobble MPR-14177 315-5365 |
| 156 | |
| 157 | 171-5442 (uses 315-5235) |
| 158 | |--------------------------| |
| 159 | | |----------------| | |
| 160 | | | DIP40 | | |
| 161 | | |----------------|IC2 | |
| 162 | | | |
| 163 | | |------------| | |
| 164 | | | SDIP42 | | |
| 165 | | |------------|IC1 | |
| 166 | |----| |----| |
| 167 | | | |
| 168 | |----------------| |
| 169 | Notes: |
| 170 | SDIP42 - Custom Sega bankswitch chip at location IC1. There are several different |
| 171 | types of these chips with different 315-xxxx numbers |
| 172 | These include 315-5235 (DIP42), 315-5208 (DIP28) and 315-5365 (DIP42) and possibly others. |
| 173 | DIP40 - 2MBit/4Mbit 16-bit mask ROM (DIP40) at location IC2 |
| 174 | Found in.... |
| 175 | Game Name Sega ROM ID Bank Chip |
| 176 | ----------------------------------------- |
| 177 | Space Harrier MPR-10410 315-5235 |
| 178 | |
| 179 | Another ROM board 171-5497 used by Monopoly has 315-5235 DIP42 mapper chip, DIP28 mask ROM, a DIP8 chip (unknown), |
| 180 | DIP28 SRAM (likely 8k) and a 3V coin battery. |
| 181 | Yet another type of ROM board with unknown PCB number used by Phantasy Star has 315-5235 DIP42 mapper chip, DIP32 mask |
| 182 | ROM and DIP28 SRAM (likely 8k) and a 3V coin battery. |
| 183 | Unfortunatley the majority of these ROM boards, ROM types and MPR-xxxxx Sega part numbers are undocumented because they |
| 184 | were mostly dumped from the edge connector without being opened. |
| 185 | Some additional info can be found at http://www.smspower.org/Development/Index |
| 186 | Some excellent SMS documentation can be found at http://cgfm2.emuviews.com/sms.php |
| 187 | |
| 188 | -------------------------------------------------------------------------------- |
| 36 | 189 | SMS Store Unit memory map for the second CPU: |
| 37 | 190 | |
| 38 | 191 | 0000-3FFF - BIOS |