Start to move CDXA code around

This commit is contained in:
Jaby
2024-05-31 23:47:39 +02:00
parent 3eb2cc350f
commit fb79f6dc8b
6 changed files with 101 additions and 102 deletions

View File

@@ -49,15 +49,19 @@ namespace JabyEngine {
}
};
namespace IRQ {
void read_sector_to(uint32_t* dst, size_t bytes);
void resume_at(const BCDTimeStamp& cd_time);
}
static State read_current_state() {
return const_cast<volatile State&>(current_state);
}
void read_file(AutoLBAEntry file_info, const SectorBufferAllocator& buffer_allocator);
void read_xa(uint32_t lba, uint8_t channel);
void continue_reading();
CDTimeStamp get_lock();
BCDTimeStamp get_loc();
void enable_CDDA();
void enable_CDXA(bool double_speed);