Enable CD IRQ code which caused those problems
This commit is contained in:
parent
b0f3e5f357
commit
f051ddb9b7
|
@ -34,17 +34,17 @@ namespace JabyEngine {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct Interrupt {
|
struct Interrupt {
|
||||||
/*static void enable_all(IOPort<InterruptEnable>& port) {
|
static void enable_all(IOPort<InterruptEnable::UnderlyingType, InterruptEnable>& port) {
|
||||||
port.write_combined(InterruptEnable::InterruptTypValue.max(), InterruptEnable::UnknownIRQ, InterruptEnable::CommandStartIRQ);
|
port.write({InterruptEnable::with(InterruptEnable::InterruptTypValue.max(), InterruptEnable::UnknownIRQ, InterruptEnable::CommandStartIRQ)});
|
||||||
}
|
}
|
||||||
|
|
||||||
static uint8_t get_type(const IOPort<InterruptFlag>& port) {
|
static uint8_t get_type(const IOPort<InterruptFlag::UnderlyingType, InterruptFlag>& port) {
|
||||||
return port.read().get_value(InterruptFlag::InterruptTypValue);
|
return port.read().get_value(InterruptFlag::InterruptTypValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ack(IOPort<InterruptFlag>& port) {
|
static void ack(IOPort<InterruptFlag::UnderlyingType, InterruptFlag>& port) {
|
||||||
port.write_combined(InterruptFlag::InterruptTypValue.max());
|
port.write_range_value(InterruptFlag::InterruptTypValue.max());
|
||||||
}*/
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef uint8_t ResponseFifo;
|
typedef uint8_t ResponseFifo;
|
||||||
|
|
Loading…
Reference in New Issue