diff options
author | 0kmg <9137159+0kmg@users.noreply.github.com> | 2022-03-04 10:34:31 -0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-04 14:34:31 -0500 |
commit | 099f7c9bf743d83f846559488000c51182c108ce (patch) | |
tree | f1f8e1ca5debb449b3924726f714a363892f3c2a /src/mame/includes/playch10.h | |
parent | 12d6e96eedacc8f248361d1df22db81c23b5d3c8 (diff) |
playch10.cpp: A few more cleanups. (#9352)
- Nametable RAM is now 2K, except for the two games (Rad Racer II, Gauntlet) that have extra RAM on daughter boards.
- Removed unnecessary overridden machine/video start code for PinBot.
- Added an address map for the PPU.
- Further simplified initialization code for games that have VRAM or special RP5H01 usage.
- Lots of conversion to C++-style comments with a few corrections along the way.
Diffstat (limited to 'src/mame/includes/playch10.h')
-rw-r--r-- | src/mame/includes/playch10.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/includes/playch10.h b/src/mame/includes/playch10.h index d2e8985acf5..0c5387fce6f 100644 --- a/src/mame/includes/playch10.h +++ b/src/mame/includes/playch10.h @@ -52,6 +52,7 @@ public: void init_pcdboard(); void init_pceboard(); void init_pcfboard(); + void init_rp5h01_fix(); void init_virus(); void init_ttoon(); void init_pcgboard(); @@ -101,6 +102,7 @@ private: void bios_io_map(address_map &map); void bios_map(address_map &map); + void ppu_map(address_map &map); void cart_map(address_map &map); void cart_a_map(address_map &map); void cart_b_map(address_map &map); @@ -126,8 +128,6 @@ private: }; void playch10_palette(palette_device &palette) const; - DECLARE_MACHINE_START(playch10_hboard); - DECLARE_VIDEO_START(playch10_hboard); DECLARE_WRITE_LINE_MEMBER(vblank_irq); void pc10_set_videorom_bank( int first, int count, int bank, int size ); @@ -181,11 +181,11 @@ private: std::unique_ptr<uint8_t[]> m_vram; uint8_t* m_nametable[4]; std::unique_ptr<uint8_t[]> m_nt_ram; + std::unique_ptr<uint8_t[]> m_cart_nt_ram; chr_bank m_chr_page[8]; int m_mmc1_shiftreg; int m_mmc1_shiftcount; int m_gboard_banks[2]; - int m_gboard_4screen; int m_gboard_command; int m_IRQ_count; uint8_t m_IRQ_count_latch; |