summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/nes_vt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/nes_vt.cpp')
-rw-r--r--src/mame/drivers/nes_vt.cpp34
1 files changed, 16 insertions, 18 deletions
diff --git a/src/mame/drivers/nes_vt.cpp b/src/mame/drivers/nes_vt.cpp
index 9d727f07b61..072b69c6fb1 100644
--- a/src/mame/drivers/nes_vt.cpp
+++ b/src/mame/drivers/nes_vt.cpp
@@ -101,9 +101,24 @@ public:
, m_prgbank3(*this, "prg_bank3")
, m_prgrom(*this, "mainrom")
, m_csel(*this, "CARTSEL")
-
{ }
+ void nes_vt(machine_config &config);
+
+ void nes_vt_hum(machine_config &config);
+ void nes_vt_pjoy(machine_config &config);
+ void nes_vt_sp69(machine_config &config);
+
+ void nes_vt_xx(machine_config &config);
+ void nes_vt_hh(machine_config &config);
+ void nes_vt_cy(machine_config &config);
+ void nes_vt_dg(machine_config &config);
+ void nes_vt_bt(machine_config &config);
+ void nes_vt_vg(machine_config &config);
+ void nes_vt_fp(machine_config &config);
+ void nes_vt_fa(machine_config &config);
+
+private:
/* APU handling */
DECLARE_WRITE_LINE_MEMBER(apu_irq);
DECLARE_READ8_MEMBER(apu_read_mem);
@@ -164,22 +179,6 @@ public:
DECLARE_WRITE8_MEMBER(chr_w);
- void nes_vt(machine_config &config);
-
- void nes_vt_hum(machine_config &config);
- void nes_vt_pjoy(machine_config &config);
- void nes_vt_sp69(machine_config &config);
-
-
- void nes_vt_xx(machine_config &config);
- void nes_vt_hh(machine_config &config);
- void nes_vt_cy(machine_config &config);
- void nes_vt_dg(machine_config &config);
- void nes_vt_bt(machine_config &config);
- void nes_vt_vg(machine_config &config);
- void nes_vt_fp(machine_config &config);
- void nes_vt_fa(machine_config &config);
-
void nes_vt_hum_map(address_map &map);
void nes_vt_pjoy_map(address_map &map);
void nes_vt_sp69_map(address_map &map);
@@ -192,7 +191,6 @@ public:
void nes_vt_fa_map(address_map &map);
void nes_vt_fp_map(address_map &map);
void prg_map(address_map &map);
-private:
/* expansion nametable - todo, see if we can refactor NES code to be reusable without having to add full NES bus etc. */
std::unique_ptr<uint8_t[]> m_ntram;