Previous 199869 Revisions Next

r33309 Sunday 9th November, 2014 at 20:35:01 UTC by hap
small cleanup
[src/mame/drivers]segas24.c
[src/mame/includes]segas24.h
[src/mame/video]segaic24.h segas24.c

trunk/src/mame/drivers/segas24.c
r241820r241821
392392      int res = fdc_data;
393393      if(fdc_drq) {
394394         fdc_span--;
395         //          logerror("Read %02x (%d)\n", res, fdc_span);
395         // logerror("Read %02x (%d)\n", res, fdc_span);
396396         if(fdc_span) {
397397            fdc_pt++;
398398            fdc_data = *fdc_pt;
r241820r241821
820820      break;
821821   }
822822   case 2: {
823      fatalerror("egas24_state::irq_timer_sync - case 2\n");
823      fatalerror("segas24_state::irq_timer_sync - case 2\n");
824824   }
825825   case 3: {
826826      int ppos = floor((irq_synctime - irq_vsynctime).as_double() * TIMER_CLOCK);
r241820r241821
851851      break;
852852   }
853853   case 2:
854      fatalerror("egas24_state::irq_timer_start - case 2\n");
854      fatalerror("segas24_state::irq_timer_start - case 2\n");
855855   case 3: {
856856      int count = 0x1000 - irq_tval;
857857      irq_timer->adjust(attotime::from_hz(TIMER_CLOCK)*count);
r241820r241821
12881288 *
12891289 *************************************/
12901290
1291static INPUT_PORTS_START( system24_P1_P2 )
1291static INPUT_PORTS_START( system24_generic )
12921292   PORT_START("P1")
12931293   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1)
12941294   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1)
r241820r241821
13081308   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2)
13091309   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2)
13101310   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2)
1311INPUT_PORTS_END
13121311
1313static INPUT_PORTS_START( system24_Service )
1312   PORT_START("P3")
1313   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
1314
13141315   PORT_START("SERVICE")
13151316   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
13161317   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 )
r241820r241821
13201321   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 )
13211322   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN3 )
13221323   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN4 )
1323INPUT_PORTS_END
13241324
1325static INPUT_PORTS_START( system24_DSW )
13261325   PORT_START("COINAGE")
13271326   SEGA_COINAGE_LOC(SW1)
13281327
r241820r241821
13371336   PORT_DIPUNUSED_DIPLOC( 0x80, IP_ACTIVE_LOW, "SW2:8" )
13381337INPUT_PORTS_END
13391338
1340static INPUT_PORTS_START( system24_generic )
1341   PORT_INCLUDE( system24_P1_P2 )
1342   PORT_INCLUDE( system24_Service )
1343   PORT_INCLUDE( system24_DSW )
1344INPUT_PORTS_END
13451339
13461340/*************************************
13471341 *
r241820r241821
16881682INPUT_PORTS_END
16891683
16901684static INPUT_PORTS_START( quizmeku )
1691   PORT_INCLUDE( system24_P1_P2 )
1685   PORT_INCLUDE( system24_generic )
16921686
16931687   PORT_MODIFY("P1")
16941688   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START3 )
r241820r241821
17001694   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
17011695   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(4)
17021696
1703   PORT_START("P3")
1697   PORT_MODIFY("P3")
17041698   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(4)
17051699   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(4)
17061700   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(4)
r241820r241821
17101704   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(3)
17111705   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(3)
17121706
1713   PORT_INCLUDE( system24_Service )
1714   PORT_INCLUDE( system24_DSW )
1715
17161707   PORT_MODIFY("DSW")
17171708   PORT_DIPNAME( 0x01, 0x00, "Play Mode" ) PORT_DIPLOCATION("SW2:1")
17181709   PORT_DIPSETTING(    0x01, "2 Player" )
r241820r241821
17391730INPUT_PORTS_END
17401731
17411732static INPUT_PORTS_START( qrouka )
1742   PORT_INCLUDE( system24_P1_P2 )
1733   PORT_INCLUDE( system24_generic )
17431734
17441735   PORT_MODIFY("P1")
17451736   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START3 )
r241820r241821
17511742   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
17521743   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(4)
17531744
1754   PORT_START("P3")
1745   PORT_MODIFY("P3")
17551746   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(4)
17561747   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(4)
17571748   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(4)
r241820r241821
17611752   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(3)
17621753   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(3)
17631754
1764   PORT_START("SERVICE")
1755   PORT_MODIFY("SERVICE")
17651756   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_CONDITION("DSW",0x08,EQUALS,0x00)
17661757   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_CONDITION("DSW",0x08,EQUALS,0x00)
17671758   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE )
r241820r241821
17761767   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_CONDITION("DSW",0x08,EQUALS,0x08)
17771768   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_CONDITION("DSW",0x08,EQUALS,0x08)
17781769
1779
1780   PORT_INCLUDE( system24_DSW )
1781
17821770   PORT_MODIFY("DSW")
17831771   PORT_DIPNAME( 0x01, 0x00, "Play Mode" ) PORT_DIPLOCATION("SW2:1")
17841772   PORT_DIPSETTING(    0x01, "2 Player" )
r241820r241821
18031791INPUT_PORTS_END
18041792
18051793static INPUT_PORTS_START( mahmajn )
1794   PORT_INCLUDE( system24_generic )
1795
1796   PORT_MODIFY("P1")
1797   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
1798
1799   PORT_MODIFY("P2")
1800   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
1801
1802   PORT_MODIFY("P3")
1803   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
1804
18061805   PORT_START("MJ0")
18071806   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_A )
18081807   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_B )
r241820r241821
18411840   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_RON )
18421841   PORT_BIT( 0xf8, IP_ACTIVE_LOW, IPT_UNUSED )
18431842
1844   PORT_START("P1")
1845   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
1846
1847   PORT_START("P2")
1848   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
1849
1850   PORT_INCLUDE( system24_Service )
1851   PORT_INCLUDE( system24_DSW )
1852
18531843   PORT_MODIFY("DSW")
18541844   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:1")
18551845   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
r241820r241821
18721862INPUT_PORTS_END
18731863
18741864static INPUT_PORTS_START( gground )
1875   PORT_INCLUDE( system24_P1_P2 )
1865   PORT_INCLUDE( system24_generic )
18761866
1877   PORT_START("P3")
1867   PORT_MODIFY("P3")
18781868   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN3 )
18791869   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(3)
18801870   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(3)
r241820r241821
18841874   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(3)
18851875   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(3)
18861876
1887   PORT_INCLUDE( system24_Service )
1888   PORT_INCLUDE( system24_DSW )
1889
18901877   PORT_MODIFY("DSW")
18911878   // Here is known problem.
18921879   // Service mode works as I hoped.
r241820r241821
19241911 *************************************/
19251912
19261913static MACHINE_CONFIG_START( system24, segas24_state )
1914
19271915   /* basic machine hardware */
19281916   MCFG_CPU_ADD("maincpu", M68000, MASTER_CLOCK/2)
19291917   MCFG_CPU_PROGRAM_MAP(system24_cpu1_map)
r241820r241821
19341922
19351923   MCFG_QUANTUM_TIME(attotime::from_hz(6000))
19361924
1937
19381925   MCFG_TIMER_DRIVER_ADD("irq_timer", segas24_state, irq_timer_cb)
19391926   MCFG_TIMER_DRIVER_ADD("irq_timer_clear", segas24_state, irq_timer_clear_cb)
19401927   MCFG_TIMER_ADD_NONE("frc_timer")
r241820r241821
21032090ROM_END
21042091
21052092ROM_START( quizmeku ) // Quiz Mekuromeku Story
2106      ROM_REGION( 0x40000, "maincpu", 0 ) /* 68000 code */
2107      ROM_LOAD16_BYTE( "epr15343.ic2", 0x000000, 0x20000, CRC(c72399a7) SHA1(bfbf0079ea63f89bca4ce9081aed5d5c1d9d169a) )
2108      ROM_LOAD16_BYTE( "epr15342.ic1", 0x000001, 0x20000, CRC(0968ac84) SHA1(4e1170ac123adaec32819754b5075531ff1925fe) )
2093   ROM_REGION( 0x40000, "maincpu", 0 ) /* 68000 code */
2094   ROM_LOAD16_BYTE( "epr15343.ic2", 0x000000, 0x20000, CRC(c72399a7) SHA1(bfbf0079ea63f89bca4ce9081aed5d5c1d9d169a) )
2095   ROM_LOAD16_BYTE( "epr15342.ic1", 0x000001, 0x20000, CRC(0968ac84) SHA1(4e1170ac123adaec32819754b5075531ff1925fe) )
21092096
2110      ROM_REGION16_BE( 0x400000, "romboard", 0)
2111      ROM_LOAD16_BYTE( "epr15345.ic5", 0x000000, 0x80000, CRC(88030b5d) SHA1(d2feeedb9a64c3dc8dd25716209f945d12fa9b53) )
2112      ROM_LOAD16_BYTE( "epr15344.ic4", 0x000001, 0x80000, CRC(dd11b382) SHA1(2b0f49fb307a9aba0f295de64782ee095c557170) )
2113      ROM_LOAD16_BYTE( "mpr15347.ic7", 0x100000, 0x80000, CRC(0472677b) SHA1(93ae57a2817b6b54c99814fca28ef51f7ff5e559) )
2114      ROM_LOAD16_BYTE( "mpr15346.ic6", 0x100001, 0x80000, CRC(746d4d0e) SHA1(7863abe36126684772a4459d5b6f3b24670ec02b) )
2115      ROM_LOAD16_BYTE( "mpr15349.ic9", 0x200000, 0x80000, CRC(770eecf1) SHA1(86cc5b4a325198dc1da1446ecd8e718415b7998a) )
2116      ROM_LOAD16_BYTE( "mpr15348.ic8", 0x200001, 0x80000, CRC(7666e960) SHA1(f3f88d5c8318301a8c73141de60292f8349ac0ce) )
2097   ROM_REGION16_BE( 0x400000, "romboard", 0)
2098   ROM_LOAD16_BYTE( "epr15345.ic5", 0x000000, 0x80000, CRC(88030b5d) SHA1(d2feeedb9a64c3dc8dd25716209f945d12fa9b53) )
2099   ROM_LOAD16_BYTE( "epr15344.ic4", 0x000001, 0x80000, CRC(dd11b382) SHA1(2b0f49fb307a9aba0f295de64782ee095c557170) )
2100   ROM_LOAD16_BYTE( "mpr15347.ic7", 0x100000, 0x80000, CRC(0472677b) SHA1(93ae57a2817b6b54c99814fca28ef51f7ff5e559) )
2101   ROM_LOAD16_BYTE( "mpr15346.ic6", 0x100001, 0x80000, CRC(746d4d0e) SHA1(7863abe36126684772a4459d5b6f3b24670ec02b) )
2102   ROM_LOAD16_BYTE( "mpr15349.ic9", 0x200000, 0x80000, CRC(770eecf1) SHA1(86cc5b4a325198dc1da1446ecd8e718415b7998a) )
2103   ROM_LOAD16_BYTE( "mpr15348.ic8", 0x200001, 0x80000, CRC(7666e960) SHA1(f3f88d5c8318301a8c73141de60292f8349ac0ce) )
21172104ROM_END
21182105
21192106ROM_START( sspirits )
r241820r241821
23052292
23062293/* I think the letter after the disk code is the region
23072294           'b' = Japan
2308           'c' = europe?
2295           'c' = Europe?
23092296           'd' = US
23102297*/
23112298
r241820r241821
24732460 *
24742461 *************************************/
24752462
2476//            YEAR, NAME,      PARENT,   MACHINE,                INPUT,    INIT,     MONITOR,COMPANY,FULLNAME,FLAGS
2463//            YEAR, NAME,      PARENT,   MACHINE,                INPUT,    INIT,                    MONITOR,COMPANY,FULLNAME,FLAGS
24772464/* Disk Based Games */
2478/* 01 */GAME( 1988, hotrod,    0,        system24_floppy,        hotrod, segas24_state,   hotrod,   ROT0,   "Sega", "Hot Rod (World, 3 Players, Turbo set 1, Floppy Based)", 0 )
2479/* 01 */GAME( 1988, hotroda,   hotrod,   system24_floppy,        hotrod, segas24_state,   hotrod,   ROT0,   "Sega", "Hot Rod (World, 3 Players, Turbo set 2, Floppy Based)", 0 )
2480/* 01 */GAME( 1988, hotrodj,   hotrod,   system24_floppy,        hotrodj, segas24_state,  hotrod,   ROT0,   "Sega", "Hot Rod (Japan, 4 Players, Floppy Based)", 0 )
2465/* 01 */GAME( 1988, hotrod,    0,        system24_floppy,        hotrod,   segas24_state, hotrod,   ROT0,   "Sega", "Hot Rod (World, 3 Players, Turbo set 1, Floppy Based)", 0 )
2466/* 01 */GAME( 1988, hotroda,   hotrod,   system24_floppy,        hotrod,   segas24_state, hotrod,   ROT0,   "Sega", "Hot Rod (World, 3 Players, Turbo set 2, Floppy Based)", 0 )
2467/* 01 */GAME( 1988, hotrodj,   hotrod,   system24_floppy,        hotrodj,  segas24_state, hotrod,   ROT0,   "Sega", "Hot Rod (Japan, 4 Players, Floppy Based)", 0 )
24812468/* 02 */GAME( 1988, sspirits,  0,        system24_floppy,        sspirits, segas24_state, sspirits, ROT270, "Sega", "Scramble Spirits (World, Floppy Based)", 0 )
24822469/* 02 */GAME( 1988, sspiritj,  sspirits, system24_floppy,        sspirits, segas24_state, sspiritj, ROT270, "Sega", "Scramble Spirits (Japan, Floppy DS3-5000-02-REV-A Based)", 0 )
24832470/* 02 */GAME( 1988, sspirtfc,  sspirits, system24_floppy_fd1094, sspirits, segas24_state, sspirits, ROT270, "Sega", "Scramble Spirits (World, Floppy Based, FD1094 317-0058-02c)", GAME_NOT_WORKING ) /* MISSING disk image */
2484/* 03 */GAME( 1988, gground,   0,        system24_floppy_fd1094, gground, segas24_state,  gground,  ROT270, "Sega", "Gain Ground (World, 3 Players, Floppy Based, FD1094 317-0058-03d Rev A)", 0 )
2485/* 03 */GAME( 1988, ggroundj,  gground,  system24_floppy_fd1094, gground, segas24_state,  gground,  ROT270, "Sega", "Gain Ground (Japan, 2 Players, Floppy Based, FD1094 317-0058-03b)", 0 )
2486/* 04 */GAME( 1989, crkdown,   0,        system24_floppy_fd1094, crkdown, segas24_state,  crkdown,  ROT0,   "Sega", "Crack Down (World, Floppy Based, FD1094 317-0058-04c)", GAME_IMPERFECT_GRAPHICS ) // clipping probs / solid layer probs? (radar display)
2487/* 04 */GAME( 1989, crkdownu,  crkdown,  system24_floppy_fd1094, crkdown, segas24_state,  crkdown,  ROT0,   "Sega", "Crack Down (US, Floppy Based, FD1094 317-0058-04d)", GAME_IMPERFECT_GRAPHICS ) // clipping probs / solid layer probs? (radar display)
2488/* 04 */GAME( 1989, crkdownj,  crkdown,  system24_floppy_fd1094, crkdown, segas24_state,  crkdown,  ROT0,   "Sega", "Crack Down (Japan, Floppy Based, FD1094 317-0058-04b Rev A)", GAME_IMPERFECT_GRAPHICS ) // clipping probs / solid layer probs? (radar display)
2489/* 05 */GAME( 1989, sgmast,    0,        system24_floppy_fd1094, sgmast, segas24_state,   sgmast,   ROT0,   "Sega", "Super Masters Golf (World?, Floppy Based, FD1094 317-0058-05d?)", 0 )
2490/* 05 */GAME( 1989, sgmastc,   sgmast,   system24_floppy_fd1094, sgmast, segas24_state,   sgmast,   ROT0,   "Sega", "Jumbo Ozaki Super Masters Golf (World, Floppy Based, FD1094 317-0058-05c)", GAME_IMPERFECT_GRAPHICS ) // some gfx offset / colour probs?
2491/* 05 */GAME( 1989, sgmastj,   sgmast,   system24_floppy_fd1094, sgmastj, segas24_state,  sgmast,   ROT0,   "Sega", "Jumbo Ozaki Super Masters Golf (Japan, Floppy Based, FD1094 317-0058-05b)", GAME_IMPERFECT_GRAPHICS ) // some gfx offset / colour probs?
2471/* 03 */GAME( 1988, gground,   0,        system24_floppy_fd1094, gground,  segas24_state, gground,  ROT270, "Sega", "Gain Ground (World, 3 Players, Floppy Based, FD1094 317-0058-03d Rev A)", 0 )
2472/* 03 */GAME( 1988, ggroundj,  gground,  system24_floppy_fd1094, gground,  segas24_state, gground,  ROT270, "Sega", "Gain Ground (Japan, 2 Players, Floppy Based, FD1094 317-0058-03b)", 0 )
2473/* 04 */GAME( 1989, crkdown,   0,        system24_floppy_fd1094, crkdown,  segas24_state, crkdown,  ROT0,   "Sega", "Crack Down (World, Floppy Based, FD1094 317-0058-04c)", GAME_IMPERFECT_GRAPHICS ) // clipping probs / solid layer probs? (radar display)
2474/* 04 */GAME( 1989, crkdownu,  crkdown,  system24_floppy_fd1094, crkdown,  segas24_state, crkdown,  ROT0,   "Sega", "Crack Down (US, Floppy Based, FD1094 317-0058-04d)", GAME_IMPERFECT_GRAPHICS ) // clipping probs / solid layer probs? (radar display)
2475/* 04 */GAME( 1989, crkdownj,  crkdown,  system24_floppy_fd1094, crkdown,  segas24_state, crkdown,  ROT0,   "Sega", "Crack Down (Japan, Floppy Based, FD1094 317-0058-04b Rev A)", GAME_IMPERFECT_GRAPHICS ) // clipping probs / solid layer probs? (radar display)
2476/* 05 */GAME( 1989, sgmast,    0,        system24_floppy_fd1094, sgmast,   segas24_state, sgmast,   ROT0,   "Sega", "Super Masters Golf (World?, Floppy Based, FD1094 317-0058-05d?)", 0 )
2477/* 05 */GAME( 1989, sgmastc,   sgmast,   system24_floppy_fd1094, sgmast,   segas24_state, sgmast,   ROT0,   "Sega", "Jumbo Ozaki Super Masters Golf (World, Floppy Based, FD1094 317-0058-05c)", GAME_IMPERFECT_GRAPHICS ) // some gfx offset / colour probs?
2478/* 05 */GAME( 1989, sgmastj,   sgmast,   system24_floppy_fd1094, sgmastj,  segas24_state, sgmast,   ROT0,   "Sega", "Jumbo Ozaki Super Masters Golf (Japan, Floppy Based, FD1094 317-0058-05b)", GAME_IMPERFECT_GRAPHICS ) // some gfx offset / colour probs?
24922479/* 06 */GAME( 1990, roughrac,  0,        system24_floppy_fd1094, roughrac, segas24_state, roughrac, ROT0,   "Sega", "Rough Racer (Japan, Floppy Based, FD1094 317-0058-06b)", 0 )
24932480/* 07 */GAME( 1990, bnzabros,  0,        system24_floppy,        bnzabros, segas24_state, bnzabros, ROT0,   "Sega", "Bonanza Bros (US, Floppy DS3-5000-07d? Based)", 0 )
24942481/* 07 */GAME( 1990, bnzabrosj, bnzabros, system24_floppy,        bnzabros, segas24_state, bnzabros, ROT0,   "Sega", "Bonanza Bros (Japan, Floppy DS3-5000-07b Based)", 0 )
2495/* 08 */GAME( 1991, qsww,      0,        system24_floppy_fd1094, qsww, segas24_state,     qsww,     ROT0,   "Sega", "Quiz Syukudai wo Wasuremashita (Japan, Floppy Based, FD1094 317-0058-08b)", GAME_IMPERFECT_GRAPHICS ) // wrong bg colour on title
2496/* 09 */GAME( 1991, dcclubfd,  dcclub,   system24_floppy_fd1094, dcclub, segas24_state,   dcclubfd, ROT0,   "Sega", "Dynamic Country Club (US, Floppy Based, FD1094 317-0058-09d)", 0 )
2482/* 08 */GAME( 1991, qsww,      0,        system24_floppy_fd1094, qsww,     segas24_state, qsww,     ROT0,   "Sega", "Quiz Syukudai wo Wasuremashita (Japan, Floppy Based, FD1094 317-0058-08b)", GAME_IMPERFECT_GRAPHICS ) // wrong bg colour on title
2483/* 09 */GAME( 1991, dcclubfd,  dcclub,   system24_floppy_fd1094, dcclub,   segas24_state, dcclubfd, ROT0,   "Sega", "Dynamic Country Club (US, Floppy Based, FD1094 317-0058-09d)", 0 )
24972484
2498//    YEAR, NAME,     PARENT,   MACHINE,  INPUT,    INIT,     MONITOR,COMPANY,FULLNAME,FLAGS
2485//    YEAR, NAME,     PARENT,   MACHINE,  INPUT,    INIT,                    MONITOR,COMPANY,FULLNAME,FLAGS
24992486/* ROM Based */
2500GAME( 1991, dcclub,   0,        system24, dcclub, segas24_state,   dcclub,   ROT0,   "Sega", "Dynamic Country Club (World, ROM Based)", 0 )
2501GAME( 1991, dcclubj,  dcclub,   system24, dcclub, segas24_state,   dcclub,   ROT0,   "Sega", "Dynamic Country Club (Japan, ROM Based)", 0 )
2502GAME( 1991, qrouka,   0,        system24, qrouka, segas24_state,   qrouka,   ROT0,   "Sega", "Quiz Rouka Ni Tattenasai (Japan, ROM Based)", 0 )
2503GAME( 1992, quizmeku, 0,        system24, quizmeku, segas24_state, quizmeku, ROT0,   "Sega", "Quiz Mekurumeku Story (Japan, ROM Based)", 0 )        /* Released in 05.1993 */
2504GAME( 1992, mahmajn,  0,        system24, mahmajn, segas24_state,  mahmajn,  ROT0,   "Sega", "Tokoro San no MahMahjan (Japan, ROM Based)", 0 )
2505GAME( 1994, qgh,      0,        system24, qgh, segas24_state,      qgh,      ROT0,   "Sega", "Quiz Ghost Hunter (Japan, ROM Based)", 0 )
2506GAME( 1994, mahmajn2, 0,        system24, mahmajn, segas24_state,  mahmajn2, ROT0,   "Sega", "Tokoro San no MahMahjan 2 (Japan, ROM Based)", 0 )
2487GAME( 1991, dcclub,   0,        system24, dcclub,   segas24_state, dcclub,   ROT0,   "Sega", "Dynamic Country Club (World, ROM Based)", 0 )
2488GAME( 1991, dcclubj,  dcclub,   system24, dcclub,   segas24_state, dcclub,   ROT0,   "Sega", "Dynamic Country Club (Japan, ROM Based)", 0 )
2489GAME( 1991, qrouka,   0,        system24, qrouka,   segas24_state, qrouka,   ROT0,   "Sega", "Quiz Rouka Ni Tattenasai (Japan, ROM Based)", 0 )
2490GAME( 1992, quizmeku, 0,        system24, quizmeku, segas24_state, quizmeku, ROT0,   "Sega", "Quiz Mekurumeku Story (Japan, ROM Based)", 0 ) /* Released in 05.1993 */
2491GAME( 1992, mahmajn,  0,        system24, mahmajn,  segas24_state, mahmajn,  ROT0,   "Sega", "Tokoro San no MahMahjan (Japan, ROM Based)", 0 )
2492GAME( 1994, qgh,      0,        system24, qgh,      segas24_state, qgh,      ROT0,   "Sega", "Quiz Ghost Hunter (Japan, ROM Based)", 0 )
2493GAME( 1994, mahmajn2, 0,        system24, mahmajn,  segas24_state, mahmajn2, ROT0,   "Sega", "Tokoro San no MahMahjan 2 (Japan, ROM Based)", 0 )
trunk/src/mame/includes/segas24.h
r241820r241821
1/*
2 * Sega System 24
3 *
4 */
5
16#include "video/segaic24.h"
27#include "sound/dac.h"
38
r241820r241821
1116      m_dac(*this, "dac"),
1217      m_screen(*this, "screen"),
1318      m_palette(*this, "palette"),
14      m_generic_paletteram_16(*this, "paletteram") { }
19      m_generic_paletteram_16(*this, "paletteram")
20   { }
1521
22   required_device<cpu_device> m_maincpu;
23   required_device<cpu_device> m_subcpu;
24   required_device<dac_device> m_dac;
25   required_device<screen_device> m_screen;
26   required_device<palette_device> m_palette;
27   required_shared_ptr<UINT16> m_generic_paletteram_16;
1628
1729   static const UINT8  mahmajn_mlt[8];
1830   static const UINT8 mahmajn2_mlt[8];
r241820r241821
125137   TIMER_DEVICE_CALLBACK_MEMBER(irq_timer_clear_cb);
126138   TIMER_DEVICE_CALLBACK_MEMBER(irq_frc_cb);
127139   TIMER_DEVICE_CALLBACK_MEMBER(irq_vbl);
128   required_device<cpu_device> m_maincpu;
129   required_device<cpu_device> m_subcpu;
130   required_device<dac_device> m_dac;
131   required_device<screen_device> m_screen;
132   required_device<palette_device> m_palette;
133   required_shared_ptr<UINT16> m_generic_paletteram_16;
134140};
trunk/src/mame/video/segaic24.h
r241820r241821
1/*
2  Sega system24 hardware
3
4*/
5
16#ifndef __SEGAIC24_H
27#define __SEGAIC24_H
38
trunk/src/mame/video/segas24.c
r241820r241821
1/*
2 * Sega System 24
3 *
4 */
5
16#include <vector>
27#include <algorithm>
38


Previous 199869 Revisions Next


© 1997-2024 The MAME Team