mirror of
https://github.com/devinacker/bsnes-plus.git
synced 2025-04-02 10:52:46 -04:00
23 lines
773 B
C++
23 lines
773 B
C++
class PPUDebugger : public PPU, public ChipDebugger {
|
|
public:
|
|
uint8 vram_mmio_read(uint16 addr);
|
|
void vram_mmio_write(uint16 addr, uint8 data);
|
|
|
|
uint8 oam_mmio_read(uint16 addr);
|
|
void oam_mmio_write(uint16 addr, uint8 data);
|
|
|
|
uint8 cgram_mmio_read(uint16 addr);
|
|
void cgram_mmio_write(uint16 addr, uint8 data);
|
|
|
|
uint16 vram_start_addr() const;
|
|
uint8 bg_mode() const;
|
|
uint16 bg_screen_addr(unsigned index) const;
|
|
uint8 bg_screen_size(unsigned index) const;
|
|
uint16 bg_tile_addr(unsigned index) const;
|
|
uint8 bg_tile_size(unsigned index) const;
|
|
uint16 oam_tile_addr(unsigned index) const;
|
|
uint8 oam_base_size() const;
|
|
unsigned oam_first_sprite() const;
|
|
bool mode7_extbg() const;
|
|
bool property(unsigned id, string &name, string &value);
|
|
};
|