mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-08 14:25:05 +00:00
Add note to self.
This commit is contained in:
@@ -267,6 +267,7 @@ struct Memory {
|
|||||||
uint16_t write_back_value_;
|
uint16_t write_back_value_;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// TODO: the decoder is clearly sign-extending 8-bit port addresses. That's incorrect. Fix.
|
||||||
struct IO {
|
struct IO {
|
||||||
template <typename IntT> void out([[maybe_unused]] uint16_t port, [[maybe_unused]] IntT value) {
|
template <typename IntT> void out([[maybe_unused]] uint16_t port, [[maybe_unused]] IntT value) {
|
||||||
if constexpr (std::is_same_v<IntT, uint8_t>) {
|
if constexpr (std::is_same_v<IntT, uint8_t>) {
|
||||||
|
Reference in New Issue
Block a user