mirror of
https://github.com/TomHarte/CLK.git
synced 2026-03-13 19:16:40 +00:00
Accept uint8_ts only.
This commit is contained in:
@@ -120,8 +120,7 @@ public:
|
||||
void post([[maybe_unused]] const uint8_t value) {
|
||||
}
|
||||
|
||||
template <typename IntT>
|
||||
void write(const uint16_t port, const IntT value) {
|
||||
void write(const uint16_t port, const uint8_t value) {
|
||||
switch(port) {
|
||||
default:
|
||||
log_.error().append("Unimplemented AT keyboard write: %04x to %04x", value, port);
|
||||
|
||||
@@ -292,7 +292,7 @@ public:
|
||||
if constexpr (is_xt(model)) {
|
||||
ppi_.write(port, uint8_t(value));
|
||||
} else {
|
||||
keyboard_.write(port, value);
|
||||
keyboard_.write(port, uint8_t(value));
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user