mirror of
https://github.com/holub/mame
synced 2025-07-04 09:28:51 +03:00
bublbobl: Use MCFG_SCREEN_VBLANK_CALLBACK instead of irq0_line_pulse (nw)
This commit is contained in:
parent
11e2d658c4
commit
8194fb4470
@ -963,7 +963,6 @@ static MACHINE_CONFIG_START( bublbobl )
|
|||||||
|
|
||||||
MCFG_CPU_ADD("mcu", M6801, XTAL_4MHz) // actually 6801U4 - xtal is 4MHz, divided by 4 internally
|
MCFG_CPU_ADD("mcu", M6801, XTAL_4MHz) // actually 6801U4 - xtal is 4MHz, divided by 4 internally
|
||||||
MCFG_CPU_PROGRAM_MAP(mcu_map)
|
MCFG_CPU_PROGRAM_MAP(mcu_map)
|
||||||
MCFG_CPU_VBLANK_INT_DRIVER("screen", bublbobl_state, irq0_line_pulse) // comes from the same clock that latches the INT pin on the second Z80
|
|
||||||
|
|
||||||
MCFG_QUANTUM_TIME(attotime::from_hz(6000)) // 100 CPU slices per frame - a high value to ensure proper synchronization of the CPUs
|
MCFG_QUANTUM_TIME(attotime::from_hz(6000)) // 100 CPU slices per frame - a high value to ensure proper synchronization of the CPUs
|
||||||
|
|
||||||
@ -978,6 +977,7 @@ static MACHINE_CONFIG_START( bublbobl )
|
|||||||
MCFG_SCREEN_RAW_PARAMS(MAIN_XTAL/4, 384, 0, 256, 264, 16, 240)
|
MCFG_SCREEN_RAW_PARAMS(MAIN_XTAL/4, 384, 0, 256, 264, 16, 240)
|
||||||
MCFG_SCREEN_UPDATE_DRIVER(bublbobl_state, screen_update_bublbobl)
|
MCFG_SCREEN_UPDATE_DRIVER(bublbobl_state, screen_update_bublbobl)
|
||||||
MCFG_SCREEN_PALETTE("palette")
|
MCFG_SCREEN_PALETTE("palette")
|
||||||
|
MCFG_SCREEN_VBLANK_CALLBACK(INPUTLINE("mcu", M6801_IRQ_LINE)) // same clock latches the INT pin on the second Z80
|
||||||
|
|
||||||
MCFG_GFXDECODE_ADD("gfxdecode", "palette", bublbobl)
|
MCFG_GFXDECODE_ADD("gfxdecode", "palette", bublbobl)
|
||||||
MCFG_PALETTE_ADD("palette", 256)
|
MCFG_PALETTE_ADD("palette", 256)
|
||||||
|
Loading…
Reference in New Issue
Block a user