CDXA not working
This commit is contained in:
13
include/PSX/Audio/CDXA.hpp
Normal file
13
include/PSX/Audio/CDXA.hpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
#include "../AutoLBA/auto_lba.hpp"
|
||||
|
||||
namespace JabyEngine {
|
||||
namespace CDXA {
|
||||
struct CDFile {
|
||||
uint8_t rel_lba_idx;
|
||||
};
|
||||
|
||||
void play(const volatile AutoLBAEntry* lba, const CDFile& file, uint8_t channel);
|
||||
void stop();
|
||||
}
|
||||
}
|
@@ -157,10 +157,12 @@ namespace JabyEngine {
|
||||
static constexpr Desc ReadN{0x06, Interrupt::Type::DataReady};
|
||||
static constexpr Desc Pause{0x09, Interrupt::Type::Complete};
|
||||
static constexpr Desc Init{0x0A, Interrupt::Type::Complete};
|
||||
static constexpr Desc Filter{0x0D, Interrupt::Type::Acknowledge};
|
||||
static constexpr Desc SetMode{0x0E, Interrupt::Type::Acknowledge};
|
||||
static constexpr Desc GetLocP{0x11, Interrupt::Type::Acknowledge};
|
||||
static constexpr Desc GetTN{0x13, Interrupt::Type::Acknowledge};
|
||||
static constexpr Desc GetTD{0x14, Interrupt::Type::Acknowledge};
|
||||
static constexpr Desc ReadS{0x1B, Interrupt::Type::DataReady};
|
||||
};
|
||||
|
||||
static constexpr auto IORegister1Adr = 0x1F801801;
|
||||
|
Reference in New Issue
Block a user