trunk/src/mame/drivers/20pacgal.c
| r242877 | r242878 | |
| 192 | 192 | // likewise the sound table.. is it being uploaded in a different format at 0x0c000? |
| 193 | 193 | // we also need the palette data because there is only a single rom on this pcb? |
| 194 | 194 | static ADDRESS_MAP_START( 25pacman_map, AS_PROGRAM, 8, _25pacman_state ) |
| 195 | | |
| 196 | 195 | AM_RANGE(0x04000, 0x047ff) AM_RAM AM_SHARE("video_ram") |
| 197 | | |
| 198 | 196 | AM_RANGE(0x04800, 0x05fff) AM_RAM |
| 199 | | |
| 200 | 197 | AM_RANGE(0x06000, 0x06fff) AM_WRITEONLY AM_SHARE("char_gfx_ram") |
| 201 | 198 | AM_RANGE(0x07000, 0x0717f) AM_WRITE(sprite_ram_w) |
| 202 | 199 | // AM_RANGE(0x08000, 0x09fff) AM_READ_BANK("bank1") AM_WRITE(ram_48000_w) |
| 203 | 200 | AM_RANGE(0x08000, 0x09fff) AM_WRITENOP |
| 204 | 201 | AM_RANGE(0x0a000, 0x0bfff) AM_WRITE(sprite_gfx_w) |
| 205 | | |
| 206 | 202 | AM_RANGE(0x0c000, 0x0dfff) AM_WRITENOP // is this the sound waveforms in a different format? |
| 207 | 203 | AM_RANGE(0x0e000, 0x0ffff) AM_WRITENOP |
| 208 | 204 | AM_RANGE(0x1c000, 0x1ffff) AM_WRITENOP |
| 209 | | |
| 210 | 205 | AM_RANGE(0x00000, 0x3ffff) AM_DEVREADWRITE("flash", amd_29lv200t_device, read, write ) // (always fall through if nothing else is mapped?) |
| 211 | 206 | |
| 212 | 207 | ADDRESS_MAP_END |
| r242877 | r242878 | |
| 338 | 333 | PORT_INCLUDE(20pacgal) |
| 339 | 334 | |
| 340 | 335 | PORT_MODIFY("SERVICE") |
| 341 | | PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN ) |
| 342 | | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN ) |
| 343 | | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN ) |
| 344 | | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN ) |
| 345 | | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN ) |
| 346 | | PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN ) |
| 336 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 337 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 338 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 339 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME ( "Service Volume Up" ) |
| 340 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME ( "Service Volume Down" ) |
| 341 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 347 | 342 | INPUT_PORTS_END |
| 348 | 343 | |
| 349 | 344 | |