More and more bugs
This commit is contained in:
@@ -20,6 +20,7 @@ namespace JabyEngine {
|
||||
|
||||
extern State current_state;
|
||||
extern volatile uint8_t cmd_interrupt_bit;
|
||||
extern uint8_t last_cmd;
|
||||
|
||||
struct Command {
|
||||
struct Internal {
|
||||
@@ -36,6 +37,10 @@ namespace JabyEngine {
|
||||
} while(cur_irq == CD_IO::Interrupt::None);
|
||||
cur_irq = CD_IO::Interrupt::get_type(CD_IO::PortIndex1::InterruptFlag);
|
||||
|
||||
if(cur_irq == CD_IO::Interrupt::DataReady) {
|
||||
printf("Wopsie!\n");
|
||||
}
|
||||
|
||||
CD_IO::Interrupt::ack_extended(CD_IO::PortIndex1::InterruptFlag);
|
||||
cmd_interrupt_bit = bit::set(cmd_interrupt_bit, cur_irq);
|
||||
return cur_irq;
|
||||
@@ -97,6 +102,7 @@ namespace JabyEngine {
|
||||
|
||||
BCDTimeStamp get_loc();
|
||||
|
||||
void enable_CD();
|
||||
void enable_CDDA();
|
||||
void enable_CDXA(bool double_speed);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user