mirror of
https://github.com/TomHarte/CLK.git
synced 2025-09-25 08:25:09 +00:00
Eliminates RAM writes in ROM area.
I no longer think that logic is correct.
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
|
||||
#include "IWM.hpp"
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
using namespace Apple;
|
||||
|
||||
IWM::IWM(int clock_rate) {
|
||||
@@ -17,8 +19,9 @@ IWM::IWM(int clock_rate) {
|
||||
uint8_t IWM::read(int address) {
|
||||
access(address);
|
||||
|
||||
// printf("IWM r %d (%02x)\n", address&0xf, q_switches_);
|
||||
switch(q_switches_) {
|
||||
default: return 0xff; // Undefined.
|
||||
default: return 0x00; // Undefined.
|
||||
|
||||
case 0x20: return 0x00; // Data register.
|
||||
|
||||
|
Reference in New Issue
Block a user