src/mess/drivers/tsispch.c
| r10798 | r10799 | |
| 81 | 81 | /****************************************************************************** |
| 82 | 82 | Address Maps |
| 83 | 83 | ******************************************************************************/ |
| 84 | | |
| 84 | /* The address map of the prose 2020 is controlled by 2 proms, see the rom section |
| 85 | for details on those. |
| 86 | (x = ignored; * = selects address within this range; s = selects one of a pair of chips) |
| 87 | A19 A18 A17 A16 A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 |
| 88 | 0 0 x x 0 x 0 * * * * * * * * * * * * s 6264*2 SRAM first half |
| 89 | 0 0 x x 0 x 1 0 * * * * * * * * * * * s 6264*2 SRAM 3rd quarter |
| 90 | 0 0 x x 0 x 1 1 0 0 0 x x x x x x x * x iP8251A @ U15 |
| 91 | 0 0 x x 0 x 1 1 0 0 1 x x x x x x x * x AMD P8259A PIC |
| 92 | 0 0 x x 0 x 1 1 0 1 0 ? ? ? ? ? ? ? ? ? LEDS and dipswitches? |
| 93 | 0 0 x x 0 x 1 1 0 1 1 x x x x x x x * x UPD77P20 data/status |
| 94 | 0 0 x x 0 x 1 1 1 Open bus? |
| 95 | 0 0 x x 1 x Open bus? |
| 96 | 0 1 Open bus? |
| 97 | 1 0 Open bus? |
| 98 | 1 1 0 * * * * * * * * * * * * * * * * s ROMs 2 and 3 |
| 99 | 1 1 1 * * * * * * * * * * * * * * * * s ROMs 0 and 1 |
| 100 | */ |
| 85 | 101 | static ADDRESS_MAP_START(i8086_mem, ADDRESS_SPACE_PROGRAM, 16, tsispch_state) |
| 86 | 102 | ADDRESS_MAP_UNMAP_HIGH |
| 87 | | AM_RANGE(0x00000, 0x02BFF) AM_RAM // unverified; tested on startup test |
| 88 | | AM_RANGE(0x02C00, 0x02FFF) AM_RAM // unverified; 2F32-2F92 may be special ram for talking to the DSP? |
| 89 | | //AM_RANGE(0x03200, 0x03201) // UART 1 |
| 90 | | //AM_RANGE(0x03202, 0x03203) // UART 2 |
| 91 | | AM_RANGE(0x03400, 0x03401) AM_WRITE(led_w) // write is the 8 debug leds; reading here may be dipswitches? |
| 92 | | AM_RANGE(0xc0000, 0xfffff) AM_ROM // correct |
| 103 | AM_RANGE(0x00000, 0x02FFF) AM_MIRROR(0x34000) AM_RAM // verified; 6264*2 sram, only first 3/4 used |
| 104 | //AM_RANGE(0x03000, 0x03003) AM_MIRROR(0x341FD) // iP8251A@U15 |
| 105 | //AM_RANGE(0x03202, 0x03203) AM_MIRROR(0x341FD) // AMD P8259 PIC @ U5 |
| 106 | AM_RANGE(0x03400, 0x03401) AM_MIRROR(0x34000) AM_WRITE(led_w) // write is 8 bits, but there are only 4 debug leds; other 4 bits may select a bank of dipswitches to be read here? |
| 107 | //AM_RANGE(0x03600, 0x03601) AM_MIRROR(0x341FD) // UPD77P20 data reg r/w |
| 108 | //AM_RANGE(0x03602, 0x03603) AM_MIRROR(0x341FD) // UPD77P20 status reg r |
| 109 | AM_RANGE(0xc0000, 0xfffff) AM_ROM // verified |
| 93 | 110 | ADDRESS_MAP_END |
| 94 | 111 | |
| 95 | 112 | static ADDRESS_MAP_START(i8086_io, ADDRESS_SPACE_IO, 16, tsispch_state) |
| r10798 | r10799 | |
| 155 | 172 | // mapping proms: |
| 156 | 173 | // All are am27s19 32x8 TriState PROMs (equivalent to 82s123/6331) |
| 157 | 174 | // L - always low; H - always high |
| 158 | | // U77: unknown; input is ? |
| 175 | // U77: unknown (what does this do?); input is ? |
| 159 | 176 | // output bits 0bLLLLzyxH |
| 160 | 177 | // x - unknown |
| 161 | 178 | // y - unknown |
| 162 | 179 | // z - unknown |
| 163 | 180 | // |
| 164 | | // U79: unknown; input is A19 for I4, A18 for I3, A15 for I2, A13 for I1, A12 for I0 |
| 181 | // U79: SRAM and peripheral mapping: |
| 182 | // input is A19 for I4, A18 for I3, A15 for I2, A13 for I1, A12 for I0 (NEEDS VERIFY) |
| 165 | 183 | // On the Prose 2000 board dumped, only bits 3 and 0 are used; |
| 166 | 184 | // bits 7-4 are always low, bits 2 and 1 are always high. |
| 167 | 185 | // SRAMS are only populated in U61 and U64. |
| 168 | | // This maps the SRAMS to <fill me in> |
| 169 | 186 | // output bits 0bLLLLyHHx |
| 170 | 187 | // 3 - to /EN3 (pin 4) of 74S138N at U80 |
| 188 | // AND to EN1 (pin 6) of 74S138N at U78 |
| 189 | // i.e. one is activated when pin is high and other when pin is low |
| 171 | 190 | // The 74S138N at U80: |
| 172 | | // inputs: S0 - A9; S1 - A10; S2 - A11 |
| 173 | | // /Y0 - pin 11 of i8251 at U15 |
| 174 | | // /Y1 - <wip> |
| 191 | // /EN2 - pulled to GND |
| 192 | // EN1 - pulled to VCC through resistor R5 |
| 193 | // inputs: S0 - A9; S1 - A10; S2 - A11 |
| 194 | // /Y0 - /CS (pin 11) of iP8251A at U15 |
| 195 | // /Y1 - /CS (pin 1) of AMD 8259A at U4 |
| 196 | // /Y2 - pins 1, 4, 9 (1A, 2A, 3A inputs) of 74HCT32 Quad OR gate at U58 <wip, involves LEDS?> |
| 197 | // /Y3 - pin 26 (/CS) of UPD77P20 at U29 |
| 198 | // /Y4 thru /Y7 - seem unconnected SO FAR? <wip> |
| 199 | // The 74S138N at U78: <wip> |
| 200 | // /EN3 - ? |
| 201 | // /EN2 - ? |
| 202 | // inputs: ? |
| 203 | // /Y3 - connects somewhere |
| 204 | // <wip> |
| 175 | 205 | // 2 - to /CS1 on 6264 SRAMs at U63 and U66 |
| 176 | 206 | // 1 - to /CS1 on 6264 SRAMs at U62 and U65 |
| 177 | 207 | // 0 - to /CS1 on 6264 SRAMs at U61 and U64 |
| 178 | 208 | // |
| 179 | 209 | // U81: maps ROMS: input is A19-A15 for I4,3,2,1,0 |
| 180 | | // On the prose 2000 board dumped, only bits 6 and 5 are used, |
| 210 | // On the Prose 2000 board dumped, only bits 6 and 5 are used, |
| 181 | 211 | // the rest are always high; maps roms 0,1,2,3 to C0000-FFFFF. |
| 182 | 212 | // The Prose 2000 board has empty unpopulated sockets for roms 4-15; |
| 183 | 213 | // if present these would be driven by a different prom in this location. |