Renamee IOPort 2 functions to original

This commit is contained in:
2023-09-24 11:52:18 +02:00
parent fb9e346e51
commit a9da459823
9 changed files with 22 additions and 22 deletions

View File

@@ -126,7 +126,7 @@ namespace JabyEngine {
};
static void enable(IOPort<InterruptEnable>& port) {
port.write(port.read().set2(InterruptEnable::InterruptTypValue.range_max<uint8_t>()));
port.write(port.read().set(InterruptEnable::InterruptTypValue.range_max<uint8_t>()));
}
static void enable_extended(IOPort<InterruptEnable>& port) {
@@ -134,11 +134,11 @@ namespace JabyEngine {
}
static Type get_type(const IOPort<InterruptFlag>& port) {
return static_cast<Type>(port.read().get2(InterruptFlag::InterruptTypValue));
return static_cast<Type>(port.read().get(InterruptFlag::InterruptTypValue));
}
static void ack(IOPort<InterruptFlag>& port) {
port.write(port.read().set2(InterruptFlag::InterruptTypValue.range_max<uint8_t>()));
port.write(port.read().set(InterruptFlag::InterruptTypValue.range_max<uint8_t>()));
}
static void ack_extended(IOPort<InterruptFlag>& port) {