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:
parent
e927feb2d6
commit
4f35d5dabd
@ -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)> ®isters_;
|
||||
Segments<processor_model(model)> &segments_;
|
||||
Memory<model> &memory_;
|
||||
|
||||
Log::Logger<Log::Source::PCCompatible> log_;
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user