bsnes/higan/sfc/coprocessor/necdsp/necdsp.hpp

23 lines
523 B
C++

struct NECDSP : Processor::uPD96050, Thread {
static auto Enter() -> void;
auto main() -> void;
auto read(uint24 addr, uint8 data) -> uint8;
auto write(uint24 addr, uint8 data) -> void;
auto readRAM(uint24 addr, uint8 data) -> uint8;
auto writeRAM(uint24 addr, uint8 data) -> void;
auto init() -> void;
auto load() -> void;
auto unload() -> void;
auto power() -> void;
auto firmware() const -> vector<uint8>;
auto serialize(serializer&) -> void;
uint Frequency = 0;
};
extern NECDSP necdsp;