summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ti99/peb
diff options
context:
space:
mode:
author Michael Zapf <github@mizapf.de>2022-06-18 13:42:48 +0200
committer Michael Zapf <github@mizapf.de>2022-06-18 13:44:11 +0200
commitce439f443497bbd312c6b727ebfaee7f57fb2480 (patch)
tree1972b47f625fa2d0bdc2d58bd63c77ae8ead9cfb /src/devices/bus/ti99/peb
parent7a1f9eb6748b0aa344e9f872868a742bdd88a4a0 (diff)
ti99: Fixed segfaults on termination; use 1800 as default for CRU base.
Diffstat (limited to 'src/devices/bus/ti99/peb')
-rw-r--r--src/devices/bus/ti99/peb/tipi.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/devices/bus/ti99/peb/tipi.cpp b/src/devices/bus/ti99/peb/tipi.cpp
index 313bc02cc03..0c08299ace3 100644
--- a/src/devices/bus/ti99/peb/tipi.cpp
+++ b/src/devices/bus/ti99/peb/tipi.cpp
@@ -590,17 +590,18 @@ void tipi_card_device::device_stop()
{
// MZ: Without this I'm getting segfaults/list corruption
// when leaving the emulation
- m_wsclient = NULL;
+ m_wsclient->stop();
LOG("Stopping TIPI\n");
}
/*
The CRU address base for the card.
+ For the Geneve OS version 7.30, CRU base 1800 is mandatory.
*/
INPUT_PORTS_START( tipi )
PORT_START("SW1")
- PORT_DIPNAME(0x1f, 0x10, "CRU base")
- PORT_DIPSETTING(0x10, "1000") // Default setting
+ PORT_DIPNAME(0x1f, 0x18, "CRU base")
+ PORT_DIPSETTING(0x10, "1000")
PORT_DIPSETTING(0x11, "1100")
PORT_DIPSETTING(0x12, "1200")
PORT_DIPSETTING(0x13, "1300")
@@ -608,7 +609,7 @@ INPUT_PORTS_START( tipi )
PORT_DIPSETTING(0x15, "1500")
PORT_DIPSETTING(0x16, "1600")
PORT_DIPSETTING(0x17, "1700")
- PORT_DIPSETTING(0x18, "1800")
+ PORT_DIPSETTING(0x18, "1800") // Default setting
PORT_DIPSETTING(0x19, "1900")
PORT_DIPSETTING(0x1a, "1a00")
PORT_DIPSETTING(0x1b, "1b00")