Reprocudeable Interrupt miss
This commit is contained in:
@@ -38,6 +38,9 @@ namespace JabyEngine {
|
||||
if(cur_irq == CD_IO::Interrupt::Acknowledge) {
|
||||
printf("Rand ACK for 0x%X\n", last_send_cmd);
|
||||
}
|
||||
if(cur_irq == CD_IO::Interrupt::Complete) {
|
||||
printf("Rand Comp for 0x%X\n", last_send_cmd);
|
||||
}
|
||||
} while(cur_irq == CD_IO::Interrupt::None);
|
||||
CD_IO::Interrupt::ack_extended(CD_IO::PortIndex1::InterruptFlag);
|
||||
cmd_interrupt_bit = bit::set(cmd_interrupt_bit, cur_irq);
|
||||
@@ -57,8 +60,7 @@ namespace JabyEngine {
|
||||
cmd_interrupt_bit = 0;
|
||||
CD_IO::PortIndex0::change_to();
|
||||
((parameter_fifo.write(CD_IO::ParameterFifo{args})),...);
|
||||
cmd_fifo.write(CD_IO::CommandFifo{cmd.id});
|
||||
//printf(">>> 0x%X send @%i\n", cmd.id, CD_IO::IndexStatus.read().raw&0b111);
|
||||
cmd_fifo.write(CD_IO::CommandFifo{cmd.id});
|
||||
|
||||
rel_last_send_cmd = cmd.id;
|
||||
last_send_cmd = cmd.id;
|
||||
|
||||
Reference in New Issue
Block a user