1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-04-21 02:37:44 +00:00

Log A20 line.

This commit is contained in:
Thomas Harte 2025-03-09 23:09:58 -04:00
parent e927feb2d6
commit 4f35d5dabd

View File

@ -14,6 +14,7 @@
#include "Segments.hpp"
#include "Analyser/Static/PCCompatible/Target.hpp"
#include "Outputs/Log.hpp"
namespace PCCompatible {
@ -31,14 +32,17 @@ public:
segments_.reset();
}
void set_a20_enabled(bool) {
void set_a20_enabled(const bool enabled) {
// Assumed: this'll be something to set on Memory.
log_.info().append("A20 line is now: ", enabled);
}
private:
Registers<processor_model(model)> &registers_;
Segments<processor_model(model)> &segments_;
Memory<model> &memory_;
Log::Logger<Log::Source::PCCompatible> log_;
};