Previous 199869 Revisions Next

r26485 Monday 2nd December, 2013 at 20:24:00 UTC by hap
magic mirror...
this fixes MT00785: omegrace: Corrupted music after completing first several levels.
[src/mame/drivers]omegrace.c

trunk/src/mame/drivers/omegrace.c
r26484r26485
379379 *************************************/
380380
381381static ADDRESS_MAP_START( sound_map, AS_PROGRAM, 8, omegrace_state )
382   AM_RANGE(0x0000, 0x07ff) AM_ROM
382   AM_RANGE(0x0000, 0x07ff) AM_ROM AM_MIRROR(0x800)
383383   AM_RANGE(0x1000, 0x13ff) AM_RAM
384384ADDRESS_MAP_END
385385
386386
387387static ADDRESS_MAP_START( sound_port, AS_IO, 8, omegrace_state )
388388   ADDRESS_MAP_GLOBAL_MASK(0xff)
389   AM_RANGE(0x00, 0x00) AM_READ(soundlatch_byte_r) /* likely ay8910 input port, not direct */
390   AM_RANGE(0x00, 0x01) AM_DEVWRITE("ay1", ay8910_device, address_data_w)
391   AM_RANGE(0x02, 0x03) AM_DEVWRITE("ay2", ay8910_device, address_data_w)
389   AM_RANGE(0x00, 0x00) AM_READ(soundlatch_byte_r) // the game reads from ay1 port b, but ay8912 only has port a
390   AM_RANGE(0x00, 0x01) AM_DEVWRITE("ay1", ay8912_device, address_data_w)
391   AM_RANGE(0x02, 0x03) AM_DEVWRITE("ay2", ay8912_device, address_data_w)
392392ADDRESS_MAP_END
393393
394394

Previous 199869 Revisions Next


© 1997-2024 The MAME Team