Prepare CD Callback handler

This commit is contained in:
Jaby
2024-06-13 22:28:37 +02:00
committed by Jaby
parent 4df3368eaa
commit 715aea0589
7 changed files with 39 additions and 59 deletions

View File

@@ -60,7 +60,7 @@ namespace JabyEngine {
Internal::send(cmd, true, args...);
}
template<typename...ARGS>
template<typename...ARGS>
static void sendX(CD_IO::Command::Desc cmd, ARGS...args) {
Internal::send(cmd, false, args...);
}
@@ -76,6 +76,7 @@ template<typename...ARGS>
};
namespace IRQ {
void data_ready_handler(uint32_t data);
void read_sector_to0(uint32_t* dst, size_t bytes);
void resume_at0(const BCDTimeStamp& cd_time);
}