From e6402c01785d75d1b0504f1ecd7006cdf5d9d547 Mon Sep 17 00:00:00 2001 From: angelosa Date: Sun, 17 Nov 2024 00:30:12 +0100 Subject: video/pc_vga_tseng.cpp: add offset bit 8 --- src/devices/video/pc_vga_tseng.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/devices/video/pc_vga_tseng.cpp b/src/devices/video/pc_vga_tseng.cpp index e363d88db19..421e067f980 100644 --- a/src/devices/video/pc_vga_tseng.cpp +++ b/src/devices/video/pc_vga_tseng.cpp @@ -220,6 +220,7 @@ void tseng_vga_device::crtc_map(address_map &map) }) ); // Horizontal overflow + // NOTE: undocumented in ET4000AX map(0x3f, 0x3f).lrw8( NAME([this] (offs_t offset) { return et4k.horz_overflow; @@ -227,6 +228,7 @@ void tseng_vga_device::crtc_map(address_map &map) NAME([this] (offs_t offset, u8 data) { et4k.horz_overflow = data; vga.crtc.horz_total = (vga.crtc.horz_total & 0xff) | ((data & 1) << 8); + vga.crtc.offset = (vga.crtc.offset & 0x00ff) | ((data & 0x80) << 1); recompute_params(); }) ); -- cgit v1.2.3