Previous 199869 Revisions Next

r44458 Monday 25th January, 2016 at 04:27:22 UTC by David Haywood
temp workaround for regression issue (nw)
[src/mame/drivers]gaelco2.cpp itech8.cpp metro.cpp
[src/mame/includes]dynax.h
[src/mame/video]dynax.cpp

trunk/src/mame/drivers/gaelco2.cpp
r252969r252970
1515    World Rally 2  | 1995 | GAE1 506  | 950510-1 | DS5002FP
1616    Touch & Go     | 1995 | GAE1 501  | 950906   | DS5002FP
1717    Touch & Go     | 1995 | GAE1 501  | 950510-1 | DS5002FP
18    Maniac Square  | 1996 | GAE1 501  | 940411   | DS5002FP, but unprotected version available
18    Maniac Square  | 1996 | Unknown   | ???      | DS5002FP, but unprotected version available
1919    Snow Board     | 1996 | CG-1V 366 | 960419/1 | Lattice IspLSI 1016-80LJ
2020    Bang!          | 1998 | CG-1V 388 | 980921/1 | No
2121
r252969r252970
200200
201201ROM_START( maniacsqa ) // REF 940411
202202   ROM_REGION( 0x040000, "maincpu", 0 )    /* 68000 code */
203   ROM_LOAD16_BYTE( "MS_U_45.U45",   0x000000, 0x020000, CRC(98f4fdc0) SHA1(1e4d5b0a8a432de885c96319c21280d304b38db0) )
204   ROM_LOAD16_BYTE( "MS_U_44.U44",   0x000001, 0x020000, CRC(1785dd41) SHA1(5c6a65c00248971ce54c8185858393f2c52cc583) )
203   ROM_LOAD16_BYTE( "MS.U45",   0x000000, 0x020000, CRC(98f4fdc0) SHA1(1e4d5b0a8a432de885c96319c21280d304b38db0) )
204   ROM_LOAD16_BYTE( "MS.U44",   0x000001, 0x020000, CRC(1785dd41) SHA1(5c6a65c00248971ce54c8185858393f2c52cc583) )
205205     
206206   ROM_REGION( 0x10000, "mcu", 0 ) /* DS5002FP code */
207207   ROM_LOAD( "ms_ds5002fp.bin", 0x00000, 0x8000, NO_DUMP )
trunk/src/mame/drivers/itech8.cpp
r252969r252970
23132313   ROM_REGION( 0xc0000, "grom", 0 )
23142314   ROM_LOAD( "sb_grom00", 0x00000, 0x20000, CRC(22f6ce56) SHA1(8e423122384257d9c5d8f48192ff6fa1f544fd97) )
23152315   ROM_LOAD( "sb_grom01", 0x20000, 0x20000, CRC(6cc7ad6f) SHA1(d601b9bb81f26ad86e5cc053cab055831331ccde) )
2316   ROM_LOAD( "sb_grom02",  0x40000, 0x20000, CRC(475134ef) SHA1(5920e7a211f1b2234e8a3f51e570303c3787d8fd) )
2316   ROM_LOAD( "grom02",    0x40000, 0x20000, CRC(475134ef) SHA1(5920e7a211f1b2234e8a3f51e570303c3787d8fd) )
23172317
23182318   ROM_REGION( 0x40000, "oki", 0 )
23192319   ROM_LOAD( "sb_srom0", 0x00000, 0x20000, CRC(6ff390b9) SHA1(f31dae9e31f3fc83b9253e49fd4204820db3587e) )
r252969r252970
27612761GAME( 1990, dynobop,   0,        slikshot_hi,       dynobop,  itech8_state, slikshot, ROT90,  "Grand Products/Incredible Technologies", "Dyno Bop", MACHINE_MECHANICAL )
27622762GAME( 1990, sstrike,   0,        sstrike,           sstrike,  itech8_state, sstrike,  ROT270, "Strata/Incredible Technologies", "Super Strike Bowling", MACHINE_MECHANICAL )
27632763GAME( 1991, pokrdice,  0,        slikshot_lo_noz80, pokrdice, driver_device,0,        ROT90,  "Strata/Incredible Technologies", "Poker Dice", 0 )
2764GAME( 1990, stratabs,  stratab,  sstrike,           stratabs, itech8_state, sstrike,  ROT270, "Strata/Incredible Technologies", "Strata Bowling (V1 4T, Super Strike Bowling type PCB)", MACHINE_NOT_WORKING ) // need to figure out the control hookup for this set, service mode indicates it's still a trackball like stratab
2764GAME( 1990, stratabs,  stratab,  sstrike,           stratabs, itech8_state, sstrike,  ROT270, "Strata/Incredible Technologies", "Strata Bowling (V1 4, Super Strike Bowling type PCB)", MACHINE_NOT_WORKING ) // need to figure out the control hookup for this set, service mode indicates it's still a trackball like stratab
27652765
27662766/* Hot Shots Tennis-style PCB */
27672767GAME( 1990, hstennis,  0,        hstennis_hi,       hstennis, itech8_state, hstennis, ROT90,  "Strata/Incredible Technologies", "Hot Shots Tennis (V1.1)", 0 )
trunk/src/mame/drivers/metro.cpp
r252969r252970
50675067
50685068ROM_START( karatour )
50695069  ROM_REGION( 0x080000, "maincpu", 0 )        /* 68000 Code */
5070  ROM_LOAD16_BYTE( "2.2FAB.8G",  0x000000, 0x040000, CRC(199a28d4) SHA1(ae880b5d5a1703c54e0ef27015039c7bb05eb185) )  // Hand-written label "(2) 2FAB"
5071  ROM_LOAD16_BYTE( "3.0560.10G", 0x000001, 0x040000, CRC(b054e683) SHA1(51e28a99f87684f3e56c7a168523f94717903d79) )  // Hand-written label "(3) 0560"
5070  // Hand-written label "(2) 2FAB"
5071  ROM_LOAD16_BYTE( "2.2FAB.8G",  0x000000, 0x040000, CRC(199a28d4) SHA1(ae880b5d5a1703c54e0ef27015039c7bb05eb185) )
5072  // Hand-written label "(3) 0560"
5073  ROM_LOAD16_BYTE( "3.0560.10G", 0x000001, 0x040000, CRC(b054e683) SHA1(51e28a99f87684f3e56c7a168523f94717903d79) )
50725074
50735075  ROM_REGION( 0x02c000, "audiocpu", 0 )       /* NEC78C10 Code */
50745076  ROM_LOAD( "KT001.1I", 0x000000, 0x004000, CRC(1dd2008c) SHA1(488b6f5d15bdbc069ee2cd6d7a0980a228d2f790) )    // 11xxxxxxxxxxxxxxx = 0xFF
r252969r252970
50815083  ROMX_LOAD( "361A06.15D", 0x000006, 0x100000, CRC(7e15f058) SHA1(267f0a5acb874d4fff3556ffa405e24724174667) , ROM_GROUPWORD | ROM_SKIP(6))
50825084
50835085  ROM_REGION( 0x040000, "oki", 0 )    /* Samples */
5084  ROM_LOAD( "8.4A06.1D", 0x000000, 0x040000, CRC(8d208179) SHA1(54a27ef155828435bc5eba60790a8584274c8b4a) )  // Hand-written label "(8) 4A06"
5086  // Hand-written label "(8) 4A06"
5087  ROM_LOAD( "8.4A06.1D", 0x000000, 0x040000, CRC(8d208179) SHA1(54a27ef155828435bc5eba60790a8584274c8b4a) )
50855088ROM_END
50865089
50875090ROM_START( karatourj )
trunk/src/mame/includes/dynax.h
r252969r252970
2323      , m_screen(*this, "screen")
2424      , m_palette(*this, "palette")
2525      , m_rtc(*this, "rtc")
26      , m_gfx_region(*this, "gfx")
26      , m_gfx_region1(*this, "gfx1")
27      , m_gfx_region2(*this, "gfx2")
28      , m_gfx_region3(*this, "gfx3")
29      , m_gfx_region4(*this, "gfx4")
30      , m_gfx_region5(*this, "gfx5")
31      , m_gfx_region6(*this, "gfx6")
32      , m_gfx_region7(*this, "gfx7")
33      , m_gfx_region8(*this, "gfx8")
34
2735   {
2836   }
2937
r252969r252970
3644   optional_device<screen_device> m_screen;
3745   required_device<palette_device> m_palette;
3846   optional_device<msm6242_device> m_rtc;
39   optional_region_ptr<UINT8> m_gfx_region;
47   optional_region_ptr<UINT8> m_gfx_region1;
48   optional_region_ptr<UINT8> m_gfx_region2;
49   optional_region_ptr<UINT8> m_gfx_region3;
50   optional_region_ptr<UINT8> m_gfx_region4;
51   optional_region_ptr<UINT8> m_gfx_region5;
52   optional_region_ptr<UINT8> m_gfx_region6;
53   optional_region_ptr<UINT8> m_gfx_region7;
54   optional_region_ptr<UINT8> m_gfx_region8;
4055
56   static memory_region * gfxregions[];
57
4158   // up to 8 layers, 2 images per layer (interleaved on screen)
4259   std::unique_ptr<UINT8[]>  m_pixmap[8][2];
4360
r252969r252970
286303   DECLARE_VIDEO_START(neruton);
287304
288305   inline void blitter_plot_pixel( int layer, int mask, int x, int y, int pen, int wrap, int flags );
289   int blitter_drawgfx( int layer, int mask, const char *gfx, int src, int pen, int x, int y, int wrap, int flags );
306   int blitter_drawgfx( int layer, int mask, memory_region *gfx, int src, int pen, int x, int y, int wrap, int flags );
290307   void dynax_blitter_start( int flags );
291308   void jantouki_blitter_start( int flags );
292309   void jantouki_blitter2_start( int flags );
trunk/src/mame/video/dynax.cpp
r252969r252970
275275}
276276
277277
278static const char *const gfxregions[] = { "gfx1", "gfx2", "gfx3", "gfx4", "gfx5", "gfx6", "gfx7", "gfx8" };
279278
279
280280WRITE8_MEMBER(dynax_state::dynax_blit_romregion_w)
281281{
282   if (data < ARRAY_LENGTH(gfxregions))
282   if (data < 8)
283283      m_blit_romregion = data;
284284   LOG(("GFX%X ", data + 1));
285285}
286286
287287WRITE8_MEMBER(dynax_state::dynax_blit2_romregion_w)
288288{
289   if (data + 1 < ARRAY_LENGTH(gfxregions))
289   if (data + 1 < 8)
290290      m_blit2_romregion = data + 1;
291291   LOG(("GFX%X' ", data + 2));
292292}
r252969r252970
391391    ---- --1-   0 = Ignore the pens specified in ROM, draw everything with the pen supplied as parameter
392392    ---- ---0   Clear
393393*/
394int dynax_state::blitter_drawgfx( int layer, int mask, const char *gfx, int src, int pen, int x, int y, int wrap, int flags )
394int dynax_state::blitter_drawgfx( int layer, int mask, memory_region *gfx, int src, int pen, int x, int y, int wrap, int flags )
395395{
396   size_t rom_size = m_gfx_region.bytes();
396   if (!gfx)
397      return 0;
397398
399   size_t rom_size = gfx->bytes();
400   UINT8* rom_data = gfx->base();
401
398402   if (m_layer_layout == LAYOUT_HNORIDUR)   // e.g. yarunara
399403      pen = ((pen >> 4) & 0xf) | ((mask & 0x10) ? ((pen & 0x08) << 1) : 0);
400404   else
r252969r252970
474478         return src;
475479      }
476480
477      UINT8 cmd = m_gfx_region[src++];
481      UINT8 cmd = rom_data[src++];
478482      src &= 0xfffff;
479483      if (!(flags & 0x02))    // Ignore the pens specified in ROM, draw everything with the pen supplied as parameter
480484         pen = (pen & 0xf0) | ((cmd & 0xf0) >> 4);
r252969r252970
501505            LOG(("\nGFXROM %s OVER %08x",gfx,src));
502506            return src;
503507         }
504         x = sx + m_gfx_region[src++];
508         x = sx + rom_data[src++];
505509         src &= 0xfffff;
506510         /* fall through into next case */
507511
r252969r252970
512516            LOG(("\nGFXROM %s OVER %08x",gfx,src));
513517            return src;
514518         }
515         cmd = m_gfx_region[src++];
519         cmd = rom_data[src++];
516520         src &= 0xfffff;
517521         /* fall through into next case */
518522
r252969r252970
542546void dynax_state::dynax_blitter_start(int flags )
543547{
544548   int blit_newsrc;
549   memory_region * gfxregions[] = { memregion("gfx1"), memregion("gfx2"), memregion("gfx3"), memregion("gfx4"), memregion("gfx5"), memregion("gfx6"), memregion("gfx7"), memregion("gfx8") };
545550
546551   LOG(("XY=%X,%X SRC=%X BLIT=%X\n", m_blit_x, m_blit_y, m_blit_src, flags));
547552
r252969r252970
569574void dynax_state::jantouki_blitter_start( int flags )
570575{
571576   int blit_newsrc;
577   memory_region * gfxregions[] = { memregion("gfx1"), memregion("gfx2"), memregion("gfx3"), memregion("gfx4"), memregion("gfx5"), memregion("gfx6"), memregion("gfx7"), memregion("gfx8") };
572578
573579   LOG(("XY=%X,%X SRC=%X BLIT=%X\n", m_blit_x, m_blit_y, m_blit_src, flags));
574580
r252969r252970
596602void dynax_state::jantouki_blitter2_start( int flags )
597603{
598604   int blit2_newsrc;
605   memory_region * gfxregions[] = { memregion("gfx1"), memregion("gfx2"), memregion("gfx3"), memregion("gfx4"), memregion("gfx5"), memregion("gfx6"), memregion("gfx7"), memregion("gfx8") };
599606
600607   LOG(("XY'=%X,%X SRC'=%X BLIT'=%02X\n", m_blit2_x, m_blit2_y, m_blit2_src, flags));
601608


Previous 199869 Revisions Next


© 1997-2024 The MAME Team