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

Add note to self.

This commit is contained in:
Thomas Harte 2023-11-16 10:34:24 -05:00
parent 164a7fe848
commit 832e31f7e5

View File

@ -267,6 +267,7 @@ struct Memory {
uint16_t write_back_value_;
};
// TODO: the decoder is clearly sign-extending 8-bit port addresses. That's incorrect. Fix.
struct IO {
template <typename IntT> void out([[maybe_unused]] uint16_t port, [[maybe_unused]] IntT value) {
if constexpr (std::is_same_v<IntT, uint8_t>) {