Previous 15994 Revisions Next

r14798 Sunday 25th March, 2012 at 08:00:45 UTC by Miodrag Milanović
Sync with MAME r15770 (no whatsnew)
[src/mame]mame.lst
[src/mame/drivers]8080bw.c bublbobl.c cave.c chihiro.c dec0.c dribling.c galaxia.c galdrvr.c mcatadv.c naomi.c pgm.c quasar.c rastan.c segas18.c system1.c triforce.c zac2650.c
[src/mame/includes]cvs.h pgm.h quasar.h*
[src/mame/machine]pgmcrypt.c
[src/mame/video]mcatadv.c quasar.c tumbleb.c
[src/osd/sdl/man]chdman.1 jedutil.1 ldplayer.1 ldverify.1 mame.1 mame.6* romcmp.1 testkeys.1

src/mame/mame.lst
r14797r14798
174174gteikoku      // (c) Irem
175175gteikokb      // bootleg
176176gteikob2      // bootleg
177galemp         // (c) Taito do Brasil
177178spacbatt      // bootleg
178179spacbat2      // bootleg
179180spacempr      // bootleg
r14797r14798
14021403polaris         // PS  (c) 1980 Taito
14031404polarisa      // PS  (c) 1980 Taito
14041405polariso      // PS  (c) 1980 Taito
1406polarisbr      // PS  (c) 1981 Taito do Brasil
14051407ballbomb      // TN  (c) 1980 Taito
14061408indianbt      // (c) 1980 Taito
14071409steelwkr      // (c) 1980 Taito
r14797r14798
19031905bublboblr      // A78 (c) 1986 Taito America Corporation + Romstar license
19041906bublboblr1      // A78 (c) 1986 Taito America Corporation + Romstar license
19051907boblbobl      // bootleg
1908boblbobl2      // bootleg
19061909sboblboa      // bootleg
19071910sboblbob      // bootleg
19081911bub68705      // bootleg
r14797r14798
19191922dariuso         // A96 (c) 1986 Taito Corporation (Japan)
19201923dariuse         // A96 (c) 1986 Taito Corporation (Japan)
19211924rastan         // B04 (c) 1987 Taito Corporation Japan (World)
1925rastan2       // B04 (c) 1987 Taito Corporation Japan (World)
19221926rastanu         // B04 (c) 1987 Taito America Corporation (US)
19231927rastanu2      // B04 (c) 1987 Taito America Corporation (US)
19241928rastsaga      // B04 (c) 1987 Taito Corporation (Japan)
r14797r14798
40274031wboy4         // 834-5984 (c) 1986 + Escape license (S1)
40284032wboy5         // 834-5984 (c) 1986 + Escape license (S1)
40294033wboyu         // 834-5753 (? maybe a conversion) (c) 1986 + Escape license (S1)
4034wboyub         // bootleg of wboyu
40304035wbdeluxe      // (c) 1986 + Escape license (S1)
40314036wboysys2      // 834-5984  (c) 1986 + Escape license (S1)
40324037gardia         // 834-6119 (S2?)
r14797r14798
53785383hbarrelw      // (c) 1987 Data East Corporation (World)
53795384baddudes      // EI (c) 1988 Data East USA (US)
53805385drgninja      // EG (c) 1988 Data East Corporation (Japan)
5386drgninjab      // bootleg
53815387birdtry         // (c) 1988 Data East Corporation (Japan)
53825388robocop         // EP? (c) 1988 Data East Corporation (World)
53835389robocopw      // EP? (c) 1988 Data East Corporation (World)
r14797r14798
1005510061sshot         // (c) 1979 Model Racing
1005610062dribling      // (c) 1983 Model Racing
1005710063driblingo      // (c) 1983 Olympia
10064driblingbr      // bootleg
1005810065ace            // [1976 Allied Leisure]
1005910066clayshoo      // [1979 Allied Leisure]
1006010067pirates         // (c) 1994 NIX
src/mame/machine/pgmcrypt.c
r14797r14798
11311131
11321132
11331133
1134static const UINT8 happy6in1_tab[256] = { // IGS0008RD1031215
1135   0x49, 0x47, 0x53, 0x30, 0x30, 0x30, 0x38, 0x52, 0x44, 0x31, 0x30, 0x33, 0x31, 0x32, 0x31, 0x35,
1136   0x14, 0xd6, 0x37, 0x5c, 0x5e, 0xc3, 0xd3, 0x62, 0x96, 0x3d, 0xfb, 0x47, 0xf0, 0xcb, 0xbf, 0xb0,
1137   0x60, 0xa1, 0xc2, 0x3d, 0x90, 0xd0, 0x58, 0x56, 0x22, 0xac, 0xdd, 0x39, 0x27, 0x7e, 0x58, 0x44,
1138   0xe0, 0x6b, 0x51, 0x80, 0xb4, 0xa4, 0xf0, 0x6f, 0x71, 0xd0, 0x57, 0x18, 0xc7, 0xb6, 0x41, 0x50,
1139   0x02, 0x2f, 0xdb, 0x4a, 0x08, 0x4b, 0xe3, 0x62, 0x92, 0xc3, 0xff, 0x26, 0xaf, 0x9f, 0x60, 0xa5,
1140   0x76, 0x28, 0x97, 0xfd, 0x0b, 0x10, 0xb7, 0x1f, 0xd5, 0xe0, 0xac, 0xe6, 0xfd, 0xa3, 0xdb, 0x58,
1141   0x2a, 0xd1, 0xfc, 0x3b, 0x7c, 0x7e, 0x34, 0xdc, 0xc7, 0xc4, 0x76, 0x1b, 0x11, 0x6d, 0x1b, 0xbb,
1142   0x4e, 0xe5, 0xc0, 0xe8, 0x5a, 0x60, 0x60, 0x0a, 0x38, 0x47, 0xb3, 0xc9, 0x89, 0xe9, 0xc6, 0x61,
1143   0x50, 0x5f, 0xdb, 0x28, 0xe5, 0xc0, 0x83, 0x5c, 0x37, 0x86, 0xfa, 0x32, 0x46, 0x40, 0xc3, 0x1d,
1144   0xdf, 0x7a, 0x85, 0x5c, 0x9a, 0xea, 0x24, 0xc7, 0x12, 0xdc, 0x23, 0xda, 0x65, 0xdf, 0x39, 0x02,
1145   0xeb, 0xb1, 0x32, 0x28, 0x3a, 0x69, 0x09, 0x7c, 0x5a, 0xe3, 0x44, 0x83, 0x45, 0x71, 0x8f, 0x64,
1146   0xa3, 0xbf, 0x9c, 0x6f, 0xc4, 0x07, 0x3a, 0xee, 0xdd, 0x77, 0xb4, 0x31, 0x87, 0xdf, 0x6d, 0xd4,
1147   0x75, 0x9f, 0xb9, 0x53, 0x75, 0xd0, 0xfe, 0xd1, 0xaa, 0xb2, 0x0b, 0x25, 0x08, 0x56, 0xb8, 0x27,
1148   0x10, 0x8c, 0xbf, 0x39, 0xce, 0x0f, 0xdb, 0x18, 0x10, 0xf0, 0x1f, 0xe5, 0xe8, 0x40, 0x98, 0x6f,
1149   0x64, 0x02, 0x27, 0xc3, 0x8c, 0x4f, 0x98, 0xf6, 0x9d, 0xcb, 0x07, 0x31, 0x85, 0x48, 0x75, 0xff,
1150   0x9f, 0xba, 0xa6, 0xd3, 0xb0, 0x5b, 0x3d, 0xdd, 0x22, 0x1f, 0x1b, 0x0e, 0x7f, 0x5a, 0xf4, 0x6a
1151};
1152
1153void pgm_happy6_decrypt(running_machine &machine)
1154{
1155   int i;
1156   UINT16 *src = (UINT16 *) (machine.region("user1")->base());
1157
1158   int rom_size = 0x400000;
1159
1160   for(i=0; i<rom_size/2; i++)
1161   {
1162      UINT16 x = src[i];
1163
1164      if ((i & 0x040480) != 0x000080) x ^= 0x0001;
1165      if ((i & 0x104008) == 0x104008) x ^= 0x0002;
1166      if ((i & 0x080030) == 0x080010) x ^= 0x0004;
1167      if ((i & 0x000242) != 0x000042) x ^= 0x0008;
1168      if ((i & 0x048100) == 0x048000) x ^= 0x0010;
1169      if ((i & 0x002004) != 0x000004) x ^= 0x0020;
1170      if ((i & 0x011800) != 0x010000) x ^= 0x0040;
1171      if ((i & 0x000820) == 0x000820) x ^= 0x0080;
1172
1173      x ^= happy6in1_tab[(i >> 1) & 0xff] << 8;
1174
1175      src[i] = x;
1176   }
1177}
src/mame/includes/pgm.h
r14797r14798
103103   UINT16        m_oldsplus_ram[0x100];
104104   UINT32        m_oldsplus_regs[0x100];
105105
106   UINT32*       m_arm_ram;
106107
107108};
108109
r14797r14798
136137void pgm_svgpcb_decrypt(running_machine &machine);
137138void pgm_ket_decrypt(running_machine &machine);
138139void pgm_espgal_decrypt(running_machine &machine);
140void pgm_happy6_decrypt(running_machine &machine);
139141
140142/*----------- defined in machine/pgmprot.c -----------*/
141143
src/mame/includes/cvs.h
r14797r14798
22
33    Century CVS System
44
5    (and Quasar)
6
75****************************************************************************/
86
97
r14797r14798
6765                                               we can use the same gfx_layout */
6866};
6967
70class quasar_state : public cvs_state
71{
72public:
73   quasar_state(const machine_config &mconfig, device_type type, const char *tag)
74      : cvs_state(mconfig, type, tag) { }
7568
76   UINT8 *    m_effectram;
77   UINT8      m_effectcontrol;
78   UINT8      m_page;
79   UINT8      m_io_page;
80};
81
82
8369/*----------- defined in drivers/cvs.c -----------*/
8470
8571MACHINE_START( cvs );
r14797r14798
11197PALETTE_INIT( cvs );
11298SCREEN_UPDATE_IND16( cvs );
11399VIDEO_START( cvs );
114
115/*----------- defined in video/quasar.c -----------*/
116
117PALETTE_INIT( quasar );
118SCREEN_UPDATE_IND16( quasar );
119VIDEO_START( quasar );
src/mame/includes/quasar.h
r0r14798
1/***************************************************************************
2
3    Zaccaria Quasar
4
5****************************************************************************/
6
7#include "includes/cvs.h"
8
9class quasar_state : public cvs_state
10{
11public:
12   quasar_state(const machine_config &mconfig, device_type type, const char *tag)
13      : cvs_state(mconfig, type, tag) { }
14
15   UINT8 *    m_effectram;
16   UINT8      m_effectcontrol;
17   UINT8      m_page;
18   UINT8      m_io_page;
19};
20
21
22/*----------- defined in video/quasar.c -----------*/
23
24PALETTE_INIT( quasar );
25SCREEN_UPDATE_IND16( quasar );
26VIDEO_START( quasar );
src/mame/video/mcatadv.c
r14797r14798
5656{
5757   mcatadv_state *state = machine.driver_data<mcatadv_state>();
5858   UINT16 *source = state->m_spriteram_old;
59   UINT16 *finish = source + (state->m_spriteram_size / 2) / 2;
59   UINT16 *finish = source + (state->m_spriteram_size / 2) /2;
6060   int global_x = state->m_vidregs[0] - 0x184;
6161   int global_y = state->m_vidregs[1] - 0x1f1;
6262
6363   UINT16 *destline;
6464   UINT8 *priline;
6565   UINT8 *sprdata = machine.region("gfx1")->base();
66   int sprmask = machine.region("gfx1")->bytes()-1;
6667
6768   int xstart, xend, xinc;
6869   int ystart, yend, yinc;
r14797r14798
129130               {
130131                  drawxpos = x + xcnt - global_x;
131132
132                  if((priline[drawxpos] < pri))
133                  if ((drawxpos >= cliprect.min_x) && (drawxpos <= cliprect.max_x))
133134                  {
134                     if (offset >= 0x500000 * 2)
135                        offset = 0;
136                     pix = sprdata[offset / 2];
135                     if((priline[drawxpos] < pri))
136                     {
137                        pix = sprdata[(offset / 2)&sprmask];
137138
138                     if (offset & 1)
139                        pix = pix >> 4;
140                     pix &= 0x0f;
139                        if (offset & 1)
140                           pix = pix >> 4;
141                        pix &= 0x0f;
141142
142                     if ((drawxpos >= cliprect.min_x) && (drawxpos <= cliprect.max_x) && pix)
143                        destline[drawxpos] = (pix + (pen << 4));
143                        if (pix)
144                           destline[drawxpos] = (pix + (pen << 4));
145                     }
144146                  }
147
145148                  offset++;
146149               }
147150            }
src/mame/video/quasar.c
r14797r14798
1717#include "emu.h"
1818#include "video/s2636.h"
1919#include "cpu/s2650/s2650.h"
20#include "includes/cvs.h"
20#include "includes/quasar.h"
2121
2222PALETTE_INIT( quasar )
2323{
src/mame/video/tumbleb.c
r14797r14798
567567   else
568568      offs2 = -5;
569569
570   tumbleb_draw_common(screen.machine(),bitmap,cliprect, offs2, -16, offs, 0);
570   tumbleb_draw_common(screen.machine(),bitmap,cliprect, offs2, 0, offs, 0);
571571
572572   return 0;
573573}
r14797r14798
590590   else
591591      offs2 = -5;
592592
593   tumbleb_draw_common(screen.machine(),bitmap,cliprect, offs2, -16, offs, 0);
593   tumbleb_draw_common(screen.machine(),bitmap,cliprect, offs2, 0, offs, 0);
594594   return 0;
595595}
596596
src/mame/drivers/bublbobl.c
r14797r14798
13771377   ROM_LOAD( "pal16l8.u4",  0x0400, 0x0104, CRC(077d20a8) SHA1(8e568ffd6f66c3dd61708dd0f3be9c2ed488ae4b) )
13781378ROM_END
13791379
1380ROM_START( boblbobl2 )
1381   ROM_REGION( 0x30000, "maincpu", 0 )
1382    ROM_LOAD( "cpu2-3.bin",   0x00000, 0x08000, CRC(2d9107b6) SHA1(ab1a4a20f4b533cd06cc458668f407a8a14c9d70) )
1383   /* ROMs banked at 8000-bfff */
1384   ROM_LOAD( "bb5",          0x10000, 0x08000, CRC(13118eb1) SHA1(5a5da40c2cc82420f70bc58ffa32de1088c6c82f) )
1385    ROM_LOAD( "cpu2-4.bin",   0x18000, 0x08000, CRC(3f9fed10) SHA1(1cc18a58d9a27495048825836accfa81ebbc0c56) )
1386   /* 20000-2ffff empty */
13801387
1388   ROM_REGION( 0x10000, "slave", 0 )   /* 64k for the second CPU */
1389   ROM_LOAD( "a78-08.37",    0x0000, 0x08000, CRC(ae11a07b) SHA1(af7a335c8da637103103cc274e077f123908ebb7) )
1390
1391   ROM_REGION( 0x10000, "audiocpu", 0 )   /* 64k for the third CPU */
1392   ROM_LOAD( "a78-07.46",    0x0000, 0x08000, CRC(4f9a26e8) SHA1(3105b34b88a7134493c2b3f584729f8b0407a011) )
1393
1394   ROM_REGION( 0x80000, "gfx1", ROMREGION_INVERT )
1395    ROM_LOAD( "gfx7.bin",     0x00000, 0x10000, CRC(702f61c0) SHA1(2f294ab2b0286736a64ea2bfc95d855aa5b41ada) )
1396    ROM_LOAD( "gfx8.bin",     0x01000, 0x10000, CRC(677840e8) SHA1(995b2125ca18910d7d4b96078f4ecb17465c4151) )
1397   ROM_LOAD( "a78-13.16",    0x20000, 0x08000, CRC(d0af35c5) SHA1(c5a89f4d73acc0db86654540b3abfd77b3757db5) )
1398   ROM_LOAD( "a78-14.17",    0x28000, 0x08000, CRC(7b5369a8) SHA1(1307b26d80e6f36ebe6c442bebec41d20066eaf9) )   // match
1399   /* 0x30000-0x3ffff empty */
1400    ROM_LOAD( "gfx10.bin",    0x50000, 0x10000, CRC(d370f499) SHA1(94ce157ff1a53fabf08abe5467531b94a56666a5) )
1401    ROM_LOAD( "gfx11.bin",    0x60000, 0x10000, CRC(76f2b367) SHA1(3e357a5642c8747df77a995057cecdf96f3130ab) )
1402   ROM_LOAD( "a78-20.35",    0x68000, 0x08000, CRC(9ef863ad) SHA1(29f91b5a3765e4d6e6c3382db1d8d8297b6e56c8) )    // match
1403   /* 0x70000-0x7ffff empty */
1404
1405   ROM_REGION( 0x0100, "proms", 0 )
1406   ROM_LOAD( "a71-25.41",    0x0000, 0x0100, CRC(2d0f8545) SHA1(089c31e2f614145ef2743164f7b52ae35bc06808) )   /* video timing */
1407ROM_END
1408
13811409ROM_START( sboblboa )
13821410   ROM_REGION( 0x30000, "maincpu", 0 )
13831411   ROM_LOAD( "1c.bin",    0x00000, 0x08000, CRC(f304152a) SHA1(103d9beddccef289ed739d28ebda69bbad3d42f9) )
r14797r14798
15871615GAME( 1986, bublboblr1, bublbobl, bublbobl, bublbobl, bublbobl, ROT0,  "Taito America Corporation (Romstar license)", "Bubble Bobble (US)", GAME_SUPPORTS_SAVE )
15881616
15891617GAME( 1986, boblbobl,   bublbobl, boblbobl, boblbobl, bublbobl, ROT0,  "bootleg", "Bobble Bobble", GAME_SUPPORTS_SAVE )
1618GAME( 1986, boblbobl2,  bublbobl, boblbobl, boblbobl, bublbobl, ROT0,  "bootleg", "Bobble Bobble (set 2)", GAME_SUPPORTS_SAVE | GAME_NOT_WORKING )
15901619GAME( 1986, sboblboa,   bublbobl, boblbobl, boblbobl, bublbobl, ROT0,  "bootleg", "Super Bobble Bobble (set 1)", GAME_SUPPORTS_SAVE )
15911620GAME( 1986, sboblbob,   bublbobl, boblbobl, sboblbob, bublbobl, ROT0,  "bootleg", "Super Bobble Bobble (set 2)", GAME_SUPPORTS_SAVE )
15921621GAME( 1986, bub68705,   bublbobl, bub68705, bublbobl, bublbobl, ROT0,  "bootleg", "Bubble Bobble (bootleg with 68705)", GAME_SUPPORTS_SAVE )
src/mame/drivers/pgm.c
r14797r14798
213213*/
214214
215215#define PGMLOGERROR 0
216#define PGMARM7LOGERROR 1
216#define PGMARM7LOGERROR
217217
218218#include "emu.h"
219219#include "cpu/z80/z80.h"
r14797r14798
263263{
264264   pgm_state *state = space->machine().driver_data<pgm_state>();
265265
266   device_set_input_line(state->m_prot, ARM7_FIRQ_LINE, CLEAR_LINE ); // guess
267
266268   if (PGMARM7LOGERROR)
267269      logerror("ARM7: Latch read: %08x (%08x) (%06x)\n", state->m_kov2_latchdata_68k_w, mem_mask, cpu_get_pc(&space->device()));
268270   return state->m_kov2_latchdata_68k_w;
r14797r14798
313315      logerror("M68K: Latch write: %04x (%04x) (%06x)\n", data & 0x0000ffff, mem_mask, cpu_get_pc(&space->device()));
314316   COMBINE_DATA(&state->m_kov2_latchdata_68k_w);
315317
316   generic_pulse_irq_line(state->m_prot, ARM7_FIRQ_LINE, 1);
317   space->machine().scheduler().boost_interleave(attotime::zero, attotime::from_usec(200));
318   device_spin_until_time(&space->device(), state->m_prot->cycles_to_attotime(200)); // give the arm time to respond (just boosting the interleave doesn't help)
318   device_set_input_line(state->m_prot, ARM7_FIRQ_LINE, ASSERT_LINE ); // guess
319319}
320320
321321static READ16_HANDLER( arm7_ram_r )
r14797r14798
563563{
564564   pgm_state *state = space->machine().driver_data<pgm_state>();
565565   generic_pulse_irq_line(state->m_prot, ARM7_FIRQ_LINE, 1);
566   space->machine().scheduler().boost_interleave(attotime::zero, attotime::from_usec(200));
567   device_spin_until_time(&space->device(), state->m_prot->cycles_to_attotime(200)); // give the arm time to respond (just boosting the interleave doesn't help)
568566}
569567
570568static WRITE16_HANDLER( svg_latch_68k_w )
r14797r14798
694692   AM_RANGE(0x00000000, 0x00003fff) AM_ROM
695693   AM_RANGE(0x08000000, 0x083fffff) AM_ROM AM_REGION("user1", 0)
696694   AM_RANGE(0x10000000, 0x100003ff) AM_RAM
697   AM_RANGE(0x18000000, 0x1800ffff) AM_RAM
695   AM_RANGE(0x18000000, 0x1800ffff) AM_RAM AM_BASE_MEMBER(pgm_state, m_arm_ram)
698696   AM_RANGE(0x38000000, 0x38000003) AM_READWRITE(arm7_latch_arm_r, arm7_latch_arm_w) /* 68k Latch */
699697   AM_RANGE(0x48000000, 0x4800ffff) AM_READWRITE(arm7_shareram_r, arm7_shareram_w) AM_BASE_MEMBER(pgm_state, m_arm7_shareram)
700698   AM_RANGE(0x50000000, 0x500003ff) AM_RAM
r14797r14798
705703   AM_RANGE(0x00000000, 0x00003fff) AM_ROM
706704   AM_RANGE(0x08000000, 0x087fffff) AM_ROM AM_REGION("user1", 0)
707705   AM_RANGE(0x10000000, 0x100003ff) AM_RAM
708   AM_RANGE(0x18000000, 0x1803ffff) AM_RAM
706   AM_RANGE(0x18000000, 0x1803ffff) AM_RAM AM_BASE_MEMBER(pgm_state, m_arm_ram)
709707   AM_RANGE(0x38000000, 0x3801ffff) AM_READWRITE(svg_arm7_shareram_r, svg_arm7_shareram_w)
710708   AM_RANGE(0x48000000, 0x48000003) AM_READWRITE(arm7_latch_arm_r, arm7_latch_arm_w) /* 68k Latch */
711709   AM_RANGE(0x40000018, 0x4000001b) AM_WRITE(svg_arm7_ram_sel_w) /* RAM SEL */
r14797r14798
11531151   MCFG_CPU_PROGRAM_MAP(svg_68k_mem)
11541152
11551153   /* protection CPU */
1156   MCFG_CPU_ADD("prot", ARM7, 20000000)   // 55857G
1154   MCFG_CPU_ADD("prot", ARM7, 33333333)   // 55857G
11571155   MCFG_CPU_PROGRAM_MAP(55857G_arm7_map)
1156
11581157MACHINE_CONFIG_END
11591158
11601159
r14797r14798
11631162   MCFG_CPU_PROGRAM_MAP(pgm_basic_mem)
11641163
11651164   /* protection CPU */
1166   MCFG_CPU_ADD("prot", ARM7, 20000000)   // 55857G
1165   MCFG_CPU_ADD("prot", ARM7, 33333333)   // 55857G
11671166   MCFG_CPU_PROGRAM_MAP(55857G_arm7_map)
11681167   MCFG_DEVICE_DISABLE()
11691168MACHINE_CONFIG_END
r14797r14798
36313630   ROM_LOAD( "a04502.u4",    0x0800000, 0x0800000, CRC(e104f405) SHA1(124b3deed3e838f8bae6c7d78bdd788859597585) )
36323631   ROM_LOAD( "a04503.u6",    0x1000000, 0x0800000, CRC(bfd5cfe3) SHA1(fbe4c0a2987c2036df707b86597d78124ee2e665) )
36333632
3634   ROM_REGION( 0xc00000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
3633   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
36353634   ROM_LOAD( "b04501.u9",    0x0000000, 0x0800000,  CRC(29320b7d) SHA1(59c78805e666f912df201c34616744f46057937b) )
36363635   ROM_LOAD( "b04502.u11",   0x0800000, 0x0200000,  CRC(578c00e9) SHA1(14235cc8b0f8c7dd659512f017a2d4aacd91d89d) )
36373636
r14797r14798
36893688   ROM_LOAD( "a04502.u4",    0x0800000, 0x0800000, CRC(e104f405) SHA1(124b3deed3e838f8bae6c7d78bdd788859597585) )
36903689   ROM_LOAD( "a04503.u6",    0x1000000, 0x0800000, CRC(bfd5cfe3) SHA1(fbe4c0a2987c2036df707b86597d78124ee2e665) )
36913690
3692   ROM_REGION( 0xc00000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
3691   ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */
36933692   ROM_LOAD( "b04501.u9",    0x0000000, 0x0800000,  CRC(29320b7d) SHA1(59c78805e666f912df201c34616744f46057937b) )
36943693   ROM_LOAD( "b04502.u11",   0x0800000, 0x0200000,  CRC(578c00e9) SHA1(14235cc8b0f8c7dd659512f017a2d4aacd91d89d) )
36953694
r14797r14798
45274526   COMBINE_DATA(&state->m_arm7_shareram[0x0]);
45284527}
45294528
4529static READ32_HANDLER( ddp2_speedup_r )
4530{
4531   pgm_state *state = space->machine().driver_data<pgm_state>();
4532   int pc = cpu_get_pc(&space->device());
4533   UINT32 data = state->m_arm_ram[0x300c/4];
4534
4535   if (pc==0x080109b4)
4536   {
4537      /* if we've hit the loop where this is read and both values are 0 then the only way out is an interrupt */
4538      int r4 = (cpu_get_reg(&space->device(), ARM7_R4));
4539      r4 += 0xe;
4540     
4541      if (r4==0x18002f9e)
4542      {
4543         UINT32 data2 =  state->m_arm_ram[0x2F9C/4]&0xffff0000;
4544         if ((data==0x00000000) && (data2==0x00000000)) device_spin_until_interrupt(&space->device());
4545      }
4546   }
4547
4548   return data;
4549}
4550
4551
4552
45304553static DRIVER_INIT( ddp2 )
45314554{
45324555   pgm_basic_init(machine);
r14797r14798
45354558
45364559   // we only have a Japan internal ROM dumped for now, allow us to override that for debugging purposes.
45374560   machine.device("prot")->memory().space(AS_PROGRAM)->install_legacy_write_handler(0x48000000, 0x48000003, FUNC(ddp2_arm_region_w));
4561
4562   machine.device("prot")->memory().space(AS_PROGRAM)->install_legacy_read_handler(0x1800300c, 0x1800300f, FUNC(ddp2_speedup_r));
4563
4564
45384565}
45394566
45404567static void svg_basic_init(running_machine &machine)
r14797r14798
45794606   kov2_latch_init(machine);
45804607}
45814608
4609static READ32_HANDLER( dmnfrnt_speedup_r )
4610{
4611   pgm_state *state = space->machine().driver_data<pgm_state>();
4612   int pc = cpu_get_pc(&space->device());
4613   if (pc == 0x8000fea) device_eat_cycles(&space->device(), 500);
4614//   else printf("dmn_speedup_r %08x\n", pc);
4615   return state->m_arm_ram[0x000444/4];
4616}
4617
4618
45824619static DRIVER_INIT( dmnfrnt )
45834620{
4621   pgm_state *state = machine.driver_data<pgm_state>();
4622
45844623   svg_basic_init(machine);
45854624   pgm_dfront_decrypt(machine);
45864625   kov2_latch_init(machine);
4626
4627   /* put some fake code for the ARM here ... */
4628   UINT16 *temp16 = (UINT16 *)machine.region("prot")->base();
4629   temp16[(0x0000)/2] = 0xd088;
4630   temp16[(0x0002)/2] = 0xe59f;
4631   temp16[(0x0004)/2] = 0x0680;
4632   temp16[(0x0006)/2] = 0xe3a0;
4633   temp16[(0x0008)/2] = 0xff10;
4634   temp16[(0x000a)/2] = 0xe12f;
4635   temp16[(0x0090)/2] = 0x0400;
4636   temp16[(0x0092)/2] = 0x1000;
4637
4638   machine.device("prot")->memory().space(AS_PROGRAM)->install_legacy_read_handler(0x18000444, 0x18000447, FUNC(dmnfrnt_speedup_r));
4639
4640   // the internal rom probably also supplies the region here
4641   UINT16 *share16 = (UINT16 *)(state->m_svg_shareram[0]);
4642   share16[0x158/2] = 0x0005;
4643
4644
45874645}
45884646
45894647
r14797r14798
57895847   mem8[0x1FFFFD] = 0x99;
57905848}
57915849
5850static DRIVER_INIT( happy6 )
5851{
5852   svg_basic_init(machine);
5853   pgm_happy6_decrypt(machine);
5854   kov2_latch_init(machine);
5855}
5856
5857
57925858/*** GAME ********************************************************************/
57935859
57945860GAME( 1997, pgm,          0,         pgm,     pgm,      pgm,        ROT0,   "IGS", "PGM (Polygame Master) System BIOS", GAME_IS_BIOS_ROOT )
r14797r14798
58435909GAME( 2001, ddp2101,      ddp2,      kov2,    ddp2,     ddp2,       ROT270, "IGS", "DoDonPachi II - Bee Storm (Japan, ver. 101)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
58445910GAME( 2001, ddp2100,      ddp2,      kov2,    ddp2,     ddp2,       ROT270, "IGS", "DoDonPachi II - Bee Storm (Japan, ver. 100)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
58455911
5912// we bypass the internal ARM rom on these, ideally it should still be dumped tho!
5913// ARM version strings don't match 100% with labels... for 68k ROMs I'm using the build time / date stamp from near the start of the rom, there are some slightly different time stamps later
5914GAME( 2002, dmnfrnt,      pgm,       svg,     sango,    dmnfrnt,    ROT0,   "IGS", "Demon Front (68k label V105, ROM M105XX 08/05/02) (ARM label V105, ROM 08/05/02 S105XX)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) // 68k time: 10:24:11 ARM time: 10:33:23
5915GAME( 2002, dmnfrnta,     dmnfrnt,   svg,     sango,    dmnfrnt,    ROT0,   "IGS", "Demon Front (68k label V102, ROM M102XX 06/19/02) (ARM label V102, ROM 05/24/02 S101XX)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) // 68k time: 13:44:08 ARM time: 13:04:31
5916GAME( 2002, dmnfrntpcb,   dmnfrnt,   svg,     sango,    dmnfrnt,    ROT0,   "IGS", "Demon Front (68k label V107KR, ROM M107KR 11/03/03) (ARM label V107KR, ROM 10/16/03 S106KR) (JAMMA PCB)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) // works but reports version mismatch (wants internal rom version and region to match external?)
5917
5918
5919
58465920/* these don't use an External ARM rom, and don't have any weak internal functions which would allow the internal ROM to be read out */
58475921
58485922GAME( 2002, ddpdoj,       0,         cavepgm,    pgm,     ddp3,      ROT270, "Cave", "DoDonPachi Dai-Ou-Jou V101 (2002.04.05.Master Ver)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) // is there a v101 without the . after 05?
r14797r14798
58585932GAME( 2003, espgal,       0,         cavepgm,    pgm,     espgal,    ROT270, "Cave", "Espgaluda (2003/10/15 Master Ver)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
58595933
58605934
5935
5936
58615937/* -----------------------------------------------------------------------------------------------------------------------
58625938   Partially Working, playable, but some imperfections
58635939   -----------------------------------------------------------------------------------------------------------------------*/
r14797r14798
59085984
59095985/* Games below this point are known to have an 'execute only' internal ROM area covering an area at the start of the internal ROM.  This can't be read when running code from either internal or external ROM space. */
59105986
5911// ARM version strings don't match 100% with labels... for 68k ROMs I'm using the build time / date stamp from near the start of the rom, there are some slightly different time stamps later
5912GAME( 2002, dmnfrnt,      pgm,       svg,     sango,    dmnfrnt,    ROT0,   "IGS", "Demon Front (68k label V105, ROM M105XX 08/05/02) (ARM label V105, ROM 08/05/02 S105XX)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */ // 68k time: 10:24:11 ARM time: 10:33:23
5913GAME( 2002, dmnfrnta,     dmnfrnt,   svg,     sango,    dmnfrnt,    ROT0,   "IGS", "Demon Front (68k label V102, ROM M102XX 06/19/02) (ARM label V102, ROM 05/24/02 S101XX)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */ // 68k time: 13:44:08 ARM time: 13:04:31
5914GAME( 2002, dmnfrntpcb,   dmnfrnt,   svg,     sango,    dmnfrnt,    ROT0,   "IGS", "Demon Front (68k label V107, ROM M107KR 11/03/03) (ARM label V107, ROM 10/16/03 S106KR) (JAMMA PCB)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */ // 68k time: 17:12:29 ARM time: 14:16:52
59155987
59165988// all 3 68k roms still have V100 strings, but are clearly different builds, there don't appear to be build string dates in them.  Two of the external ARM roms are marked V100 but are different builds, it's possible the single PCB version 100 is based on a later main revision
59175989GAME( 2003, theglad,      pgm,       svg,     sango,    theglad,    ROT0,   "IGS", "The Gladiator - Road of the Sword / Shen Jian (M68k label V100) (ARM label V100, ROM 01/16/03 SHEN JIAN)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */ // ARM time: 10:39:25
r14797r14798
59316003
59326004GAME( 2005, killbldp,     pgm,       svg,     sango,    killbldp,   ROT0,   "IGS", "The Killing Blade Plus (ver. 300)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
59336005
5934GAME( 2004, happy6,       pgm,       svg,     sango,    svg,        ROT0,   "IGS", "Happy 6-in-1 (ver. 101CN)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
6006GAME( 2004, happy6,       pgm,       svg,     sango,    happy6,     ROT0,   "IGS", "Happy 6-in-1 (ver. 101CN)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
59356007
59366008GAME( 2005, svg,          pgm,       svg,     sango,    svg,        ROT0,   "IGS / Idea Factory", "S.V.G. - Spectral vs Generation (M68k label V200) (ARM label V200, ROM 10/11/05 S.V.G V201)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */ // label was 200, but it's code rev 201? // ARM time: 10:07:20
59376009GAME( 2005, svgpcb,       svg,       svg,     sango,    svgpcb,     ROT0,   "IGS / Idea Factory", "S.V.G. - Spectral vs Generation (M68k label V100JP) (ARM label V100JP ROM 05/12/05  S.V.G V100) (JAMMA PCB)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) /* need internal rom of IGS027A */ // ARM time: 15:31:35
src/mame/drivers/mcatadv.c
r14797r14798
498498   ROM_LOAD( "u9.bin", 0x00000, 0x20000, CRC(fda05171) SHA1(2c69292573ec35034572fa824c0cae2839d23919) )
499499   ROM_RELOAD( 0x10000, 0x20000 )
500500
501   ROM_REGION( 0x500000, "gfx1", 0 ) /* Sprites */
501   ROM_REGION( 0x800000, "gfx1", ROMREGION_ERASEFF ) /* Sprites */
502502   ROM_LOAD16_BYTE( "mca-u82.bin", 0x000000, 0x100000, CRC(5f01d746) SHA1(11b241456e15299912ee365eedb8f9d5e5ca875d) )
503503   ROM_LOAD16_BYTE( "mca-u83.bin", 0x000001, 0x100000, CRC(4e1be5a6) SHA1(cb19aad42dba54d6a4a33859f27254c2a3271e8c) )
504504   ROM_LOAD16_BYTE( "mca-u84.bin", 0x200000, 0x080000, CRC(df202790) SHA1(f6ae54e799af195860ed0ab3c85138cf2f10efa6) )
r14797r14798
527527   ROM_LOAD( "u9.bin", 0x00000, 0x20000, CRC(fda05171) SHA1(2c69292573ec35034572fa824c0cae2839d23919) )
528528   ROM_RELOAD( 0x10000, 0x20000 )
529529
530   ROM_REGION( 0x500000, "gfx1", 0 ) /* Sprites */
530   ROM_REGION( 0x800000, "gfx1", ROMREGION_ERASEFF ) /* Sprites */
531531   ROM_LOAD16_BYTE( "mca-u82.bin", 0x000000, 0x100000, CRC(5f01d746) SHA1(11b241456e15299912ee365eedb8f9d5e5ca875d) )
532532   ROM_LOAD16_BYTE( "mca-u83.bin", 0x000001, 0x100000, CRC(4e1be5a6) SHA1(cb19aad42dba54d6a4a33859f27254c2a3271e8c) )
533533   ROM_LOAD16_BYTE( "mca-u84.bin", 0x200000, 0x080000, CRC(df202790) SHA1(f6ae54e799af195860ed0ab3c85138cf2f10efa6) )
r14797r14798
556556   ROM_LOAD( "u9.bin", 0x00000, 0x20000, CRC(fda05171) SHA1(2c69292573ec35034572fa824c0cae2839d23919) )
557557   ROM_RELOAD( 0x10000, 0x20000 )
558558
559   ROM_REGION( 0x500000, "gfx1", 0 ) /* Sprites */
559   ROM_REGION( 0x800000, "gfx1", ROMREGION_ERASEFF ) /* Sprites */
560560   ROM_LOAD16_BYTE( "mca-u82.bin", 0x000000, 0x100000, CRC(5f01d746) SHA1(11b241456e15299912ee365eedb8f9d5e5ca875d) )
561561   ROM_LOAD16_BYTE( "mca-u83.bin", 0x000001, 0x100000, CRC(4e1be5a6) SHA1(cb19aad42dba54d6a4a33859f27254c2a3271e8c) )
562562   ROM_LOAD16_BYTE( "u84.bin",     0x200000, 0x100000, CRC(843fd624) SHA1(2e16d8a909fe9447da37a87428bff0734af59a00) )
r14797r14798
589589   ROM_LOAD( "nos-ps.u9", 0x00000, 0x40000, CRC(832551e9) SHA1(86fc481b1849f378c88593594129197c69ea1359) )
590590   ROM_RELOAD( 0x10000, 0x40000 )
591591
592   ROM_REGION( 0x500000, "gfx1", 0 ) /* Sprites */
592   ROM_REGION( 0x800000, "gfx1", ROMREGION_ERASEFF ) /* Sprites */
593593   ROM_LOAD16_BYTE( "nos-se-0.u82", 0x000000, 0x100000, CRC(9d99108d) SHA1(466540989d7b1b7f6dc7acbae74f6a8201973d45) )
594594   ROM_LOAD16_BYTE( "nos-so-0.u83", 0x000001, 0x100000, CRC(7df0fc7e) SHA1(2e064cb5367b2839d736d339c4f1a44785b4eedf) )
595595   ROM_LOAD16_BYTE( "nos-se-1.u84", 0x200000, 0x100000, CRC(aad07607) SHA1(89c51a9cb6b8d8ed3a357f5d8ac8399ff1c7ad46) )
r14797r14798
618618   ROM_LOAD( "nos-ps.u9", 0x00000, 0x40000, CRC(832551e9) SHA1(86fc481b1849f378c88593594129197c69ea1359) )
619619   ROM_RELOAD( 0x10000, 0x40000 )
620620
621   ROM_REGION( 0x500000, "gfx1", 0 ) /* Sprites */
621   ROM_REGION( 0x800000, "gfx1", ROMREGION_ERASEFF ) /* Sprites */
622622   ROM_LOAD16_BYTE( "nos-se-0.u82", 0x000000, 0x100000, CRC(9d99108d) SHA1(466540989d7b1b7f6dc7acbae74f6a8201973d45) )
623623   ROM_LOAD16_BYTE( "nos-so-0.u83", 0x000001, 0x100000, CRC(7df0fc7e) SHA1(2e064cb5367b2839d736d339c4f1a44785b4eedf) )
624624   ROM_LOAD16_BYTE( "nos-se-1.u84", 0x200000, 0x100000, CRC(aad07607) SHA1(89c51a9cb6b8d8ed3a357f5d8ac8399ff1c7ad46) )
r14797r14798
647647   ROM_LOAD( "nos-ps.u9", 0x00000, 0x40000, CRC(832551e9) SHA1(86fc481b1849f378c88593594129197c69ea1359) )
648648   ROM_RELOAD( 0x10000, 0x40000 )
649649
650   ROM_REGION( 0x500000, "gfx1", 0 ) /* Sprites */
650   ROM_REGION( 0x800000, "gfx1", ROMREGION_ERASEFF ) /* Sprites */
651651   ROM_LOAD16_BYTE( "nos-se-0.u82", 0x000000, 0x100000, CRC(9d99108d) SHA1(466540989d7b1b7f6dc7acbae74f6a8201973d45) )
652652   ROM_LOAD16_BYTE( "nos-so-0.u83", 0x000001, 0x100000, CRC(7df0fc7e) SHA1(2e064cb5367b2839d736d339c4f1a44785b4eedf) )
653653   ROM_LOAD16_BYTE( "nos-se-1.u84", 0x200000, 0x100000, CRC(aad07607) SHA1(89c51a9cb6b8d8ed3a357f5d8ac8399ff1c7ad46) )
src/mame/drivers/chihiro.c
r14797r14798
12271227   CHIHIRO_BIOS
12281228
12291229   DISK_REGION( "gdrom" )
1230   DISK_IMAGE_READONLY( "gdx-0001", 0, SHA1(174c72f851d0c97e8993227467f16b0781ed2f5c) )
1230   DISK_IMAGE_READONLY( "gdx-0001", 0, BAD_DUMP SHA1(174c72f851d0c97e8993227467f16b0781ed2f5c) )
12311231
12321232   ROM_REGION( 0x50, "pic", ROMREGION_ERASE)
12331233   ROM_LOAD("317-0348-com.data", 0x00, 0x50, CRC(d28219ef) SHA1(40dbbc092bc9f99b8d2ae67fbefacd62184f90ec) )
r14797r14798
12371237   CHIHIRO_BIOS
12381238
12391239   DISK_REGION( "gdrom" )
1240   DISK_IMAGE_READONLY( "gdx-0004a", 0, SHA1(27acd2d0680e6bafa0d052f60b4372adc37224fd) )
1240   DISK_IMAGE_READONLY( "gdx-0004a", 0, BAD_DUMP SHA1(27acd2d0680e6bafa0d052f60b4372adc37224fd) )
12411241
12421242   ROM_REGION( 0x50, "pic", ROMREGION_ERASE)
12431243   ROM_LOAD("317-0372-com.data", 0x00, 0x50, CRC(a15c9666) SHA1(fd36c524744acb33e579ccb257c71375a5d3af67) )
r14797r14798
12651265   CHIHIRO_BIOS
12661266
12671267   DISK_REGION( "gdrom" )
1268   DISK_IMAGE_READONLY( "gdx-0012a", 0, SHA1(d7d78ce4992cb16ee5b4ac6ca7a37c46b07e8c14) )
1268   DISK_IMAGE_READONLY( "gdx-0012a", 0, BAD_DUMP SHA1(d7d78ce4992cb16ee5b4ac6ca7a37c46b07e8c14) )
12691269
12701270   ROM_REGION( 0x50, "pic", ROMREGION_ERASE)
12711271   ROM_LOAD("317-0398-com.data", 0x00, 0x50, CRC(8c5391a2) SHA1(e64cadeb30c94c3cd4002630cd79cc76c7bde2ed) )
r14797r14798
12761276   CHIHIRO_BIOS
12771277
12781278   DISK_REGION( "gdrom" )
1279   DISK_IMAGE_READONLY( "gdx-0013", 0, SHA1(96b3dafcc2d2d6803fe3bf43a245d43ee5e0e5a6) )
1279   DISK_IMAGE_READONLY( "gdx-0013", 0, BAD_DUMP SHA1(96b3dafcc2d2d6803fe3bf43a245d43ee5e0e5a6) )
12801280
12811281   ROM_REGION( 0x50, "pic", ROMREGION_ERASE)
12821282   ROM_LOAD("gdx-0013.data", 0x00, 0x50, CRC(0479c383) SHA1(7e86a037d2f9d09cec61a38cb19de510bf9482b3) )
r14797r14798
13101310   CHIHIRO_BIOS
13111311
13121312   DISK_REGION( "gdrom" )
1313   DISK_IMAGE_READONLY( "gdx-0003a", 0, SHA1(cdfec1d2ef02ae9e29cb1462f08904177bc4c9ea) )
1313   DISK_IMAGE_READONLY( "gdx-0003a", 0, BAD_DUMP SHA1(cdfec1d2ef02ae9e29cb1462f08904177bc4c9ea) )
13141314
13151315   ROM_REGION( 0x50, "pic", ROMREGION_ERASE)
13161316   ROM_LOAD("317-0354-com.data", 0x00, 0x50,  CRC(df7e3217) SHA1(9f0f4bf6b15f3b6eeea81eaa27b3d25bd94110da) )
r14797r14798
13211321   CHIHIRO_BIOS
13221322
13231323   DISK_REGION( "gdrom" )
1324   DISK_IMAGE_READONLY( "gdx-0006c", 0, SHA1(505653117a73ed8b256ccf19450e7573a4dc57e9) )
1324   DISK_IMAGE_READONLY( "gdx-0006c", 0, BAD_DUMP SHA1(505653117a73ed8b256ccf19450e7573a4dc57e9) )
13251325
13261326   ROM_REGION( 0x50, "pic", ROMREGION_ERASE) // key was missing
13271327   ROM_LOAD("gdx-0006c.pic_data", 0x00, 0x50, NO_DUMP )
r14797r14798
13311331   CHIHIRO_BIOS
13321332
13331333   DISK_REGION( "gdrom" )
1334   DISK_IMAGE_READONLY( "gdx-0007", 0, SHA1(8898a571a427936bffcecd3ef27cb79087d22798) )
1334   DISK_IMAGE_READONLY( "gdx-0007", 0, BAD_DUMP SHA1(8898a571a427936bffcecd3ef27cb79087d22798) )
13351335
13361336   ROM_REGION( 0x50, "pic", ROMREGION_ERASE)
13371337   ROM_LOAD("gdx-0007.data", 0x00, 0x50, CRC(d2a8b31f) SHA1(e9ee2df30031826db6bc4bd91969e6680255dcf9) )
r14797r14798
13431343   CHIHIRO_BIOS
13441344
13451345   DISK_REGION( "gdrom" )
1346   DISK_IMAGE_READONLY( "gdx-0009b", 0, SHA1(e032b9fd8d5d09255592f02f7531a608e8179c9c) )
1346   DISK_IMAGE_READONLY( "gdx-0009b", 0, BAD_DUMP SHA1(e032b9fd8d5d09255592f02f7531a608e8179c9c) )
13471347
13481348   ROM_REGION( 0x50, "pic", ROMREGION_ERASE)
13491349   ROM_LOAD("gdx-0009b.data", 0x00, 0x50, CRC(3af801f3) SHA1(e9a2558930f3f1f55d5b3c2cadad69329d931f26) )
r14797r14798
13541354   CHIHIRO_BIOS
13551355
13561356   DISK_REGION( "gdrom" )
1357   DISK_IMAGE_READONLY( "gdx-0015", 0, SHA1(259483fd211a70c23205ffd852316d616c5a2740) )
1357   DISK_IMAGE_READONLY( "gdx-0015", 0, BAD_DUMP SHA1(259483fd211a70c23205ffd852316d616c5a2740) )
13581358
13591359   ROM_REGION( 0x50, "pic", ROMREGION_ERASE)
13601360   ROM_LOAD("317-5106-com.data", 0x00, 0x50, CRC(75c716aa) SHA1(5c2bcf3d28a80b336c6882d5aeb010d04327f8c1) )
r14797r14798
13651365   CHIHIRO_BIOS
13661366
13671367   DISK_REGION( "gdrom" )
1368   DISK_IMAGE_READONLY( "gdx-0016a", 0, SHA1(cb306df60550bbd8df312634cb97014bb39f1631) )
1368   DISK_IMAGE_READONLY( "gdx-0016a", 0, BAD_DUMP SHA1(cb306df60550bbd8df312634cb97014bb39f1631) )
13691369
13701370   ROM_REGION( 0x50, "pic", ROMREGION_ERASE)
13711371   ROM_LOAD("317-5106-com.data", 0x00, 0x50, CRC(75c716aa) SHA1(5c2bcf3d28a80b336c6882d5aeb010d04327f8c1) )
r14797r14798
13761376   CHIHIRO_BIOS
13771377
13781378   DISK_REGION( "gdrom" )
1379   DISK_IMAGE_READONLY( "gdx-0017d", 0, SHA1(cfbbd452c8f4efe0e99f398f5521fc3574b913bb) )
1379   DISK_IMAGE_READONLY( "gdx-0017d", 0, BAD_DUMP SHA1(cfbbd452c8f4efe0e99f398f5521fc3574b913bb) )
13801380
13811381   ROM_REGION( 0x50, "pic", ROMREGION_ERASE) // key was missing
13821382   ROM_LOAD("gdx-0017d.pic_data", 0x00, 0x50, NO_DUMP )
r14797r14798
13861386   CHIHIRO_BIOS
13871387
13881388   DISK_REGION( "gdrom" )
1389   DISK_IMAGE_READONLY( "gdx-0018a", 0, SHA1(e6f3dc8066392854ad7d83f81d3cbc81a5e340b3) )
1389   DISK_IMAGE_READONLY( "gdx-0018a", 0, BAD_DUMP SHA1(e6f3dc8066392854ad7d83f81d3cbc81a5e340b3) )
13901390
13911391   ROM_REGION( 0x50, "pic", ROMREGION_ERASE)
13921392   ROM_LOAD("gdx-0018.data", 0x00, 0x50, CRC(1a210abd) SHA1(43a54d028315d2dfa9f8ea6fb59265e0b980b02f) )
r14797r14798
13961396   CHIHIRO_BIOS
13971397
13981398   DISK_REGION( "gdrom" )
1399   DISK_IMAGE_READONLY( "gdx-0014a", 0, SHA1(4f9656634c47631f63eab554a13d19b15558217e) )
1399   DISK_IMAGE_READONLY( "gdx-0014a", 0, BAD_DUMP SHA1(4f9656634c47631f63eab554a13d19b15558217e) )
14001400
14011401   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)   // number was not readable on pic, please fix if known
14021402   ROM_LOAD( "317-0xxx-com.pic", 0x000000, 0x004000, CRC(f94cf26f) SHA1(dd4af2b52935c7b2d8cd196ec1a30c0ef0993322) )
r14797r14798
14061406   CHIHIRO_BIOS
14071407
14081408   DISK_REGION( "gdrom" )
1409   DISK_IMAGE_READONLY( "gdx-0002b", 0, SHA1(4056ebd5587d6c897f475240bc5a4075a995aa8c) )
1409   DISK_IMAGE_READONLY( "gdx-0002b", 0, BAD_DUMP SHA1(4056ebd5587d6c897f475240bc5a4075a995aa8c) )
14101410
14111411   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
14121412   ROM_LOAD( "317-0353-com.pic", 0x000000, 0x004000, CRC(1c6830b1) SHA1(75be47441783c18ee296209a34c432864deed70d) )
src/mame/drivers/naomi.c
r14797r14798
59035903   ROM_LOAD("gundmgd-default-eeprom.bin", 0, 0x80, CRC(dc80fa1e) SHA1(5a412576b9fd4899ab0c11f93257600a5eb8b994))
59045904
59055905   DISK_REGION( "gdrom" )
5906   DISK_IMAGE_READONLY( "gdl-0001", 0, SHA1(615e19c22f32096f3aad557019a14313b60a4070) )
5906   DISK_IMAGE_READONLY( "gdl-0001", 0, BAD_DUMP SHA1(615e19c22f32096f3aad557019a14313b60a4070) )
59075907
59085908   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
59095909   //PIC16C622A (317-5069-COM)
r14797r14798
59215921   ROM_LOAD("sfz3ugd-default-eeprom.bin", 0, 0x80, CRC(699dd01b) SHA1(1a1e6fd1e47ed58a2afbf7f632fccf72a4708531))
59225922
59235923   DISK_REGION( "gdrom" )
5924   DISK_IMAGE_READONLY( "gdl-0002", 0, SHA1(af4669fdd7ce8e6ec4a170748d401e322a3d7ae8) )
5924   DISK_IMAGE_READONLY( "gdl-0002", 0, BAD_DUMP SHA1(af4669fdd7ce8e6ec4a170748d401e322a3d7ae8) )
59255925
59265926   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
59275927   //PIC16C622A (317-5072-COM)
r14797r14798
59355935   NAOMI_DEFAULT_EEPROM
59365936
59375937   DISK_REGION( "gdrom" )
5938   DISK_IMAGE_READONLY( "gdl-0004", 0, SHA1(7a7fba0fbbc769c5120b08e6d692f1ac63a42225) )
5938   DISK_IMAGE_READONLY( "gdl-0004", 0, BAD_DUMP SHA1(7a7fba0fbbc769c5120b08e6d692f1ac63a42225) )
59395939
59405940   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
59415941   //PIC16C622A (317-5076-JPN)
r14797r14798
59495949   NAOMI_DEFAULT_EEPROM
59505950
59515951   DISK_REGION( "gdrom" )
5952   DISK_IMAGE_READONLY( "gdl-0005", 0, SHA1(f5513c88528741798ee49f936b9b69480360f103) )
5952   DISK_IMAGE_READONLY( "gdl-0005", 0, BAD_DUMP SHA1(f5513c88528741798ee49f936b9b69480360f103) )
59535953
59545954   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
59555955    //PIC16C621A-20 (317-5077-JPN)
r14797r14798
59665966   ROM_LOAD("gundmxgd-default-eeprom.bin", 0, 0x80, CRC(dc0e8d45) SHA1(4088d25fdf7399552882b9656b66dff2345c376e))
59675967
59685968   DISK_REGION( "gdrom" )
5969   DISK_IMAGE_READONLY( "gdl-0006", 0, SHA1(b28d6598711b5a9c744bbf07ad03fc60962d2e28) )
5969   DISK_IMAGE_READONLY( "gdl-0006", 0, BAD_DUMP SHA1(b28d6598711b5a9c744bbf07ad03fc60962d2e28) )
59705970
59715971   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
59725972   //PIC16C622A (317-5079-COM)
r14797r14798
59805980   NAOMI_DEFAULT_EEPROM
59815981
59825982   DISK_REGION( "gdrom" )
5983   DISK_IMAGE_READONLY( "gdl-0007a", 0, SHA1(56510390667b39b3915d8bc078660cbe093cf566) )
5983   DISK_IMAGE_READONLY( "gdl-0007a", 0, BAD_DUMP SHA1(56510390667b39b3915d8bc078660cbe093cf566) )
59845984
59855985   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
59865986   //PIC16C622A (317-5078-COM)
r14797r14798
59945994   NAOMI_DEFAULT_EEPROM
59955995
59965996   DISK_REGION( "gdrom" )
5997   DISK_IMAGE_READONLY( "gdl-0010", 0, SHA1(65dcc22dd9e9b70975096464ad8e31a4a73dc5fd) )
5997   DISK_IMAGE_READONLY( "gdl-0010", 0, BAD_DUMP SHA1(65dcc22dd9e9b70975096464ad8e31a4a73dc5fd) )
59985998
59995999   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
60006000   //PIC16C622A (317-5081-JPN)
r14797r14798
60086008   NAOMI_DEFAULT_EEPROM
60096009
60106010   DISK_REGION( "gdrom" )
6011   DISK_IMAGE_READONLY( "gdl-0011", 0, SHA1(b7328eb2c588d55284bdcea0fe89bb8e629a8669) )
6011   DISK_IMAGE_READONLY( "gdl-0011", 0, BAD_DUMP SHA1(b7328eb2c588d55284bdcea0fe89bb8e629a8669) )
60126012
60136013   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
60146014   //PIC16C622A (317-5082-COM)
r14797r14798
60226022   NAOMI_DEFAULT_EEPROM
60236023
60246024   DISK_REGION( "gdrom" )
6025   DISK_IMAGE_READONLY( "gdl-0012", 0, SHA1(aae4c1321fdee37d5405c6cbe648e0596624ed13) )
6025   DISK_IMAGE_READONLY( "gdl-0012", 0, BAD_DUMP SHA1(aae4c1321fdee37d5405c6cbe648e0596624ed13) )
60266026
60276027   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
60286028   //PIC16C622A (317-5083-COM)
r14797r14798
60396039   ROM_LOAD("moeru-default-eeprom.bin", 0, 0x80, CRC(50ca079f) SHA1(788a399017b94d9d1a981ea703af0d4a178dadb6))
60406040
60416041   DISK_REGION( "gdrom" )
6042   DISK_IMAGE_READONLY( "gdl-0013", 0, SHA1(c8869069c28bc8eec96d820886bc388d69d46143) )
6042   DISK_IMAGE_READONLY( "gdl-0013", 0, BAD_DUMP SHA1(c8869069c28bc8eec96d820886bc388d69d46143) )
60436043
60446044   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
60456045   //PIC16C622A (317-5084-JPN)
r14797r14798
60536053   NAOMI_DEFAULT_EEPROM
60546054
60556055   DISK_REGION( "gdrom" )
6056   DISK_IMAGE_READONLY( "gdl-0014a", 0, SHA1(f88d8203c8692f51c9492d5549a3ad7d9583dc6f) )
6056   DISK_IMAGE_READONLY( "gdl-0014a", 0, BAD_DUMP SHA1(f88d8203c8692f51c9492d5549a3ad7d9583dc6f) )
60576057
60586058   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
60596059   //PIC16C622A (317-5085-JPN)
r14797r14798
60706070   ROM_LOAD("quizqgd-default-eeprom.bin", 0, 0x80, CRC(46c10aa3) SHA1(0a082243399a45c1c9d757f59ed660b3b7a9730d))
60716071
60726072   DISK_REGION( "gdrom" )
6073   DISK_IMAGE_READONLY( "gdl-0017", 0, SHA1(94a9319633388968611892e36691b45c94b4f83f) )
6073   DISK_IMAGE_READONLY( "gdl-0017", 0, BAD_DUMP SHA1(94a9319633388968611892e36691b45c94b4f83f) )
60746074
60756075   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
60766076   //PIC16C622A (317-5090-JPN)
r14797r14798
60836083   NAOMI_DEFAULT_EEPROM
60846084
60856085   DISK_REGION( "gdrom" )
6086   DISK_IMAGE_READONLY( "gdl-0018", 0, SHA1(3e40ca7d43173fe7048d199fdc127b9411e10360) )
6086   DISK_IMAGE_READONLY( "gdl-0018", 0, BAD_DUMP SHA1(3e40ca7d43173fe7048d199fdc127b9411e10360) )
60876087
60886088   ROM_REGION( 0x50, "pic", ROMREGION_ERASE)
60896089   //PIC16C622A (317-5091-JPN)
r14797r14798
60966096   NAOMI_DEFAULT_EEPROM
60976097
60986098   DISK_REGION( "gdrom" )
6099   DISK_IMAGE_READONLY( "gdl-0019a", 0, SHA1(d44906505ff698eda6feee6c2b9402e19f64e5d3) )
6099   DISK_IMAGE_READONLY( "gdl-0019a", 0, BAD_DUMP SHA1(d44906505ff698eda6feee6c2b9402e19f64e5d3) )
61006100
61016101   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
61026102   //PIC16C622A (317-5092-JPN)
r14797r14798
61136113   ROM_LOAD("tetkiwam-default-eeprom.bin", 0, 0x80, CRC(843f2a99) SHA1(6615f5f27e76a71f7415f972bbcdf6570b0e953a))
61146114
61156115   DISK_REGION( "gdrom" )
6116   DISK_IMAGE_READONLY( "gdl-0020", 0, SHA1(7b2ef47ca2038d6a93615b760b03e8f7cb1b83c2) )
6116   DISK_IMAGE_READONLY( "gdl-0020", 0, BAD_DUMP SHA1(7b2ef47ca2038d6a93615b760b03e8f7cb1b83c2) )
61176117
61186118   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
61196119   //PIC16C622A (317-5093-JPN)
r14797r14798
61306130   ROM_LOAD("shikgam2-default-eeprom.bin", 0, 0x80, CRC(5fb60e27) SHA1(a64242083a718f0a4b1d2e4707f5eb7480265719))
61316131
61326132   DISK_REGION( "gdrom" )
6133   DISK_IMAGE_READONLY( "gdl-0021", 0, SHA1(f5036711a28a211e8d71400a8322db3172c5733f) )
6133   DISK_IMAGE_READONLY( "gdl-0021", 0, BAD_DUMP SHA1(f5036711a28a211e8d71400a8322db3172c5733f) )
61346134
61356135   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
61366136   //PIC16C622A (317-5095-JPN)
r14797r14798
61476147   ROM_LOAD("usagiym-default-eeprom.bin", 0, 0x80, CRC(1fbdf0ca) SHA1(5854c693b7d6451cefeb737109aeaf64751fc4f7))
61486148
61496149   DISK_REGION( "gdrom" )
6150   DISK_IMAGE_READONLY( "gdl-0022", 0, SHA1(45deba05a12abbf6390c0fc0e4cdeaedfa7d2ca5) )
6150   DISK_IMAGE_READONLY( "gdl-0022", 0, BAD_DUMP SHA1(45deba05a12abbf6390c0fc0e4cdeaedfa7d2ca5) )
61516151
61526152   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
61536153   //PIC16C622A (317-5096-JPN)
r14797r14798
61646164   ROM_LOAD("bdrdown-default-eeprom.bin", 0, 0x80, CRC(5b19727c) SHA1(1dd9c721d58e4542d04afe17baa77980d0ed8b6a))
61656165
61666166   DISK_REGION( "gdrom" )
6167   DISK_IMAGE_READONLY( "gdl-0023a", 0, SHA1(caac915104d61f2122f5afe27da1ef5fa9cf9f9a) )
6167   DISK_IMAGE_READONLY( "gdl-0023a", 0, BAD_DUMP SHA1(caac915104d61f2122f5afe27da1ef5fa9cf9f9a) )
61686168
61696169   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
61706170   //PIC16C622A (317-5097-JPN)
r14797r14798
61826182   ROM_LOAD("psyvar2-default-eeprom.bin", 0, 0x80, CRC(9d8661f3) SHA1(c696277a7b488bee6ddb33a1d5345a85c1567cbe))
61836183
61846184   DISK_REGION( "gdrom" )
6185   DISK_IMAGE_READONLY( "gdl-0024", 0,  SHA1(d346762036fb1c40a261a434b50e63459f306f14) )
6185   DISK_IMAGE_READONLY( "gdl-0024", 0,  BAD_DUMP SHA1(d346762036fb1c40a261a434b50e63459f306f14) )
61866186
61876187   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
61886188   //PIC16C621A (317-5100-JPN)
r14797r14798
61996199   ROM_LOAD("cfield-default-eeprom.bin", 0, 0x80, CRC(a7acb6bf) SHA1(5aae6366bfb3ee3120da405abb93e2007cd94683))
62006200
62016201   DISK_REGION( "gdrom" )
6202   DISK_IMAGE_READONLY( "gdl-0025", 0, SHA1(be0d88eb4f48403a2ceaa7ef588ed60b96ba93bf) )
6202   DISK_IMAGE_READONLY( "gdl-0025", 0, BAD_DUMP SHA1(be0d88eb4f48403a2ceaa7ef588ed60b96ba93bf) )
62036203
62046204   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
62056205   //PIC16C621A (317-5102-COM)
r14797r14798
62166216   ROM_LOAD("trizeal-default-eeprom.bin", 0, 0x80, CRC(ac0847ce) SHA1(ec12a6bbf074bf3bfe2e9bfe2855b7bd7e699f3c))
62176217
62186218   DISK_REGION( "gdrom" )
6219   DISK_IMAGE_READONLY( "gdl-0026", 0, SHA1(e4c1e51292a7923b25bfc61d38fe386bf596002a) )
6219   DISK_IMAGE_READONLY( "gdl-0026", 0, BAD_DUMP SHA1(e4c1e51292a7923b25bfc61d38fe386bf596002a) )
62206220
62216221   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
62226222   //PIC16C621A (317-5103-JPN)
r14797r14798
62306230   NAOMI_DEFAULT_EEPROM
62316231
62326232   DISK_REGION( "gdrom" )
6233   DISK_IMAGE_READONLY( "gdl-0028c", 0, SHA1(66de09738551e351784cc9695a58b35fdf6b6c4b) )
6233   DISK_IMAGE_READONLY( "gdl-0028c", 0, BAD_DUMP SHA1(66de09738551e351784cc9695a58b35fdf6b6c4b) )
62346234
62356235   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
62366236   //PIC16C622A (317-5104-JPN)
r14797r14798
62476247   ROM_LOAD("senko-default-eeprom.bin", 0, 0x80, CRC(b3d3be09) SHA1(55af4f6e35f82f683682bf731d3070bc275d6e57))
62486248
62496249   DISK_REGION( "gdrom" )
6250   DISK_IMAGE_READONLY( "gdl-0030a", 0, SHA1(1f7ade47e37a0026451b5baf3ba746400de8d156) )
6250   DISK_IMAGE_READONLY( "gdl-0030a", 0, BAD_DUMP SHA1(1f7ade47e37a0026451b5baf3ba746400de8d156) )
62516251
62526252   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
62536253   //PIC16C622A (317-5107-JPN)
r14797r14798
62636263   ROM_LOAD("senkoo-default-eeprom.bin", 0, 0x80, CRC(a2203a7f) SHA1(2a3a52667b9c8e0c9b4e4003b7c6965cd4de11f3))
62646264
62656265   DISK_REGION( "gdrom" )
6266   DISK_IMAGE_READONLY( "gdl-0030", 0, SHA1(c7f25c05f47a490c5da9369c588b6136e93c280e) )
6266   DISK_IMAGE_READONLY( "gdl-0030", 0, BAD_DUMP SHA1(c7f25c05f47a490c5da9369c588b6136e93c280e) )
62676267
62686268   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
62696269   //PIC16C622A (317-5107-JPN)
r14797r14798
62806280   ROM_LOAD("ss2005-default-eeprom.bin", 0, 0x80, CRC(26bd9003) SHA1(f35551c96c49eef5473ff50a94b82ef5110b0f10))
62816281
62826282   DISK_REGION( "gdrom" )
6283   DISK_IMAGE_READONLY( "gdl-0031", 0, SHA1(83697f45f0ffbb964f0504b19171c554499cd709) )
6283   DISK_IMAGE_READONLY( "gdl-0031", 0, BAD_DUMP SHA1(83697f45f0ffbb964f0504b19171c554499cd709) )
62846284
62856285   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
62866286   //PIC16C622A (317-5108-JPN)
r14797r14798
62946294   NAOMI_DEFAULT_EEPROM
62956295
62966296   DISK_REGION( "gdrom" )
6297   DISK_IMAGE_READONLY( "gdl-0031a", 0, SHA1(6091525845fc2042ed43cae5a1b60c603e16cf97) )
6297   DISK_IMAGE_READONLY( "gdl-0031a", 0,BAD_DUMP SHA1(6091525845fc2042ed43cae5a1b60c603e16cf97) )
62986298
62996299   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
63006300   //PIC16C622A (317-5108-JPN)
r14797r14798
63116311   ROM_LOAD("radirgy-default-eeprom.bin", 0, 0x80, CRC(8d60a282) SHA1(6d81dec88a1ade45e1edf2bdb3683c6cd0651eeb))
63126312
63136313   DISK_REGION( "gdrom" )
6314   DISK_IMAGE_READONLY( "gdl-0032", 0, SHA1(ebd7a40e59082e660ebf9a2d4ae7cb64371dae8d) )
6314   DISK_IMAGE_READONLY( "gdl-0032", 0, BAD_DUMP SHA1(ebd7a40e59082e660ebf9a2d4ae7cb64371dae8d) )
63156315
63166316   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
63176317   //PIC16C621A (317-5110-JPN)
r14797r14798
63256325   NAOMI_DEFAULT_EEPROM
63266326
63276327   DISK_REGION( "gdrom" )
6328   DISK_IMAGE_READONLY( "gdl-0033a", 0, SHA1(29de69ae97a9099b1bbe936dfa965bb4a3195f68) )
6328   DISK_IMAGE_READONLY( "gdl-0033a", 0, BAD_DUMP SHA1(29de69ae97a9099b1bbe936dfa965bb4a3195f68) )
63296329
63306330   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
63316331   //PIC16C621A (317-5111-JPN)
r14797r14798
63396339   NAOMI_DEFAULT_EEPROM
63406340
63416341   DISK_REGION( "gdrom" )
6342   DISK_IMAGE_READONLY( "gdl-0034", 0, SHA1(10fd7edb0b620133c003d686e5af2ed27004fa09) )
6342   DISK_IMAGE_READONLY( "gdl-0034", 0, BAD_DUMP SHA1(10fd7edb0b620133c003d686e5af2ed27004fa09) )
63436343
63446344   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
63456345   //PIC16C621A (317-5115-JPN)
r14797r14798
63736373   ROM_LOAD("trgheart-default-eeprom.bin", 0, 0x80, CRC(7faff313) SHA1(1bc25e4595ef050e82eb820842ba6ccd63b6703e))
63746374
63756375   DISK_REGION( "gdrom" )
6376   DISK_IMAGE_READONLY( "gdl-0036a", 0, SHA1(91f1e19136997cb1e2edfb1ad342b9427d1d3bfb) )
6376   DISK_IMAGE_READONLY( "gdl-0036a", 0, BAD_DUMP SHA1(91f1e19136997cb1e2edfb1ad342b9427d1d3bfb) )
63776377
63786378   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
63796379   //PIC16C622A (317-5121-JPN)
r14797r14798
64016401   NAOMI_DEFAULT_EEPROM
64026402
64036403   DISK_REGION( "gdrom" )
6404   DISK_IMAGE_READONLY( "gdl-0038", 0, SHA1(430572f7e76c4fe009e2de91bf891d85613366b7) )
6404   DISK_IMAGE_READONLY( "gdl-0038", 0, BAD_DUMP SHA1(430572f7e76c4fe009e2de91bf891d85613366b7) )
64056405
64066406   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
64076407   //PIC16C622A (317-5123-COM)
r14797r14798
64156415   NAOMI_DEFAULT_EEPROM
64166416
64176417   DISK_REGION( "gdrom" )
6418   DISK_IMAGE_READONLY( "gdl-0039", 0, SHA1(ffc7f6e113ad69422a4f22f318bdf9b1dc5c25db) )
6418   DISK_IMAGE_READONLY( "gdl-0039", 0, BAD_DUMP SHA1(ffc7f6e113ad69422a4f22f318bdf9b1dc5c25db) )
64196419
64206420   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
64216421   //PIC16C622A (317-5124-JPN)
r14797r14798
64286428   NAOMI_DEFAULT_EEPROM
64296429
64306430   DISK_REGION( "gdrom" )
6431   DISK_IMAGE_READONLY( "gdl-0039a", 0, SHA1(e6aa3d65b43a20606e6754bcb8665438770a1f8c) )
6431   DISK_IMAGE_READONLY( "gdl-0039a", 0, BAD_DUMP SHA1(e6aa3d65b43a20606e6754bcb8665438770a1f8c) )
64326432
64336433   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
64346434   //PIC16C622A (317-5124-JPN)
r14797r14798
64456445   ROM_LOAD("karous-default-eeprom.bin", 0, 0x80, CRC(b017451c) SHA1(a16d8e2cde8ebe0e2dd6d0b5c027bcdff56a809b))
64466446
64476447   DISK_REGION( "gdrom" )
6448   DISK_IMAGE_READONLY( "gdl-0040", 0, SHA1(a62c8d4b6c5be44a4aeeea1a1a94f3d0fe542593) )
6448   DISK_IMAGE_READONLY( "gdl-0040", 0, BAD_DUMP SHA1(a62c8d4b6c5be44a4aeeea1a1a94f3d0fe542593) )
64496449
64506450   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
64516451   //PIC16C621A (317-5125-COM)
r14797r14798
64806480   NAOMI_DEFAULT_EEPROM
64816481
64826482   DISK_REGION( "gdrom" )
6483   DISK_IMAGE_READONLY( "gdl-0041", 0, SHA1(3a589e1c79ead971c821a7566032b0187e339684) )
6483   DISK_IMAGE_READONLY( "gdl-0041", 0, BAD_DUMP SHA1(3a589e1c79ead971c821a7566032b0187e339684) )
64846484
64856485   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
64866486   //PIC16C621A (317-5126-JPN)
r14797r14798
64946494   NAOMI_DEFAULT_EEPROM
64956495
64966496   DISK_REGION( "gdrom" )
6497   DISK_IMAGE_READONLY( "gdl-0042", 0, SHA1(984a4fa012d83dd8c748304958c847c9867f4125) )
6497   DISK_IMAGE_READONLY( "gdl-0042", 0, BAD_DUMP SHA1(984a4fa012d83dd8c748304958c847c9867f4125) )
64986498
64996499   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
65006500   //PIC16C621A (317-5127-JPN)
r14797r14798
65316531   NAOMI_DEFAULT_EEPROM
65326532
65336533   DISK_REGION( "gdrom" )
6534   DISK_IMAGE_READONLY( "gds-0001", 0, SHA1(bd05f197ba8643577883dd25d9d5a74c91b27ca9) )
6534   DISK_IMAGE_READONLY( "gds-0001", 0, BAD_DUMP SHA1(bd05f197ba8643577883dd25d9d5a74c91b27ca9) )
65356535
65366536   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
65376537   ROM_LOAD("317-0298-com.pic", 0x00, 0x4000, CRC(15971bf6) SHA1(815152ab05edb1789a26898cfd66b5a7c4a1f765) )
r14797r14798
65606560   NAOMI_DEFAULT_EEPROM
65616561
65626562   DISK_REGION( "gdrom" )
6563   DISK_IMAGE_READONLY( "gds-0016", 0, SHA1(59bac62db4a536c63fec3464c665e00633fcf1a3) )
6563   DISK_IMAGE_READONLY( "gds-0016", 0, BAD_DUMP SHA1(59bac62db4a536c63fec3464c665e00633fcf1a3) )
65646564
65656565   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
65666566   ROM_LOAD( "317-0321-com.pic", 0x000000, 0x004000, CRC(81519e71) SHA1(a30d25f81c77384ed26faa67c942802f2f3d7817) )
r14797r14798
65716571   NAOMI_DEFAULT_EEPROM
65726572
65736573   DISK_REGION( "gdrom" )
6574   DISK_IMAGE_READONLY( "gds-0003", 0, SHA1(caaba214c1faca78b3370bcd4190eb2853d7f825) )
6574   DISK_IMAGE_READONLY( "gds-0003", 0, BAD_DUMP SHA1(caaba214c1faca78b3370bcd4190eb2853d7f825) )
65756575
65766576   //PIC16C622A (317-0300-COM)
65776577   //(sticker 253-5508-0300)
r14797r14798
65876587   NAOMI_DEFAULT_EEPROM
65886588
65896589   DISK_REGION( "gdrom" )
6590   DISK_IMAGE_READONLY( "gds-0004", 0, SHA1(3cce788393ed194ba9b603f9896ff893691d6b00) )
6590   DISK_IMAGE_READONLY( "gds-0004", 0, BAD_DUMP SHA1(3cce788393ed194ba9b603f9896ff893691d6b00) )
65916591
65926592   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
65936593   //PIC16C622A (317-0302-COM)
r14797r14798
66016601   NAOMI_DEFAULT_EEPROM
66026602
66036603   DISK_REGION( "gdrom" )
6604   DISK_IMAGE_READONLY( "gds-0005", 0, SHA1(d1c3fb2350e4a89372373e7f629c42b741af29b3) )
6604   DISK_IMAGE_READONLY( "gds-0005", 0, BAD_DUMP SHA1(d1c3fb2350e4a89372373e7f629c42b741af29b3) )
66056605
66066606   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
66076607   //PIC16C622A (317-0303-COM)
r14797r14798
66366636   NAOMI_DEFAULT_EEPROM
66376637
66386638   DISK_REGION( "gdrom" )
6639   DISK_IMAGE_READONLY( "gds-0008", 0, SHA1(2fadcd141bdbde77b2b335b270959a516af44d99) )
6639   DISK_IMAGE_READONLY( "gds-0008", 0, BAD_DUMP SHA1(2fadcd141bdbde77b2b335b270959a516af44d99) )
66406640
66416641   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
66426642   ROM_LOAD("317-0307-com.pic", 0x00, 0x4000, CRC(4046de19) SHA1(8adda9f223e926148b36744bbbaa89557544a229) )
r14797r14798
66796679   ROM_LOAD("epr-22084.ic3", 0x0000, 0x10000, CRC(18cf58bb) SHA1(1494f8215231929e41bbe2a133658d01882fbb0f) )
66806680
66816681   DISK_REGION( "gdrom" )
6682   DISK_IMAGE_READONLY( "gds-0009a", 0, SHA1(d502155ddaf881c2c9505528004b9904aa32a59c) )
6682   DISK_IMAGE_READONLY( "gds-0009a", 0, BAD_DUMP SHA1(d502155ddaf881c2c9505528004b9904aa32a59c) )
66836683
66846684   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
66856685   //PIC16C622A (317-0308-COM)
r14797r14798
66936693   NAOMI_DEFAULT_EEPROM
66946694
66956695   DISK_REGION( "gdrom" )
6696   DISK_IMAGE_READONLY( "gds-0010", 0,  SHA1(c3135ede3a8bdadab91aed49abacbfbde8037069) )
6696   DISK_IMAGE_READONLY( "gds-0010", 0,  BAD_DUMP SHA1(c3135ede3a8bdadab91aed49abacbfbde8037069) )
66976697
66986698   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
66996699   //PIC16C622A (317-0309-COM)
r14797r14798
67076707   NAOMI_DEFAULT_EEPROM
67086708
67096709   DISK_REGION( "gdrom" )
6710   DISK_IMAGE_READONLY( "gds-0011", 0,  SHA1(b778403d73c8cdd13383691c9be2094ddfc1ba84) )
6710   DISK_IMAGE_READONLY( "gds-0011", 0,  BAD_DUMP SHA1(b778403d73c8cdd13383691c9be2094ddfc1ba84) )
67116711
67126712   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
67136713   //PIC16C621A (317-0312-COM)
r14797r14798
67236723   ROM_LOAD("keyboard-default-eeprom.bin", 0, 0x80, CRC(9262fc90) SHA1(6080c029967932cace361d673bf04c805276a7de))
67246724
67256725   DISK_REGION( "gdrom" )
6726   DISK_IMAGE_READONLY( "gds-0017", 0, SHA1(fb86eff3ef38de7fd78cfde897d5332d2092c172) )
6726   DISK_IMAGE_READONLY( "gds-0017", 0, BAD_DUMP SHA1(fb86eff3ef38de7fd78cfde897d5332d2092c172) )
67276727
67286728   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
67296729   ROM_LOAD("317-0323-com.pic", 0x00, 0x4000, CRC(c8854ef2) SHA1(b43b956df142fe4167dcc2ec805921e25bba180f) )
r14797r14798
67366736   NAOMI_DEFAULT_EEPROM
67376737
67386738   DISK_REGION( "gdrom" )
6739   DISK_IMAGE_READONLY( "gds-0019", 0, SHA1(955d3c0cb991be3057138c562cff69c5ef887787) )
6739   DISK_IMAGE_READONLY( "gds-0019", 0, BAD_DUMP SHA1(955d3c0cb991be3057138c562cff69c5ef887787) )
67406740
67416741   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
67426742   //PIC16C622A (317-0330-COM)
r14797r14798
67736773   NAOMI_DEFAULT_EEPROM
67746774
67756775   DISK_REGION( "gdrom" )
6776   DISK_IMAGE_READONLY( "gds-0015a", 0, SHA1(c6e9c9901bd4f075454b7f18baf08df81bc2f1ad) )
6776   DISK_IMAGE_READONLY( "gds-0015a", 0, BAD_DUMP SHA1(c6e9c9901bd4f075454b7f18baf08df81bc2f1ad) )
67776777
67786778   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
67796779   ROM_LOAD("317-0318-exp.pic", 0x00, 0x4000, CRC(83de4047) SHA1(1808ac0d8353b92296de37f98b490a42a0e141cf) )
r14797r14798
67866786   NAOMI_DEFAULT_EEPROM
67876787
67886788   DISK_REGION( "gdrom" )
6789   DISK_IMAGE_READONLY( "gds-0018", 0, SHA1(0633a99a666f363ab30450a76b9753685d6b1f57) )
6789   DISK_IMAGE_READONLY( "gds-0018", 0, BAD_DUMP SHA1(0633a99a666f363ab30450a76b9753685d6b1f57) )
67906790
67916791   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
67926792   ROM_LOAD("317-0332-j.pic", 0x00, 0x4000, CRC(f71cb2fc) SHA1(281b3b3b03edf9a39e380976de528b7c9674de53) )
r14797r14798
67986798   NAOMI_DEFAULT_EEPROM
67996799
68006800   DISK_REGION( "gdrom" )
6801   DISK_IMAGE_READONLY( "gds-0021a", 0, SHA1(15c6f9434494a31693cbb8e33da36e0e8a8f7c62) )
6801   DISK_IMAGE_READONLY( "gds-0021a", 0, BAD_DUMP SHA1(15c6f9434494a31693cbb8e33da36e0e8a8f7c62) )
68026802
68036803   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
68046804   //PIC16C622A (317-0332-JPN)
r14797r14798
68126812   NAOMI_DEFAULT_EEPROM
68136813
68146814   DISK_REGION( "gdrom" )
6815   DISK_IMAGE_READONLY( "gds-0026b", 0, SHA1(8ddc3ccd32ab3416fbe2921f6d6617d6c9f23203) )
6815   DISK_IMAGE_READONLY( "gds-0026b", 0, BAD_DUMP SHA1(8ddc3ccd32ab3416fbe2921f6d6617d6c9f23203) )
68166816
68176817   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
68186818   //PIC16C622A (317-0345-JPN)
r14797r14798
68256825   NAOMI_DEFAULT_EEPROM
68266826
68276827   DISK_REGION( "gdrom" )
6828   DISK_IMAGE_READONLY( "gds-0026", 0, SHA1(253acede106b7fbf49e24458e7fda868720e9549) )
6828   DISK_IMAGE_READONLY( "gds-0026", 0, BAD_DUMP SHA1(253acede106b7fbf49e24458e7fda868720e9549) )
68296829
68306830   ROM_REGION( 0x50, "pic", ROMREGION_ERASE)
68316831   ROM_LOAD("gds-0026.rom", 0x00, 0x50, NO_DUMP) // file on GD-ROM is BFK.BIN , _NOT_ BEM.BIN which is for Initial D : Arcade Stage (Japan)
r14797r14798
68376837   NAOMI_DEFAULT_EEPROM
68386838
68396839   DISK_REGION( "gdrom" )
6840   DISK_IMAGE_READONLY( "gds-0027", 0, SHA1(44746f0ceb1a3bbcd1db11a35c78c93a030f02de) )
6840   DISK_IMAGE_READONLY( "gds-0027", 0, BAD_DUMP SHA1(44746f0ceb1a3bbcd1db11a35c78c93a030f02de) )
68416841
68426842   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
68436843   //PIC16C622A (317-0357-EXP)
r14797r14798
68496849   NAOMI_DEFAULT_EEPROM
68506850
68516851   DISK_REGION( "gdrom" )
6852   DISK_IMAGE_READONLY( "gds-0032c", 0, SHA1(005b93f9785c76a778f90f04d74d4b3cc1785a01) )
6852   DISK_IMAGE_READONLY( "gds-0032c", 0, BAD_DUMP SHA1(005b93f9785c76a778f90f04d74d4b3cc1785a01) )
68536853
68546854   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
68556855   //PIC16C622A (317-????-JPN)
r14797r14798
68616861   NAOMI_DEFAULT_EEPROM
68626862
68636863   DISK_REGION( "gdrom" )
6864   DISK_IMAGE_READONLY( "gds-0032b", 0, SHA1(568411aa72ca308a03a6b5b61c79833464b88bc6) )
6864   DISK_IMAGE_READONLY( "gds-0032b", 0, BAD_DUMP SHA1(568411aa72ca308a03a6b5b61c79833464b88bc6) )
68656865
68666866   ROM_REGION( 0x50, "pic", ROMREGION_ERASE)
68676867   ROM_LOAD("gds-0032_pic", 0x00, 0x50, NO_DUMP ) // PIC was missing
r14797r14798
68726872   NAOMI_DEFAULT_EEPROM
68736873
68746874   DISK_REGION( "gdrom" )
6875   DISK_IMAGE_READONLY( "gds-0033", 0, SHA1(8908238a0211c6343ce6f3f27729e33c4e276d35) )
6875   DISK_IMAGE_READONLY( "gds-0033", 0, BAD_DUMP SHA1(8908238a0211c6343ce6f3f27729e33c4e276d35) )
68766876
68776877   ROM_REGION( 0x4300, "pic", ROMREGION_ERASEFF)
68786878   //PIC16C622A (317-0384-COM)
r14797r14798
69066906   NAOMI_DEFAULT_EEPROM
69076907
69086908   DISK_REGION( "gdrom" )
6909   DISK_IMAGE_READONLY( "gds-0022", 0, SHA1(70b41745225006e7876176cbd239edecd4c3f8b6) )
6909   DISK_IMAGE_READONLY( "gds-0022", 0, BAD_DUMP SHA1(70b41745225006e7876176cbd239edecd4c3f8b6) )
69106910
69116911   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
69126912   ROM_LOAD("317-0333-com.pic", 0x00, 0x4000, CRC(15fb7792) SHA1(03932ba9b1738d5ab75b2a465cc3254e75f59f63) )
r14797r14798
69196919   NAOMI_DEFAULT_EEPROM
69206920
69216921   DISK_REGION( "gdrom" )
6922   DISK_IMAGE_READONLY( "gds-0023a", 0, SHA1(cd9d808b59eb8f40673ec4353d476f2b9c7f783c) )
6922   DISK_IMAGE_READONLY( "gds-0023a", 0, BAD_DUMP SHA1(cd9d808b59eb8f40673ec4353d476f2b9c7f783c) )
69236923
69246924   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF) // uses the vf4 pic
69256925   //PIC16C622A (317-0314-COM)
r14797r14798
69336933   NAOMI_DEFAULT_EEPROM
69346934
69356935   DISK_REGION( "gdrom" )
6936   DISK_IMAGE_READONLY( "gds-0023c", 0, SHA1(1fcb5530748886f4c4f45487d047859182ff7496))
6936   DISK_IMAGE_READONLY( "gds-0023c", 0, BAD_DUMP SHA1(1fcb5530748886f4c4f45487d047859182ff7496))
69376937
69386938   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF) // uses the vf4 evolution pic
69396939   //PIC16C622A (317-0338-JPN)
r14797r14798
69506950   ROM_LOAD("puyofev-default-eeprom.bin", 0, 0x80, CRC(42e5fd40) SHA1(e805bca22ae192e26965ba00534e6b87a3df238f))
69516951
69526952   DISK_REGION( "gdrom" )
6953   DISK_IMAGE_READONLY( "gds-0031", 0, SHA1(da2d421da9472b149619b6931bb2fe624be75fa2) )
6953   DISK_IMAGE_READONLY( "gds-0031", 0, BAD_DUMP SHA1(da2d421da9472b149619b6931bb2fe624be75fa2) )
69546954
69556955   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
69566956   //PIC16C621A (317-0375-COM)
r14797r14798
71687168   NAOMI_DEFAULT_EEPROM
71697169
71707170   DISK_REGION( "gdrom" )
7171   DISK_IMAGE_READONLY( "gds-0006", 0, SHA1(aca09a88506f5e462ad3fb33eac5478a2a010609) )
7171   DISK_IMAGE_READONLY( "gds-0006", 0, BAD_DUMP SHA1(aca09a88506f5e462ad3fb33eac5478a2a010609) )
71727172
71737173   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
71747174   //PIC16C622A (317-0304-COM)
r14797r14798
71817181   NAOMI_DEFAULT_EEPROM
71827182
71837183   DISK_REGION( "gdrom" )
7184   DISK_IMAGE_READONLY( "gds-0012", 0, SHA1(c34588f59c6091cd1c3ef235171dad8d5247e707) )
7184   DISK_IMAGE_READONLY( "gds-0012", 0, BAD_DUMP SHA1(c34588f59c6091cd1c3ef235171dad8d5247e707) )
71857185
71867186   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
71877187   //PIC16C622A (317-0314-COM)
r14797r14798
71957195   NAOMI_DEFAULT_EEPROM
71967196
71977197   DISK_REGION( "gdrom" )
7198   DISK_IMAGE_READONLY( "gds-0012b", 0, SHA1(9b8e05c3d28a09323b13c198dfcc2b771bba67cd) )
7198   DISK_IMAGE_READONLY( "gds-0012b", 0, BAD_DUMP SHA1(9b8e05c3d28a09323b13c198dfcc2b771bba67cd) )
71997199
72007200   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
72017201   //PIC16C622A (317-0314-COM)
r14797r14798
72097209   NAOMI_DEFAULT_EEPROM
72107210
72117211   DISK_REGION( "gdrom" )
7212   DISK_IMAGE_READONLY( "gds-0012c", 0, SHA1(0ec149d7edfb326777cdc45a2ac8ad578a32aba1) )
7212   DISK_IMAGE_READONLY( "gds-0012c", 0, BAD_DUMP SHA1(0ec149d7edfb326777cdc45a2ac8ad578a32aba1) )
72137213
72147214   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
72157215   //PIC16C622A (317-0314-COM)
r14797r14798
72247224   NAOMI_DEFAULT_EEPROM
72257225
72267226   DISK_REGION( "gdrom" )
7227   DISK_IMAGE_READONLY( "gds-0024b", 0, SHA1(a829169542f3bed76095ad6bfbbde7d494d04d72) )
7227   DISK_IMAGE_READONLY( "gds-0024b", 0, BAD_DUMP SHA1(a829169542f3bed76095ad6bfbbde7d494d04d72) )
72287228
72297229   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
72307230   //PIC16C622A (317-0338-JPN)
r14797r14798
72387238   NAOMI_DEFAULT_EEPROM
72397239
72407240   DISK_REGION( "gdrom" )
7241   DISK_IMAGE_READONLY( "gds-0024a", 0, SHA1(6225e778d73db18be26f882d4f9cd3b3a136d1c9) )
7241   DISK_IMAGE_READONLY( "gds-0024a", 0, BAD_DUMP SHA1(6225e778d73db18be26f882d4f9cd3b3a136d1c9) )
72427242
72437243   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
72447244   //PIC16C622A (317-0338-JPN)
r14797r14798
72517251   NAOMI_DEFAULT_EEPROM
72527252
72537253   DISK_REGION( "gdrom" )
7254   DISK_IMAGE_READONLY( "gds-0036f", 0, SHA1(ea35d6ecdf94e5c9a545952758da80f658755df0) )
7254   DISK_IMAGE_READONLY( "gds-0036f", 0, BAD_DUMP SHA1(ea35d6ecdf94e5c9a545952758da80f658755df0) )
72557255
72567256   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
72577257   //PIC16C622A (317-0387-COM)
r14797r14798
72647264   NAOMI_DEFAULT_EEPROM
72657265
72667266   DISK_REGION( "gdrom" )
7267   DISK_IMAGE_READONLY( "gds-0036d", 0, SHA1(2f7654307a4c978c5af6c8238c44e70275dd34f9) )
7267   DISK_IMAGE_READONLY( "gds-0036d", 0, BAD_DUMP SHA1(2f7654307a4c978c5af6c8238c44e70275dd34f9) )
72687268
72697269   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
72707270   //PIC16C622A (317-0387-COM)
r14797r14798
72797279   NAOMI_DEFAULT_EEPROM
72807280
72817281   DISK_REGION( "gdrom" )
7282   DISK_IMAGE_READONLY( "gds-0036a", 0, SHA1(cd630fc4e8f7ed5641b85c609584d7efe0eac137) )
7282   DISK_IMAGE_READONLY( "gds-0036a", 0, BAD_DUMP SHA1(cd630fc4e8f7ed5641b85c609584d7efe0eac137) )
72837283
72847284   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
72857285   //PIC16C622A (317-0387-COM)
r14797r14798
73177317   NAOMI_DEFAULT_EEPROM
73187318
73197319   DISK_REGION( "gdrom" )
7320   DISK_IMAGE_READONLY( "gds-0014", 0, SHA1(1ebb3695196c11a86276e034df2e1c8d7fa6b96f) )
7320   DISK_IMAGE_READONLY( "gds-0014", 0, BAD_DUMP SHA1(1ebb3695196c11a86276e034df2e1c8d7fa6b96f) )
73217321
73227322   //PIC16C622A (317-0317-COM)
73237323   //(sticker 253-5508-0317)
r14797r14798
73327332   NAOMI_DEFAULT_EEPROM
73337333
73347334   DISK_REGION( "gdrom" )
7335   DISK_IMAGE_READONLY( "gds-0020b", 0, SHA1(c0e901623ef4fcd97b7e4d29ae556e6f2e91b8ad) )
7335   DISK_IMAGE_READONLY( "gds-0020b", 0, BAD_DUMP SHA1(c0e901623ef4fcd97b7e4d29ae556e6f2e91b8ad) )
73367336
73377337   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
73387338   //PIC16C622A (317-0331-JPN)
r14797r14798
73457345   NAOMI_DEFAULT_EEPROM
73467346
73477347   DISK_REGION( "gdrom" )
7348   DISK_IMAGE_READONLY( "gds-0025", 0, SHA1(8ea92cf6b493f21b9453832edad7cbc5e5b350c1) )
7348   DISK_IMAGE_READONLY( "gds-0025", 0, BAD_DUMP SHA1(8ea92cf6b493f21b9453832edad7cbc5e5b350c1) )
73497349
73507350   ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
73517351   ROM_LOAD("317-0343-com.pic", 0x00, 0x4000, CRC(80eea4eb) SHA1(5aedc0d52a2a8a2d186ca591094835d972574092) )
r14797r14798
79057905/* Cart games on Namco custom ROM board */
79067906/* 25209801 */ GAME( 2000, wldkicks, naomi, naomim2, naomi,    naomi,    ROT0, "Capcom / Namco", "World Kicks (WK1 Ver. A)", GAME_UNEMULATED_PROTECTION|GAME_FLAGS )
79077907/* 25349801 */ GAME( 2000, toukon4,  naomi, naomim2, naomi,    naomi,    ROT0, "Capcom / Namco", "Shin Nihon Pro Wrestling Toukon Retsuden 4 Arcade Edition (TRF1 Ver. A)", GAME_UNEMULATED_PROTECTION|GAME_FLAGS )
7908// 25469801 Ninja Assault
7908/* 25469801 */
79097909/* 25709801 */ GAME( 2001, gunsur2,  naomi, naomi,   naomi,    naomi,    ROT0, "Capcom / Namco", "Gun Survivor 2 Biohazard Code: Veronica (BHF1 Ver. A)", GAME_UNEMULATED_PROTECTION|GAME_FLAGS )
79107910/* 25869812 */ GAME( 2002, mazan,    naomi, naomim2, naomi,    naomi,    ROT0, "Capcom / Namco", "Mazan: Flash of the Blade (MAZ1 Ver. A)", GAME_UNEMULATED_PROTECTION|GAME_FLAGS )
79117911
src/mame/drivers/galaxia.c
r14797r14798
55Taken from an untested board.
66
771K byte files were 2708 or equivalent.
8512 byte file is the 82S130 colour PROM.
8512 byte file is a 82S130 PROM.
99
10This is not a direct pirate of Galaxians as you might think from the name.
11The game uses a Signetics 2650A CPU with three 40-pin 2636 chips. I have
12no idea what 2636's are but I am hoping they are something to do with the
13sound since the board has no apparent sound circuitry. The video hardware
14looks like it's similar to Galaxians (2 x 2114, 2 x 2101, 2 x EPROM) but
15there is no attack RAM and the graphics EPROMS are 2708. The graphics EPROMS
16do contain Galaxian-like graphics...
10This is not a direct pirate of Galaxian as you might think from the name.
11The game uses a Signetics 2650A CPU with three 40-pin 2636 chips, which are
12responsible for sound and some video functions.
1713
14Other than that, the video hardware looks like it's similar to Galaxian
15(2 x 2114, 2 x 2101, 2 x EPROM) but there is no attack RAM and the graphics
16EPROMS are 2708. The graphics EPROMS do contain Galaxian-like graphics...
17
18Astro Wars (port of Astro Fighter) is on a stripped down board of Galaxia,
19using only one 2636 chip.
20
1821---
1922
20TS 2008.08.12:
21- fixed rom loading
22- added preliminary video emulation
23HW has many similarities with quasar.c / cvs.c / zac2650.c
2324
24HW seems to have many similarities with quasar.c / cvs.c
25TODO:
26- fix colors (and use MAME tilemaps)
27- accurate astrowar sprite/bg sync
28- starfield hardware?
2529
2630*/
2731
r14797r14798
3741   galaxia_state(const machine_config &mconfig, device_type type, const char *tag)
3842      : driver_device(mconfig, type, tag) { }
3943
40   UINT8 m_collision;
4144   UINT8 *m_video;
4245   UINT8 *m_color;
46   UINT8 *m_bullet;
47
48   UINT8 *m_fo_state;
49
50   bitmap_ind16 m_collision_bitmap;
51
52   UINT8 m_collision;
53   UINT8 m_scroll;
4354};
4455
4556
57static INTERRUPT_GEN( galaxia_interrupt )
58{
59   device_set_input_line_and_vector(device, 0, HOLD_LINE, 0x03);
60}
4661
62
63/***************************************************************************
64
65  Video
66
67***************************************************************************/
68
69VIDEO_START( galaxia )
70{
71   galaxia_state *state = machine.driver_data<galaxia_state>();
72   state->m_color = auto_alloc_array(machine, UINT8, 0x400);
73
74   machine.primary_screen->register_screen_bitmap(state->m_collision_bitmap);
75}
76
77
4778static SCREEN_UPDATE_IND16( galaxia )
4879{
4980   galaxia_state *state = screen.machine().driver_data<galaxia_state>();
50   int x,y, count;
81   int x, y;
5182
52   device_t *s2636_0 = screen.machine().device("s2636_0");
53   device_t *s2636_1 = screen.machine().device("s2636_1");
54   device_t *s2636_2 = screen.machine().device("s2636_2");
83   bitmap_ind16 &s2636_0_bitmap = s2636_update(screen.machine().device("s2636_0"), cliprect);
84   bitmap_ind16 &s2636_1_bitmap = s2636_update(screen.machine().device("s2636_1"), cliprect);
85   bitmap_ind16 &s2636_2_bitmap = s2636_update(screen.machine().device("s2636_2"), cliprect);
5586
56   count = 0;
87   bitmap.fill(0, cliprect);
5788
58   for (y=0;y<256/8;y++)
89   // draw background
90   for (x = 0; x < 32; x++)
5991   {
60      for (x=0;x<256/8;x++)
92      // fixed scrolling area
93      int y_offs = 0;
94      if (x >= 4 && x < 24)
95         y_offs = state->m_scroll ^ 0xff;
96
97      for (y = 0; y < 32; y++)
6198      {
62         int tile = state->m_video[count];
63         drawgfx_opaque(bitmap,cliprect,screen.machine().gfx[0],tile,0,0,0,x*8,y*8);
64         count++;
99         int tile = state->m_video[y << 5 | x];
100         int color = state->m_color[y << 5 | x];
101         drawgfx_transpen(bitmap,cliprect,screen.machine().gfx[0], tile, color, 0, 0, x*8, (y_offs + y*8) & 0xff, 0);
65102      }
66103   }
67104
68   bitmap_ind16 &s2636_0_bitmap = s2636_update(s2636_0, cliprect);
69   bitmap_ind16 &s2636_1_bitmap = s2636_update(s2636_1, cliprect);
70   bitmap_ind16 &s2636_2_bitmap = s2636_update(s2636_2, cliprect);
71
72   /* copy the S2636 images into the main bitmap and check collision */
105   for (y = cliprect.min_y; y <= cliprect.max_y; y++)
73106   {
74      int y;
75
76      for (y = cliprect.min_y; y <= cliprect.max_y; y++)
107      for (x = cliprect.min_x; x <= cliprect.max_x; x++)
77108      {
78         int x;
79
80         for (x = cliprect.min_x; x <= cliprect.max_x; x++)
109         // draw bullets (guesswork)
110         bool bullet = state->m_bullet[y] && x == (state->m_bullet[y] ^ 0xff);
111         bool background = bitmap.pix16(y, x) != 0;
112         if (bullet)
81113         {
82            int pixel0 = s2636_0_bitmap.pix16(y, x);
83            int pixel1 = s2636_1_bitmap.pix16(y, x);
84            int pixel2 = s2636_2_bitmap.pix16(y, x);
114            // background vs. bullet collision detection
115            if (background) state->m_collision |= 0x80;
85116           
86            int pixel = pixel0 | pixel1 | pixel2;
117            // bullet size/color/priority is guessed
118            bitmap.pix16(y, x) = 7;
119            if (x) bitmap.pix16(y, x-1) = 7;
120         }
121         
122         // copy the S2636 images into the main bitmap and check collision
123         int pixel0 = s2636_0_bitmap.pix16(y, x);
124         int pixel1 = s2636_1_bitmap.pix16(y, x);
125         int pixel2 = s2636_2_bitmap.pix16(y, x);
126         
127         int pixel = pixel0 | pixel1 | pixel2;
128         
129         if (S2636_IS_PIXEL_DRAWN(pixel))
130         {
131            // S2636 vs. S2636 collision detection
132            if (S2636_IS_PIXEL_DRAWN(pixel0) && S2636_IS_PIXEL_DRAWN(pixel1)) state->m_collision |= 0x01;
133            if (S2636_IS_PIXEL_DRAWN(pixel1) && S2636_IS_PIXEL_DRAWN(pixel2)) state->m_collision |= 0x02;
134            if (S2636_IS_PIXEL_DRAWN(pixel2) && S2636_IS_PIXEL_DRAWN(pixel0)) state->m_collision |= 0x04;
87135           
88            if (S2636_IS_PIXEL_DRAWN(pixel))
136            // S2636 vs. bullet collision detection
137            if (bullet) state->m_collision |= 0x08;
138
139            // S2636 vs. background collision detection
140            if (background)
89141            {
90               /* S2636 vs. S2636 collision detection */
91               if (S2636_IS_PIXEL_DRAWN(pixel0) && S2636_IS_PIXEL_DRAWN(pixel1)) state->m_collision |= 0x01;
92               if (S2636_IS_PIXEL_DRAWN(pixel1) && S2636_IS_PIXEL_DRAWN(pixel2)) state->m_collision |= 0x02;
93               if (S2636_IS_PIXEL_DRAWN(pixel2) && S2636_IS_PIXEL_DRAWN(pixel0)) state->m_collision |= 0x04;
142               /* bit4 causes problems on 2nd level
143               if (S2636_IS_PIXEL_DRAWN(pixel0)) state->m_collision |= 0x10; */
144               if (S2636_IS_PIXEL_DRAWN(pixel1)) state->m_collision |= 0x20;
145               if (S2636_IS_PIXEL_DRAWN(pixel2)) state->m_collision |= 0x40;
146            }
94147
95               /* S2636 vs. background collision detection */
96               if (bitmap.pix16(y, x))
97               {
98                  if (S2636_IS_PIXEL_DRAWN(pixel0)) state->m_collision |= 0x10;
99                  if (S2636_IS_PIXEL_DRAWN(pixel1)) state->m_collision |= 0x20;
100                  if (S2636_IS_PIXEL_DRAWN(pixel2)) state->m_collision |= 0x40;
101               }
102
103               bitmap.pix16(y, x) = S2636_PIXEL_COLOR(pixel);
104            }
148            bitmap.pix16(y, x) = S2636_PIXEL_COLOR(pixel);
105149         }
106150      }
107151   }
152
108153   return 0;
109154}
110155
111static WRITE8_HANDLER(galaxia_video_w)
156
157static SCREEN_UPDATE_IND16( astrowar )
112158{
113   galaxia_state *state = space->machine().driver_data<galaxia_state>();
114   if (cpu_get_reg(&space->device(), S2650_FO))
159   galaxia_state *state = screen.machine().driver_data<galaxia_state>();
160   int x, y;
161
162   bitmap_ind16 &s2636_0_bitmap = s2636_update(screen.machine().device("s2636_0"), cliprect);
163
164   bitmap.fill(0, cliprect);
165
166   // draw background (no scroll?)
167   for (x = 0; x < 32; x++)
115168   {
116      state->m_video[offset]=data;
169      for (y = 0; y < 32; y++)
170      {
171         int tile = state->m_video[y << 5 | x];
172         int color = state->m_color[y << 5 | x];
173         drawgfx_transpen(bitmap,cliprect,screen.machine().gfx[0], tile, color, 0, 0, x*8, y*8, 0);
174      }
117175   }
118   else
176
177   copybitmap(state->m_collision_bitmap, bitmap, 0, 0, 0, 0, cliprect);
178
179   // copy the S2636 bitmap into the main bitmap and check collision
180   for (y = cliprect.min_y; y <= cliprect.max_y; y++)
119181   {
120      state->m_color[offset]=data;
182      for (x = cliprect.min_x; x <= cliprect.max_x; x++)
183      {
184         // NOTE: similar to zac2650.c, the sprite chip runs at a different frequency than the background generator
185         // the exact timing is unknown, so we'll have to do with guesswork (s_offset and s_ratio)
186         int s_offset = 7;
187         float s_ratio = 256.0 / 196.0;
188
189         float sx = x * s_ratio;
190         if ((int)(sx + 0.5) > cliprect.max_x)
191            break;
192
193         int pixel = s2636_0_bitmap.pix16(y, x + s_offset);
194         
195         if (S2636_IS_PIXEL_DRAWN(pixel))
196         {
197            // S2636 vs. background collision detection
198            if (state->m_collision_bitmap.pix16(y, (int)(sx)) || state->m_collision_bitmap.pix16(y, (int)(sx + 0.5)))
199               state->m_collision |= 0x01;
200
201            bitmap.pix16(y, (int)(sx)) = S2636_PIXEL_COLOR(pixel);
202            bitmap.pix16(y, (int)(sx + 0.5)) = S2636_PIXEL_COLOR(pixel);
203         }
204      }
121205   }
206
207   return 0;
122208}
123209
210
211/***************************************************************************
212
213  I/O
214
215***************************************************************************/
216
217static WRITE8_HANDLER(galaxia_video_w)
218{
219   galaxia_state *state = space->machine().driver_data<galaxia_state>();
220//   space->machine().primary_screen->update_partial(space->machine().primary_screen->vpos());
221   if (*state->m_fo_state)
222      state->m_video[offset] = data;
223   else
224      state->m_color[offset] = data;
225}
226
124227static READ8_HANDLER(galaxia_video_r)
125228{
126229   galaxia_state *state = space->machine().driver_data<galaxia_state>();
127   return state->m_video[offset];
230   if (*state->m_fo_state)
231      return state->m_video[offset];
232   else
233      return state->m_color[offset];
128234}
129235
130236static WRITE8_HANDLER(galaxia_scroll_w)
131237{
132   // TODO: scroll bg enemy swarm
238   galaxia_state *state = space->machine().driver_data<galaxia_state>();
239   space->machine().primary_screen->update_partial(space->machine().primary_screen->vpos());
240   state->m_scroll = data;
133241}
134242
243static WRITE8_HANDLER(galaxia_ctrlport_w)
244{
245   // d0/d1: maybe coincounter
246   // other bits: unknown
247}
248
249static WRITE8_HANDLER(galaxia_dataport_w)
250{
251   // cvs-style video fx? or lamps?
252}
253
135254static READ8_HANDLER(galaxia_collision_r)
136255{
137256   galaxia_state *state = space->machine().driver_data<galaxia_state>();
r14797r14798
144263   galaxia_state *state = space->machine().driver_data<galaxia_state>();
145264   space->machine().primary_screen->update_partial(space->machine().primary_screen->vpos());
146265   state->m_collision = 0;
147   return 0;
266   return 0xff;
148267}
149268
150static ADDRESS_MAP_START( mem_map, AS_PROGRAM, 8 )
269static ADDRESS_MAP_START( galaxia_mem_map, AS_PROGRAM, 8 )
151270   AM_RANGE(0x0000, 0x13ff) AM_ROM
152   AM_RANGE(0x1400, 0x14ff) AM_MIRROR(0x6000) AM_RAM // bullet ram?
271   AM_RANGE(0x1400, 0x14ff) AM_MIRROR(0x6000) AM_RAM AM_BASE_MEMBER(galaxia_state, m_bullet)
153272   AM_RANGE(0x1500, 0x15ff) AM_MIRROR(0x6000) AM_DEVREADWRITE("s2636_0", s2636_work_ram_r, s2636_work_ram_w)
154273   AM_RANGE(0x1600, 0x16ff) AM_MIRROR(0x6000) AM_DEVREADWRITE("s2636_1", s2636_work_ram_r, s2636_work_ram_w)
155274   AM_RANGE(0x1700, 0x17ff) AM_MIRROR(0x6000) AM_DEVREADWRITE("s2636_2", s2636_work_ram_r, s2636_work_ram_w)
156   AM_RANGE(0x1800, 0x1bff) AM_MIRROR(0x6000) AM_READWRITE(galaxia_video_r, galaxia_video_w) AM_BASE_MEMBER(galaxia_state, m_video)
275   AM_RANGE(0x1800, 0x1bff) AM_MIRROR(0x6000) AM_READWRITE(galaxia_video_r, galaxia_video_w) AM_BASE_MEMBER(galaxia_state, m_video)
157276   AM_RANGE(0x1c00, 0x1fff) AM_MIRROR(0x6000) AM_RAM
158277   AM_RANGE(0x2000, 0x33ff) AM_ROM
159278   AM_RANGE(0x7214, 0x7214) AM_READ_PORT("IN0")
160279ADDRESS_MAP_END
161280
162static ADDRESS_MAP_START( io_map, AS_IO, 8 )
163   AM_RANGE(0x00, 0x00) AM_WRITE(galaxia_scroll_w)
164   AM_RANGE(0x02, 0x02) AM_READ_PORT("IN2")
165   AM_RANGE(0x05, 0x05) AM_READ_PORT("IN5")
166   AM_RANGE(0x06, 0x06) AM_READ_PORT("IN6")
167   AM_RANGE(0xac, 0xac) AM_READ_PORT("IN3")
168   AM_RANGE(S2650_CTRL_PORT, S2650_CTRL_PORT) AM_READ(galaxia_collision_r)
169   AM_RANGE(S2650_DATA_PORT, S2650_DATA_PORT) AM_READ(galaxia_collision_clear) // ?
170   AM_RANGE(S2650_SENSE_PORT, S2650_SENSE_PORT) AM_READ_PORT("SENSE")
171ADDRESS_MAP_END
172
173
174static ADDRESS_MAP_START( astrowar_mem, AS_PROGRAM, 8 )
281static ADDRESS_MAP_START( astrowar_mem_map, AS_PROGRAM, 8 )
175282   AM_RANGE(0x0000, 0x13ff) AM_ROM
176   AM_RANGE(0x1400, 0x14ff) AM_MIRROR(0x6000) AM_RAM
283   AM_RANGE(0x1400, 0x14ff) AM_MIRROR(0x6000) AM_RAM AM_BASE_MEMBER(galaxia_state, m_bullet) // but no bullet hw?
177284   AM_RANGE(0x1500, 0x15ff) AM_MIRROR(0x6000) AM_DEVREADWRITE("s2636_0", s2636_work_ram_r, s2636_work_ram_w)
178   AM_RANGE(0x1600, 0x16ff) AM_MIRROR(0x6000) AM_DEVREADWRITE("s2636_1", s2636_work_ram_r, s2636_work_ram_w)
179   AM_RANGE(0x1700, 0x17ff) AM_MIRROR(0x6000) AM_DEVREADWRITE("s2636_2", s2636_work_ram_r, s2636_work_ram_w)
180285   AM_RANGE(0x1800, 0x1bff) AM_MIRROR(0x6000) AM_READWRITE(galaxia_video_r, galaxia_video_w)  AM_BASE_MEMBER(galaxia_state, m_video)
181286   AM_RANGE(0x1c00, 0x1fff) AM_MIRROR(0x6000) AM_RAM
182287   AM_RANGE(0x2000, 0x33ff) AM_ROM
183288ADDRESS_MAP_END
184289
185static ADDRESS_MAP_START( astrowar_io, AS_IO, 8 )
186   ADDRESS_MAP_GLOBAL_MASK(0xff)
187   AM_RANGE(0x00, 0x00) AM_READ_PORT("IN0")
188   AM_RANGE(0x01, 0x01) AM_READ_PORT("IN1")
189   AM_RANGE(0x02, 0x02) AM_READ_PORT("IN2")
190   AM_RANGE(0x06, 0x06) AM_READ_PORT("IN6")
191   AM_RANGE(0x07, 0x07) AM_READ_PORT("IN7")
290static ADDRESS_MAP_START( galaxia_io_map, AS_IO, 8 )
291   ADDRESS_MAP_UNMAP_HIGH
292   AM_RANGE(0x00, 0x00) AM_WRITE(galaxia_scroll_w) AM_READ_PORT("IN0")
293   AM_RANGE(0x02, 0x02) AM_READ_PORT("IN1")
294   AM_RANGE(0x05, 0x05) AM_READNOP
295   AM_RANGE(0x06, 0x06) AM_READ_PORT("DSW0")
296   AM_RANGE(0x07, 0x07) AM_READ_PORT("DSW1")
297   AM_RANGE(0xac, 0xac) AM_READNOP
298   AM_RANGE(S2650_CTRL_PORT, S2650_CTRL_PORT) AM_READWRITE(galaxia_collision_r, galaxia_ctrlport_w)
299   AM_RANGE(S2650_DATA_PORT, S2650_DATA_PORT) AM_READWRITE(galaxia_collision_clear, galaxia_dataport_w)
300   AM_RANGE(S2650_SENSE_PORT, S2650_SENSE_PORT) AM_READ_PORT("SENSE")
301   AM_RANGE(S2650_FO_PORT, S2650_FO_PORT) AM_RAM AM_BASE_MEMBER(galaxia_state, m_fo_state)
192302ADDRESS_MAP_END
193303
304
305/***************************************************************************
306
307  Inputs
308
309***************************************************************************/
310
194311static INPUT_PORTS_START( galaxia )
195312   PORT_START("IN0")
196313   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_START1 )
197314   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
198315   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN2 ) PORT_IMPULSE(1)
199316   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_IMPULSE(1)
200   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_COCKTAIL
317   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_PLAYER(2)
201318   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON1 )
202319   PORT_BIT( 0xc0, IP_ACTIVE_HIGH, IPT_UNKNOWN )
203320
204321   PORT_START("IN1")
205   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
206
207   PORT_START("IN2")
208   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_2WAY PORT_COCKTAIL
209   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_2WAY PORT_COCKTAIL
322   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_2WAY PORT_PLAYER(2)
323   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_2WAY PORT_PLAYER(2)
210324   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_2WAY
211325   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_2WAY
212   PORT_DIPNAME( 0x80, 0x80, "Freeze" )
213   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
214   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
215   PORT_BIT( 0x43, IP_ACTIVE_HIGH, IPT_UNKNOWN )
326   PORT_BIT( 0xc3, IP_ACTIVE_HIGH, IPT_UNKNOWN )
216327
217   PORT_START("IN3")
218   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
219
220   PORT_START("IN5")
221   PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
222
223   PORT_START("IN6")
328   PORT_START("DSW0")
224329   PORT_DIPNAME( 0x07, 0x00, DEF_STR( Coinage ) )
225330   PORT_DIPSETTING(    0x00, "A 1C_1C B 2C_1C" )
226331   PORT_DIPSETTING(    0x01, "A 1C_2C B 2C_1C" )
r14797r14798
233338   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Lives ) )
234339   PORT_DIPSETTING(    0x00, "3" )
235340   PORT_DIPSETTING(    0x08, "5" )
236   PORT_BIT( 0xf0, IP_ACTIVE_HIGH, IPT_UNKNOWN )
237341
238   PORT_START("IN7")
239   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
342   PORT_DIPNAME( 0x10, 0x00, "UNK04" )
343   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
344   PORT_DIPSETTING(    0x10, DEF_STR( On ) )
345   PORT_DIPNAME( 0x20, 0x00, "UNK05" )
346   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
347   PORT_DIPSETTING(    0x20, DEF_STR( On ) )
348   PORT_DIPNAME( 0x40, 0x00, "UNK06" )
349   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
350   PORT_DIPSETTING(    0x40, DEF_STR( On ) )
351   PORT_DIPNAME( 0x80, 0x00, "UNK07" )
352   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
353   PORT_DIPSETTING(    0x80, DEF_STR( On ) )
240354
355   PORT_START("DSW1")
356   PORT_DIPNAME( 0x01, 0x00, "UNK10" )
357   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
358   PORT_DIPSETTING(    0x01, DEF_STR( On ) )
359   PORT_DIPNAME( 0x02, 0x00, "UNK11" )
360   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
361   PORT_DIPSETTING(    0x02, DEF_STR( On ) )
362   PORT_DIPNAME( 0x04, 0x00, "UNK12" )
363   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
364   PORT_DIPSETTING(    0x04, DEF_STR( On ) )
365   PORT_DIPNAME( 0x08, 0x00, "UNK13" )
366   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
367   PORT_DIPSETTING(    0x08, DEF_STR( On ) )
368
369   PORT_DIPNAME( 0x10, 0x00, "UNK14" )
370   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
371   PORT_DIPSETTING(    0x10, DEF_STR( On ) )
372   PORT_DIPNAME( 0x20, 0x00, "UNK15" )
373   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
374   PORT_DIPSETTING(    0x20, DEF_STR( On ) )
375   PORT_DIPNAME( 0x40, 0x00, "UNK16" )
376   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
377   PORT_DIPSETTING(    0x40, DEF_STR( On ) )
378   PORT_DIPNAME( 0x80, 0x00, "UNK17" )
379   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
380   PORT_DIPSETTING(    0x80, DEF_STR( On ) )
381
241382   PORT_START("SENSE")
242383   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK )
243384INPUT_PORTS_END
244385
386
387/***************************************************************************
388
389  Machine Configs
390
391***************************************************************************/
392
245393static const gfx_layout tiles8x8x1_layout =
246394{
247395   8,8,
r14797r14798
273421GFXDECODE_END
274422
275423
276static INTERRUPT_GEN( galaxia_interrupt )
424static const s2636_interface galaxia_s2636_config[3] =
277425{
278   device_set_input_line_and_vector(device, 0, HOLD_LINE, 0x03);
279}
426   { "screen", 0x100, 3, -27, "s2636snd_0" },
427   { "screen", 0x100, 3, -27, "s2636snd_1" },
428   { "screen", 0x100, 3, -27, "s2636snd_2" }
429};
280430
281
282static const s2636_interface s2636_0_config =
431static const s2636_interface astrowar_s2636_config =
283432{
284433   "screen",
285434   0x100,
286   3, -27,
435   3, 0,
287436   "s2636snd_0"
288437};
289438
290static const s2636_interface s2636_1_config =
291{
292   "screen",
293   0x100,
294   3, -27,
295   "s2636snd_1"
296};
297439
298static const s2636_interface s2636_2_config =
299{
300   "screen",
301   0x100,
302   3, -27,
303   "s2636snd_2"
304};
305
306440static MACHINE_CONFIG_START( galaxia, galaxia_state )
307441   /* basic machine hardware */
308   MCFG_CPU_ADD("maincpu", S2650,2000000)       /* ? MHz */
309   MCFG_CPU_PROGRAM_MAP(mem_map)
310   MCFG_CPU_IO_MAP(io_map)
442   MCFG_CPU_ADD("maincpu", S2650, 2000000)       /* ? MHz */
443   MCFG_CPU_PROGRAM_MAP(galaxia_mem_map)
444   MCFG_CPU_IO_MAP(galaxia_io_map)
311445   MCFG_CPU_VBLANK_INT("screen", galaxia_interrupt)
312446
313447   /* video hardware */
r14797r14798
316450   MCFG_SCREEN_REFRESH_RATE(60)
317451   MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500))
318452   MCFG_SCREEN_SIZE(256, 256)
319   MCFG_SCREEN_VISIBLE_AREA(0, 256-1, 0, 256-1)
453   MCFG_SCREEN_VISIBLE_AREA(0*8, 30*8-1, 2*8, 32*8-1)
320454   MCFG_SCREEN_UPDATE_STATIC(galaxia)
321455
322456   MCFG_GFXDECODE(galaxia)
323457   MCFG_PALETTE_LENGTH(0x100)
324458
325   MCFG_S2636_ADD("s2636_0", s2636_0_config)
326   MCFG_S2636_ADD("s2636_1", s2636_1_config)
327   MCFG_S2636_ADD("s2636_2", s2636_2_config)
459   MCFG_VIDEO_START(galaxia)
328460
461   MCFG_S2636_ADD("s2636_0", galaxia_s2636_config[0])
462   MCFG_S2636_ADD("s2636_1", galaxia_s2636_config[1])
463   MCFG_S2636_ADD("s2636_2", galaxia_s2636_config[2])
464
465   /* sound hardware */
329466   MCFG_SPEAKER_STANDARD_MONO("mono")
330467
331468   MCFG_SOUND_ADD("s2636snd_0", S2636_SOUND, 0)
r14797r14798
338475   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
339476MACHINE_CONFIG_END
340477
341static MACHINE_CONFIG_DERIVED( astrowar, galaxia )
342   MCFG_CPU_MODIFY("maincpu")
343   MCFG_CPU_PROGRAM_MAP(astrowar_mem)
344   MCFG_CPU_IO_MAP(astrowar_io)
478
479static MACHINE_CONFIG_START( astrowar, galaxia_state )
480   /* basic machine hardware */
481   MCFG_CPU_ADD("maincpu", S2650, 2000000)       /* ? MHz */
482   MCFG_CPU_PROGRAM_MAP(astrowar_mem_map)
483   MCFG_CPU_IO_MAP(galaxia_io_map)
484   MCFG_CPU_VBLANK_INT("screen", galaxia_interrupt)
485
486   /* video hardware */
487   MCFG_VIDEO_ATTRIBUTES(VIDEO_ALWAYS_UPDATE)
488   MCFG_SCREEN_ADD("screen", RASTER)
489   MCFG_SCREEN_REFRESH_RATE(60)
490   MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500))
491   MCFG_SCREEN_SIZE(256, 256)
492   MCFG_SCREEN_VISIBLE_AREA(0*8, 30*8-1, 2*8, 32*8-1)
493   MCFG_SCREEN_UPDATE_STATIC(astrowar)
494
345495   MCFG_GFXDECODE(astrowar)
496   MCFG_PALETTE_LENGTH(0x100)
497
498   MCFG_VIDEO_START(galaxia)
499
500   MCFG_S2636_ADD("s2636_0", astrowar_s2636_config)
501
502   /* sound hardware */
503   MCFG_SPEAKER_STANDARD_MONO("mono")
504
505   MCFG_SOUND_ADD("s2636snd_0", S2636_SOUND, 0)
506   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
346507MACHINE_CONFIG_END
347508
509
510/***************************************************************************
511
512  Game drivers
513
514***************************************************************************/
515
348516ROM_START( galaxia )
349517   ROM_REGION( 0x10000, "maincpu", 0 )
350   ROM_LOAD( "08h.bin", 0x00000, 0x0400, CRC(f3b4ffde) SHA1(15b004e7821bfc145158b1e9435f061c524f6b86) )
351   ROM_LOAD( "10h.bin", 0x00400, 0x0400, CRC(6d07fdd4) SHA1(d7d4b345a055275d59951788569db370bccd5195) )
352   ROM_LOAD( "11h.bin", 0x00800, 0x0400, CRC(1520eb3d) SHA1(3683174da701e1124af0f9c2ee4a9a84f3fea33a) )
353   ROM_LOAD( "13h.bin", 0x00c00, 0x0400, CRC(c4482770) SHA1(aee983cc3d80989f49aea4138961bb623039484a) )
354   ROM_LOAD( "08i.bin", 0x01000, 0x0400, CRC(45b88599) SHA1(3b79c21db1aa9d80fac81ac5a554e438805febd1) )
355   ROM_LOAD( "10i.bin", 0x02000, 0x0400, CRC(c0baa654) SHA1(80e0880c32ad285fbce0f7f552268b964b97cab3) )
356   ROM_LOAD( "11i.bin", 0x02400, 0x0400, CRC(4456808a) SHA1(f9e8cfdde0e17f13f1be297b2b4503ccc959b33c) )
357   ROM_LOAD( "13i.bin", 0x02800, 0x0400, CRC(cf653b9a) SHA1(fef5943de60cb5ba2459fc6ae7419e29c96a76cd) )
358   ROM_LOAD( "11l.bin", 0x02c00, 0x0400, CRC(50c6a645) SHA1(46638907bc393df6be25fc7461d73047d1746ffc) )
359   ROM_LOAD( "13l.bin", 0x03000, 0x0400, CRC(3a9c38c7) SHA1(d1e934092b69c0f3f9636eba05a1d8a6d9588e6b) )
518   ROM_LOAD( "galaxia.8h",  0x00000, 0x0400, CRC(f3b4ffde) SHA1(15b004e7821bfc145158b1e9435f061c524f6b86) )
519   ROM_LOAD( "galaxia.10h", 0x00400, 0x0400, CRC(6d07fdd4) SHA1(d7d4b345a055275d59951788569db370bccd5195) )
520   ROM_LOAD( "galaxia.11h", 0x00800, 0x0400, CRC(1520eb3d) SHA1(3683174da701e1124af0f9c2ee4a9a84f3fea33a) )
521   ROM_LOAD( "galaxia.13h", 0x00c00, 0x0400, CRC(c4482770) SHA1(aee983cc3d80989f49aea4138961bb623039484a) )
522   ROM_LOAD( "galaxia.8i",  0x01000, 0x0400, CRC(45b88599) SHA1(3b79c21db1aa9d80fac81ac5a554e438805febd1) )
523   ROM_LOAD( "galaxia.10i", 0x02000, 0x0400, CRC(c0baa654) SHA1(80e0880c32ad285fbce0f7f552268b964b97cab3) )
524   ROM_LOAD( "galaxia.11i", 0x02400, 0x0400, CRC(4456808a) SHA1(f9e8cfdde0e17f13f1be297b2b4503ccc959b33c) )
525   ROM_LOAD( "galaxia.13i", 0x02800, 0x0400, CRC(cf653b9a) SHA1(fef5943de60cb5ba2459fc6ae7419e29c96a76cd) )
526   ROM_LOAD( "galaxia.11l", 0x02c00, 0x0400, CRC(50c6a645) SHA1(46638907bc393df6be25fc7461d73047d1746ffc) )
527   ROM_LOAD( "galaxia.13l", 0x03000, 0x0400, CRC(3a9c38c7) SHA1(d1e934092b69c0f3f9636eba05a1d8a6d9588e6b) )
360528
361529   ROM_REGION( 0x0800, "gfx1", 0 )
362   ROM_LOAD( "01d.bin", 0x00000, 0x0400, CRC(2dd50aab) SHA1(758d7a5383c9a1ee134d99e3f7025819cfbe0e0f) )
363   ROM_LOAD( "03d.bin", 0x00400, 0x0400, CRC(1dc30185) SHA1(e3c75eecb80b376ece98f602e1b9587487841824) )
530   ROM_LOAD( "galaxia.1d", 0x00000, 0x0400, CRC(2dd50aab) SHA1(758d7a5383c9a1ee134d99e3f7025819cfbe0e0f) )
531   ROM_LOAD( "galaxia.3d", 0x00400, 0x0400, CRC(1dc30185) SHA1(e3c75eecb80b376ece98f602e1b9587487841824) )
364532
365   ROM_REGION( 0x80000, "proms", 0 )
366   ROM_LOAD( "11o", 0x00000, 0x0200, CRC(ae816417) SHA1(9497857d13c943a2735c3b85798199054e613b2c) )
533   ROM_REGION( 0x0200, "proms", 0 ) // unknown function
534   ROM_LOAD( "prom.11o", 0x0000, 0x0200, CRC(ae816417) SHA1(9497857d13c943a2735c3b85798199054e613b2c) )
367535ROM_END
368536
369
370537ROM_START( astrowar )
371538   ROM_REGION( 0x10000, "maincpu", 0 )
372   ROM_LOAD( "astro8h.rom",  0x00000, 0x0400, CRC(b0ec246c) SHA1(f9123b5e317938655f5e8b3f8a5810d0b2b7c7af) )
373   ROM_LOAD( "astro10h.rom", 0x00400, 0x0400, CRC(090d360f) SHA1(528ddcdc30a5a291bd8850ff6f134fcc19af562f) )
374   ROM_LOAD( "astro11h.rom", 0x00800, 0x0400, CRC(72ab1378) SHA1(50743c64c4775076aa6f1d8ab2e05c14884bf0ba) )
375   ROM_LOAD( "astro13h.rom", 0x00c00, 0x0400, CRC(2dc4c895) SHA1(831afbfd4ebfd6522ab0758222bc6f9826148a5d) )
376   ROM_LOAD( "astro8i.rom",  0x01000, 0x0400, CRC(ab87fbfc) SHA1(34b670f96c260f186c643e588995ae5d80377784) )
377   ROM_LOAD( "astro10i.rom", 0x02000, 0x0400, CRC(533675c1) SHA1(69cc066e1874a135a53a21b7b2461bda456504f1) )
378   ROM_LOAD( "astro11i.rom", 0x02400, 0x0400, CRC(59cf8901) SHA1(e849d4c99350b7e3453c156d91618b71b5be1163) )
379   ROM_LOAD( "astro13i.rom", 0x02800, 0x0400, CRC(5149c121) SHA1(232ba594e283fb25c31d8ae0b7d8315a81852a71) )
380   ROM_LOAD( "astro11l.rom", 0x02c00, 0x0400, CRC(29f52f57) SHA1(5cb50b82e09c537eeaeae167351fca686fde8228) )
381   ROM_LOAD( "astro13l.rom", 0x03000, 0x0400, CRC(882cdb87) SHA1(062ee8d296316cbce2eb62e72774aa4181e9847d) )
539   ROM_LOAD( "astro.8h",  0x00000, 0x0400, CRC(b0ec246c) SHA1(f9123b5e317938655f5e8b3f8a5810d0b2b7c7af) )
540   ROM_LOAD( "astro.10h", 0x00400, 0x0400, CRC(090d360f) SHA1(528ddcdc30a5a291bd8850ff6f134fcc19af562f) )
541   ROM_LOAD( "astro.11h", 0x00800, 0x0400, CRC(72ab1378) SHA1(50743c64c4775076aa6f1d8ab2e05c14884bf0ba) )
542   ROM_LOAD( "astro.13h", 0x00c00, 0x0400, CRC(2dc4c895) SHA1(831afbfd4ebfd6522ab0758222bc6f9826148a5d) )
543   ROM_LOAD( "astro.8i",  0x01000, 0x0400, CRC(ab87fbfc) SHA1(34b670f96c260f186c643e588995ae5d80377784) )
544   ROM_LOAD( "astro.10i", 0x02000, 0x0400, CRC(533675c1) SHA1(69cc066e1874a135a53a21b7b2461bda456504f1) )
545   ROM_LOAD( "astro.11i", 0x02400, 0x0400, CRC(59cf8901) SHA1(e849d4c99350b7e3453c156d91618b71b5be1163) )
546   ROM_LOAD( "astro.13i", 0x02800, 0x0400, CRC(5149c121) SHA1(232ba594e283fb25c31d8ae0b7d8315a81852a71) )
547   ROM_LOAD( "astro.11l", 0x02c00, 0x0400, CRC(29f52f57) SHA1(5cb50b82e09c537eeaeae167351fca686fde8228) )
548   ROM_LOAD( "astro.13l", 0x03000, 0x0400, CRC(882cdb87) SHA1(062ee8d296316cbce2eb62e72774aa4181e9847d) )
382549
383550   ROM_REGION( 0x0800, "gfx1", 0 )
384   ROM_LOAD( "astro1d.rom",  0x00000, 0x0400, CRC(6053f834) SHA1(e0b76800c241b3c8010c09869cecbc109b25310a) )
385   ROM_LOAD( "astro3d.rom",  0x00400, 0x0400, CRC(822505aa) SHA1(f9d3465e14bb850a286f8b4f42aa0a4044413b67) )
386
387   ROM_REGION( 0x80000, "proms", 0 )
388   ROM_LOAD( "11o.rom", 0x00000, 0x0200, NO_DUMP ) /* a rom is missing */
551   ROM_LOAD( "astro.1d",  0x00000, 0x0400, CRC(6053f834) SHA1(e0b76800c241b3c8010c09869cecbc109b25310a) )
552   ROM_LOAD( "astro.3d",  0x00400, 0x0400, CRC(822505aa) SHA1(f9d3465e14bb850a286f8b4f42aa0a4044413b67) )
389553ROM_END
390554
391555
392static DRIVER_INIT(galaxia)
393{
394   galaxia_state *state = machine.driver_data<galaxia_state>();
395   state->m_color=auto_alloc_array(machine, UINT8, 0x400);
396}
397
398GAME( 1979, galaxia, 0, galaxia, galaxia, galaxia, ROT90, "Zaccaria", "Galaxia", GAME_NOT_WORKING )
399GAME( 1980, astrowar, 0, astrowar, galaxia, galaxia, ROT90, "Zaccaria", "Astro Wars", GAME_NOT_WORKING|GAME_WRONG_COLORS )
556GAME( 1979, galaxia,  0, galaxia,  galaxia, 0, ROT90, "Zaccaria / Zelco", "Galaxia",    GAME_WRONG_COLORS | GAME_IMPERFECT_GRAPHICS )
557GAME( 1980, astrowar, 0, astrowar, galaxia, 0, ROT90, "Zaccaria / Zelco", "Astro Wars", GAME_WRONG_COLORS | GAME_IMPERFECT_GRAPHICS )
src/mame/drivers/galdrvr.c
r14797r14798
36343634   ROM_LOAD( "l06_prom.bin", 0x0000, 0x0020, CRC(6a0c7d87) SHA1(140335d85c67c75b65689d4e76d29863c209cf32) )
36353635ROM_END
36363636
3637ROM_START( galemp )
3638   ROM_REGION( 0x4000, "maincpu", 0 )
3639   ROM_LOAD( "1",  0x0000, 0x0800, CRC(d975af10) SHA1(a2e2a36a75db8fd09441308b08b6ae073c68b8cf) )
3640   ROM_LOAD( "2",  0x0800, 0x0800, CRC(b2ed14c3) SHA1(7668df11f64b8e296eedfee53437777dc53a56d5) )
3641   ROM_LOAD( "3",  0x1000, 0x0800, CRC(945f4160) SHA1(5fbe879f51e14c4c7ae551e5b3089f8e148770a4) )
3642   ROM_LOAD( "4",  0x1800, 0x0800, CRC(df7a13ea) SHA1(9d07cdfde84c9243719092234cfa362bf2878a95) )
3643   ROM_LOAD( "5",  0x2000, 0x0800, CRC(ff6128a2) SHA1(64cc17b6cab8d8fd8358840beb13baa76262c6aa) )
3644   ROM_LOAD( "6",  0x2800, 0x0800, CRC(d915a389) SHA1(0e2ff6eec9453856a1276889946b463cfae58eba) )
3645   ROM_LOAD( "7",  0x3000, 0x0800, CRC(c9245346) SHA1(239bad3fe64eaab2dfc3febd06d1124103a10504) )
3646   ROM_LOAD( "8",  0x3800, 0x0800, CRC(797d45c7) SHA1(76fb8b45fcce3622c59c04af32cfa001ef7bf71d) )
3647
3648   ROM_REGION( 0x2000, "gfx1", 0 )
3649   ROM_LOAD( "10",    0x0000, 0x0800, CRC(30177b93) SHA1(b91740b573eadb9a0df23f55594d22b10ea93555) )
3650   ROM_LOAD( "12",    0x0800, 0x0800, CRC(c26132af) SHA1(7ae125a911dfd47aeca4f129f580762ce4d8d91a) )
3651   ROM_LOAD( "9",     0x1000, 0x0800, CRC(7e8dcc13) SHA1(56450cb3a9c77a578a12f664d07dbfbbcb82bc07) )
3652   ROM_LOAD( "11",    0x1800, 0x0800, CRC(dcc2b33b) SHA1(c3a5ac935c519400dfabb28909f7e460769d1837) )
3653
3654   ROM_REGION( 0x0020, "proms", 0 )
3655   ROM_LOAD( "l06_prom.bin", 0x0000, 0x0020, CRC(6a0c7d87) SHA1(140335d85c67c75b65689d4e76d29863c209cf32) )
3656ROM_END
3657
3658
36373659ROM_START( spacbatt )
36383660   ROM_REGION( 0x4000, "maincpu", 0 )
36393661   ROM_LOAD( "sb1",    0x0000, 0x0800, CRC(d975af10) SHA1(a2e2a36a75db8fd09441308b08b6ae073c68b8cf) ) /* Same as f07_1a.bin above */
r14797r14798
63656387GAME( 1980, spacbat2, uniwars,  galaxian, spacbatt, pisces,   ROT90,  "bootleg", "Space Battle (bootleg set 2)", GAME_SUPPORTS_SAVE )
63666388GAME( 1980, spacempr, uniwars,  galaxian, spacbatt, pisces,   ROT90,  "bootleg", "Space Empire (bootleg)", GAME_SUPPORTS_SAVE )
63676389GAME( 1980, skyraidr, uniwars,  galaxian, superg,   pisces,   ROT90,  "bootleg", "Sky Raider (Uniwars bootleg)", GAME_SUPPORTS_SAVE )
6390GAME( 1980, galemp,   uniwars,  galaxian, superg,   pisces,   ROT90,  "bootleg (Taito do Brasil)", "Galaxy Empire (bootleg?)", GAME_SUPPORTS_SAVE ) // clearly a hack, but was it licensed?
63686391
63696392
63706393/* Artic Multi-System games - separate tile/sprite ROMs */
src/mame/drivers/segas18.c
r14797r14798
14611461    Clutch Hitter, Sega System 18
14621462    CPU: FD1094 (317-0176)
14631463    ROM Board: 171-5873B
1464
1465    game No. 833-7916-01 CLUTCH HITTER
1466    rom  No. 834-7917-01
14641467*/
14651468ROM_START( cltchitr )
14661469   ROM_REGION( 0x300000, "maincpu", 0 ) /* 68000 code */
src/mame/drivers/system1.c
r14797r14798
39083908   ROM_LOAD( "pr-5317.76",      0x0000, 0x0100, CRC(648350b8) SHA1(c7986aa9127ef5b50b845434cb4e81dff9861cd2) )
39093909ROM_END
39103910
3911ROM_START( wboyub )
3912    ROM_REGION( 0x10000, "maincpu", 0 )
3913    /* this has way more code than the parent sets, I have no idea what to do with it */
3914    ROM_LOAD( "1.bin",        0x0000, 0x8000, CRC(07066b6f) SHA1(1ead373907fd5bd5f4cc003a97218aa582758a00) )
3915    ROM_LOAD( "4.bin",        0x4000, 0x8000, CRC(8b3124e6) SHA1(e90deaa687128c1f0b7e9e6b6d767bd484c7fc61) )
3916    ROM_LOAD( "5.bin",        0x8000, 0x8000, CRC(b75278e7) SHA1(5b7c519f32eac40dc46ca5bba03cec1e893b6fcd) )
3917    ROM_LOAD( "epr-7491.96",  0x8000, 0x4000, CRC(1f7d0efe) SHA1(a1b4f8faf1614f4808df1292209c340f1490adbd) )
3918    ROM_LOAD( "0cpu.bin",     0xc000, 0x2000, CRC(a962e6af) SHA1(f46b01db38cdc9c8485d7fe0a344e9f6ed918925) ) /* supposedly the encryption key */
3919
3920   ROM_REGION( 0x10000, "soundcpu", 0 )
3921   ROM_LOAD( "epr7498a.3",      0x0000, 0x2000, CRC(c198205c) SHA1(d2d5cd154ce6a5a3c6a099b4ab2ea7cc045ab0a1) )
3922
3923   ROM_REGION( 0xc000, "tiles", 0 )
3924   ROM_LOAD( "epr-7497.62",   0x0000, 0x2000, CRC(08d609ca) SHA1(11799e9ef7e6942b304f132b404bff3ed44d524b) )
3925   ROM_LOAD( "epr-7496.61",   0x2000, 0x2000, CRC(6f61fdf1) SHA1(21826aebf5835b9f3d9c467c8647809c1bc0d01f) )
3926   ROM_LOAD( "epr-7495.64",   0x4000, 0x2000, CRC(6a0d2c2d) SHA1(8c21d7f0768e8dda2b7185f3c510cae4229a4a2e) )
3927   ROM_LOAD( "epr-7494.63",   0x6000, 0x2000, CRC(a8e281c7) SHA1(a88b80a7b94ab1401bbf28d7707fdf28a5505127) )
3928   ROM_LOAD( "epr-7493.66",   0x8000, 0x2000, CRC(89305df4) SHA1(7a5098624769a31e7512f56831e818bce6a18871) )
3929   ROM_LOAD( "epr-7492.65",   0xa000, 0x2000, CRC(60f806b1) SHA1(f91e5868a455dff2bce3c2891a7cfd648957cd73) )
3930
3931   ROM_REGION( 0x10000, "sprites", 0 )
3932   ROM_LOAD( "epr-7485.117",   0x0000, 0x4000, CRC(c2891722) SHA1(e4e11c0e9bd0dc121c25349493f2b13d2ff8c807) )
3933   ROM_LOAD( "epr-7487.04",   0x4000, 0x4000, CRC(2d3a421b) SHA1(d70440a8703ccface3212cd9544c950b36263e8c) )
3934   ROM_LOAD( "epr-7486.110",   0x8000, 0x4000, CRC(8d622c50) SHA1(9a76a50204c618347d3e8eee6cda841becd906eb) )
3935   ROM_LOAD( "epr-7488.05",   0xc000, 0x4000, CRC(007c2f1b) SHA1(c2f1376144a49d20cb35384648e06d06978474c1) )
3936
3937   ROM_REGION( 0x0100, "proms", 0 )
3938   ROM_LOAD( "pr-5317.76",      0x0000, 0x0100, CRC(648350b8) SHA1(c7986aa9127ef5b50b845434cb4e81dff9861cd2) )
3939ROM_END
3940
39113941ROM_START( wboysys2 )
39123942   ROM_REGION( 0x20000, "maincpu", 0 )
39133943   ROM_LOAD( "7580.90",  0x0000, 0x8000, CRC(d69927a5) SHA1(b633177146a83953131d4e03fa987416f222199a) ) /* encrypted */
r14797r14798
48224852GAME( 1986, wboy4,      wboy,     sys1pio,  wboy,      4dwarrio, ROT0,   "Escape (Sega license)", "Wonder Boy (315-5162, 4-D Warriors Conversion)", GAME_SUPPORTS_SAVE )
48234853GAME( 1986, wboy5,      wboy,     sys1pio,  wboy3,     wboyo,    ROT0,   "Escape (Sega license)", "Wonder Boy (set 5, bootleg)", GAME_SUPPORTS_SAVE )
48244854GAME( 1986, wboyu,      wboy,     sys1pio,  wboyu,     bank00,   ROT0,   "Escape (Sega license)", "Wonder Boy (prototype?)", GAME_SUPPORTS_SAVE ) // appears to be a very early / unfinished version.
4855GAME( 1986, wboyub,     wboy,     sys1pio,  wboy,      wboyo,    ROT0,   "bootleg", "Wonder Boy (US bootleg)", GAME_SUPPORTS_SAVE | GAME_NOT_WORKING )
48254856GAME( 1987, blockgal,   0,        sys1pio,  blockgal,  blockgal, ROT90,  "Sega / Vic Tokai", "Block Gal (MC-8123B, 317-0029)", GAME_SUPPORTS_SAVE)
48264857
48274858/* PIO-based System 1 with ROM banking */
src/mame/drivers/dribling.c
r14797r14798
388388   ROM_LOAD( "prom_2d.bin", 0x0500, 0x0100, CRC(5d8c57c6) SHA1(abfb54812d66a36e797be47653dadda4843e8a90) )
389389ROM_END
390390
391ROM_START( driblingbr )
392   ROM_REGION( 0x10000, "maincpu", 0 )
393   ROM_LOAD( "1",  0x0000, 0x1000, CRC(35d97f4f) SHA1(c82b1d2a91e25cf3e3f049e0127d300572f0f54c) )
394   ROM_LOAD( "2",  0x1000, 0x1000, CRC(bd0f223a) SHA1(f9fbc5670a8723c091d61012e545774d315eb18f) )
395   ROM_LOAD( "3",  0x4000, 0x1000, CRC(1fccfc85) SHA1(c0365ad54144414218f52209173b858b927c9626) )
396   ROM_LOAD( "4",  0x5000, 0x1000, CRC(3ed4073a) SHA1(dec36e9dda07ea5f50163b98051955783131773d) )
397   ROM_LOAD( "5",  0x6000, 0x1000, CRC(c21a1d32) SHA1(6e919f1416e6c4df133d3140f7331f65f65d4942) )
391398
399   ROM_REGION( 0x2000, "gfx1", 0 )
400   ROM_LOAD( "6",  0x0000, 0x1000, CRC(208971b8) SHA1(f91f3ea04d75beb58a61c844472b4dba53d84c0f) )
401   ROM_LOAD( "7",  0x1000, 0x1000, CRC(356c9803) SHA1(8e2ce52f32b33886f4747dadf3aeb78148538173) )
392402
403   ROM_REGION( 0x600, "proms", 0 )
404   ROM_LOAD( "prom_3c.bin", 0x0000, 0x0400, CRC(25f068de) SHA1(ea4c56c47fe8153069acb9df80df0b099f3b81f1) )
405   ROM_LOAD( "prom_3e.bin", 0x0400, 0x0100, CRC(73eba798) SHA1(7be0e253624df53092e26c28eb18afdcf71434aa) )
406   ROM_LOAD( "prom_2d.bin", 0x0500, 0x0100, CRC(5d8c57c6) SHA1(abfb54812d66a36e797be47653dadda4843e8a90) )
407ROM_END
408
409
393410/*************************************
394411 *
395412 *  Game drivers
r14797r14798
398415
399416GAME( 1983, dribling, 0,        dribling, dribling, 0, ROT0, "Model Racing", "Dribbling", GAME_NO_SOUND | GAME_SUPPORTS_SAVE )
400417GAME( 1983, driblingo,dribling, dribling, dribling, 0, ROT0, "Model Racing (Olympia license)", "Dribbling (Olympia)", GAME_NO_SOUND | GAME_SUPPORTS_SAVE )
418GAME( 1983, driblingbr,dribling, dribling, dribling, 0, ROT0, "bootleg (Videomac)", "Dribbling (bootleg, Brazil)", GAME_NO_SOUND | GAME_SUPPORTS_SAVE )
src/mame/drivers/dec0.c
r14797r14798
18771877   ROM_LOAD( "eg08.2c",   0x0000, 0x10000, CRC(92f2c916) SHA1(38b4ed81edcc2069b096591bdc5baab8b9edfa9a) ) // different to baddudes
18781878ROM_END
18791879
1880ROM_START( drgninjab )
1881   ROM_REGION( 0x60000, "maincpu", 0 )   /* 6*64k for 68000 code, middle 0x20000 unused */
1882    ROM_LOAD16_BYTE( "n-12.d2",  0x00000, 0x10000, CRC(5a70eb52) SHA1(26fd48ea71cd5196e3907eebcf1234f44a3d7dba) )
1883    ROM_LOAD16_BYTE( "n-11.a2",  0x00001, 0x10000, CRC(3887eb92) SHA1(a8650ce128927955497540d7c6fbd23516afdb24) )
1884   ROM_LOAD16_BYTE( "eg06.6c",  0x40000, 0x10000, CRC(2b81faf7) SHA1(6d10c29f5ee06856843d83e77ba24c2b6e00a9cb) )
1885   ROM_LOAD16_BYTE( "eg03.6a",  0x40001, 0x10000, CRC(c52c2e9d) SHA1(399f2b7df9d558c8f33bf1a7c8048c62e0f54cec) )
1886
1887   ROM_REGION( 0x10000, "audiocpu", 0 )   /* Sound CPU */
1888   ROM_LOAD( "eg07.8a",   0x8000, 0x8000, CRC(001d2f51) SHA1(f186671f0450ccf9201577a5caf0efc490c6645e) )
1889
1890   ROM_REGION( 0x1000, "mcu", 0 )   /* i8751 microcontroller */
1891   ROM_LOAD( "i8751",     0x0000, 0x1000, NO_DUMP )
1892
1893   /* various graphic and sound roms also differ when compared to baddudes */
1894
1895   ROM_REGION( 0x10000, "gfx1", 0 ) /* chars */
1896   //ROM_LOAD( "drgninja.25",  0x00000, 0x08000, CRC(6791bc20) SHA1(7240b2688cda04ee9ea331472a84fbffc85b8e90) )
1897   // the rom below was found on a genuine 'dragonninja' pcb, compared to the other ROM it has the 'bad dudes' (unused) logo
1898   // partially erased, and a bad pixel on the left arrow character.  Is the other rom a cleaned up hack, or from a bootleg,
1899   // or did Data East actually clean it up on a later PCB?
1900   ROM_LOAD( "eg25.15j",  0x00000, 0x08000, CRC(dd557b19) SHA1(ce1e76aeb7e147f373bb48dbc1becc1601953499) ) // different to baddudes
1901   ROM_LOAD( "eg26.16j",  0x08000, 0x08000, CRC(5d75fc8f) SHA1(92947dd78bfe8067fb5f645fa1ef212e48b69c70) ) // different to baddudes
1902
1903   ROM_REGION( 0x40000, "gfx2", 0 ) /* tiles */
1904   ROM_LOAD( "eg18.14d",  0x00000, 0x10000, CRC(05cfc3e5) SHA1(a0163921c77dc9706463a402c3dd45ec4341cd21) )
1905   ROM_LOAD( "eg20.17d",  0x10000, 0x10000, CRC(e11e988f) SHA1(0c59f0d8d1abe414c7e1ebd49d454179fed2cd00) )
1906   ROM_LOAD( "eg22.14f",  0x20000, 0x10000, CRC(b893d880) SHA1(99e228174677f2e3e96154f77bfa9bf0f1c0a6a5) )
1907   ROM_LOAD( "eg24.17f",  0x30000, 0x10000, CRC(6f226dda) SHA1(65ebb16a292c57d49c135fce7ed7537146226eb5) )
1908
1909   ROM_REGION( 0x20000, "gfx3", 0 ) /* tiles */
1910   ROM_LOAD( "eg30.9j",   0x08000, 0x08000, CRC(2438e67e) SHA1(5f143aeb83606a2c64d0b31bfee38156d231dcc9) )
1911   ROM_CONTINUE(          0x00000, 0x08000 )   /* the two halves are swapped */
1912   ROM_LOAD( "eg28.9f",   0x18000, 0x08000, CRC(5c692ab3) SHA1(4c58ff50833f869575f1a15c776fbf1429944fab) )
1913   ROM_CONTINUE(          0x10000, 0x08000 )
1914
1915   ROM_REGION( 0x80000, "gfx4", 0 ) /* sprites */
1916   ROM_LOAD( "eg15.16c",  0x00000, 0x10000, CRC(5617d67f) SHA1(8f684de27ae79c4d35720706cdd2733af0e0a9cc) ) // different to baddudes
1917   ROM_LOAD( "eg16.17c",  0x10000, 0x08000, CRC(17e42633) SHA1(405f5296a741901677cca978a1b287d894eb1e54) )
1918   ROM_LOAD( "eg11.16a",  0x20000, 0x10000, CRC(ba83e8d8) SHA1(63092a5d0da0c9228a72a83b43a67a47b1388724) ) // different to baddudes
1919   ROM_LOAD( "eg12.17a",  0x30000, 0x08000, CRC(fea2a134) SHA1(525dd5f48993db1fe1e3c095442884178f75e8e0) )
1920   ROM_LOAD( "eg13.13c",  0x40000, 0x10000, CRC(fd91e08e) SHA1(8998f020791c8830e963096dc7b8fcb430d041d4) ) // different to baddudes
1921   ROM_LOAD( "eg14.14c",  0x50000, 0x08000, CRC(e83c760a) SHA1(d08db381658b8b3288c5eaa9048a906126e0f712) )
1922   ROM_LOAD( "eg09.13a",  0x60000, 0x10000, CRC(601b7b23) SHA1(c1c665614f1377bc47720382b25c965266a2593f)) // different to baddudes
1923   ROM_LOAD( "eg10.14a",  0x70000, 0x08000, CRC(eeee8a1a) SHA1(2bf8378ff38f6a7c7cbd4cbd489de25cb1f0fe71) )
1924
1925   ROM_REGION( 0x40000, "oki", 0 )   /* ADPCM samples */
1926   ROM_LOAD( "eg08.2c",   0x0000, 0x10000, CRC(92f2c916) SHA1(38b4ed81edcc2069b096591bdc5baab8b9edfa9a) ) // different to baddudes
1927ROM_END
1928
18801929ROM_START( birdtry )
18811930   ROM_REGION( 0x60000, "maincpu", 0 )   /* 6*64k for 68000 code */
18821931   ROM_LOAD16_BYTE( "ek-04.bin",     0x00000, 0x10000, CRC(5f0f4686) SHA1(5eea74f5626339ebd50e623029f21f1cd0f93135) )
r14797r14798
30263075GAME( 1987, hbarrelw,   hbarrel,  hbarrel,  hbarrel,  hbarrel,  ROT270, "Data East Corporation", "Heavy Barrel (World)", 0 )
30273076GAME( 1988, baddudes,   0,        baddudes, baddudes, baddudes, ROT0,   "Data East USA",         "Bad Dudes vs. Dragonninja (US)", 0 )
30283077GAME( 1988, drgninja,   baddudes, baddudes, drgninja, baddudes, ROT0,   "Data East Corporation", "Dragonninja (Japan)", 0 )
3078GAME( 1988, drgninjab,  baddudes, baddudes, drgninja, baddudes, ROT0,   "bootleg", "Dragonninja (bootleg)", 0 )
30293079/* A Bad Dudes bootleg with 68705 like the midres and ffantasy ones exists, but is not dumped */
30303080GAME( 1988, birdtry,    0,        birdtry,  birdtry,  birdtry,  ROT270, "Data East Corporation", "Birdie Try (Japan)", GAME_UNEMULATED_PROTECTION )
30313081GAME( 1988, robocop,    0,        robocop,  robocop,  robocop,  ROT0,   "Data East Corporation", "Robocop (World revision 4)", 0 )
src/mame/drivers/8080bw.c
r14797r14798
32093209   ROM_LOAD( "ps07.2c", 0x0000, 0x0100, CRC(2953253b) SHA1(2fb851bc9652ca4e51d473b484ede6dab05f1b51) ) /* MB7052 or compatible BPROM (82S129) */
32103210ROM_END
32113211
3212
32123213ROM_START( polariso )
32133214   ROM_REGION( 0x10000, "maincpu", 0 )
32143215   ROM_LOAD( "ps01.30",     0x0000, 0x0800, CRC(c04ce5a9) SHA1(62cc9b3b682ebecfb7600393862c65e26ff5263f) )
r14797r14798
32253226   ROM_LOAD( "ps07.2c", 0x0000, 0x0100, CRC(2953253b) SHA1(2fb851bc9652ca4e51d473b484ede6dab05f1b51) ) /* MB7052 or compatible BPROM (82S129) */
32263227ROM_END
32273228
3229ROM_START( polarisbr ) /* aka Polaris II on flyers? */
3230   ROM_REGION( 0x10000, "maincpu", 0 )
3231   ROM_LOAD( "1",   0x0000, 0x0800, CRC(17015f52) SHA1(8beb4d927c08420f9990fac787a81d4bd6dd419c) )
3232   ROM_LOAD( "2",   0x0800, 0x0800, CRC(9a5c8cb2) SHA1(7a8c5d74f8b431072d9476d3ef65a3fe1d639813) )
3233   ROM_LOAD( "3",   0x1000, 0x0800, CRC(60118368) SHA1(e1189fd88b943fcf77a5c41c519cccdb8196910c) )
3234   ROM_LOAD( "4",   0x1800, 0x0800, CRC(65694948) SHA1(de92a7f3e3ef732b573254baa60df60f8e068a5d) )
3235   ROM_LOAD( "5",   0x4000, 0x0800, CRC(6cb21b31) SHA1(f9d435a3aa905f124cb87c139b047e1585d0997b) )
3236   ROM_LOAD( "6",   0x4800, 0x0800, CRC(3df77bac) SHA1(b3275c34b8d42df83df2c404c5b7d220aae651fa) )
3237   ROM_LOAD( "7",   0x5000, 0x0800, CRC(0d811b92) SHA1(09af62997e1e0da0525ab4f6ced775d3673d8f35) )
3238
3239   ROM_REGION( 0x0400, "proms", 0 )      /* background color map */
3240   ROM_LOAD( "ps08.1b", 0x0000, 0x0400, CRC(164aa05d) SHA1(41c699ce45c76a60c71294f25d8df6c6e6c1280a) ) /* NEC B406 or compatible BPROM (82S137) */
3241
3242   ROM_REGION( 0x0100, "user1", 0 )      /* cloud graphics */
3243   ROM_LOAD( "ps07.2c", 0x0000, 0x0100, CRC(2953253b) SHA1(2fb851bc9652ca4e51d473b484ede6dab05f1b51) ) /* MB7052 or compatible BPROM (82S129) */
3244ROM_END
3245
32283246ROM_START( ozmawars )
32293247   ROM_REGION( 0x10000, "maincpu", 0 )
32303248   ROM_LOAD( "mw01",         0x0000, 0x0800, CRC(31f4397d) SHA1(bba9765aadd608d19e2515a5edf8e0eceb70916a) )
r14797r14798
34443462GAME( 1980, polaris,  0,        polaris,  polaris,  0, ROT270, "Taito", "Polaris (Latest version)", GAME_SUPPORTS_SAVE )
34453463GAME( 1980, polarisa, polaris,  polaris,  polaris,  0, ROT270, "Taito", "Polaris (First revision)", GAME_SUPPORTS_SAVE )
34463464GAME( 1980, polariso, polaris,  polaris,  polaris,  0, ROT270, "Taito", "Polaris (Original version)", GAME_SUPPORTS_SAVE )
3465GAME( 1981, polarisbr,polaris,  polaris,  polaris,  0, ROT270, "Taito do Brasil", "Polaris (Brazil)", GAME_SUPPORTS_SAVE )
34473466GAME( 1980, ballbomb, 0,        ballbomb, ballbomb, 0, ROT270, "Taito", "Balloon Bomber", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS )   /* missing clouds */
34483467GAME( 1980, indianbt, 0,        indianbt, indianbt, 0, ROT270, "Taito", "Indian Battle", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND )
34493468GAME( 1980, steelwkr, 0,        steelwkr, steelwkr, 0, ROT0  , "Taito", "Steel Worker", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND )
src/mame/drivers/quasar.c
r14797r14798
3232#include "cpu/mcs48/mcs48.h"
3333#include "sound/dac.h"
3434#include "video/s2636.h"
35#include "includes/cvs.h"
35#include "includes/quasar.h"
3636
3737/************************************************************************
3838
r14797r14798
432432ROM_END
433433
434434
435GAME( 1980, quasar,   0,      quasar,   quasar,   0, ROT90, "Zelco / Zaccaria", "Quasar (set 1)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
436GAME( 1980, quasara,  quasar, quasar,   quasar,   0, ROT90, "Zelco / Zaccaria", "Quasar (set 2)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
435GAME( 1980, quasar,   0,      quasar,   quasar,   0, ROT90, "Zaccaria / Zelco", "Quasar (set 1)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
436GAME( 1980, quasara,  quasar, quasar,   quasar,   0, ROT90, "Zaccaria / Zelco", "Quasar (set 2)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
src/mame/drivers/rastan.c
r14797r14798
490490   ROM_LOAD( "b04-20.76", 0x0000, 0x10000, CRC(fd1a34cc) SHA1(b1682959521fa295769207b75cf7d839e9ec95fd) ) /* samples are 4bit ADPCM */
491491ROM_END
492492
493/* this is an official Taito PCB and mostly matches rastanu, but the copyright message is TAITO JAPAN so I assume it's a World version */
494ROM_START( rastan2 )
495   ROM_REGION( 0x60000, "maincpu", 0 )   /* 6*64k for 68000 code */
496    ROM_LOAD16_BYTE( "b04-38.19",    0x00000, 0x10000, CRC(1c91dbb1) SHA1(17fc55e8546cc0b847aebd67fb4570a1e9f128f3) )
497    ROM_LOAD16_BYTE( "b04-37.7",     0x00001, 0x10000, CRC(ecf20bdd) SHA1(92e46b1edef40a19be17091c09daba598d77bca8) )
498    ROM_LOAD16_BYTE( "b04-40.20",    0x20000, 0x10000, CRC(0930d4b3) SHA1(c269b3856040ed9409de99cca48f22a2f355fc4c) )
499    ROM_LOAD16_BYTE( "b04-39.8",     0x20001, 0x10000, CRC(d95ade5e) SHA1(f47557dcfa9d3137e2a3838e45858fc21471cc91) )
500    ROM_LOAD16_BYTE( "b04-42.21",    0x40000, 0x10000, CRC(1857a7cb) SHA1(7d967d04ade648c6ddb19aad9e184b6e272856da) )
501    ROM_LOAD16_BYTE( "b04-43-1.9",   0x40001, 0x10000, CRC(ca4702ff) SHA1(0f8c2d7d332c4e35884c48d87ba9fd26924d1692) )
502
503   ROM_REGION( 0x1c000, "audiocpu", 0 )
504   ROM_LOAD( "b04-19.49", 0x00000, 0x4000, CRC(ee81fdd8) SHA1(fa59dac2583a7d2979550dffc6f9c6c2bd67bfd5) )
505   ROM_CONTINUE(            0x10000, 0xc000 )
506
507   ROM_REGION( 0x080000, "gfx1", 0 )
508   ROM_LOAD( "b04-01.40",  0x00000, 0x20000, CRC(cd30de19) SHA1(f8d158d38cd07a24cb5ddefd4ce90beec706924d) )
509   ROM_LOAD( "b04-03.39",  0x20000, 0x20000, CRC(ab67e064) SHA1(5c49f0ff9221cba9f2bb8da86eb4448c73012410) )
510   ROM_LOAD( "b04-02.67",  0x40000, 0x20000, CRC(54040fec) SHA1(a2bea2ce1cebd25b33be41723299ca0512d95f9e) )
511   ROM_LOAD( "b04-04.66",  0x60000, 0x20000, CRC(94737e93) SHA1(3df7f085fe6468bda11fab2e86252df6f74f7a99) )
512
513   ROM_REGION( 0x080000, "gfx2", 0 )
514   ROM_LOAD( "b04-05.15",  0x00000, 0x20000, CRC(c22d94ac) SHA1(04f69f9af7ac4242e95dba32988afa3616d75a92) )
515   ROM_LOAD( "b04-07.14",  0x20000, 0x20000, CRC(b5632a51) SHA1(da6ebe6afe245443a76b33714213549356c0c5c3) )
516   ROM_LOAD( "b04-06.28",  0x40000, 0x20000, CRC(002ccf39) SHA1(fdc29f39198f9b488e298ee89b0eeb3417527733) )
517   ROM_LOAD( "b04-08.27",  0x60000, 0x20000, CRC(feafca05) SHA1(9de9ff1fcf037e5ab25c181b678245041238d6ae) )
518
519   ROM_REGION( 0x10000, "adpcm", 0 )   /* MSM5205 samples */
520   ROM_LOAD( "b04-20.76", 0x0000, 0x10000, CRC(fd1a34cc) SHA1(b1682959521fa295769207b75cf7d839e9ec95fd) )
521ROM_END
522
493523ROM_START( rastanu )
494524   ROM_REGION( 0x60000, "maincpu", 0 )   /* 6*64k for 68000 code */
495525   ROM_LOAD16_BYTE( "b04-35.19", 0x00000, 0x10000, CRC(1c91dbb1) SHA1(17fc55e8546cc0b847aebd67fb4570a1e9f128f3) )
r14797r14798
607637ROM_END
608638
609639
610GAME( 1987, rastan,    0,      rastan, rastan,   0, ROT0, "Taito Corporation Japan",   "Rastan (World)", GAME_SUPPORTS_SAVE )
640GAME( 1987, rastan,    0,      rastan, rastan,   0, ROT0, "Taito Corporation Japan",   "Rastan (World, set 1)", GAME_SUPPORTS_SAVE )
641GAME( 1987, rastan2,   rastan, rastan, rastsaga, 0, ROT0, "Taito Corporation Japan",   "Rastan (World, set 2)", GAME_SUPPORTS_SAVE )
611642GAME( 1987, rastanu,   rastan, rastan, rastsaga, 0, ROT0, "Taito America Corporation", "Rastan (US, set 1)", GAME_SUPPORTS_SAVE )
612643GAME( 1987, rastanu2,  rastan, rastan, rastsaga, 0, ROT0, "Taito America Corporation", "Rastan (US, set 2)", GAME_SUPPORTS_SAVE )
613644GAME( 1987, rastsaga,  rastan, rastan, rastsaga, 0, ROT0, "Taito Corporation",         "Rastan Saga (Japan)", GAME_SUPPORTS_SAVE )
src/mame/drivers/triforce.c
r14797r14798
466466   TRIFORCE_BIOS
467467
468468   DISK_REGION( "gdrom" )
469   DISK_IMAGE_READONLY( "gdt-0001", 0, SHA1(1b4b16b0715fa5717904f0b3141cc48cca99b7a4) )
469   DISK_IMAGE_READONLY( "gdt-0001", 0, BAD_DUMP SHA1(1b4b16b0715fa5717904f0b3141cc48cca99b7a4) )
470470
471471   ROM_REGION( 0x50, "picreturn", ROMREGION_ERASE)
472472   ROM_LOAD("gdt-0001.data", 0x00, 0x50, CRC(4a1fca38) SHA1(3bc6dca4f8faba44bf5c5a8012cffc69dbb6aea2) )
r14797r14798
493493   TRIFORCE_BIOS
494494
495495   DISK_REGION( "gdrom" )
496   DISK_IMAGE_READONLY( "gdt-0002", 0, SHA1(471e896d43167c93cc229cfc94ff7ac6de7cf9a4) )
496   DISK_IMAGE_READONLY( "gdt-0002", 0, BAD_DUMP SHA1(471e896d43167c93cc229cfc94ff7ac6de7cf9a4) )
497497
498498   ROM_REGION( 0x50, "picreturn", ROMREGION_ERASE)
499499   ROM_LOAD("317-0337-exp.data", 0x00, 0x50, CRC(aa6be604) SHA1(fabc43ecfb7ddf1d5a87f10884852027d6f4773b) )
r14797r14798
504504   TRIFORCE_BIOS
505505
506506   DISK_REGION( "gdrom" )
507   DISK_IMAGE_READONLY( "gdt-0005c", 0, SHA1(9edb3d9ff492d2207d57bfdb6859e796f76c5e0c) )
507   DISK_IMAGE_READONLY( "gdt-0005c", 0, BAD_DUMP SHA1(9edb3d9ff492d2207d57bfdb6859e796f76c5e0c) )
508508
509509   ROM_REGION( 0x50, "picreturn", ROMREGION_ERASE)
510510   ROM_LOAD("gdt-0005.data", 0x00, 0x50, CRC(6c51e5d6) SHA1(84afef983f1f855fe8722f55baa8ea5121da9369) )
r14797r14798
515515   TRIFORCE_BIOS
516516
517517   DISK_REGION( "gdrom" )
518   DISK_IMAGE_READONLY( "gdt-0008c", 0, SHA1(2c1bdb8324efc216edd771fe45c680ac726111a0) )
518   DISK_IMAGE_READONLY( "gdt-0008c", 0, BAD_DUMP SHA1(2c1bdb8324efc216edd771fe45c680ac726111a0) )
519519
520520   ROM_REGION( 0x50, "picreturn", ROMREGION_ERASE)
521521   ROM_LOAD("317-0371-jpn.data", 0x00, 0x50, CRC(08434e5e) SHA1(2121999e851f6f62ab845e6de40849d850ac9d1c) )
r14797r14798
526526   TRIFORCE_BIOS
527527
528528   DISK_REGION( "gdrom" )
529   DISK_IMAGE_READONLY( "gdt-0011", 0, SHA1(71bfa8f53d211085c020d54f55eeeabf85212a0b) )
529   DISK_IMAGE_READONLY( "gdt-0011", 0, BAD_DUMP SHA1(71bfa8f53d211085c020d54f55eeeabf85212a0b) )
530530
531531   ROM_REGION( 0x50, "picreturn", ROMREGION_ERASE)
532532   ROM_LOAD("gdt-0011.data", 0x00, 0x50, CRC(08434e5e) SHA1(2121999e851f6f62ab845e6de40849d850ac9d1c) )
r14797r14798
561561   TRIFORCE_BIOS
562562
563563   DISK_REGION( "gdrom" )
564   DISK_IMAGE_READONLY( "gdt-0015", 0, SHA1(1f83712b2b170d6edf4a27c15b6f763cc3cc4b71) )
564   DISK_IMAGE_READONLY( "gdt-0015", 0, BAD_DUMP SHA1(1f83712b2b170d6edf4a27c15b6f763cc3cc4b71) )
565565
566566   ROM_REGION( 0x50, "picreturn", ROMREGION_ERASE)
567567   ROM_LOAD("317-0393-exp.data", 0x00, 0x50, CRC(2dcfecd7) SHA1(d805168e1564051ae5c47876ade2c9843253c6b4) )
r14797r14798
590590   TRIFORCE_BIOS
591591
592592   DISK_REGION( "gdrom" )
593   DISK_IMAGE_READONLY( "gdt-0013e", 0, SHA1(b69cc5cab889114eda5c6e9ddcca42de9bc235b3) )
593   DISK_IMAGE_READONLY( "gdt-0013e", 0, BAD_DUMP SHA1(b69cc5cab889114eda5c6e9ddcca42de9bc235b3) )
594594
595595   ROM_REGION( 0x50, "picreturn", ROMREGION_ERASE)
596596   ROM_LOAD("317-0391-jpn.data", 0x00, 0x50, CRC(0f2dbb73) SHA1(7b9d66abe85303b3e26b442a3a63feca1a0edbdb) )
r14797r14798
620620   TRIFORCE_BIOS
621621
622622   DISK_REGION( "gdrom" )
623   DISK_IMAGE_READONLY( "gdt-0010c", 0, SHA1(716c441d8dc9036a13c66ef0048cd6d32ac63c4e) )
623   DISK_IMAGE_READONLY( "gdt-0010c", 0, BAD_DUMP SHA1(716c441d8dc9036a13c66ef0048cd6d32ac63c4e) )
624624
625625   ROM_REGION( 0x50, "picreturn", ROMREGION_ERASE)
626626   ROM_LOAD("gdt-0010c.data", 0x00, 0x50, CRC(6c51e5d6) SHA1(84afef983f1f855fe8722f55baa8ea5121da9369) )
r14797r14798
651651   TRIFORCE_BIOS
652652
653653   DISK_REGION( "gdrom" )
654   DISK_IMAGE_READONLY( "gdt-0017b", 0, SHA1(e2dd32c322ffcaf38b82275d2721b71bb3dfc1f2) )
654   DISK_IMAGE_READONLY( "gdt-0017b", 0, BAD_DUMP SHA1(e2dd32c322ffcaf38b82275d2721b71bb3dfc1f2) )
655655
656656   ROM_REGION( 0x50, "picreturn", ROMREGION_ERASE)
657657   ROM_LOAD("gdt-0017b.data", 0x00, 0x50, CRC(32cb46d4) SHA1(a58b9e03d57b317133d9b6c29e42852af8e77559) )
r14797r14798
662662   TRIFORCE_BIOS
663663
664664   DISK_REGION( "gdrom" )
665   DISK_IMAGE_READONLY( "gdt-0020d", 0, SHA1(db256d094b9754d452d7a2b8a370699d21141c1f) )
665   DISK_IMAGE_READONLY( "gdt-0020d", 0, BAD_DUMP SHA1(db256d094b9754d452d7a2b8a370699d21141c1f) )
666666
667667   ROM_REGION( 0x50, "picreturn", ROMREGION_ERASE)
668668   ROM_LOAD("gdt-0020.data", 0x00, 0x50, CRC(e3d13191) SHA1(4255c09aad06eb38c16bdec881897404a3a68b37) )
src/mame/drivers/zac2650.c
r14797r14798
311311ROM_END
312312
313313
314GAME( 1978, sia2650,  0,       tinvader, sinvader, 0, ROT270, "Zelco / Zaccaria", "Super Invader Attack", 0 )
315GAMEL(1978, tinv2650, sia2650, tinvader, tinvader, 0, ROT270, "Zelco / Zaccaria", "The Invaders",         0, layout_tinv2650 )
314GAME( 1978, sia2650,  0,       tinvader, sinvader, 0, ROT270, "Zaccaria / Zelco", "Super Invader Attack", 0 )
315GAMEL(1978, tinv2650, sia2650, tinvader, tinvader, 0, ROT270, "Zaccaria / Zelco", "The Invaders",         0, layout_tinv2650 )
316316GAME( 1979, dodgem,   0,       tinvader, dodgem,   0, ROT0,   "Zaccaria",         "Dodgem",               0 )
src/mame/drivers/cave.c
r14797r14798
6969     PCBs were shown running (and could be played) at a Cave fan show known as Cave Festival 2006. There are
7070     videos of the game being played floating around the internet and on YouTube. AKA DDP-CV or DDP BLUE ROM
7171
72  Dodonpachi Arrange: This version is a hack by trap15 and ment to be a tribute to the game. It is neither a
73                      long lost version or official release from Cave and therefore not suitable for MAME.
74
75     Known rom version 1.1:
76        File     CRC32    SHA1
77       ---------------------------------------------------------
78       u27.bin 44b899ae 798ec437d861b94fcd90c99a7015dd420887c788
79       u26.bin 727a09a8 91876386855f19e8a3d8d1df71dfe9b3d98e9ea9
80       u51.bin 0f3e5148 3016f4d075940feae691389606cd2aa7ac53849e
81       u62.bin 42e4c6c5 4d282f7592f5fc5e11839c57f39cae20b8422aa1
82
7283***************************************************************************/
7384
7485#include "emu.h"
src/osd/sdl/man/mame.1
r14797r14798
1.\"  -*- nroff -*-
2.\"
3.\" mame.1
4.\"
5.\" Man page created from usage and source information:
6.\" * commands: see src/emu/clifront.c clifront.h
7.\" * options: core entries, see src/emu/emuopts.c emuopts.h
8.\"            SDL-specific entries, see src/osd/sdl/sdlmain.c osdsdl.h
9.\" Cesare Falco <cesare.falco@gmail.com>, February 2007
10.\"
11.\" Also, some text borrowed from the xmame 0.106 man page,
12.\" done by Rene Herrmann <rene.herrmann@berlin.de>, September 2000
13.\" and updated by Andrew Burton <burtona@gol.com>, July 2003
14.\"
15.\"
16.TH MAME 1 2010-07-07 0.138u4 "MAME - The Multiple Arcade Machine Emulator"
17.\"
18.\"
19.\" NAME chapter
20.SH NAME
21MAME \- The Multiple Arcade Machine Emulator
22.\"
23.\"
24.\" SYNOPSIS chapter
25.SH SYNOPSIS
26.B mame
27.RI [ options ]
28.I gamename
29.\"
30.\"
31.\" DESCRIPTION chapter
32.SH DESCRIPTION
33Started in 1997 by Nicola Salmoria, MAME was originally intended as a series
34of emulators for individual games, which were later combined into a single
35multi\-game emulator. In the following years, MAME grew over and over up to
36the actual size, with more than 100 contributors to the project.
37.\"
38.\"
39.\" OPTIONS chapter
40.SH OPTIONS
41.\"
42.\" *******************************************************
43.SS Core commands
44.\" *******************************************************
45.TP
46.B \-help, \-?
47Displays current MAME version and copyright notice.
48.TP
49.B \-validate, \-valid
50Performs internal validation on every driver in the system. Run this
51before submitting changes to ensure that you haven't violated any of
52the core system rules.
53.\"
54.\" *******************************************************
55.SS Configuration commands
56.\" *******************************************************
57.TP
58.B \-createconfig, \-cc
59Creates the default \fBmame.ini\fP file in the current directory. All the
60configuration options (not commands) described below can be permanently
61changed by editing this configuration file.
62.TP
63.B \-showconfig, \-sc
64Displays the current configuration settings.
65.TP
66.B \-showusage, \-su
67Displays a summary of all the command line options. For options that
68are not mentioned here, the short summary given by
69\fBmame \-showusage\fR is usually sufficient.
70.\"
71.\" *******************************************************
72.SS Frontend commands
73.\" *******************************************************
74.B NOTE:
75By default, all the '\-list' commands below write info to the screen.
76If you wish to write the info to a textfile instead, use redirection, e.g.
77.B mame \-listxml > ~/mamelist.xml
78writes the full list of supported game to file \fImamelist.xml\fR in your home
79directory.
80.TP
81.B \-listxml, \-lx \fR[\fIgamename\fR|\fIwildcard\fR]
82List comprehensive details for all of the supported games. The output
83is quite long, so it is usually better to redirect this into a file.
84The output is in XML format. By default all games are listed; however,
85you can limit this list by specifying a driver name or wildcard after
86the \-listxml command.
87.TP
88.B \-listfull, \-ll \fR[\fIgamename\fR|\fIwildcard\fR]
89Displays a list of game driver names and descriptions. By default all
90games are listed; however, you can limit this list by specifying a
91driver name or wildcard after the \-listfull command.
92.TP
93.B \-listsource, \-ls \fR[\fIgamename\fR|\fIwildcard\fR]
94Displays a list of drivers and the names of the source files their game
95drivers live in. Useful for finding which driver a game runs on in
96order to fix bugs. By default all games are listed; however, you can
97limit this list by specifying a driver name or wildcard after the
98\-listsource command.
99.TP
100.B \-listclones, \-lc \fR[\fIgamename\fR|\fIwildcard\fR]
101Displays a list of clones. By default all clones are listed; however,
102you can limit this list by specifying a driver name or wildcard after
103the \-listclones command.
104.TP
105.B \-listbrothers, \-lb \fR[\fIgamename\fR|\fIwildcard\fR]
106Displays a list of "brothers" or other drivers from same sourcefile.
107By default all games are listed; however, you can limit this list by
108specifying a driver name or wildcard after the \-listbrothers command.
109.TP
110.B \-listcrc
111Displays a full list of CRCs of all ROM images referenced by all
112drivers within MAME code.
113.TP
114.B \-listroms \fIgamename
115Displays a list of ROM images referenced by the specified game.
116.TP
117.B \-listsamples \fIgamename
118Displays a list of samples referenced by the specified game.
119.TP
120.B \-verifyroms \fR[\fIgamename\fR|\fIwildcard\fR]
121Checks for invalid or missing ROM images. By default all drivers that
122have valid ZIP files or directories in the rompath are verified;
123however, you can limit this list by specifying a driver name or
124wildcard after the \-verifyroms command.
125.TP
126.B \-verifysamples \fR[\fIgamename\fR|\fIwildcard\fR]
127Checks for invalid or missing samples. By default all drivers that
128have valid ZIP files or directories in the samplepath are verified;
129however, you can limit this list by specifying a driver name or
130wildcard after the \-verifyroms command.
131.TP
132.B \-romident
133Attempts to identify ROM files, if they are known to MAME, in the
134specified .zip file or directory. This command can be used to try and
135identify ROM sets taken from unknown boards. On exit, the errorlevel
136is returned as one of the following:
137.br
138\fB0\fR  all files were identified
139.br
140\fB7\fR  all files were identified except for some "non\-ROM" files
141.br
142\fB8\fR  some files were identified
143.br
144\fB9\fR  no files were identified
145.TP
146.B \-listdevices, \-ld
147Output the list of devices referenced by a given game or set of games.
148.TP
149.B \-listmedia, \-lm
150Output the list of available media for the system.
151.TP
152.B \-listsoftware
153Output the list of known software for the system.
154.\"
155.\" *******************************************************
156.SS Configuration options
157.\" *******************************************************
158.TP
159.B \-[no]readconfig, \-[no]rc
160Enables or disables the reading of the config files. When enabled
161(which is the default), MAME reads the following config files in order:
162.br
1631. \fBmame.ini\fR
164.br
165the main configuration file
166.br
1672. \fI[name]\fB.ini\fR
168.br
169where \fIname\fR is your executable name, i.e. mame unless you changed it
170(e.g. if you renamed mame to mame0137, the parsed file will be
171\fImame0137.ini\fR)
172.br
1733. \fBdebug.ini\fR, if the debugger is enabled
174.br
1754. \fBvector.ini\fR, for vector games only
176.br
1775. \fI[driver]\fB.ini\fR
178.br
179based on the source filename of the game driver
180.br
1816. \fI[parent]\fB.ini\fR
182.br
183for clones only, may be called recursively
184.br
1857. \fI[gamename]\fB.ini\fR
186.br
187note this sometimes resolves to the same of the source driver
188.br
189The settings in the later ini's override those in the earlier ini's.
190So, for example, if you wanted to disable overlay effects in the
191vector games, you can create a vector.ini with the "effect none" line
192in it, and it will override whatever effect value you have in your
193mame.ini. The default is ON (\-readconfig).
194.\"
195.\" *******************************************************
196.SS Search path options
197.\" *******************************************************
198.B IMPORTANT\fR: Please use the path, directory and file options in
199mame.ini \fBONLY\fR. Otherwise, the outcome may be unpredictable and not
200consistent across releases.
201.TP
202.B \-rompath, \-rp, \-biospath, \-bp, \fIpathname
203Specifies a list of paths within which to find ROM or hard disk images.
204Multiple paths can be specified by separating them with semicolons.
205The default is 'roms' (that is, a directory "roms" in the same directory
206as the MAME executable).
207.TP
208.B \-samplepath, \-sp \fIpathname
209Specifies a list of paths within which to find sample files. Multiple
210paths can be specified by separating them with semicolons. The default
211is 'samples' (that is, a directory "samples" in the same directory as
212the MAME executable).
213.TP
214.B \-artpath, \-artwork_directory \fIpathname
215Specifies a list of paths within which to find artwork files. Multiple
216paths can be specified by separating them with semicolons. The default
217is 'artwork' (that is, a directory "artwork" in the same directory as
218the MAME executable).
219.TP
220.B \-ctrlrpath, \-ctrlr_directory \fIpathname
221Specifies a list of paths within which to find controller\-specific
222configuration files. Multiple paths can be specified by separating
223them with semicolons. The default is 'ctrlr' (that is, a directory
224"ctrlr" in the same directory as the MAME executable).
225.TP
226.B \-inipath \fIpathname
227Specifies a list of paths within which to find .INI files. Multiple
228paths can be specified by separating them with semicolons. The default
229is '/etc/mame/'.
230.TP
231.B \-fontpath \fIpathname
232Specifies a list of paths within which to find .BDF font files. Multiple
233paths can be specified by separating them with semicolons. The default
234is '.' (that is, search in the same directory as the MAME executable).
235.TP
236.B \-cheatpath \fIpathname
237Specifies a list of paths within which to find cheat files. Multiple
238paths can be specified by separating them with semicolons. The default
239is 'cheat' (that is, a directory "cheat" in the same directory as
240the MAME executable).
241.TP
242.B \-crosshairpath \fIpathname
243Specifies a list of paths within which to find crosshair files. Multiple
244paths can be specified by separating them with semicolons. The default
245is 'crosshair' (that is, a directory "crosshair" in the same directory as
246the MAME executable).  If the Crosshair is set to default in the menu,
247MAME will look for gamename\cross#.png and then cross#.png in the
248specified crosshairpath, where # is the player number.  Failing that,
249MAME will use built\-in default crosshairs.
250.\"
251.\" *******************************************************
252.SS Output Directory Options
253.\" *******************************************************
254.TP
255.B \-cfg_directory \fIpathname
256Specifies a single directory where configuration files are stored.
257Configuration files store user configurable settings that are read at
258startup and written when MAME exits. The default is 'cfg' (that is,
259a directory "cfg" in the same directory as the MAME executable). If this
260directory does not exist, it will be automatically created.
261.TP
262.B \-nvram_directory \fIpathname
263Specifies a single directory where NVRAM files are stored. NVRAM files
264store the contents of EEPROM and non\-volatile RAM (NVRAM) for games
265which used this type of hardware. This data is read at startup and
266written when MAME exits. The default is 'nvram' (that is, a directory
267"nvram" in the same directory as the MAME executable). If this directory
268does not exist, it will be automatically created.
269.TP
270.B \-memcard_directory \fIpathname
271Specifies a single directory where memory card files are stored. Memory
272card files store the contents of removable memory cards for games which
273used this type of hardware. This data is read and written under control
274of the user via the "Memory Card" menu in the user interface. The
275default is 'memcard' (that is, a directory "memcard" in the same
276directory as the MAME executable). If this directory does not exist,
277it will be automatically created.
278.TP
279.B \-input_directory \fIpathname
280Specifies a single directory where input recording files are stored.
281Input recordings are created via the \-record option and played back via
282the \-playback option. The default is 'inp' (that is, a directory
283"inp" in the same directory as the MAME executable). If this directory
284does not exist, it will be automatically created.
285.TP
286.B \-state_directory \fIpathname
287Specifies a single directory where save state files are stored. Save
288state files are read and written either upon user request, or when using
289the \-autosave option. The default is 'sta' (that is, a directory "sta"
290in the same directory as the MAME executable). If this directory does
291not exist, it will be automatically created.
292.TP
293.B \-snapshot_directory \fIpathname
294Specifies a single directory where screen snapshots are stored, when
295requested by the user. The default is 'snap' (that is, a directory
296"snap" in the same directory as the MAME executable). If this directory
297does not exist, it will be automatically created.
298.TP
299.B \-diff_directory \fIpathname
300Specifies a single directory where hard drive differencing files are
301stored. Hard drive differencing files store any data that is written
302back to a hard disk image, in order to preserve the original image. The
303differencing files are created at startup when a game with a hard disk
304image. The default is 'diff' (that is, a directory "diff" in the same
305directory as the MAME executable). If this directory does not exist,
306it will be automatically created.
307.TP
308.B \-comment_directory \fIpathname
309Specifies a single directory where debugger comment files are stored.
310Debugger comment files are written by the debugger when comments are
311added to the disassembly for a game. The default is 'comments' (that is,
312a directory "comments" in the same directory as the MAME executable).
313If this directory does not exist, it will be automatically created.
314.\"
315.\" *******************************************************
316.SS State/playback options
317.\" *******************************************************
318.TP
319.B \-state \fIslot
320Immediately after starting the specified game, will cause the save
321state in the specified \fIslot\fP to be loaded.
322.TP
323.B \-[no]autosave
324When enabled, automatically creates a save state file when exiting MAME
325and automatically attempts to reload it when later starting MAME with
326the same game. This only works for games that have explicitly enabled
327save state support in their driver. The default is OFF (\-noautosave).
328.TP
329.B \-playback, \-pb \fIfilename
330Specifies a file from which to play back a series of game inputs. This
331feature does not work reliably for all games, but can be used to watch
332a previously recorded game session from start to finish. In order to
333make things consistent, you should only record and playback with all
334configuration (.cfg), NVRAM (.nv), and memory card files deleted. The
335default is NULL (no playback).
336.TP
337.B \-record, \-rec \fIfilename
338Specifies a file to record all input from a game session. This can be
339used to record a game session for later playback. This feature does not
340work reliably for all games, but can be used to watch a previously
341recorded game session from start to finish. In order to make things
342consistent, you should only record and playback with all configuration
343(.cfg), NVRAM (.nv), and memory card files deleted. The default is NULL
344(no recording).
345.TP
346.B \-snapname \fIname
347Describes how MAME should name files for snapshots. \fIname\fP is a string
348that provides a template that is used to generate a filename. Three
349simple substitutions are provided: the / character represents the
350path separator on any target platform (even Windows); the string \fI%g\fP
351represents the driver name of the current game; and the string \fI%i\fP
352represents an incrementing index. If \fI%i\fP is omitted, then each
353snapshot taken will overwrite the previous one; otherwise, MAME will
354find the next empty value for \fI%i\fP and use that for a filename. The
355default is \fI%g/%i\fP, which creates a separate folder for each game,
356and names the snapshots under it starting with 0000 and increasing
357from there.
358.TP
359.B \-snapsize \fIwidth\fPx\fIheight\fP
360Hard\-codes the size for snapshots and movie recording. By default,
361MAME will create snapshots at the game's current resolution in raw
362pixels, and will create movies at the game's starting resolution in
363raw pixels. If you specify this option, then MAME will create both
364snapshots and movies at the size specified, and will bilinear filter
365the result. Note that this size does not automatically rotate if the
366game is vertically oriented. The default is 'auto'.
367.TP
368.B \-snapview \fIviewname\fP
369Specifies the view to use when rendering snapshots and movies. By
370default, both use a special 'internal' view, which renders a separate
371snapshot per screen or renders movies only of the first screen. By
372specifying this option, you can override this default behavior and
373select a single view that will apply to all snapshots and movies.
374Note that \fIviewname\fP does not need to be a perfect match; rather, it
375will select the first view whose name matches all the characters
376specified by \fIviewname\fP. For example, \-snapview native will match the
377"Native (15:14)" view even though it is not a perfect match.
378\fIviewname\fP can also be 'auto', which selects the first view with all
379screens present. The default value is 'internal'.
380.TP
381.B \-mngwrite \fIfilename
382Writes each video frame to the given \fIfilename\fP in MNG format, producing
383an animation of the   game session. Note that \-mngwrite only writes video
384frames; it does not save any audio data. Use \-wavwrite for that, and
385reassemble the audio/video using offline tools. The default is NULL (no
386recording).
387.TP
388.B \-aviwrite \fIfilename
389Stream video and sound data to the given \fIfilename\fP in AVI format,
390producing an animation of the game session complete with sound. The
391default is NULL (no recording).
392.TP
393.B \-wavwrite \fIfilename
394Writes the final mixer output to the given \fIfilename\fP in WAV format,
395producing an audio recording of the   game session. The default is NULL
396(no recording).
397.TP
398.B \-[no]burnin
399Tracks brightness of the screen during play and at the end of
400emulation generates a PNG that can be used to simulate burn\-in
401effects on other games. The resulting PNG is created such that the
402least used\-areas of the screen are fully white (since burned\-in areas
403are darker, all other areas of the screen must be lightened a touch).
404The intention is that this PNG can be loaded via an artwork file with
405a low alpha (e.g, 0.1\-0.2 seems to work well) and blended over the
406entire screen. The PNG files are saved in the snap directory under
407the gamename\\burnin\-<screen.name>.png. The default is OFF (\-noburnin).
408.\"
409.\" *******************************************************
410.SS Performance options
411.\" *******************************************************
412.TP
413.B \-[no]autoframeskip, \-[no]afs
414Automatically determines the frameskip level while you're playing the
415game, adjusting it constantly in a frantic attempt to keep the game
416running at full speed. Turning this on overrides the value you have set
417for \-frameskip below. The default is OFF (\-noautoframeskip).
418.TP
419.B \-frameskip, \-fs \fIvalue
420Specifies the frameskip value (autoframeskip must be disabled). This is the
421number of frames out of every 12 to drop when running. For example, if you
422say \-frameskip 2, then MAME will display 10 out of every 12 frames. By
423skipping those frames, you may be able to get full speed in a game that
424requires more horsepower than your computer has. The default value is 0,
425which skips no frames.
426.TP
427.B \-seconds_to_run, \-str \fIvalue
428This option can be used for benchmarking and automated testing. It tells
429MAME to stop execution after a fixed number of seconds. By combining
430this with a fixed set of other command line options, you can set up a
431consistent environment for benchmarking MAME performance. In addition,
432upon exit, the \-str option will write a screenshot called final.png
433to the game's snapshot directory.
434.TP
435.B \-[no]throttle
436Configures the default thottling setting. When throttling is on, MAME
437attempts to keep the game running at the game's intended speed. When
438throttling is off, MAME runs the game as fast as it can. Note that the
439fastest speed is more often than not limited by your graphics card,
440especially for older games. The default is ON (\-throttle).
441.TP
442.B \-[no]sleep
443Allows MAME to give time back to the system when running with \-throttle.
444This allows other programs to have some CPU time, assuming that the
445game isn't taxing 100% of your CPU resources. This option can potentially
446cause hiccups in performance if other demanding programs are running.
447The default is ON (\-sleep).
448.TP
449.B \-speed
450Controls the speed of gameplay, relative to realtime; smaller numbers are
451slower. Default is 1.00.
452.TP
453.B \-refreshspeed, \-rs
454Automatically adjusts the \fB\-speed\fR parameter to keep the effective refresh
455rate below that of the lowest screen refresh rate.
456.\"
457.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
458.\" SDL specific
459.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
460.TP
461.B \-multithreading, \-mt
462Enable multithreading; this enables rendering and blitting on a separate
463thread. The default is OFF.
464.TP
465.B \-numprocessors, \-np
466Set number of processors; this overrides the number the system reports.
467.TP
468.B \-sdlvideofps
469Show SDL video performance.
470.\"
471.\" *******************************************************
472.SS Rotation options
473.\" *******************************************************
474.TP
475.B \-[no]rotate
476Rotate the game to match its normal state (horizontal/vertical). This
477ensures that both vertically and horizontally oriented games show up
478correctly without the need to rotate your monitor. If you want to keep
479the game displaying 'raw' on the screen the way it would have in the
480arcade, turn this option OFF. The default is ON (\-rotate).
481.TP
482.B \-[no]ror | \-[no]rol
483Rotate the game screen to the right (clockwise) or left (counter\-
484clockwise) relative to either its normal state (if \-rotate is specified)
485or its native state (if \-norotate is specified). The default for both of
486these options is OFF (\-noror \-norol).
487.TP
488.B \-[no]autoror | \-[no]autorol
489These options are designed for use with pivoting screens that only
490pivot in a single direction. If your screen only pivots clockwise,
491use \-autorol to ensure that the game will fill the screen either
492horizontally or vertically in one of the directions you can handle.
493If your screen only pivots counter\-clockwise, use \-autoror.
494.TP
495.B \-[no]flipx
496.TP
497.B \-[no]flipy
498Flip (mirror) the game screen either horizontally (\-flipx) or
499vertically (\-flipy). The flips are applied after the \-rotate and
500\-ror/\-rol options are applied. The default for both of these options
501is OFF (\-noflipx \-noflipy).
502.\"
503.\" *******************************************************
504.SS Artwork options
505.\" *******************************************************
506.TP
507.B \-[no]artwork_crop, \-[no]artcrop
508Enable cropping of artwork to the game screen area only. This
509option can also be controlled via the Video Options menu in the user
510interface. The default is OFF (\-noartwork_crop).
511.TP
512.B \-[no]use_backdrops, \-[no]backdrop
513Enables/disables the display of backdrops. The default is ON
514(\-use_backdrops).
515.TP
516.B \-[no]use_overlays, \-[no]overlay
517Enables/disables the display of overlays. The default is ON
518(\-use_overlays).
519.TP
520.B \-[no]use_bezels, \-[no]bezel
521Enables/disables the display of bezels. The default is ON
522(\-use_bezels).
523.TP
524.B \-[no]use_cpanels, \-[no]cpanel
525Enables/disables the display of cpanels. The default is ON
526(\-use_bezels).
527.TP
528.B \-[no]use_marquees, \-[no]marquee
529Enables/disables the display of marquees. The default is ON
530(\-use_bezels).
531.\"
532.\" *******************************************************
533.SS Screen options
534.\" *******************************************************
535.TP
536.B \-brightness \fIvalue
537Controls the default brightness, or black level, of the game screens.
538This option does not affect the artwork or other parts of the display.
539Using the MAME UI, you can individually set the brightness for each game
540screen; this option controls the initial value for all visible game
541screens. The standard value is 1.0. Selecting lower values (down to 0.1)
542will produce a darkened display, while selecting higher values (up to
5432.0) will give a brighter display. The default is 1.0.
544.TP
545.B \-contrast \fIvalue
546Controls the contrast, or white level, of the game screens. This option
547does not affect the artwork or other parts of the display. Using the
548MAME UI, you can individually set the contrast for each game screen;
549this option controls the initial value for all visible game screens. The
550standard value is 1.0. Selecting lower values (down to 0.1) will produce
551a dimmer display, while selecting higher values (up to 2.0) will
552give a more saturated display. The default is 1.0.
553.TP
554.B \-gamma \fIvalue
555Controls the gamma, which produces a potentially nonlinear black to
556white ramp, for the game screens. This option does not affect the
557artwork or other parts of the display. Using the MAME UI, you can
558individually set the gamma for each game screen; this option controls
559the initial value for all visible game screens. The standard value is
5601.0, which gives a linear ramp from black to white. Selecting lower
561values (down to 0.1) will increase the nonlinearity toward black,
562while selecting higher values (up to 3.0) will push the nonlinearity
563toward white. The default is 1.0.
564.TP
565.B \-pause_brightness \fIvalue
566This controls the brightness level when MAME is paused. The default
567value is 0.65.
568.\"
569.\" *******************************************************
570.SS Vector rendering options
571.\" *******************************************************
572.TP
573.B \-[no]antialias, \-[no]aa
574Enables antialiased line rendering for vector games. The default is ON
575(\-antialias).
576.TP
577.B \-beam \fIwidth
578Sets the width of the vectors. This is a scaling factor against the
579standard vector width. A value of 1.0 will keep the default vector line
580width. Smaller values will reduce the width, and larger values will
581increase the width. The default is 1.0.
582.TP
583.B \-flicker \fIvalue
584Simulates a vector "flicker" effect, similar to a vector monitor that
585needs adjustment. This option requires a float argument in the range of
5860.00\-100.00 (0=none, 100=maximum). The default is 0.
587.\"
588.\" *******************************************************
589.SS Video options
590.\" *******************************************************
591.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
592.\" SDL specific
593.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
594.TP
595.B \-video\fR [\fIsoft\fR|\fIopengl\fR|\fIopengl16\fR|\fInone\fR]
596Specifies which video subsystem to use for drawing:
597.br
598\fBsoft\fR  uses software rendering, which is slower but more compatible.
599.br
600\fBopengl\fR  uses OpenGL and your graphics accelerator to speed up many
601aspects of drawing MAME including compositing artwork, overlays, and
602bezels, as well as stretching the image to fit your screen.
603.br
604\fBopengl16\fR  uses alternate OpenGL code, which should provide faster
605output on some cards.
606.br
607\fBnone\fR  does no drawing and is intended for CPU benchmarking.
608.br
609Default is SOFT.
610.TP
611.B \-numscreens
612Reserved for future use.
613.TP
614.B \-[no]window, \-[no]w
615Run MAME in either full screen or a window. This is a fully\-featured window
616mode where the window resizes as necessary to track what the game does.
617And you can resize it  yourself with your OS's standard window controls.
618The default is OFF (\-nowindow).
619.TP
620.B \-[no]maximize, \-[no]max
621Controls initial window size in windowed mode. If it is set on, the
622window will initially be set to the maximum supported size when you
623start MAME. If it is turned off, the window will start out at the
624smallest supported size. This option only has an effect when the
625\-window option is used. The default is ON (\-maximize).
626.TP
627.B \-keepaspect, \-ka
628Forces the correct aspect ratio. This means when you're resizing the window
629in windowed mode the actual game image will resize in discrete steps to
630maintain the proper shape of the game graphics. If you turn this off you can
631resize the window to anything you like and get funny squishing and stretching.
632The same applies for full\-screen. Default is ON (\-keepaspect).
633.TP
634.B \-unevenstretch, \-ues
635Allow non\-integer stretch factors. Video purists should stay far, far away
636from this option, while everyone else will be happy to know that it lets you
637fill the screen properly in full\-screen mode. Default is ON (\-unevenstretch).
638.TP
639.B \-effect
640Name of a PNG file to use for visual effects, or 'none'. Default is 'none'.
641.TP
642.B \-centerh
643Center horizontally within the view area. Default is ON (\-centerh).
644.TP
645.B \-centerv
646Center vertically within the view area. Default is ON (\-centerv).
647.TP
648.B \-waitvsync
649Enable waiting for the start of VBLANK before flipping screens;
650reduces tearing effects.
651.\"
652.\" *******************************************************
653.SS Software video rendering subsystem options
654.\" *******************************************************
655.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
656.\" SDL specific
657.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
658.B NOTE:
659All the options in this group are available only with softare video
660rendering subsystem, i.e \fB\-video soft\fR.
661.TP
662.B \-prescale
663Scale screen rendering by this amount in software. Default is 1.
664.TP
665.B \-scalemode, \-sm \fR[\fInone\fR|\fIasync\fR|\fIyv12\fR|\fIyuy2\fR|\fIyv12x2\fR|\fIyuy2x2\fR]
666Hardware scaling mode.
667.br
668\fBnone\fR    use software rendering.
669.br
670\fBasync\fR   async overlay.
671.br
672\fByv12\fR    yv12 overlay.
673.br
674\fByuy2\fR    yuy2 overlay.
675.br
676\fByv12x2\fR  yv12 overlay using x2 prescaling.
677.br
678\fByuy2x2\fR  yuy2 overlay using x2 prescaling.
679.br
680Default is NONE.
681.\"
682.\" *******************************************************
683.SS OpenGL video rendering subsystem options
684.\" *******************************************************
685.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
686.\" SDL specific
687.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
688.B NOTE:
689All the options in this group are available only with OpenGL video
690rendering subsystem, i.e \fB\-video opengl\fR or \fB\-video opengl16\fR.
691.TP
692.B \-filter, \-glfilter, \-flt
693Enable bilinear filtering on screen output. Default is ON (\-filter).
694.TP
695.B \-prescale
696Scale screen rendering by this amount in software. Default is 1.
697.TP
698.B \-gl_forcepow2texture
699Force power of two textures. Default is NO.
700.TP
701.B \-gl_notexturerect
702Don't use OpenGL GL_ARB_texture_rectangle. Default is ON: turn off
703(set this to 0) if corruption occurs in OpenGL mode, at cost of some
704performance loss.
705.TP
706.B \-gl_vbo
707Enable OpenGL VBO, if available, for a performance increase.
708Default is ON: turn off (set this to 0) if corruption occurs.
709.TP
710.B \-gl_pbo
711Enable OpenGL PBO, if available, for a performance increase.
712Default is ON: turn off (set this to 0) if corruption occurs.
713.TP
714.B \-gl_glsl
715Enable OpenGL GLSL, if available, for a performance increase.
716.TP
717.B \-gl_glsl_filter
718Enable OpenGL GLSL filtering instead of FF filtering 0=plain, 1=bilinear.
719Default is 1: bilinear.
720.TP
721.B \-glsl_shader_mame[0\-9]
722Preferred custom OpenGL GLSL shader set mame bitmap (from 0 to 9).
723.TP
724.B \-glsl_shader_screen[0\-9]
725Preferred custom OpenGL GLSL shader screen bitmap (from 0 to 9).
726.TP
727.B \-gl_glsl_vid_attr
728Enable OpenGL GLSL handling of brightness and contrast. Better RGB game
729performance for free. Default is ON.
730.TP
731.B \-resolution, \-r
732Select the resolution to use in full\-screen mode.
733\fB\-switchres\fR must be enabled for this to work.
734.TP
735.B \-screen
736.TP
737.B \-aspect, \-screen_aspect
738.TP
739.B \-view
740.TP
741.B \-screen[0\-3]
742.TP
743.B \-aspect[0\-3]
744.TP
745.B \-resolution[0\-3], \-r[0\-3]
746.TP
747.B \-view[0\-3]
748All these options are reserved for future use.
749.\"
750.\" *******************************************************
751.SS Full screen options
752.\" *******************************************************
753.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
754.\" SDL specific
755.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
756.TP
757.B \-[no]switchres
758Affects full screen mode only. Chooses if MAME can try to change the screen
759resolution (color depth is normally left alone) when in full\-screen mode. If
760it's off, you always get your desktop resolution in full\-screen mode (which can
761be useful for LCDs).
762.TP
763.B \-useallheads
764Split full screen image across monitors.
765.\"
766.\" *******************************************************
767.SS Sound options
768.\" *******************************************************
769.TP
770.B \-[no]sound
771Enable or disable sound altogether. The default is ON (\-sound).
772.TP
773.B \-samplerate, \-sr \fIvalue
774Sets the audio sample rate. Smaller values (e.g. 11025) cause lower
775audio quality but faster emulation speed. Higher values (e.g. 48000)
776cause higher audio quality but slower emulation speed. The default is
77748000.
778.TP
779.B \-[no]samples
780Use samples if available. The default is ON (\-samples).
781.TP
782.B \-volume, \-vol \fIvalue
783Sets the startup volume. It can later be changed with the user interface
784(see Keys section). The volume is an attenuation in dB: e.g.,
785"\-volume \-12" will start with \-12dB attenuation. The default is 0.
786.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
787.\" SDL specific
788.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
789.TP
790.B \-audio_latency \fIvalue
791This controls the amount of latency built into the audio streaming.
792The latency parameter controls the lower threshold. The default is 1
793(meaning lower=1/5 and upper=2/5). Set it to 2 (\-audio_latency 2) to keep
794the sound buffer between 2/5 and 3/5 full. If you crank it up to 4,
795you can definitely notice the lag.
796.\"
797.\" *******************************************************
798.SS Input options
799.\" *******************************************************
800.TP
801.B \-[no]coin_lockout, \-[no]coinlock
802Enables simulation of the "coin lockout" feature that is implmeneted
803on a number of game PCBs. It was up to the operator whether or not
804the coin lockout outputs were actually connected to the coin
805mechanisms. If this feature is enabled, then attempts to enter a coin
806while the lockout is active will fail and will display a popup message
807in the user interface. If this feature is disabled, the coin lockout
808signal will be ignored. The default is ON (\-coin_lockout).
809.TP
810.B \-ctrlr \fIcontroller
811Enables support for special controllers. Configuration files are
812loaded from the ctrlrpath. They are in the same format as the .cfg
813files that are saved, but only control configuration data is read
814from the file. The default is NULL (no controller file).
815.TP
816.B \-[no]mouse
817Controls whether or not MAME looks for a mouse controller to use. Note
818that in many cases, lightguns are treated as mice by the operating
819system, so you may need to enable this to enable lightgun support. When
820this is enabled, you will not be able to use your mouse while playing
821a game. If you want to get control of your computer back, you will need
822to either pause the game or quit. The default is OFF (\-nomouse).
823.TP
824.B \-[no]joystick, \-[no]joy
825Controls whether or not MAME looks for joystick/gamepad controllers.
826The default is ON (\-joystick).
827.TP
828.B \-[no]lightgun, \-[no]gun
829Controls whether or not MAME makes use of lightgun controllers.
830Note that most lightguns map to the mouse, so using \-lightgun and
831\-mouse together may produce strange results. The default is OFF
832(\-nolightgun).
833.TP
834.B \-[no]multikeyboard, \-[no]multikey
835Determines whether MAME differentiates between multiple keyboards.
836Some systems may report more than one keyboard; by default, the data
837from all of these keyboards is combined so that it looks like a single
838keyboard. Turning this option on will enable MAME to report keypresses
839on different keyboards independently. The default is OFF
840(\-nomultikeyboard).
841.TP
842.B \-[no]multimouse
843Determines whether MAME differentiates between multiple mice. Some
844systems may report more than one mouse device; by default, the data
845from all of these mice is combined so that it looks like a single
846mouse. Turning this option on will enable MAME to report mouse
847movement and button presses on different mice independently. The
848default is OFF (\-nomultimouse).
849.TP
850.B \-[no]steadykey, \-[no]steady
851Some games require two or more buttons to be pressed at exactly the
852same time to make special moves. Due to limitations in the PC keyboard
853hardware, it can be difficult or even impossible to accomplish that
854using the standard keyboard handling. This option selects a different
855handling that makes it easier to register simultaneous button presses,
856but has the disadvantage of making controls less responsive. The
857default is OFF (\-nosteadykey).
858.TP
859.B \-[no]offscreen_reload, \-[no]reload
860Controls whether or not MAME treats a second button input from a
861lightgun as a reload signal. In this case, MAME will report the gun's
862position as (0,MAX) with the trigger held, which is equivalent to an
863offscreen reload. This is only needed for games that required you to
864shoot offscreen to reload, and then only if your gun does not support
865off screen reloads. The default is OFF (\-nooffscreen_reload).
866.TP
867.B \-joystick_map, \-joymap \fImap
868Controls how joystick values map to digital joystick controls.
869See /usr/share/doc/mame/config.txt for full details on \fImap\fR format.
870.TP
871.B \-joystick_deadzone, \-joy_deadzone, \-jdz \fIvalue
872If you play with an analog joystick, the center can drift a little.
873joystick_deadzone tells how far along an axis you must move before the
874axis starts to change. This option expects a float in the range of
8750.0 to 1.0. Where 0 is the center of the joystick and 1 is the outer
876limit. The default is 0.3.
877.TP
878.B \-joystick_saturation, \-joy_saturation, \-jsat \fIvalue
879If you play with an analog joystick, the ends can drift a little,
880and may not match in the +/\- directions. joystick_saturation tells how
881far along an axis movement change will be accepted before it reaches
882the maximum range. This option expects a float in the range of 0.0 to
8831.0, where 0 is the center of the joystick and 1 is the outer limit.
884The default is 0.85.
885.TP
886.B \-natural, \-nat
887Specifies whether to use a natural keyboard or not.
888.TP
889.B \-uimodekey, \-umk
890Specifies the key used to toggle between full and partial UI mode.
891.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
892.\" SDL specific
893.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
894.TP
895.B \-keymap
896Enable keymap for non\-QWERTY keyboards. Used in conjuction with
897\fB\-keymap_file\fR.
898.TP
899.B \-keymap_file \fIkeymap_file\fR
900Specifies the full path to the keymap file to be used. Shipped keymap files lie
901in \fB/usr/share/games/mame/keymaps\fR.
902.TP
903.B \-joy_idx1 \fIjoystick
904.TP
905.B \-joy_idx2 \fIjoystick
906.TP
907.B \-joy_idx3 \fIjoystick
908.TP
909.B \-joy_idx4 \fIjoystick
910.TP
911.B \-joy_idx5 \fIjoystick
912.TP
913.B \-joy_idx6 \fIjoystick
914.TP
915.B \-joy_idx7 \fIjoystick
916.TP
917.B \-joy_idx8 \fIjoystick
918With these options you can assign a joystick to a
919specific index in MAME. Even if the kernel will list the joysticks
920in a different order on the next boot, MAME will still see the joystick
921as e.g. "Joystick 2". Use mame \-v to see which joysticks are recognized.
922Default is AUTO.
923.TP
924.B \-sixaxis
925Use special handling for PS3 Sixaxis controllers.
926.TP
927.B \-videodriver, \-vd \fIx11\fR|\fIdirectfb\fR|\fIauto\fR
928SDL video driver to use; auto selects SDL default.
929.TP
930.B \-audiodriver, \-ad \fIalsa\fR|\fIarts\fR|\fIauto\fR
931SDL audio driver to use; auto selects SDL default.
932.TP
933.B \-gl_lib \fIalsa\fR|\fIarts\fR|\fIauto\fR
934Alternative libGL.so to use; auto selects SDL default.
935.\"
936.\" *******************************************************
937.SS Input automatic enable options
938.\" *******************************************************
939.TP
940.B \-paddle_device, \-paddle \fR[\fInone\fR|\fIkeyboard\fR|\fImouse\fR|\fIlightgun\fR|\fIjoystick\fR]
941.TP
942.B \-adstick_device, \-adstick \fR[\fInone\fR|\fIkeyboard\fR|\fImouse\fR|\fIlightgun\fR|\fIjoystick\fR]
943.TP
944.B \-pedal_device, \-pedal \fR[\fInone\fR|\fIkeyboard\fR|\fImouse\fR|\fIlightgun\fR|\fIjoystick\fR]
945.TP
946.B \-dial_device, \-dial \fR[\fInone\fR|\fIkeyboard\fR|\fImouse\fR|\fIlightgun\fR|\fIjoystick\fR]
947.TP
948.B \-trackball_device, \-trackball \fR[\fInone\fR|\fIkeyboard\fR|\fImouse\fR|\fIlightgun\fR|\fIjoystick\fR]
949.TP
950.B \-lightgun_device \fR[\fInone\fR|\fIkeyboard\fR|\fImouse\fR|\fIlightgun\fR|\fIjoystick\fR]
951.TP
952.B \-positional_device \fR[\fInone\fR|\fIkeyboard\fR|\fImouse\fR|\fIlightgun\fR|\fIjoystick\fR]
953.TP
954.B \-mouse_device \fR[\fInone\fR|\fIkeyboard\fR|\fImouse\fR|\fIlightgun\fR|\fIjoystick\fR]
955Each of these options controls autoenabling the mouse, or joystick
956depending on the presence of a particular class of analog
957control for a particular game. For example, if you specify the option
958\-paddle mouse, then any game that has a paddle control will automatically
959enable mouse controls just as if you had explicitly specified \-mouse.
960Note that these controls override the values of \-[no]mouse,
961\-[no]joystick, etc.
962.\"
963.\" *******************************************************
964.SS Debugging options
965.\" *******************************************************
966.TP
967.B \-[no]log
968Creates a file called error.log which contains all of the internal
969log messages generated by the MAME core and game drivers. The default
970is OFF (\-nolog).
971.TP
972.B \-[no]verbose, \-[no]v
973Displays internal diagnostic information. This information is very
974useful for debugging problems with your configuration. \fBIMPORTANT\fP: when
975reporting bugs, please run with mame \-verbose and include the resulting
976information. The default is off (\-noverbose).
977.TP
978.B \-update_in_pause
979Enables updating the screen bitmap while the game is paused. This is
980useful for debuggin in some scenarios (and gets in the way in others).
981.TP
982.B \-[no]debug, \-[no]d
983Activates the integrated debugger. By default, the debugger is entered
984by pressing the tilde (~) key during emulation. It is also entered
985immediately at startup. The default is OFF (\-nodebug).
986.TP
987.B \-debugscript \fIfilename
988Specifies a file that contains a list of debugger commands to execute
989immediately upon startup. The default is NULL (no commands).
990.TP
991.B \-debug_internal, \-di
992Use the internal debugger for debugging.
993.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
994.\" SDL specific
995.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
996.TP
997.B \-[no]oslog
998Outputs the error.log data to the system debugger. This can be used at
999the same time as \-log to output the log data to both targets as well.
1000Default is OFF (\-nooslog).
1001.\"
1002.\" *******************************************************
1003.SS Misc options
1004.\" *******************************************************
1005.TP
1006.B \-bios \fIbiosname
1007Specifies the specific BIOS to use with the current game, for game
1008systems that make use of a BIOS. The \-listxml output will list all of
1009the possible BIOS names for a game. The default is 'default'.
1010.TP
1011.B \-[no]cheat, \-[no]c
1012Enables the reading of the cheat database, if present, and the Cheat
1013menu in the user interface. The   default is OFF (\-nocheat).
1014.TP
1015.B \-[no]skip_gameinfo
1016Forces MAME to skip displaying the game info screen. The default is OFF
1017(\-noskip_gameinfo).
1018.\"
1019.\"
1020.\" LEGAL NOTICE chapter
1021.SH LEGAL NOTICE
1022Please visit the MAME website for some important legal information:
1023.PP
1024http://mamedev.org/legal.html
src/osd/sdl/man/jedutil.1
r14797r14798
88.\" References
99.\" http://aarongiles.com/?p=159
1010.\"
11.TH JEDUTIL 1 2010-06-26 0.138u4 "jedutil"
11.TH JEDUTIL 1 2012-03-25 0.145u5 "jedutil"
1212.\"
1313.\" NAME chapter
1414.SH NAME
src/osd/sdl/man/ldverify.1
r14797r14798
55.\" Man page created from source and usage information by
66.\" Cesare Falco <cesare.falco@gmail.com>, August 2008
77.\"
8.TH LDVERIFY 1 2010-06-26 0.138u4 "ldverify"
8.TH LDVERIFY 1 2012-03-25 0.145u5 "ldverify"
99.\"
1010.\" NAME chapter
1111.SH NAME
src/osd/sdl/man/mame.6
r0r14798
1.\"  -*- nroff -*-
2.\"
3.\" mame.6
4.\"
5.\" Man page created from usage and source information:
6.\" * commands: see src/emu/clifront.c clifront.h
7.\" * options: core entries, see src/emu/emuopts.c emuopts.h
8.\"            SDL-specific entries, see src/osd/sdl/sdlmain.c osdsdl.h
9.\" Cesare Falco <cesare.falco@gmail.com>, February 2007
10.\"
11.\" Also, some text borrowed from the xmame 0.106 man page,
12.\" done by Rene Herrmann <rene.herrmann@berlin.de>, September 2000
13.\" and updated by Andrew Burton <burtona@gol.com>, July 2003
14.\"
15.\"
16.TH MAME 1 2012-03-25 0.145u5 "MAME \- The Multiple Arcade Machine Emulator"
17.\"
18.\"
19.\" NAME chapter
20.SH NAME
21MAME \- The Multiple Arcade Machine Emulator
22.\"
23.\"
24.\" SYNOPSIS chapter
25.SH SYNOPSIS
26.B mame
27.RI [ options ]
28.I gamename
29.\"
30.\"
31.\" DESCRIPTION chapter
32.SH DESCRIPTION
33Started in 1997 by Nicola Salmoria, MAME was originally intended as a series
34of emulators for individual games, which were later combined into a single
35multi\-game emulator. In the following years, MAME grew over and over up to
36the actual size, with more than 100 contributors to the project.
37.\"
38.\"
39.\" OPTIONS chapter
40.SH OPTIONS
41.\"
42.\" *******************************************************
43.SS Core commands
44.\" *******************************************************
45.TP
46.B \-help, \-?
47Displays current MAME version and copyright notice.
48.TP
49.B \-validate, \-valid
50Performs internal validation on every driver in the system. Run this
51before submitting changes to ensure that you haven't violated any of
52the core system rules.
53.\"
54.\" *******************************************************
55.SS Configuration commands
56.\" *******************************************************
57.TP
58.B \-createconfig, \-cc
59Creates the default \fBmame.ini\fP file in the current directory. All the
60configuration options (not commands) described below can be permanently
61changed by editing this configuration file.
62.TP
63.B \-showconfig, \-sc
64Displays the current configuration settings.
65.TP
66.B \-showusage, \-su
67Displays a summary of all the command line options. For options that
68are not mentioned here, the short summary given by
69\fBmame \-showusage\fR is usually sufficient.
70.\"
71.\" *******************************************************
72.SS Frontend commands
73.\" *******************************************************
74.B NOTE:
75By default, all the '\-list' commands below write info to the screen.
76If you wish to write the info to a textfile instead, use redirection, e.g.
77.B mame \-listxml > ~/mamelist.xml
78writes the full list of supported game to file \fImamelist.xml\fR in your home
79directory.
80.TP
81.B \-listxml, \-lx \fR[\fIgamename\fR|\fIwildcard\fR]
82List comprehensive details for all of the supported games. The output
83is quite long, so it is usually better to redirect this into a file.
84The output is in XML format. By default all games are listed; however,
85you can limit this list by specifying a driver name or wildcard after
86the \-listxml command.
87.TP
88.B \-listfull, \-ll \fR[\fIgamename\fR|\fIwildcard\fR]
89Displays a list of game driver names and descriptions. By default all
90games are listed; however, you can limit this list by specifying a
91driver name or wildcard after the \-listfull command.
92.TP
93.B \-listsource, \-ls \fR[\fIgamename\fR|\fIwildcard\fR]
94Displays a list of drivers and the names of the source files their game
95drivers live in. Useful for finding which driver a game runs on in
96order to fix bugs. By default all games are listed; however, you can
97limit this list by specifying a driver name or wildcard after the
98\-listsource command.
99.TP
100.B \-listclones, \-lc \fR[\fIgamename\fR|\fIwildcard\fR]
101Displays a list of clones. By default all clones are listed; however,
102you can limit this list by specifying a driver name or wildcard after
103the \-listclones command.
104.TP
105.B \-listbrothers, \-lb \fR[\fIgamename\fR|\fIwildcard\fR]
106Displays a list of "brothers" or other drivers from same sourcefile.
107By default all games are listed; however, you can limit this list by
108specifying a driver name or wildcard after the \-listbrothers command.
109.TP
110.B \-listcrc
111Displays a full list of CRCs of all ROM images referenced by all
112drivers within MAME code.
113.TP
114.B \-listroms \fIgamename
115Displays a list of ROM images referenced by the specified game.
116.TP
117.B \-listsamples \fIgamename
118Displays a list of samples referenced by the specified game.
119.TP
120.B \-verifyroms \fR[\fIgamename\fR|\fIwildcard\fR]
121Checks for invalid or missing ROM images. By default all drivers that
122have valid ZIP files or directories in the rompath are verified;
123however, you can limit this list by specifying a driver name or
124wildcard after the \-verifyroms command.
125.TP
126.B \-verifysamples \fR[\fIgamename\fR|\fIwildcard\fR]
127Checks for invalid or missing samples. By default all drivers that
128have valid ZIP files or directories in the samplepath are verified;
129however, you can limit this list by specifying a driver name or
130wildcard after the \-verifyroms command.
131.TP
132.B \-romident
133Attempts to identify ROM files, if they are known to MAME, in the
134specified .zip file or directory. This command can be used to try and
135identify ROM sets taken from unknown boards. On exit, the errorlevel
136is returned as one of the following:
137.br
138\fB0\fR  all files were identified
139.br
140\fB7\fR  all files were identified except for some "non\-ROM" files
141.br
142\fB8\fR  some files were identified
143.br
144\fB9\fR  no files were identified
145.TP
146.B \-listdevices, \-ld
147Output the list of devices referenced by a given game or set of games.
148.TP
149.B \-listslots, \-lslot
150Output the list of available slots and slot devices for the system.
151.TP
152.B \-listmedia, \-lm
153Output the list of available media for the system.
154.TP
155.B \-listsoftware, \-lsoft
156Output the list of known software for the system.
157.TP
158.B \-getsoftlist, \-glist
159Retrieve software list by name.
160.\"
161.\" *******************************************************
162.SS Configuration options
163.\" *******************************************************
164.TP
165.B \-[no]readconfig, \-[no]rc
166Enables or disables the reading of the config files. When enabled
167(which is the default), MAME reads the following config files in order:
168.br
1691. \fBmame.ini\fR
170.br
171the main configuration file
172.br
1732. \fI[name]\fB.ini\fR
174.br
175where \fIname\fR is your executable name, i.e. mame unless you changed it
176(e.g. if you renamed mame to mame0137, the parsed file will be
177\fImame0137.ini\fR)
178.br
1793. \fBdebug.ini\fR, if the debugger is enabled
180.br
1814. \fBvector.ini\fR, for vector games only
182.br
1835. \fI[driver]\fB.ini\fR
184.br
185based on the source filename of the game driver
186.br
1876. \fI[parent]\fB.ini\fR
188.br
189for clones only, may be called recursively
190.br
1917. \fI[gamename]\fB.ini\fR
192.br
193note this sometimes resolves to the same of the source driver
194.br
195The settings in the later ini's override those in the earlier ini's.
196So, for example, if you wanted to disable overlay effects in the
197vector games, you can create a vector.ini with the "effect none" line
198in it, and it will override whatever effect value you have in your
199mame.ini. The default is ON (\-readconfig).
200.TP
201.B \-writeconfig, \-wc
202Write configuration to \fI[driver]\fR.ini on exit.
203.\"
204.\" *******************************************************
205.SS Search path options
206.\" *******************************************************
207.B IMPORTANT\fR: Please use the path, directory and file options in
208mame.ini \fBONLY\fR. Otherwise, the outcome may be unpredictable and not
209consistent across releases.
210.TP
211.B \-rompath, \-rp, \-biospath, \-bp, \fIpathname
212Specifies a list of paths within which to find ROM or hard disk images.
213Multiple paths can be specified by separating them with semicolons.
214The default is 'roms' (that is, a directory "roms" in the same directory
215as the MAME executable).
216.TP
217.B \-samplepath, \-sp \fIpathname
218Specifies a list of paths within which to find sample files. Multiple
219paths can be specified by separating them with semicolons. The default
220is 'samples' (that is, a directory "samples" in the same directory as
221the MAME executable).
222.TP
223.B \-artpath, \-artwork_directory \fIpathname
224Specifies a list of paths within which to find artwork files. Multiple
225paths can be specified by separating them with semicolons. The default
226is 'artwork' (that is, a directory "artwork" in the same directory as
227the MAME executable).
228.TP
229.B \-ctrlrpath, \-ctrlr_directory \fIpathname
230Specifies a list of paths within which to find controller\-specific
231configuration files. Multiple paths can be specified by separating
232them with semicolons. The default is 'ctrlr' (that is, a directory
233"ctrlr" in the same directory as the MAME executable).
234.TP
235.B \-inipath \fIpathname
236Specifies a list of paths within which to find .INI files. Multiple
237paths can be specified by separating them with semicolons. The default
238is '/etc/mame/'.
239.TP
240.B \-fontpath \fIpathname
241Specifies a list of paths within which to find .BDF font files. Multiple
242paths can be specified by separating them with semicolons. The default
243is '.' (that is, search in the same directory as the MAME executable).
244.TP
245.B \-cheatpath \fIpathname
246Specifies a list of paths within which to find cheat files. Multiple
247paths can be specified by separating them with semicolons. The default
248is 'cheat' (that is, a directory "cheat" in the same directory as
249the MAME executable).
250.TP
251.B \-crosshairpath \fIpathname
252Specifies a list of paths within which to find crosshair files. Multiple
253paths can be specified by separating them with semicolons. The default
254is 'crosshair' (that is, a directory "crosshair" in the same directory as
255the MAME executable).  If the Crosshair is set to default in the menu,
256MAME will look for gamename\cross#.png and then cross#.png in the
257specified crosshairpath, where # is the player number.  Failing that,
258MAME will use built\-in default crosshairs.
259.\"
260.\" *******************************************************
261.SS Output Directory Options
262.\" *******************************************************
263.TP
264.B \-cfg_directory \fIpathname
265Specifies a single directory where configuration files are stored.
266Configuration files store user configurable settings that are read at
267startup and written when MAME exits. The default is 'cfg' (that is,
268a directory "cfg" in the same directory as the MAME executable). If this
269directory does not exist, it will be automatically created.
270.TP
271.B \-nvram_directory \fIpathname
272Specifies a single directory where NVRAM files are stored. NVRAM files
273store the contents of EEPROM and non\-volatile RAM (NVRAM) for games
274which used this type of hardware. This data is read at startup and
275written when MAME exits. The default is 'nvram' (that is, a directory
276"nvram" in the same directory as the MAME executable). If this directory
277does not exist, it will be automatically created.
278.TP
279.B \-memcard_directory \fIpathname
280Specifies a single directory where memory card files are stored. Memory
281card files store the contents of removable memory cards for games which
282used this type of hardware. This data is read and written under control
283of the user via the "Memory Card" menu in the user interface. The
284default is 'memcard' (that is, a directory "memcard" in the same
285directory as the MAME executable). If this directory does not exist,
286it will be automatically created.
287.TP
288.B \-input_directory \fIpathname
289Specifies a single directory where input recording files are stored.
290Input recordings are created via the \-record option and played back via
291the \-playback option. The default is 'inp' (that is, a directory
292"inp" in the same directory as the MAME executable). If this directory
293does not exist, it will be automatically created.
294.TP
295.B \-state_directory \fIpathname
296Specifies a single directory where save state files are stored. Save
297state files are read and written either upon user request, or when using
298the \-autosave option. The default is 'sta' (that is, a directory "sta"
299in the same directory as the MAME executable). If this directory does
300not exist, it will be automatically created.
301.TP
302.B \-snapshot_directory \fIpathname
303Specifies a single directory where screen snapshots are stored, when
304requested by the user. The default is 'snap' (that is, a directory
305"snap" in the same directory as the MAME executable). If this directory
306does not exist, it will be automatically created.
307.TP
308.B \-diff_directory \fIpathname
309Specifies a single directory where hard drive differencing files are
310stored. Hard drive differencing files store any data that is written
311back to a hard disk image, in order to preserve the original image. The
312differencing files are created at startup when a game with a hard disk
313image. The default is 'diff' (that is, a directory "diff" in the same
314directory as the MAME executable). If this directory does not exist,
315it will be automatically created.
316.TP
317.B \-comment_directory \fIpathname
318Specifies a single directory where debugger comment files are stored.
319Debugger comment files are written by the debugger when comments are
320added to the disassembly for a game. The default is 'comments' (that is,
321a directory "comments" in the same directory as the MAME executable).
322If this directory does not exist, it will be automatically created.
323.\"
324.\" *******************************************************
325.SS State/playback options
326.\" *******************************************************
327.TP
328.B \-state \fIslot
329Immediately after starting the specified game, will cause the save
330state in the specified \fIslot\fP to be loaded.
331.TP
332.B \-[no]autosave
333When enabled, automatically creates a save state file when exiting MAME
334and automatically attempts to reload it when later starting MAME with
335the same game. This only works for games that have explicitly enabled
336save state support in their driver. The default is OFF (\-noautosave).
337.TP
338.B \-playback, \-pb \fIfilename
339Specifies a file from which to play back a series of game inputs. This
340feature does not work reliably for all games, but can be used to watch
341a previously recorded game session from start to finish. In order to
342make things consistent, you should only record and playback with all
343configuration (.cfg), NVRAM (.nv), and memory card files deleted. The
344default is NULL (no playback).
345.TP
346.B \-record, \-rec \fIfilename
347Specifies a file to record all input from a game session. This can be
348used to record a game session for later playback. This feature does not
349work reliably for all games, but can be used to watch a previously
350recorded game session from start to finish. In order to make things
351consistent, you should only record and playback with all configuration
352(.cfg), NVRAM (.nv), and memory card files deleted. The default is NULL
353(no recording).
354.TP
355.B \-snapname \fIname
356Describes how MAME should name files for snapshots. \fIname\fP is a string
357that provides a template that is used to generate a filename. Three
358simple substitutions are provided: the / character represents the
359path separator on any target platform (even Windows); the string \fI%g\fP
360represents the driver name of the current game; and the string \fI%i\fP
361represents an incrementing index. If \fI%i\fP is omitted, then each
362snapshot taken will overwrite the previous one; otherwise, MAME will
363find the next empty value for \fI%i\fP and use that for a filename. The
364default is \fI%g/%i\fP, which creates a separate folder for each game,
365and names the snapshots under it starting with 0000 and increasing
366from there.
367.TP
368.B \-snapsize \fIwidth\fPx\fIheight\fP
369Hard\-codes the size for snapshots and movie recording. By default,
370MAME will create snapshots at the game's current resolution in raw
371pixels, and will create movies at the game's starting resolution in
372raw pixels. If you specify this option, then MAME will create both
373snapshots and movies at the size specified, and will bilinear filter
374the result. Note that this size does not automatically rotate if the 
375game is vertically oriented. The default is 'auto'.
376.TP
377.B \-snapview \fIviewname\fP
378Specifies the view to use when rendering snapshots and movies. By
379default, both use a special 'internal' view, which renders a separate
380snapshot per screen or renders movies only of the first screen. By
381specifying this option, you can override this default behavior and
382select a single view that will apply to all snapshots and movies.
383Note that \fIviewname\fP does not need to be a perfect match; rather, it
384will select the first view whose name matches all the characters
385specified by \fIviewname\fP. For example, \-snapview native will match the 
386"Native (15:14)" view even though it is not a perfect match. 
387\fIviewname\fP can also be 'auto', which selects the first view with all
388screens present. The default value is 'internal'.
389.TP
390.B \-mngwrite \fIfilename
391Writes each video frame to the given \fIfilename\fP in MNG format, producing
392an animation of the   game session. Note that \-mngwrite only writes video
393frames; it does not save any audio data. Use \-wavwrite for that, and
394reassemble the audio/video using offline tools. The default is NULL (no
395recording).
396.TP
397.B \-aviwrite \fIfilename
398Stream video and sound data to the given \fIfilename\fP in AVI format,
399producing an animation of the game session complete with sound. The
400default is NULL (no recording).
401.TP
402.B \-wavwrite \fIfilename
403Writes the final mixer output to the given \fIfilename\fP in WAV format,
404producing an audio recording of the   game session. The default is NULL
405(no recording).
406.TP
407.B \-[no]burnin
408Tracks brightness of the screen during play and at the end of 
409emulation generates a PNG that can be used to simulate burn\-in
410effects on other games. The resulting PNG is created such that the
411least used\-areas of the screen are fully white (since burned\-in areas 
412are darker, all other areas of the screen must be lightened a touch).
413The intention is that this PNG can be loaded via an artwork file with
414a low alpha (e.g, 0.1\-0.2 seems to work well) and blended over the
415entire screen. The PNG files are saved in the snap directory under 
416the gamename\\burnin\-<screen.name>.png. The default is OFF (\-noburnin).
417.\"
418.\" *******************************************************
419.SS Performance options
420.\" *******************************************************
421.TP
422.B \-[no]autoframeskip, \-[no]afs
423Automatically determines the frameskip level while you're playing the
424game, adjusting it constantly in a frantic attempt to keep the game
425running at full speed. Turning this on overrides the value you have set
426for \-frameskip below. The default is OFF (\-noautoframeskip).
427.TP
428.B \-frameskip, \-fs \fIvalue
429Specifies the frameskip value (autoframeskip must be disabled). This is the
430number of frames out of every 12 to drop when running. For example, if you
431say \-frameskip 2, then MAME will display 10 out of every 12 frames. By
432skipping those frames, you may be able to get full speed in a game that
433requires more horsepower than your computer has. The default value is 0,
434which skips no frames.
435.TP
436.B \-seconds_to_run, \-str \fIvalue
437This option can be used for benchmarking and automated testing. It tells 
438MAME to stop execution after a fixed number of seconds. By combining 
439this with a fixed set of other command line options, you can set up a 
440consistent environment for benchmarking MAME performance. In addition, 
441upon exit, the \-str option will write a screenshot called final.png
442to the game's snapshot directory.
443.TP
444.B \-[no]throttle
445Configures the default thottling setting. When throttling is on, MAME
446attempts to keep the game running at the game's intended speed. When
447throttling is off, MAME runs the game as fast as it can. Note that the
448fastest speed is more often than not limited by your graphics card,
449especially for older games. The default is ON (\-throttle).
450.TP
451.B \-[no]sleep
452Allows MAME to give time back to the system when running with \-throttle.
453This allows other programs to have some CPU time, assuming that the
454game isn't taxing 100% of your CPU resources. This option can potentially
455cause hiccups in performance if other demanding programs are running.
456The default is ON (\-sleep).
457.TP
458.B \-speed
459Controls the speed of gameplay, relative to realtime; smaller numbers are
460slower. Default is 1.00.
461.TP
462.B \-refreshspeed, \-rs
463Automatically adjusts the \fB\-speed\fR parameter to keep the effective refresh
464rate below that of the lowest screen refresh rate.
465.\"
466.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
467.\" SDL specific
468.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
469.TP
470.B \-multithreading, \-mt
471Enable multithreading; this enables rendering and blitting on a separate
472thread. The default is OFF.
473.TP
474.B \-numprocessors, \-np
475Set number of processors; this overrides the number the system reports.
476.TP
477.B \-sdlvideofps
478Show SDL video performance.
479.TP
480.B \-bench
481Benchmark for the given number of emulated seconds;
482implies \-video none \-nosound \-nothrottle.
483.\"
484.\" *******************************************************
485.SS Rotation options
486.\" *******************************************************
487.TP
488.B \-[no]rotate
489Rotate the game to match its normal state (horizontal/vertical). This
490ensures that both vertically and horizontally oriented games show up
491correctly without the need to rotate your monitor. If you want to keep
492the game displaying 'raw' on the screen the way it would have in the
493arcade, turn this option OFF. The default is ON (\-rotate).
494.TP
495.B \-[no]ror | \-[no]rol
496Rotate the game screen to the right (clockwise) or left (counter\-
497clockwise) relative to either its normal state (if \-rotate is specified)
498or its native state (if \-norotate is specified). The default for both of
499these options is OFF (\-noror \-norol).
500.TP
501.B \-[no]autoror | \-[no]autorol
502These options are designed for use with pivoting screens that only
503pivot in a single direction. If your screen only pivots clockwise,
504use \-autorol to ensure that the game will fill the screen either
505horizontally or vertically in one of the directions you can handle.
506If your screen only pivots counter\-clockwise, use \-autoror.
507.TP
508.B \-[no]flipx
509.TP
510.B \-[no]flipy
511Flip (mirror) the game screen either horizontally (\-flipx) or
512vertically (\-flipy). The flips are applied after the \-rotate and
513\-ror/\-rol options are applied. The default for both of these options
514is OFF (\-noflipx \-noflipy).
515.\"
516.\" *******************************************************
517.SS Artwork options
518.\" *******************************************************
519.TP
520.B \-[no]artwork_crop, \-[no]artcrop
521Enable cropping of artwork to the game screen area only. This
522option can also be controlled via the Video Options menu in the user
523interface. The default is OFF (\-noartwork_crop).
524.TP
525.B \-[no]use_backdrops, \-[no]backdrop
526Enables/disables the display of backdrops. The default is ON
527(\-use_backdrops).
528.TP
529.B \-[no]use_overlays, \-[no]overlay
530Enables/disables the display of overlays. The default is ON
531(\-use_overlays).
532.TP
533.B \-[no]use_bezels, \-[no]bezel
534Enables/disables the display of bezels. The default is ON
535(\-use_bezels).
536.TP
537.B \-[no]use_cpanels, \-[no]cpanel
538Enables/disables the display of cpanels. The default is ON
539(\-use_bezels).
540.TP
541.B \-[no]use_marquees, \-[no]marquee
542Enables/disables the display of marquees. The default is ON
543(\-use_bezels).
544.\"
545.\" *******************************************************
546.SS Screen options
547.\" *******************************************************
548.TP
549.B \-brightness \fIvalue
550Controls the default brightness, or black level, of the game screens.
551This option does not affect the artwork or other parts of the display.
552Using the MAME UI, you can individually set the brightness for each game
553screen; this option controls the initial value for all visible game
554screens. The standard value is 1.0. Selecting lower values (down to 0.1)
555will produce a darkened display, while selecting higher values (up to
5562.0) will give a brighter display. The default is 1.0.
557.TP
558.B \-contrast \fIvalue
559Controls the contrast, or white level, of the game screens. This option
560does not affect the artwork or other parts of the display. Using the
561MAME UI, you can individually set the contrast for each game screen;
562this option controls the initial value for all visible game screens. The
563standard value is 1.0. Selecting lower values (down to 0.1) will produce
564a dimmer display, while selecting higher values (up to 2.0) will
565give a more saturated display. The default is 1.0.
566.TP
567.B \-gamma \fIvalue
568Controls the gamma, which produces a potentially nonlinear black to
569white ramp, for the game screens. This option does not affect the
570artwork or other parts of the display. Using the MAME UI, you can
571individually set the gamma for each game screen; this option controls
572the initial value for all visible game screens. The standard value is
5731.0, which gives a linear ramp from black to white. Selecting lower
574values (down to 0.1) will increase the nonlinearity toward black,
575while selecting higher values (up to 3.0) will push the nonlinearity
576toward white. The default is 1.0.
577.TP
578.B \-pause_brightness \fIvalue
579This controls the brightness level when MAME is paused. The default
580value is 0.65.
581.\"
582.\" *******************************************************
583.SS Vector rendering options
584.\" *******************************************************
585.TP
586.B \-[no]antialias, \-[no]aa
587Enables antialiased line rendering for vector games. The default is ON
588(\-antialias).
589.TP
590.B \-beam \fIwidth
591Sets the width of the vectors. This is a scaling factor against the
592standard vector width. A value of 1.0 will keep the default vector line
593width. Smaller values will reduce the width, and larger values will
594increase the width. The default is 1.0.
595.TP
596.B \-flicker \fIvalue
597Simulates a vector "flicker" effect, similar to a vector monitor that
598needs adjustment. This option requires a float argument in the range of
5990.00\-100.00 (0=none, 100=maximum). The default is 0.
600.\"
601.\" *******************************************************
602.SS Video options
603.\" *******************************************************
604.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
605.\" SDL specific
606.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
607.TP
608.B \-video\fR [\fIsoft\fR|\fIopengl\fR|\fIopengl16\fR|\fInone\fR]
609Specifies which video subsystem to use for drawing:
610.br
611\fBsoft\fR  uses software rendering, which is slower but more compatible.
612.br
613\fBopengl\fR  uses OpenGL and your graphics accelerator to speed up many
614aspects of drawing MAME including compositing artwork, overlays, and
615bezels, as well as stretching the image to fit your screen.
616.br
617\fBopengl16\fR  uses alternate OpenGL code, which should provide faster
618output on some cards.
619.br
620\fBnone\fR  does no drawing and is intended for CPU benchmarking.
621.br
622Default is SOFT.
623.TP
624.B \-numscreens
625Reserved for future use.
626.TP
627.B \-[no]window, \-[no]w
628Run MAME in either full screen or a window. This is a fully\-featured window
629mode where the window resizes as necessary to track what the game does.
630And you can resize it  yourself with your OS's standard window controls.
631The default is OFF (\-nowindow).
632.TP
633.B \-[no]maximize, \-[no]max
634Controls initial window size in windowed mode. If it is set on, the
635window will initially be set to the maximum supported size when you
636start MAME. If it is turned off, the window will start out at the
637smallest supported size. This option only has an effect when the 
638\-window option is used. The default is ON (\-maximize).
639.TP
640.B \-keepaspect, \-ka
641Forces the correct aspect ratio. This means when you're resizing the window
642in windowed mode the actual game image will resize in discrete steps to
643maintain the proper shape of the game graphics. If you turn this off you can
644resize the window to anything you like and get funny squishing and stretching.
645The same applies for full\-screen. Default is ON (\-keepaspect).
646.TP
647.B \-unevenstretch, \-ues
648Allow non\-integer stretch factors. Video purists should stay far, far away
649from this option, while everyone else will be happy to know that it lets you
650fill the screen properly in full\-screen mode. Default is ON (\-unevenstretch).
651.TP
652.B \-effect
653Name of a PNG file to use for visual effects, or 'none'. Default is 'none'.
654.TP
655.B \-centerh
656Center horizontally within the view area. Default is ON (\-centerh).
657.TP
658.B \-centerv
659Center vertically within the view area. Default is ON (\-centerv).
660.TP
661.B \-waitvsync
662Enable waiting for the start of VBLANK before flipping screens;
663reduces tearing effects.
664.TP
665.B \-syncrefresh
666Enable using the start of VBLANK for throttling instead of the game time.
667.\"
668.\" *******************************************************
669.SS Software video rendering subsystem options
670.\" *******************************************************
671.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
672.\" SDL specific
673.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
674.B NOTE:
675All the options in this group are available only with softare video 
676rendering subsystem, i.e \fB\-video soft\fR.
677.TP
678.B \-prescale
679Scale screen rendering by this amount in software. Default is 1.
680.TP
681.B \-scalemode, \-sm \fR[\fInone\fR|\fIasync\fR|\fIyv12\fR|\fIyuy2\fR|\fIyv12x2\fR|\fIyuy2x2\fR]
682Hardware scaling mode.
683.br
684\fBnone\fR    use software rendering.
685.br
686\fBasync\fR   async overlay.
687.br
688\fByv12\fR    yv12 overlay.
689.br
690\fByuy2\fR    yuy2 overlay.
691.br
692\fByv12x2\fR  yv12 overlay using x2 prescaling.
693.br
694\fByuy2x2\fR  yuy2 overlay using x2 prescaling.
695.br
696Default is NONE.
697.\"
698.\" *******************************************************
699.SS OpenGL video rendering subsystem options
700.\" *******************************************************
701.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
702.\" SDL specific
703.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
704.B NOTE:
705All the options in this group are available only with OpenGL video 
706rendering subsystem, i.e \fB\-video opengl\fR or \fB\-video opengl16\fR.
707.TP
708.B \-filter, \-glfilter, \-flt
709Enable bilinear filtering on screen output. Default is ON (\-filter).
710.TP
711.B \-prescale
712Scale screen rendering by this amount in software. Default is 1.
713.TP
714.B \-gl_forcepow2texture
715Force power of two textures. Default is NO.
716.TP
717.B \-gl_notexturerect
718Don't use OpenGL GL_ARB_texture_rectangle. Default is ON: turn off
719(set this to 0) if corruption occurs in OpenGL mode, at cost of some
720performance loss.
721.TP
722.B \-gl_vbo
723Enable OpenGL VBO, if available, for a performance increase.
724Default is ON: turn off (set this to 0) if corruption occurs.
725.TP
726.B \-gl_pbo
727Enable OpenGL PBO, if available, for a performance increase.
728Default is ON: turn off (set this to 0) if corruption occurs.
729.TP
730.B \-gl_glsl
731Enable OpenGL GLSL, if available, for a performance increase.
732.TP
733.B \-gl_glsl_filter
734Enable OpenGL GLSL filtering instead of FF filtering 0=plain, 1=bilinear.
735Default is 1: bilinear.
736.TP
737.B \-glsl_shader_mame[0\-9]
738Preferred custom OpenGL GLSL shader set mame bitmap (from 0 to 9).
739.TP
740.B \-glsl_shader_screen[0\-9]
741Preferred custom OpenGL GLSL shader screen bitmap (from 0 to 9).
742.TP
743.B \-gl_glsl_vid_attr
744Enable OpenGL GLSL handling of brightness and contrast. Better RGB game
745performance for free. Default is ON.
746.TP
747.B \-screen
748Explicit name for all screens; 'auto' here will try to make a best guess.
749.TP
750.B \-aspect, \-screen_aspect
751Aspect ratio for all screens; 'auto' here will try to make a best guess.
752.TP
753.B \-resolution, \-r
754Preferred resolution for all screens;
755format is \fIwidth\fRx\fIheight\fR[@\fIrefreshrate\fR] or 'auto'.
756.TP
757.B \-view
758Preferred view for all screens
759.TP
760.B \-screen[0\-3]
761Explicit name of the first|second|third|fourth screen; 'auto' here will try
762to make a best guess.
763.TP
764.B \-aspect[0\-3]
765Aspect ratio of the first|second|third|fourth screen; 'auto' here will try
766to make a best guess.
767.TP
768.B \-resolution[0\-3], \-r[0\-3]
769Preferred resolution for the first|second|third|fourth screen;
770format is \fIwidth\fRx\fIheight\fR[@\fIrefreshrate\fR] or 'auto'.
771.TP
772.B \-view[0\-3]
773Preferred view for the first|second|third|fourth screen.
774.\"
775.\" *******************************************************
776.SS Full screen options
777.\" *******************************************************
778.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
779.\" SDL specific
780.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
781.TP
782.B \-[no]switchres
783Affects full screen mode only. Chooses if MAME can try to change the screen
784resolution (color depth is normally left alone) when in full\-screen mode. If
785it's off, you always get your desktop resolution in full\-screen mode (which can
786be useful for LCDs).
787.TP
788.B \-useallheads
789Split full screen image across monitors.
790.\"
791.\" *******************************************************
792.SS Sound options
793.\" *******************************************************
794.TP
795.B \-[no]sound
796Enable or disable sound altogether. The default is ON (\-sound).
797.TP
798.B \-samplerate, \-sr \fIvalue
799Sets the audio sample rate. Smaller values (e.g. 11025) cause lower
800audio quality but faster emulation speed. Higher values (e.g. 48000)
801cause higher audio quality but slower emulation speed. The default is
80248000.
803.TP
804.B \-[no]samples
805Use samples if available. The default is ON (\-samples).
806.TP
807.B \-volume, \-vol \fIvalue
808Sets the startup volume. It can later be changed with the user interface
809(see Keys section). The volume is an attenuation in dB: e.g.,
810"\-volume \-12" will start with \-12dB attenuation. The default is 0.
811.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
812.\" SDL specific
813.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
814.TP
815.B \-audio_latency \fIvalue
816This controls the amount of latency built into the audio streaming.
817The latency parameter controls the lower threshold. The default is 1
818(meaning lower=1/5 and upper=2/5). Set it to 2 (\-audio_latency 2) to keep
819the sound buffer between 2/5 and 3/5 full. If you crank it up to 4,
820you can definitely notice the lag.
821.\"
822.\" *******************************************************
823.SS Input options
824.\" *******************************************************
825.TP
826.B \-[no]coin_lockout, \-[no]coinlock
827Enables simulation of the "coin lockout" feature that is implmeneted
828on a number of game PCBs. It was up to the operator whether or not
829the coin lockout outputs were actually connected to the coin
830mechanisms. If this feature is enabled, then attempts to enter a coin
831while the lockout is active will fail and will display a popup message
832in the user interface. If this feature is disabled, the coin lockout
833signal will be ignored. The default is ON (\-coin_lockout).
834.TP
835.B \-ctrlr \fIcontroller
836Enables support for special controllers. Configuration files are
837loaded from the ctrlrpath. They are in the same format as the .cfg
838files that are saved, but only control configuration data is read
839from the file. The default is NULL (no controller file).
840.TP
841.B \-[no]mouse
842Controls whether or not MAME looks for a mouse controller to use. Note
843that in many cases, lightguns are treated as mice by the operating
844system, so you may need to enable this to enable lightgun support. When
845this is enabled, you will not be able to use your mouse while playing
846a game. If you want to get control of your computer back, you will need
847to either pause the game or quit. The default is OFF (\-nomouse).
848.TP
849.B \-[no]joystick, \-[no]joy
850Controls whether or not MAME looks for joystick/gamepad controllers.
851The default is ON (\-joystick).
852.TP
853.B \-[no]lightgun, \-[no]gun
854Controls whether or not MAME makes use of lightgun controllers.
855Note that most lightguns map to the mouse, so using \-lightgun and
856\-mouse together may produce strange results. The default is OFF
857(\-nolightgun).
858.TP
859.B \-[no]multikeyboard, \-[no]multikey
860Determines whether MAME differentiates between multiple keyboards.
861Some systems may report more than one keyboard; by default, the data
862from all of these keyboards is combined so that it looks like a single
863keyboard. Turning this option on will enable MAME to report keypresses
864on different keyboards independently. The default is OFF 
865(\-nomultikeyboard).
866.TP
867.B \-[no]multimouse
868Determines whether MAME differentiates between multiple mice. Some 
869systems may report more than one mouse device; by default, the data
870from all of these mice is combined so that it looks like a single
871mouse. Turning this option on will enable MAME to report mouse 
872movement and button presses on different mice independently. The 
873default is OFF (\-nomultimouse).
874.TP
875.B \-[no]steadykey, \-[no]steady
876Some games require two or more buttons to be pressed at exactly the
877same time to make special moves. Due to limitations in the PC keyboard
878hardware, it can be difficult or even impossible to accomplish that
879using the standard keyboard handling. This option selects a different
880handling that makes it easier to register simultaneous button presses,
881but has the disadvantage of making controls less responsive. The
882default is OFF (\-nosteadykey).
883.TP
884.B \-[no]offscreen_reload, \-[no]reload
885Controls whether or not MAME treats a second button input from a
886lightgun as a reload signal. In this case, MAME will report the gun's
887position as (0,MAX) with the trigger held, which is equivalent to an
888offscreen reload. This is only needed for games that required you to 
889shoot offscreen to reload, and then only if your gun does not support 
890off screen reloads. The default is OFF (\-nooffscreen_reload).
891.TP
892.B \-joystick_map, \-joymap \fImap
893Controls how joystick values map to digital joystick controls.
894See /usr/share/doc/mame/config.txt for full details on \fImap\fR format.
895.TP
896.B \-joystick_deadzone, \-joy_deadzone, \-jdz \fIvalue
897If you play with an analog joystick, the center can drift a little.
898joystick_deadzone tells how far along an axis you must move before the
899axis starts to change. This option expects a float in the range of
9000.0 to 1.0. Where 0 is the center of the joystick and 1 is the outer
901limit. The default is 0.3.
902.TP
903.B \-joystick_saturation, \-joy_saturation, \-jsat \fIvalue
904If you play with an analog joystick, the ends can drift a little,
905and may not match in the +/\- directions. joystick_saturation tells how 
906far along an axis movement change will be accepted before it reaches 
907the maximum range. This option expects a float in the range of 0.0 to 
9081.0, where 0 is the center of the joystick and 1 is the outer limit.
909The default is 0.85.
910.TP
911.B \-natural, \-nat
912Specifies whether to use a natural keyboard or not.
913.TP
914.B \-joystick_contradictory
915Enable contradictory direction digital joystick input at the same time.
916.TP
917.B \-coin_impulse \fItime
918Set coin impulse time. A negative value for \fItime\fR disables the impulse;
919set \fItime\fR to 0 to obey driver or give a positive value to set impulse time.
920.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
921.\" SDL specific
922.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
923.TP
924.B \-uimodekey, \-umk
925Specifies the key used to toggle between full and partial UI mode.
926.TP
927.B \-keymap
928Enable keymap for non\-QWERTY keyboards. Used in conjuction with
929\fB\-keymap_file\fR.
930.TP
931.B \-keymap_file \fIkeymap_file\fR
932Specifies the full path to the keymap file to be used. Shipped keymap files lie
933in \fB/usr/share/games/mame/keymaps\fR.
934.TP
935.B \-joy_idx[0\-8] \fIjoystick
936With these options you can assign a joystick to a 
937specific index in MAME. Even if the kernel will list the joysticks
938in a different order on the next boot, MAME will still see the joystick
939as e.g. "Joystick 2". Use mame \-v to see which joysticks are recognized.
940Default is 'auto'.
941.TP
942.B \-sixaxis
943Use special handling for PS3 Sixaxis controllers.
944.TP
945.B \-videodriver, \-vd \fIx11\fR|\fIdirectfb\fR|\fIauto\fR
946SDL video driver to use; auto selects SDL default.
947.TP
948.B \-audiodriver, \-ad \fIalsa\fR|\fIarts\fR|\fIauto\fR
949SDL audio driver to use; auto selects SDL default.
950.TP
951.B \-gl_lib \fIalsa\fR|\fIarts\fR|\fIauto\fR
952Alternative libGL.so to use; auto selects SDL default.
953.\"
954.\" *******************************************************
955.SS Input automatic enable options
956.\" *******************************************************
957.TP
958.B \-paddle_device, \-paddle \fR[\fInone\fR|\fIkeyboard\fR|\fImouse\fR|\fIlightgun\fR|\fIjoystick\fR]
959.TP
960.B \-adstick_device, \-adstick \fR[\fInone\fR|\fIkeyboard\fR|\fImouse\fR|\fIlightgun\fR|\fIjoystick\fR]
961.TP
962.B \-pedal_device, \-pedal \fR[\fInone\fR|\fIkeyboard\fR|\fImouse\fR|\fIlightgun\fR|\fIjoystick\fR]
963.TP
964.B \-dial_device, \-dial \fR[\fInone\fR|\fIkeyboard\fR|\fImouse\fR|\fIlightgun\fR|\fIjoystick\fR]
965.TP
966.B \-trackball_device, \-trackball \fR[\fInone\fR|\fIkeyboard\fR|\fImouse\fR|\fIlightgun\fR|\fIjoystick\fR]
967.TP
968.B \-lightgun_device \fR[\fInone\fR|\fIkeyboard\fR|\fImouse\fR|\fIlightgun\fR|\fIjoystick\fR]
969.TP
970.B \-positional_device \fR[\fInone\fR|\fIkeyboard\fR|\fImouse\fR|\fIlightgun\fR|\fIjoystick\fR]
971.TP
972.B \-mouse_device \fR[\fInone\fR|\fIkeyboard\fR|\fImouse\fR|\fIlightgun\fR|\fIjoystick\fR]
973Each of these options controls autoenabling the mouse, or joystick
974depending on the presence of a particular class of analog
975control for a particular game. For example, if you specify the option
976\-paddle mouse, then any game that has a paddle control will automatically
977enable mouse controls just as if you had explicitly specified \-mouse.
978Note that these controls override the values of \-[no]mouse, \-[no]joystick, etc.
979.\"
980.\" *******************************************************
981.SS Debugging options
982.\" *******************************************************
983.TP
984.B \-[no]log
985Creates a file called error.log which contains all of the internal
986log messages generated by the MAME core and game drivers. The default
987is OFF (\-nolog).
988.TP
989.B \-[no]verbose, \-[no]v
990Displays internal diagnostic information. This information is very
991useful for debugging problems with your configuration. \fBIMPORTANT\fP: when
992reporting bugs, please run with mame \-verbose and include the resulting
993information. The default is off (\-noverbose).
994.TP
995.B \-update_in_pause
996Enables updating the screen bitmap while the game is paused. This is
997useful for debuggin in some scenarios (and gets in the way in others).
998.TP
999.B \-[no]debug, \-[no]d
1000Activates the integrated debugger. By default, the debugger is entered 
1001by pressing the tilde (~) key during emulation. It is also entered 
1002immediately at startup. The default is OFF (\-nodebug).
1003.TP
1004.B \-debugscript \fIfilename
1005Specifies a file that contains a list of debugger commands to execute
1006immediately upon startup. The default is NULL (no commands).
1007.TP
1008.B \-debug_internal, \-di
1009Use the internal debugger for debugging.
1010.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1011.\" SDL specific
1012.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1013.TP
1014.B \-[no]oslog
1015Outputs the error.log data to the system debugger. This can be used at
1016the same time as \-log to output the log data to both targets as well.
1017Default is OFF (\-nooslog).
1018.\"
1019.\" *******************************************************
1020.SS Misc options
1021.\" *******************************************************
1022.TP
1023.B \-bios \fIbiosname
1024Specifies the specific BIOS to use with the current game, for game
1025systems that make use of a BIOS. The \-listxml output will list all of
1026the possible BIOS names for a game. The default is 'default'.
1027.TP
1028.B \-[no]cheat, \-[no]c
1029Enables the reading of the cheat database, if present, and the Cheat
1030menu in the user interface. The   default is OFF (\-nocheat).
1031.TP
1032.B \-[no]skip_gameinfo
1033Forces MAME to skip displaying the game info screen. The default is OFF
1034(\-noskip_gameinfo).
1035.TP
1036.B \-uifont \fIfontname
1037Specifies the name of a BDF font file to use for the UI font. If this
1038font cannot be found or cannot be loaded, the system will fall back
1039to its built\-in UI font. On some platforms \fIfontname\fP can be a system
1040font name instead of a BDF font file. The default is 'default' (use 
1041the OSD\-determined default font).
1042.TP
1043.B \-ramsize, \-ram
1044Size of RAM (if supported by driver).
1045.TP
1046.B \-confirm_quit
1047Display confirm quit screen on exit.
1048.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1049.\" SDL specific
1050.\" +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1051.TP
1052.B \-watchdog
1053Specifies a number of seconds after which MAME should automatically exit
1054if it detects that the emulation has locked up.
1055.\"
1056.\"
1057.\" LEGAL NOTICE chapter
1058.SH LEGAL NOTICE
1059Please visit the MAME website for some important legal information:
1060.PP
1061http://mamedev.org/legal.html
src/osd/sdl/man/chdman.1
r14797r14798
66.\" Ashley T. Howes <debiandev@ashleyhowes.com>, February 2005
77.\" updated by Cesare Falco <cesare.falco@gmail.com>, February 2007
88.\"
9.TH CHDMAN 1 2010-06-26 0.138u4 "chdman"
9.TH CHDMAN 1 2012-03-25 0.145u5 "chdman"
1010.\"
1111.\" NAME chapter
1212.SH NAME
r14797r14798
1515.\" SYNOPSIS chapter
1616.SH SYNOPSIS
1717.B chdman
18.I option file
18.I option switches
1919.\"
2020.\" DESCRIPTION chapter
2121.SH DESCRIPTION
r14797r14798
2626.\" OPTIONS chapter
2727.SH OPTIONS
2828.TP
29.B \-info \fIinput\fR.chd
29.B \info \fIinput\fR.chd
3030Dump the header information from a drive image.
3131.TP
32.B \-createraw \fIinputhd\fR.raw \fIoutput\fR.chd [\fIinputoffs\fR [\fIhunksize\fR]]
32.B verify \fIinput\fR.chd
33Validate the MD5/SHA1 on a drive image.
34.TP
35.B createraw \fIinputhd\fR.raw \fIoutput\fR.chd [\fIinputoffs\fR [\fIhunksize\fR]]
3336Create a new compressed raw image from a raw file.
3437.TP
35.B \-createhd \fIinputhd\fR.raw \fIoutput\fR.chd [\fIinputoffs\fR [\fIcylinders \
38.B createhd \fIinputhd\fR.raw \fIoutput\fR.chd [\fIinputoffs\fR [\fIcylinders \
3639heads sectors \fR[\fIsectorsize\fR [\fIhunksize\fR]]]]
3740Create a new compressed hard disk image from a raw file.
3841.TP
39.B \-createblankhd \fIoutput\fR.chd \fIcylinders heads sectors\fR [\fIsectorsize \
40\fR[\fIhunksize\fR]]
41Create a new non\-compressed hard disk image, with all hunks filled with 0s.
42.TP
43.B \-createcd \fIinput\fR.toc \fIoutput\fR.chd
42.B createcd \fIinput\fR.toc \fIoutput\fR.chd
4443Create a new compressed CD image from a raw file.
4544.TP
46.B \-copydata \fIinput\fR.chd \fIoutput\fR.chd
45.B createld \fIinput\fR.toc \fIoutput\fR.chd
46Create a new compressed laserdisc image from a raw file.
47.TP
48.B extractraw \fIinput\fR.chd \fIoutput\fR.raw
49Extract a raw file from a CHD image.
50.TP
51.B extracthd \fIinput\fR.chd \fIoutput\fR.toc \fIoutput\fR.bin
52Extract a hard disk block image from a CHD image.
53.TP
54.B extractcd \fIinput\fR.chd \fIoutput\fR.toc \fIoutput\fR.bin
55Extract a CDRDAO .toc/.bin, CDRWIN .bin/.cue, or Sega Dreamcast .GDI file from a CHD\-CD image.
56.TP
57.B extractld \fIinput\fR.chd \fIoutput\fR.toc \fIoutput\fR.bin
58Extract a laserdisc image from a CHD\-LD image.
59.TP
60.B copy \fIinput\fR.chd \fIoutput\fR.chd
4761Copy all hunks of data from one CHD file to another. The hunk sizes do not need to match.
4862If the source is shorter than the destination, the source data will be padded with 0s.
63.\" SWITCHES chapter
64.SH SWITCHES
4965.TP
50.B \-extract \fIinput\fR.chd \fIoutput\fR.raw
51Extract a raw file from a CHD image.
66.B --chs, -chs \fI <cylinders,heads,sectors>: specifies CHS geometry values for CHD harddisks
5267.TP
53.B \-extractcd \fIinput\fR.chd \fIoutput\fR.toc \fIoutput\fR.bin
54Extract a CDRDAO .toc/.bin file from a CHD\-CD image.
68.B --compression, -c \fI <none|type1[,type2[,...]]>: which compression codecs to use (up to 4)
5569.TP
56.B \-verify \fIinput\fR.chd
57Validate the MD5/SHA1 on a drive image.
70.B --force, -f \fI : force overwriting an existing file
5871.TP
59.B \-verifyfix \fIinput\fR.chd
60Validate and fix the MD5/SHA1 on a drive image.
72.B --help, -h \fI : shows the available switches for an option
6173.TP
62.B \-update \fIinput\fR.chd \fIoutput\fR.chd
63Update CHD image using metadata from input file.
74.B --hunksize, -hs \fI <bytes>: size of each unit, in hunks
6475.TP
65.B \-chomp \fIinput\fR.chd \fIoutput\fR.chd \fImaxhunk
66Chomp hunk from CHD image.
76.B --ident, -id \fI <filename>: name of ident file to provide CHS information
6777.TP
68.B \-merge \fIparent\fR.chd \fIdiff\fR.chd \fIoutput\fR.chd
69Merge a parent and its child together.
78.B --input, -i \fI <filename>: input file name
7079.TP
71.B \-diff \fIparent\fR.chd \fIcompare\fR.chd \fIdiff\fR.chd
72Generate a difference between two CHD files.
80.B --inputstartbyte, -isb \fI <offset>: starting byte offset within the input
7381.TP
74.B \-setchs \fIinout\fR.chd \fIcylinders heads sections
75Change the CHS values on a hard disk image.
82.B --inputstarthunk, -ish \fI <offset>:  starting hunk offset within the input
7683.TP
77.B \-split \fIinput\fR.chd \fIoutput\fR.chd \fIlength
78Split a CHD file into multiple parts.
84.B --inputbytes, -ib \fI <length>: effective length of the input in bytes
85.TP                             
86.B --inputhunks, -ih \fI <length>: effective length of the input in hunks
87.TP
88.B --inputparent, -ip \fI <filename>: parent CHD's input file name
89.TP
90.B --numprocessors, -np \fI <count>: limits the number of processors to use during compression
91.TP
92.B --sectorsize, -ss \fI <bytes>: size of each hard disk sector
93.TP
94.B --verbose, -v \fI : output additional information about the operation
95.TP
96.B --output, -o \fI <filename>: output file name
97.TP
98.B --outputbin, -ob \fI <filename>: output binary file name for extractcd
99.TP
100.B --outputparent, -op \fI <filename>: parent CHD's output file name
101.TP
102.B --unitsize, -us \fI <bytes>: size of each unit, in bytes
103
src/osd/sdl/man/testkeys.1
r14797r14798
55.\" Man page created from source and usage information
66.\" Cesare Falco <cesare.falco@gmail.com>, February 2007
77.\"
8.TH TESTKEYS 1 2010-06-26 0.138u4 "testkeys"
8.TH TESTKEYS 1 2012-03-25 0.145u5 "testkeys"
99.\"
1010.\" NAME chapter
1111.SH NAME
src/osd/sdl/man/ldplayer.1
r14797r14798
55.\" Man page created from source and usage information by
66.\" Cesare Falco <cesare.falco@gmail.com>, August 2008
77.\"
8.TH LDPLAYER 1 2010-07-07 0.138u4 "ldplayer"
8.TH LDPLAYER 1 2012-03-25 0.145u5 "ldplayer"
99.\"
1010.\"
1111.\" NAME chapter
src/osd/sdl/man/romcmp.1
r14797r14798
99.\" References
1010.\" http://www.mame.net/mamefaq.html
1111.\"
12.TH ROMCMP 1 2010-06-26 0.138u4 "romcmp"
12.TH ROMCMP 1 2012-03-25 0.145u5 "romcmp"
1313.\"
1414.\" NAME chapter
1515.SH NAME

Previous 15994 Revisions Next


© 1998-2018 The MESS Team