mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-08 14:25:05 +00:00
Ensures quieter Release behaviour.
This commit is contained in:
@@ -22,6 +22,7 @@
|
|||||||
#include "../../MouseMachine.hpp"
|
#include "../../MouseMachine.hpp"
|
||||||
|
|
||||||
#include "../../../Inputs/QuadratureMouse/QuadratureMouse.hpp"
|
#include "../../../Inputs/QuadratureMouse/QuadratureMouse.hpp"
|
||||||
|
#include "../../../Outputs/Log.hpp"
|
||||||
|
|
||||||
//#define LOG_TRACE
|
//#define LOG_TRACE
|
||||||
|
|
||||||
@@ -288,10 +289,10 @@ template <Analyser::Static::Macintosh::Target::Model model> class ConcreteMachin
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
if(cycle.operation & Microcycle::Read) {
|
if(cycle.operation & Microcycle::Read) {
|
||||||
printf("Unrecognised read %06x\n", *cycle.address & 0xffffff);
|
LOG("Unrecognised read " << PADHEX(6) << (*cycle.address & 0xffffff));
|
||||||
cycle.value->halves.low = 0x00;
|
cycle.value->halves.low = 0x00;
|
||||||
} else {
|
} else {
|
||||||
printf("Unrecognised write %06x\n", *cycle.address & 0xffffff);
|
LOG("Unrecognised write %06x" << PADHEX(6) << (*cycle.address & 0xffffff));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -560,7 +561,7 @@ template <Analyser::Static::Macintosh::Target::Model model> class ConcreteMachin
|
|||||||
if(port == Port::B && line == Line::Two) {
|
if(port == Port::B && line == Line::Two) {
|
||||||
keyboard_.set_input(value);
|
keyboard_.set_input(value);
|
||||||
}
|
}
|
||||||
else printf("Unhandled control line output: %c %d\n", port ? 'B' : 'A', int(line));
|
else LOG("Unhandled control line output: " << (port ? 'B' : 'A') << int(line));
|
||||||
}
|
}
|
||||||
|
|
||||||
void run_for(HalfCycles duration) {
|
void run_for(HalfCycles duration) {
|
||||||
|
Reference in New Issue
Block a user