summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar Aaron Giles <aaron@aarongiles.com>2008-11-02 03:15:38 +0000
committerGravatarGravatar Aaron Giles <aaron@aarongiles.com>2008-11-02 03:15:38 +0000
commita769919540bd595ac0ae66dec55042b2fc744cd8 (patch)
tree91714230b3c0fed28411c93fd1b24ee918604dd5
parent0c35694668dfe4e94793ad2c8c04d615573b4581 (diff)
Missed file from AtariAce.mame0128u2
-rw-r--r--.gitattributes1
-rw-r--r--src/mame/includes/toaplan2.h71
2 files changed, 72 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index 9a28b3056ea..5f4fbd4c2d3 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -2418,6 +2418,7 @@ src/mame/includes/thunderj.h svneol=native#text/plain
src/mame/includes/timeplt.h svneol=native#text/plain
src/mame/includes/tnzs.h svneol=native#text/plain
src/mame/includes/toaplan1.h svneol=native#text/plain
+src/mame/includes/toaplan2.h svneol=native#text/plain
src/mame/includes/toobin.h svneol=native#text/plain
src/mame/includes/triplhnt.h svneol=native#text/plain
src/mame/includes/tubep.h svneol=native#text/plain
diff --git a/src/mame/includes/toaplan2.h b/src/mame/includes/toaplan2.h
new file mode 100644
index 00000000000..193842e6274
--- /dev/null
+++ b/src/mame/includes/toaplan2.h
@@ -0,0 +1,71 @@
+/*----------- defined in audio/toaplan2.c -----------*/
+
+void dogyuun_okisnd_w(running_machine *machine, int data);
+void kbash_okisnd_w(running_machine *machine, int data);
+void fixeight_okisnd_w(running_machine *machine, int data);
+void batsugun_okisnd_w(running_machine *machine, int data);
+
+
+/*----------- defined in drivers/toaplan2.c -----------*/
+
+extern int toaplan2_sub_cpu;
+
+
+/*----------- defined in video/toaplan2.c -----------*/
+
+extern UINT16 *toaplan2_txvideoram16;
+extern UINT16 *toaplan2_txvideoram16_offs;
+extern UINT16 *toaplan2_txscrollram16;
+extern UINT16 *toaplan2_tx_gfxram16;
+
+extern size_t toaplan2_tx_vram_size;
+extern size_t toaplan2_tx_offs_vram_size;
+extern size_t toaplan2_tx_scroll_vram_size;
+extern size_t batrider_paletteram16_size;
+
+VIDEO_EOF( toaplan2_0 );
+VIDEO_EOF( toaplan2_1 );
+VIDEO_START( toaplan2_0 );
+VIDEO_START( toaplan2_1 );
+VIDEO_START( truxton2_0 );
+VIDEO_START( bgaregga_0 );
+VIDEO_START( batrider_0 );
+VIDEO_UPDATE( toaplan2_0 );
+VIDEO_UPDATE( truxton2_0 );
+VIDEO_UPDATE( dogyuun_1 );
+VIDEO_UPDATE( batsugun_1 );
+VIDEO_UPDATE( batrider_0 );
+VIDEO_UPDATE( mahoudai_0 );
+
+WRITE16_HANDLER( toaplan2_0_voffs_w );
+WRITE16_HANDLER( toaplan2_1_voffs_w );
+
+READ16_HANDLER ( toaplan2_0_videoram16_r );
+READ16_HANDLER ( toaplan2_1_videoram16_r );
+WRITE16_HANDLER( toaplan2_0_videoram16_w );
+WRITE16_HANDLER( toaplan2_1_videoram16_w );
+
+READ16_HANDLER ( toaplan2_txvideoram16_r );
+WRITE16_HANDLER( toaplan2_txvideoram16_w );
+READ16_HANDLER ( toaplan2_txvideoram16_offs_r );
+WRITE16_HANDLER( toaplan2_txvideoram16_offs_w );
+READ16_HANDLER ( toaplan2_txscrollram16_r );
+WRITE16_HANDLER( toaplan2_txscrollram16_w );
+READ16_HANDLER ( toaplan2_tx_gfxram16_r );
+WRITE16_HANDLER( toaplan2_tx_gfxram16_w );
+READ16_HANDLER ( raizing_tx_gfxram16_r );
+WRITE16_HANDLER( raizing_tx_gfxram16_w );
+
+WRITE16_HANDLER( toaplan2_0_scroll_reg_select_w );
+WRITE16_HANDLER( toaplan2_1_scroll_reg_select_w );
+WRITE16_HANDLER( toaplan2_0_scroll_reg_data_w );
+WRITE16_HANDLER( toaplan2_1_scroll_reg_data_w );
+
+WRITE16_HANDLER( batrider_objectbank_w );
+WRITE16_HANDLER( batrider_textdata_decode );
+
+READ16_HANDLER ( pipibibi_videoram16_r );
+WRITE16_HANDLER( pipibibi_videoram16_w );
+READ16_HANDLER ( pipibibi_spriteram16_r );
+WRITE16_HANDLER( pipibibi_spriteram16_w );
+WRITE16_HANDLER( pipibibi_scroll_w );