From 4f993e1d1d2097560af69b64f0e50e632eac81b4 Mon Sep 17 00:00:00 2001 From: arbee Date: Sat, 12 Aug 2023 19:24:41 -0400 Subject: apple/djmemc.cpp, sonora.cpp, v8.cpp, vasp.cpp: Add debugger guards and update documentation. [R. Belmont] --- src/mame/apple/djmemc.cpp | 2 +- src/mame/apple/sonora.cpp | 20 ++++++++++++-------- src/mame/apple/v8.cpp | 2 +- src/mame/apple/vasp.cpp | 2 +- 4 files changed, 15 insertions(+), 11 deletions(-) diff --git a/src/mame/apple/djmemc.cpp b/src/mame/apple/djmemc.cpp index ddc7c512030..83e9638b212 100644 --- a/src/mame/apple/djmemc.cpp +++ b/src/mame/apple/djmemc.cpp @@ -97,7 +97,7 @@ void djmemc_device::device_reset() u32 djmemc_device::rom_switch_r(offs_t offset) { // disable the overlay - if (m_overlay) + if (m_overlay && !machine().side_effects_disabled()) { address_space &space = m_maincpu->space(AS_PROGRAM); const u32 memory_end = m_ram_size - 1; diff --git a/src/mame/apple/sonora.cpp b/src/mame/apple/sonora.cpp index b51c349f909..7d7b30c6b61 100644 --- a/src/mame/apple/sonora.cpp +++ b/src/mame/apple/sonora.cpp @@ -10,15 +10,19 @@ - A full VIA (VIA1) and a "pseudo-VIA", which is basically a combination GPIO and interrupt controller that looks somewhat like a VIA with no timers and no shift register. - A SWIM2 floppy controller - - An ASC-like 4-channel audio controller - - 16/25 MHz CPU clock generator + - An EASC-like 4-channel audio controller + - A 16/25/33 MHz CPU clock generator - Support logic for various external subsystems (ADB, PDS, SCC, SCSI, SONIC) - The "Ardbeg" ASIC (LC 520) appears to be a modest update of Sonora, adding support for - pushbuttons controlling display brightness and sound volume, plus monitor power saver mode. - "Prime Time" (LC 475/575 and Quadra 605) adapts the peripheral section of Sonora to the - 68040 bus, but omits the DRAM and video controllers. "Prime Time II" is similar but adds - an ATA controller. + The "Ardbeg" ASIC (LC 520) is a modest update of Sonora, adding support for pushbuttons + controlling display brightness and sound volume, plus monitor power saver mode and PWM + outputs for software control of the display brightness and contrast. + + Macintosh TV has a Sonora/Ardbeg derivative called "Tinker Bell" which adds video + overlay support. + + Sonora was succeeded for 68040 machines by IOSB, PrimeTime, and PrimeTime II, with similar + functionality but became pure I/O hubs with no memory controller or video. Sonora's video controller is in some of the PowerMac chipsets as well. */ @@ -175,7 +179,7 @@ void sonora_device::device_reset() u32 sonora_device::rom_switch_r(offs_t offset) { // disable the overlay - if (m_overlay) + if (m_overlay && !machine().side_effects_disabled()) { address_space &space = m_maincpu->space(AS_PROGRAM); const u32 memory_end = m_ram_size - 1; diff --git a/src/mame/apple/v8.cpp b/src/mame/apple/v8.cpp index 8293a6e211f..cea4c114016 100644 --- a/src/mame/apple/v8.cpp +++ b/src/mame/apple/v8.cpp @@ -213,7 +213,7 @@ void v8_device::device_reset() u32 v8_device::rom_switch_r(offs_t offset) { // disable the overlay - if (m_overlay) + if (m_overlay && !machine().side_effects_disabled()) { ram_size(0xc0); // full SIMM, full 4MB onboard m_overlay = false; diff --git a/src/mame/apple/vasp.cpp b/src/mame/apple/vasp.cpp index 764738b78ef..12ca833c65c 100644 --- a/src/mame/apple/vasp.cpp +++ b/src/mame/apple/vasp.cpp @@ -184,7 +184,7 @@ void vasp_device::device_reset() u32 vasp_device::rom_switch_r(offs_t offset) { // disable the overlay - if (m_overlay) + if (m_overlay && !machine().side_effects_disabled()) { address_space &space = m_maincpu->space(AS_PROGRAM); const u32 memory_end = m_ram_size - 1; -- cgit v1.2.3