From c8ca049b2e1d7da7c603532510e7b3cea87ade08 Mon Sep 17 00:00:00 2001 From: arbee Date: Fri, 24 Sep 2021 21:33:32 -0400 Subject: apple2gs: enable SHR linearization bit in NEWVIDEO by default, fixes Nucleus P8 1.0.1 [R. Belmont] --- src/mame/drivers/apple2gs.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/mame/drivers/apple2gs.cpp b/src/mame/drivers/apple2gs.cpp index 80f4588bcfe..2d53d950b28 100644 --- a/src/mame/drivers/apple2gs.cpp +++ b/src/mame/drivers/apple2gs.cpp @@ -1543,7 +1543,7 @@ void apple2gs_state::machine_reset() m_ramrd = false; m_ramwrt = false; m_ioudis = true; - m_newvideo = 0x01; + m_newvideo = 0x41; // need to verify on hardware if this is correct or if NucleusP8 is broken m_clock_frame = 0; m_mouse_x = 0x00; m_mouse_y = 0x00; @@ -2188,19 +2188,19 @@ void apple2gs_state::do_io(int offset) } // 558 monostable one-shot timers; a running timer cannot be restarted - if (machine().time().as_double() >= m_joystick_x1_time) + if (machine().time().as_double() >= m_joystick_x1_time) { m_joystick_x1_time = machine().time().as_double() + m_x_calibration * m_gameio->pdl0_r(); } - if (machine().time().as_double() >= m_joystick_y1_time) + if (machine().time().as_double() >= m_joystick_y1_time) { m_joystick_y1_time = machine().time().as_double() + m_y_calibration * m_gameio->pdl1_r(); } - if (machine().time().as_double() >= m_joystick_x2_time) + if (machine().time().as_double() >= m_joystick_x2_time) { m_joystick_x2_time = machine().time().as_double() + m_x_calibration * m_gameio->pdl2_r(); } - if (machine().time().as_double() >= m_joystick_y2_time) + if (machine().time().as_double() >= m_joystick_y2_time) { m_joystick_y2_time = machine().time().as_double() + m_y_calibration * m_gameio->pdl3_r(); } @@ -2641,19 +2641,19 @@ u8 apple2gs_state::c000_r(offs_t offset) } // 558 monostable one-shot timers; a running timer cannot be restarted - if (machine().time().as_double() >= m_joystick_x1_time) + if (machine().time().as_double() >= m_joystick_x1_time) { m_joystick_x1_time = machine().time().as_double() + m_x_calibration * m_gameio->pdl0_r(); } - if (machine().time().as_double() >= m_joystick_y1_time) + if (machine().time().as_double() >= m_joystick_y1_time) { m_joystick_y1_time = machine().time().as_double() + m_y_calibration * m_gameio->pdl1_r(); } - if (machine().time().as_double() >= m_joystick_x2_time) + if (machine().time().as_double() >= m_joystick_x2_time) { m_joystick_x2_time = machine().time().as_double() + m_x_calibration * m_gameio->pdl2_r(); } - if (machine().time().as_double() >= m_joystick_y2_time) + if (machine().time().as_double() >= m_joystick_y2_time) { m_joystick_y2_time = machine().time().as_double() + m_y_calibration * m_gameio->pdl3_r(); } -- cgit v1.2.3