--- nono/hd64180/hd647180.h 2026/04/29 17:05:18 1.1 +++ nono/hd64180/hd647180.h 2026/04/29 17:05:47 1.1.1.2 @@ -40,6 +40,7 @@ class HD647180 static const int IntmapMAX = 15; // 最後+1 static constexpr int IntmapTimer(int ch) { return IntmapTimer0 + ch; } + static constexpr int IntmapASCI(int ch) { return IntmapASCI0 + ch; } // 内蔵 I/O ポート static const uint32 IO_CNTLA0 = 0x00; // ASCI Control Register A Channel0 @@ -50,8 +51,8 @@ class HD647180 static const uint32 IO_STAT1 = 0x05; // ASCI Status Register Channel1 static const uint32 IO_TDR0 = 0x06; // ASCI Transmit Data Register Ch0 static const uint32 IO_TDR1 = 0x07; // ASCI Transmit Data Register Ch1 - static const uint32 IO_TSR0 = 0x08; // ASCI Receive Data Register Ch0 - static const uint32 IO_TSR1 = 0x09; // ASCI Receive Data Register Ch1 + static const uint32 IO_RDR0 = 0x08; // ASCI Receive Data Register Ch0 + static const uint32 IO_RDR1 = 0x09; // ASCI Receive Data Register Ch1 static const uint32 IO_CNTR = 0x0a; // CSI/O Control Register static const uint32 IO_TRDR = 0x0b; // CSI/O Transmit/Receive Data Reg.