From 2fbc689de95f15dad3de380f3b22e3b658606af7 Mon Sep 17 00:00:00 2001 From: mamehaze Date: Sun, 22 Mar 2015 12:43:44 +0000 Subject: [PATCH] experimenting, at least identified the main difference between the two sets (nw) --- src/mame/drivers/ttchamp.c | 109 +++++++++++++++++++++++++++++++------ 1 file changed, 91 insertions(+), 18 deletions(-) diff --git a/src/mame/drivers/ttchamp.c b/src/mame/drivers/ttchamp.c index f9618ea522b..3ce64987e4a 100644 --- a/src/mame/drivers/ttchamp.c +++ b/src/mame/drivers/ttchamp.c @@ -78,6 +78,10 @@ public: DECLARE_WRITE16_MEMBER(paloff_w); DECLARE_WRITE16_MEMBER(pcup_prgbank_w); DECLARE_WRITE16_MEMBER(paldat_w); + + DECLARE_WRITE16_MEMBER(port10_w); + UINT16 m_port10; + DECLARE_DRIVER_INIT(ttchamp); DECLARE_READ16_MEMBER(ttchamp_blit_start_r); @@ -85,7 +89,12 @@ public: DECLARE_READ16_MEMBER(ttchamp_mem_r); DECLARE_WRITE16_MEMBER(ttchamp_mem_w); - UINT16 m_videoram[0x10000 / 2]; + UINT16 m_videoram0[0x10000 / 2]; + UINT16 m_videoram1[0x10000 / 2]; + UINT16 m_videoram2[0x10000 / 2]; + + + UINT16 m_mainram[0x10000 / 2]; int m_spritesinit; @@ -116,6 +125,7 @@ void ttchamp_state::video_start() UINT32 ttchamp_state::screen_update_ttchamp(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { + logerror("update\n"); int y,x,count; static const int xxx=320,yyy=204; @@ -123,7 +133,7 @@ UINT32 ttchamp_state::screen_update_ttchamp(screen_device &screen, bitmap_ind16 bitmap.fill(m_palette->black_pen()); count=0; - UINT8 *videoram = (UINT8*)m_videoram; + UINT8 *videoram = (UINT8*)m_videoram0; for (y=0;yset_base(&ROM1[0x180000]); } -GAME( 1995, ttchamp, 0, ttchamp, ttchamp, ttchamp_state, ttchamp, ROT0, "Gamart", "Table Tennis Champions (set 1)", GAME_NOT_WORKING|GAME_NO_SOUND ) -GAME( 1995, ttchampa,ttchamp, ttchamp, ttchamp, ttchamp_state, ttchamp, ROT0, "Gamart", "Table Tennis Champions (set 2)", GAME_NOT_WORKING|GAME_NO_SOUND ) +GAME( 1995, ttchamp, 0, ttchamp, ttchamp, ttchamp_state, ttchamp, ROT0, "Gamart", "Table Tennis Champions", GAME_NOT_WORKING|GAME_NO_SOUND ) // this has various advertising boards, including 'Electronic Devices' and 'Deniam' +GAME( 1995, ttchampa,ttchamp, ttchamp, ttchamp, ttchamp_state, ttchamp, ROT0, "Gamart (Palencia Elektronik license)", "Table Tennis Champions (Palencia Elektronik license)", GAME_NOT_WORKING|GAME_NO_SOUND ) // this only has Palencia Elektronik advertising boards