From f822d96411f22da8cc29fe32d3959abc0788f4a0 Mon Sep 17 00:00:00 2001 From: Ford Seidel Date: Wed, 12 Jun 2019 00:42:37 +0800 Subject: [PATCH] Vectrex reset into bank 1 for 64KiB carts This fixes "Where Have All the Pixels Gone?" and "EigenVectrex," quite possibly others. No regressions found. --- src/devices/bus/vectrex/rom.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/devices/bus/vectrex/rom.cpp b/src/devices/bus/vectrex/rom.cpp index 54697fe34b3..e9651909846 100644 --- a/src/devices/bus/vectrex/rom.cpp +++ b/src/devices/bus/vectrex/rom.cpp @@ -53,7 +53,10 @@ void vectrex_rom64k_device::device_start() void vectrex_rom64k_device::device_reset() { - m_bank = 0; + //Resetting to 1 instead of 0 fixes 64KiB cartridges that don't have a workaround + //for the fact that MAME does not currently emulate the pull-up resistor on the 6522's PB6 line. + //TODO: correctly emulate PB6 pull-up behavior (line should be high whenever PB6 set to input). + m_bank = 1; }