From f53eb6022eac11db43c36462e3dc84714800cde9 Mon Sep 17 00:00:00 2001 From: arbee Date: Sat, 3 Oct 2020 20:15:06 -0400 Subject: [PATCH] apple2: correct value for floating bus offset, fixes a bunch of Deater rastersplit demos [R. Belmont] --- src/mame/drivers/apple2.cpp | 2 +- src/mame/drivers/apple2e.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mame/drivers/apple2.cpp b/src/mame/drivers/apple2.cpp index 60ca2c2ae10..f1c83a68b9a 100644 --- a/src/mame/drivers/apple2.cpp +++ b/src/mame/drivers/apple2.cpp @@ -871,7 +871,7 @@ uint8_t apple2_state::read_floatingbus() // calculate vertical scanning state // - v_line = (i / kHClocks) + 188; // which vertical scanning line + v_line = (i / kHClocks) + 192; // which vertical scanning line v_state = kVLine0State + v_line; // V state bits if ((v_line >= kVPresetLine)) // check for previous vertical state preset { diff --git a/src/mame/drivers/apple2e.cpp b/src/mame/drivers/apple2e.cpp index f45c32033a2..189288e01f4 100644 --- a/src/mame/drivers/apple2e.cpp +++ b/src/mame/drivers/apple2e.cpp @@ -2964,7 +2964,7 @@ uint8_t apple2e_state::read_floatingbus() // calculate vertical scanning state // - v_line = (i / kHClocks) + 188; // which vertical scanning line (MAME starts at blank, not the beginning of the scanning area) + v_line = (i / kHClocks) + 192; // which vertical scanning line (MAME starts at blank, not the beginning of the scanning area) v_state = kVLine0State + v_line; // V state bits if ((v_line >= kVPresetLine)) // check for previous vertical state preset {