diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2020-04-21 17:29:39 -0400 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2020-04-21 17:38:45 -0400 |
commit | 15386236cf26603d17717a130b9ae61b2f1b3864 (patch) | |
tree | f6b2b4d87d3da4ccaf3def264e9f7006f15388cf /src/mame/drivers/batman.cpp | |
parent | 1e3ae4ac5180ffe8e6b4a0aa54d6b61ac65b4fe3 (diff) |
atarisy1.cpp, atarisy2.cpp, gauntlet.cpp: Modernization
- Use generic latch devices for sound communications
- More accurate handling of programmed sound resets
- Add the other LS259 to gauntlet.cpp
- Correct watchdog timeouts for all three drivers
- General code cleanup
atarigen: Eliminate ATARI_CLOCK_xxxMHz macros in favor of standard XTAL constants (nw)
atariscom: Separate source file from atarigen.cpp; move IRQ handling to atarijsa (not a property of the actual device) (nw)
Diffstat (limited to 'src/mame/drivers/batman.cpp')
-rw-r--r-- | src/mame/drivers/batman.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/batman.cpp b/src/mame/drivers/batman.cpp index bb289c4565e..f95324f26ee 100644 --- a/src/mame/drivers/batman.cpp +++ b/src/mame/drivers/batman.cpp @@ -186,7 +186,7 @@ GFXDECODE_END void batman_state::batman(machine_config &config) { /* basic machine hardware */ - M68000(config, m_maincpu, ATARI_CLOCK_14MHz); + M68000(config, m_maincpu, 14.318181_MHz_XTAL); m_maincpu->set_addrmap(AS_PROGRAM, &batman_state::main_map); EEPROM_2816(config, "eeprom").lock_after_write(true); @@ -208,7 +208,7 @@ void batman_state::batman(machine_config &config) m_screen->set_video_attributes(VIDEO_UPDATE_BEFORE_VBLANK); /* note: these parameters are from published specs, not derived */ /* the board uses a VAD chip to generate video signals */ - m_screen->set_raw(ATARI_CLOCK_14MHz/2, 456, 0, 336, 262, 0, 240); + m_screen->set_raw(14.318181_MHz_XTAL/2, 456, 0, 336, 262, 0, 240); m_screen->set_screen_update(FUNC(batman_state::screen_update_batman)); m_screen->set_palette("palette"); |