From b830d62850873f95d0adc7471743359e0c15533a Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 18 Mar 2021 12:32:54 -0400 Subject: [PATCH] Adds quick notes on port FE. --- Machines/Sinclair/ZXSpectrum/ZXSpectrum.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Machines/Sinclair/ZXSpectrum/ZXSpectrum.cpp b/Machines/Sinclair/ZXSpectrum/ZXSpectrum.cpp index b5d6beaff..cf9e00556 100644 --- a/Machines/Sinclair/ZXSpectrum/ZXSpectrum.cpp +++ b/Machines/Sinclair/ZXSpectrum/ZXSpectrum.cpp @@ -118,6 +118,10 @@ template class ConcreteMachine: // TODO: rest of port FE. update_audio(); audio_toggle_.set_output(*cycle.value & 0x10); + + // b0–b2: border colour + // b3: enable tape input (?) + // b4: tape and speaker output } switch(address) { @@ -157,6 +161,10 @@ template class ConcreteMachine: case PartialMachineCycle::Input: if(!(address&1)) { // TODO: port FE. + + // address b8+: mask of keyboard lines to select + // result: b0–b4: mask of keys pressed + // b6: tape input } switch(address) {