Previous 199869 Revisions Next

r34366 Monday 12th January, 2015 at 23:25:22 UTC by Scott Stone
Added inputs for Service Mode Volume control (+/-) for specific to 25pacgal. (nw)
[src/mame/drivers]20pacgal.c

trunk/src/mame/drivers/20pacgal.c
r242877r242878
192192// likewise the sound table.. is it being uploaded in a different format at 0x0c000?
193193// we also need the palette data because there is only a single rom on this pcb?
194194static ADDRESS_MAP_START( 25pacman_map, AS_PROGRAM, 8, _25pacman_state )
195
196195   AM_RANGE(0x04000, 0x047ff) AM_RAM AM_SHARE("video_ram")
197
198196   AM_RANGE(0x04800, 0x05fff) AM_RAM
199
200197   AM_RANGE(0x06000, 0x06fff) AM_WRITEONLY AM_SHARE("char_gfx_ram")
201198   AM_RANGE(0x07000, 0x0717f) AM_WRITE(sprite_ram_w)
202199//  AM_RANGE(0x08000, 0x09fff) AM_READ_BANK("bank1") AM_WRITE(ram_48000_w)
203200   AM_RANGE(0x08000, 0x09fff) AM_WRITENOP
204201   AM_RANGE(0x0a000, 0x0bfff) AM_WRITE(sprite_gfx_w)
205
206202   AM_RANGE(0x0c000, 0x0dfff) AM_WRITENOP // is this the sound waveforms in a different format?
207203   AM_RANGE(0x0e000, 0x0ffff) AM_WRITENOP
208204   AM_RANGE(0x1c000, 0x1ffff) AM_WRITENOP
209
210205   AM_RANGE(0x00000, 0x3ffff) AM_DEVREADWRITE("flash", amd_29lv200t_device, read, write )  // (always fall through if nothing else is mapped?)
211206
212207ADDRESS_MAP_END
r242877r242878
338333   PORT_INCLUDE(20pacgal)
339334
340335   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 )
347342INPUT_PORTS_END
348343
349344


Previous 199869 Revisions Next


© 1997-2024 The MAME Team