mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-02-24 15:12:23 +01:00
byuu says: More V30MZ implemented, a lot more to go. icarus now supports importing WS and WSC games. It expects them to have the correct file extension, same for GB and GBC. > Ugh, apparently HiDPI icarus doesn't let you press the check boxes. I set the flag value in the plist to false for now. Forgot to do it for higan, but hopefully I won't forget before release.
24 lines
635 B
C++
24 lines
635 B
C++
struct CPU : Processor::V30MZ, Thread, IO {
|
|
static auto Enter() -> void;
|
|
|
|
auto main() -> void;
|
|
auto step(uint clocks) -> void;
|
|
|
|
auto wait(uint clocks = 1) -> void override;
|
|
auto read(uint20 addr) -> uint8 override;
|
|
auto write(uint20 addr, uint8 data) -> void override;
|
|
auto in(uint16 port) -> uint8 override;
|
|
auto out(uint16 port, uint8 data) -> void override;
|
|
|
|
auto power() -> void;
|
|
|
|
//memory.cpp
|
|
auto ramRead(uint16 addr) -> uint8;
|
|
auto ramWrite(uint16 addr, uint8 data) -> void;
|
|
|
|
auto portRead(uint16 addr) -> uint8 override;
|
|
auto portWrite(uint16 addr, uint8 data) -> void override;
|
|
};
|
|
|
|
extern CPU cpu;
|