mirror of https://github.com/bsnes-emu/bsnes.git
26 lines
611 B
C++
26 lines
611 B
C++
struct Satellaview : Memory {
|
|
auto init() -> void;
|
|
auto load() -> void;
|
|
auto unload() -> void;
|
|
auto power() -> void;
|
|
auto reset() -> void;
|
|
|
|
auto read(uint addr, uint8 data) -> uint8;
|
|
auto write(uint addr, uint8 data) -> void;
|
|
|
|
private:
|
|
struct {
|
|
uint8 r2188, r2189, r218a, r218b;
|
|
uint8 r218c, r218d, r218e, r218f;
|
|
uint8 r2190, r2191, r2192, r2193;
|
|
uint8 r2194, r2195, r2196, r2197;
|
|
uint8 r2198, r2199, r219a, r219b;
|
|
uint8 r219c, r219d, r219e, r219f;
|
|
|
|
uint8 r2192_counter;
|
|
uint8 r2192_hour, r2192_minute, r2192_second;
|
|
} regs;
|
|
};
|
|
|
|
extern Satellaview satellaview;
|