summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2021-09-24 21:33:32 -0400
committer arbee <rb6502@users.noreply.github.com>2021-09-24 21:33:32 -0400
commitc8ca049b2e1d7da7c603532510e7b3cea87ade08 (patch)
tree7cf79de146a978b149c68b243b44ce05c338bbcb
parent7cc72c16936cc1aaa287db5e5de4b032336045f0 (diff)
apple2gs: enable SHR linearization bit in NEWVIDEO by default, fixes Nucleus P8 1.0.1 [R. Belmont]
-rw-r--r--src/mame/drivers/apple2gs.cpp18
1 files 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();
}