Previous 15994 Revisions Next

r14362 Monday 6th February, 2012 at 08:51:50 UTC by Miodrag Milanović
Sync with MAME 0.145 (nw)
[ROOT]makefile
[src]version.c
[src/emu]diimage.c
[src/emu/machine]ctronics.c ctronics.h msm6242.c pls100.c pls100.h rtc65271.h
[src/emu/sound]samples.c
[src/emu/video]pc_vga.c
[src/lib]lib.mak
[src/mame]mame.lst mame.mak
[src/mame/audio]dsbz80.c wow.c
[src/mame/drivers]bmcpokr.c bntyhunt.c* calchase.c deco32.c esd16.c igspc.c midqslvr.c photoply.c shtzone.c stv.c tourvis.c truco.c vamphalf.c
[src/mame/layout]superchs.lay
[src/mame/machine]atari_vg.h
[src/mame/video]boogwing.c decocomn.c decospr.c n64.c rdptpipe.h

src/mame/mame.lst
r14361r14362
44574457colmns97      // 1997.01 Columns 97
44584458shienryu      // 1997.02 Shienryu (Warashi)
44594459vmahjong      // 1997.02 Virtual Mahjong (Micronet)
4460pclub2kc      // 1997.02 Print Club Kome Kome Club
44604461pclub2fc      // 1997.04 Print Club 2 Felix The Cat
44614462groovef         // 1997.05 Groove on Fight (Atlus)
44624463nclubv3         // 1997.07 Name Club Ver. 3
r14361r14362
44804481astrass         // 1998.06 Astra Super Stars (Sunsoft)
44814482myfairld      // 1998.07 My Fair Lady (Micronet)
44824483othellos      // 1998.07 Othello Shiyouyo (Success)
4484pclubol         // 1998.07 Print Club Olive
4485pclb298a      // 1998.08 Print Club 2 '98 Autumn Ver
44834486cottonbm      // 1998.09 Cotton Boomerang (Success)
44844487stress         // 1998.10 Stress Busters
44854488elandore      // 1998.11 Touryuu Densetsu Elandore (Sai-Mate)
r14361r14362
44904493danchih         // 1999.06 Danchi de Hanafuda Okusan Komeya Desuyo! (Altron (Tecmo License))
44914494ffreveng      // 1999.09 Final Fight Revenge (Capcom)
44924495pclubpok      // 1999.11 Print Club Pokemon
4496pclubor         // 1999.11 Print Club Goukakenran
44934497danchiq         // 2000.12 Danchi de Quiz Okusan Yontaku Desuyo! (Altron)
44944498
4499
4500
44954501// Sega Model 2 Games
44964502
44974503// Model 2 (TGPs, Model 1 sound board)
r14361r14362
74667472hydrthnd      // (c) 1999 Midway Games
74677473offrthnd      // (c) 2000 Midway Games
74687474arctthnd      // (c) 2001 Midway Games
7475arctthndult      // (c) 2001 Midway Games
74697476
74707477// Midway Touchmaster / Galaxy Games
74717478tm            // (c) 1996 Midway Games
r14361r14362
1019510202bmcpokr         // (c) 1999 BMC
1019610203popobear      // (c) 2000 BMC
1019710204
10198// Merit
10205// Merit
1019910206
1020010207mpoker         // (c) 1983 Merit
1020110208pitboss         // (c) 1983 Merit
r14361r14362
1063310640esha         // (c) 1984 Funai / Gakken
1063410641eshb         // (c) 1984 Funai / Gakken
1063510642comebaby      // (c) 2000 ExPotato
10643bntyhunt      // (c) 200? GCTech Co., LTD
1063610644peset038      // (c) 1987 IGT - International Gaming Technology
1063710645pepp0043      // (c) 1987 IGT - International Gaming Technology
1063810646pepp0065      // (c) 1987 IGT - International Gaming Technology
src/mame/audio/dsbz80.c
r14361r14362
115115
116116   if (data == 0)   // stop
117117   {
118//      MPEG_Stop_Playing();
118//      MPEG_Stop_Playing();
119119//        printf("MPEG stop\n");
120120   }
121121   else if (data == 1)   // play without loop
122122   {
123//      MPEG_Set_Loop(NULL, 0);
124//      MPEG_Play_Memory(ROM + mp_start, mp_end-mp_start);
123//      MPEG_Set_Loop(NULL, 0);
124//      MPEG_Play_Memory(ROM + mp_start, mp_end-mp_start);
125125//        printf("MPEG start, one-shot from %x\n", mp_start);
126126   }
127127   else if (data == 2)   // play with loop
128128   {
129//      MPEG_Play_Memory(ROM + mp_start, mp_end-mp_start);
129//      MPEG_Play_Memory(ROM + mp_start, mp_end-mp_start);
130130//        printf("MPEG start, loop from %x\n", mp_start);
131131   }
132132}
133133
134134READ8_MEMBER(dsbz80_device::mpeg_pos_r)
135135{
136   int mp_prg = 0; //MPEG_Get_Progress();   // returns the byte offset currently playing
136   int mp_prg = 0; //MPEG_Get_Progress();  // returns the byte offset currently playing
137137
138138   mp_prg += mp_start;
139139
r14361r14362
157157   get latched.  When the current stream ends, the MPEG hardware starts playing
158158   immediately from the latched start and end position.  In this way, the Z80
159159   enforces looping where appropriate and multi-part songs in other cases
160   (song #16 is a good example)
160   (song #16 is a good example)
161161*/
162162
163163WRITE8_MEMBER(dsbz80_device::mpeg_start_w)
r14361r14362
186186            // SWA: if loop end is zero, it means "keep previous end marker"
187187            if (lp_end == 0)
188188            {
189//               MPEG_Set_Loop(ROM + lp_start, mp_end-lp_start);
189//                  MPEG_Set_Loop(ROM + lp_start, mp_end-lp_start);
190190            }
191191            else
192192            {
193//               MPEG_Set_Loop(ROM + lp_start, lp_end-lp_start);
193//                  MPEG_Set_Loop(ROM + lp_start, lp_end-lp_start);
194194            }
195195         }
196196         break;
r14361r14362
220220         else
221221         {
222222            lp_end = end;
223//            MPEG_Set_Loop(ROM + lp_start, lp_end-lp_start);
223//              MPEG_Set_Loop(ROM + lp_start, lp_end-lp_start);
224224         }
225225         break;
226226   }
src/mame/audio/wow.c
r14361r14362
4141 0
4242};
4343
44/* Missing samples : ready,  from,  one,  bite,  youl,  explode,  if,  myself,  back,
45   cant,  do,  wait,  worlings,  very,  babies,  breath,  fire,  beat,  rest,
46   then,  never,  worlock,  escape,  door,  try,  any,  harder,  only,  meet,  with,
47   doom,  pop,
44/* Missing samples : ready,  from,  one,  bite,  youl,  explode,  if,  myself,  back,
45   cant,  do,  wait,  worlings,  very,  babies,  breath,  fire,  beat,  rest,
46   then,  never,  worlock,  escape,  door,  try,  any,  harder,  only,  meet,  with,
47   doom,  pop,
4848   Problems with YOU and YOU'LL and YOU'DD */
4949
5050static const char *const wowWordTable[] =
src/mame/machine/atari_vg.h
r14361r14362
3838   DECLARE_READ8_MEMBER( read );
3939   DECLARE_WRITE8_MEMBER( write );
4040   DECLARE_WRITE8_MEMBER( ctrl_w );
41private:   
41private:
4242   int m_offset;
4343   int m_data;
4444   char m_rom[EAROM_SIZE];
src/mame/mame.mak
r14361r14362
16891689   $(DRIVERS)/coinmstr.o \
16901690   $(DRIVERS)/coinmvga.o \
16911691   $(DRIVERS)/comebaby.o \
1692   $(DRIVERS)/bntyhunt.o \
16921693   $(DRIVERS)/coolpool.o \
16931694   $(DRIVERS)/corona.o \
16941695   $(DRIVERS)/crystal.o $(VIDEO)/vrender0.o \
r14361r14362
21762177$(VIDEO)/jaguar.o:   $(MAMESRC)/video/jagobj.c \
21772178         $(MAMESRC)/video/jagblit.c
21782179$(DRIVERS)/model1.o: $(MAMESRC)/includes/model1.h $(MAMESRC)/audio/dsbz80.h
2179$(VIDEO)/model1.o: $(MAMESRC)/includes/model1.h $(MAMESRC)/audio/dsbz80.h
2180$(MACHINE)/model1.o: $(MAMESRC)/includes/model1.h $(MAMESRC)/audio/dsbz80.h
2180$(VIDEO)/model1.o: $(MAMESRC)/includes/model1.h $(MAMESRC)/audio/dsbz80.h
2181$(MACHINE)/model1.o: $(MAMESRC)/includes/model1.h $(MAMESRC)/audio/dsbz80.h
21812182$(VIDEO)/model2.o:   $(MAMESRC)/video/model2rd.c
21822183$(VIDEO)/model3.o:   $(MAMESRC)/video/m3raster.c
21832184$(VIDEO)/n64.o:      $(MAMESRC)/video/rdpfiltr.c
src/mame/video/rdptpipe.h
r14361r14362
9696      INT32            m_precomp_t;
9797
9898   private:
99      UINT32             Expand16To32Table[0x10000];
99      UINT32            Expand16To32Table[0x10000];
100100
101101      void            Mask(INT32* S, INT32* T, INT32 num);
102102      void            MaskCoupled(INT32* S, INT32* S1, INT32* T, INT32* T1, INT32 num);
src/mame/video/decospr.c
r14361r14362
296296               x = 240 - x;
297297            }
298298
299   
299
300300            //if (x <= 320)
301301            {
302302               if (!m_is_bootleg) // several of the clone / bootleg chips don't do this, see jumpkids
303303                  sprite &= ~multi;
304               
304
305305               if (fy)
306306                  inc = -1;
307307               else
r14361r14362
329329                  if (fx) fx = 0; else fx = 1;
330330               }
331331
332               
333               
332
333
334334               mult2 = multi + 1;
335335
336336               while (multi >= 0)
src/mame/video/decocomn.c
r14361r14362
118118{
119119   decocomn_state *decocomn = get_safe_token(device);
120120   const decocomn_interface *intf = get_interface(device);
121//   int width, height;
121//  int width, height;
122122
123123   decocomn->screen = device->machine().device<screen_device>(intf->screen);
124//   width = decocomn->screen->width();
125//   height = decocomn->screen->height();
124//  width = decocomn->screen->width();
125//  height = decocomn->screen->height();
126126
127127   decocomn->dirty_palette = auto_alloc_array_clear(device->machine(), UINT8, 4096);
128128
src/mame/video/boogwing.c
r14361r14362
3333   sprite_bitmap1 = &machine.device<decospr_device>("spritegen1")->get_sprite_temp_bitmap();
3434   sprite_bitmap2 = &machine.device<decospr_device>("spritegen2")->get_sprite_temp_bitmap();
3535   priority_bitmap = &machine.priority_bitmap;
36   
36
3737   UINT32* dstline;
3838   UINT16 *srcline1, *srcline2;
3939   UINT8 *srcpriline;
40   
40
4141   for (y=cliprect.min_y;y<=cliprect.max_y;y++)
4242   {
4343      srcline1=&sprite_bitmap1->pix16(y,0);
r14361r14362
5252         UINT16 pix2 = srcline2[x];
5353
5454         /* Here we have
55          pix1 - raw pixel / colour / priority data from first 1sdt chip
56          pix2 - raw pixel / colour / priority data from first 2nd chip
57         */
55             pix1 - raw pixel / colour / priority data from first 1sdt chip
56             pix2 - raw pixel / colour / priority data from first 2nd chip
57            */
5858
5959         int pri1, pri2;
6060         int spri1, spri2, alpha2;
r14361r14362
133133
134134         UINT8 bgpri = srcpriline[x];
135135         /* once we get here we have
136         
137         pri1 - 4/16/64 (sprite chip 1 pixel priority relative to bg)
138         pri2 - 4/16/64 (sprite chip 2 pixel priority relative to bg)
139         spri1 - 8/32 (priority of sprite chip 1 relative to other sprite chip)
140         spri2 - 4/16/64 (priority of sprite chip 2 relative to other sprite chip)
141         alpha2 - 0x80/0xff alpha level of sprite chip 2 pixels (0x80 if enabled, 0xff if not)
142         
143         bgpri - 0 / 8 / 32 (from drawing tilemaps earlier, to compare above pri1/pri2 priorities against)
144         pix1 - same as before (ready to extract just colour data from)
145         pix2 - same as before  ^^
146         */
147136
137            pri1 - 4/16/64 (sprite chip 1 pixel priority relative to bg)
138            pri2 - 4/16/64 (sprite chip 2 pixel priority relative to bg)
139            spri1 - 8/32 (priority of sprite chip 1 relative to other sprite chip)
140            spri2 - 4/16/64 (priority of sprite chip 2 relative to other sprite chip)
141            alpha2 - 0x80/0xff alpha level of sprite chip 2 pixels (0x80 if enabled, 0xff if not)
142
143            bgpri - 0 / 8 / 32 (from drawing tilemaps earlier, to compare above pri1/pri2 priorities against)
144            pix1 - same as before (ready to extract just colour data from)
145            pix2 - same as before  ^^
146            */
147
148148         int drawnpixe1 = 0;
149149         if (pix1 & 0xf)
150150         {
src/mame/video/n64.c
r14361r14362
141141
142142            //if(divot)
143143            //{
144            //   if(i > 0 && i < (hres - 1))
145            //   {
146            //      prev_cvg = ((frame_buffer[(pixels - 1)^WORD_ADDR_XOR] & 1) << 2) | (hidden_buffer[(pixels - 1)^BYTE_ADDR_XOR] & 3);
147            //      next_cvg = ((frame_buffer[(pixels + 1)^WORD_ADDR_XOR] & 1) << 2) | (hidden_buffer[(pixels + 1)^BYTE_ADDR_XOR] & 3);
148            //   }
144            //  if(i > 0 && i < (hres - 1))
145            //  {
146            //      prev_cvg = ((frame_buffer[(pixels - 1)^WORD_ADDR_XOR] & 1) << 2) | (hidden_buffer[(pixels - 1)^BYTE_ADDR_XOR] & 3);
147            //      next_cvg = ((frame_buffer[(pixels + 1)^WORD_ADDR_XOR] & 1) << 2) | (hidden_buffer[(pixels + 1)^BYTE_ADDR_XOR] & 3);
148            //  }
149149            //}
150150            c.i.r = ((pix >> 8) & 0xf8) | (pix >> 13);
151151            c.i.g = ((pix >> 3) & 0xf8) | ((pix >>  8) & 0x07);
src/mame/layout/superchs.lay
r14361r14362
4747         <color red="0.85" green="0.4" blue="0.3" />
4848      </disk>
4949   </element>
50   
50
5151   <!-- Super Chase used a widescreen monitor, see http://flyers.arcade-museum.com/?page=thumbs&db=videodb&id=1118 -->
5252
5353   <view name="Shifter-R">
src/mame/drivers/deco32.c
r14361r14362
32753275   ROM[0x1b32c/4]=0xe1a00000;//  NOP test switch lock
32763276
32773277   /*
3278   {
3279      UINT8 *ROM = machine.region("dvi")->base();
3278    {
3279        UINT8 *ROM = machine.region("dvi")->base();
32803280
3281      FILE *fp;
3282      char filename[256];
3283      sprintf(filename,"video.dvi");
3284      fp=fopen(filename, "w+b");
3285      if (fp)
3286      {
3287         fwrite(ROM, 0xc00000, 1, fp);
3288         fclose(fp);
3289      }
3290   }
3291   */
3281        FILE *fp;
3282        char filename[256];
3283        sprintf(filename,"video.dvi");
3284        fp=fopen(filename, "w+b");
3285        if (fp)
3286        {
3287            fwrite(ROM, 0xc00000, 1, fp);
3288            fclose(fp);
3289        }
3290    }
3291    */
32923292}
32933293
32943294static DRIVER_INIT( fghthist )
src/mame/drivers/shtzone.c
r14361r14362
11/*
22
3"Sega Shooting Zone" aka "Sega Sharp Shooter"
3"Sega Shooting Zone" aka "Sega Sharp Shooter"
44
55This is an SMS with a timer system, official Sega product.  Cabinet has a lightgun, it runs the SMS light gun games.
66
r14361r14362
1717Xtal : 10.7380 Mhz
1818
1919RAMS(s) : D4168C (x3)
20   : MB8464-12L
20    : MB8464-12L
2121
2222Eprom : Epr10894A.20
2323
2424PAL : 315-5287
2525
26Customs IC's :    315-5216 (x2)
27     
28      315-5124
26Customs IC's :  315-5216 (x2)
2927
28        315-5124
29
3030GAMES for this system :
3131
3232Black Belt (mpr10150.ic1)
src/mame/drivers/truco.c
r14361r14362
6565  IC's Reverse Engineering....
6666
6767  MARKED   PINS     ID    TYPE        DETAILS
68 
69  - U1 : 40-pin IC  YES   CPU         MOTOROLA M6809
68
69  - U1 : 40-pin IC  YES   CPU         MOTOROLA M6809
7070  - U2 : 28-pin IC  YES   ROM U2      M27128A
7171  - U3 : 28-pin IC  YES   ROM U3      M27128A
7272  - U4 : 40-pin IC  YES   PIA         ST EF6821P
r14361r14362
133133            U20(07) - PB7 |17      24| CS1
134134        PIA CA1 (*) - CB1 |18      23| /CS2
135135            U20(06) - CB2 |19      22| CS0
136                      VCC |20      21| R/W
136                      VCC |20      21| R/W
137137                          +----------+
138138
139139    (*) Lines CA1 and CB1 are tied together, being both IN.
r14361r14362
142142
143143  U19:   *** MAX691 ***  Maxim MAX691 Microprocessor Supervisory Circuit.
144144                         (for battery backup power switching and watchdog).
145  leg 01 [VBATT] ---->
146  leg 02 [VOUT] ----->
145  leg 01 [VBATT] ---->
146  leg 02 [VOUT] ----->
147147  leg 03 [VCC] ------> VCC
148148  leg 04 [GND] ------> GND
149  leg 05 [BATT ON] -->
150  leg 06 [/LOWLINE] ->
151  leg 07 [OSC IN] ---> N/C \  Set 1.6 seconds as WD timeout.
149  leg 05 [BATT ON] -->
150  leg 06 [/LOWLINE] ->
151  leg 07 [OSC IN] ---> N/C \  Set 1.6 seconds as WD timeout.
152152  leg 08 [OSC SEL] --> N/C /
153  leg 09 [PFI] ------>
154  leg 10 [/PFO] ----->
153  leg 09 [PFI] ------>
154  leg 10 [/PFO] ----->
155155  leg 11 [WDI] ------> PIA CA2
156  leg 12 [/CE OUT] -->
156  leg 12 [/CE OUT] -->
157157  leg 13 [/CE IN] ---> GND
158  leg 14 [/WDO] ----->
158  leg 14 [/WDO] ----->
159159  leg 15 [/RESET] ---> CPU /RES (37)
160160  leg 16 [RESET] ---->
161161
r14361r14362
308308   PORT_DIPNAME( 0x10, 0x10, "IN0-5 (TILT SW)" )
309309   PORT_DIPSETTING (   0x10, DEF_STR( Off ) )
310310   PORT_DIPSETTING (   0x00, DEF_STR( On ) )
311//   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )      /* Connected to JAMMA S17 (P2 START) */
312//   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )      /* Connected to JAMMA S14 (SERVICE SW) */
313//   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )      /* Connected to JAMMA C26 (P2 SELECT) */
314//   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )      /* Connected to JAMMA S16 (COIN2) */
315//   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )      /* Connected to JAMMA S15 (TILT SW) */
311//  PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )        /* Connected to JAMMA S17 (P2 START) */
312//  PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )        /* Connected to JAMMA S14 (SERVICE SW) */
313//  PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )        /* Connected to JAMMA C26 (P2 SELECT) */
314//  PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )        /* Connected to JAMMA S16 (COIN2) */
315//  PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )        /* Connected to JAMMA S15 (TILT SW) */
316316   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 )      /* Connected to JAMMA C22 (P1 BUTTON1) */
317317   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_UP )   /* Connected to JAMMA C18/21 (JOY UP & JOY RIGHT) */
318318   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN )   /* Connected to JAMMA C19/20 (JOY DOWN & JOY LEFT) */
src/mame/drivers/stv.c
r14361r14362
21302130
21312131   ROM_REGION32_BE( 0x3000000, "game0", ROMREGION_ERASE00 ) /* SH2 code */
21322132
2133   ROM_LOAD16_WORD_SWAP( "ic22",    0x0200000, 0x0200000, CRC(d2ceade7) SHA1(a4300322e582f403d9207290f3900e1a72fcb9b9) ) // OK
2134   ROM_LOAD16_WORD_SWAP( "ic24",    0x0400000, 0x0200000, CRC(0e968c2d) SHA1(fbcc7533fcb6b87cd8255fc2d307ae618301ea64) ) // OK
2135   ROM_LOAD16_WORD_SWAP( "ic26",    0x0600000, 0x0200000, CRC(ab51da70) SHA1(85214aa805ffc9de59900dc0cd4e19e5ab756bf7) ) // OK
2136   ROM_LOAD16_WORD_SWAP( "ic28",    0x0800000, 0x0200000, CRC(3a654b2a) SHA1(7398e25836bfbdeab6350759f25c420c3b496172) ) // OK
2137   ROM_LOAD16_WORD_SWAP( "ic30",    0x0a00000, 0x0200000, CRC(8d89877e) SHA1(7d76d48d64d7ac5411d714a4bb83f37e3e5b8df6) ) // OK
2133   ROM_LOAD16_WORD_SWAP( "pclub2_ic22",    0x0200000, 0x0200000, CRC(d2ceade7) SHA1(a4300322e582f403d9207290f3900e1a72fcb9b9) ) // OK
2134   ROM_LOAD16_WORD_SWAP( "pclub2_ic24",    0x0400000, 0x0200000, CRC(0e968c2d) SHA1(fbcc7533fcb6b87cd8255fc2d307ae618301ea64) ) // OK
2135   ROM_LOAD16_WORD_SWAP( "pclub2_ic26",    0x0600000, 0x0200000, CRC(ab51da70) SHA1(85214aa805ffc9de59900dc0cd4e19e5ab756bf7) ) // OK
2136   ROM_LOAD16_WORD_SWAP( "pclub2_ic28",    0x0800000, 0x0200000, CRC(3a654b2a) SHA1(7398e25836bfbdeab6350759f25c420c3b496172) ) // OK
2137   ROM_LOAD16_WORD_SWAP( "pclub2_ic30",    0x0a00000, 0x0200000, CRC(8d89877e) SHA1(7d76d48d64d7ac5411d714a4bb83f37e3e5b8df6) ) // OK
21382138
21392139   ROM_REGION16_BE( 0x80, "eeprom", 0 ) // preconfigured to 1 player
21402140   ROM_LOAD( "pclub2.nv", 0x0000, 0x0080, CRC(00d0f04e) SHA1(8b5a3e1c52e34443f83fd4a8948a00cacb5071d0) )
r14361r14362
21452145
21462146   ROM_REGION32_BE( 0x3000000, "game0", ROMREGION_ERASE00 ) /* SH2 code */
21472147
2148   ROM_LOAD16_WORD_SWAP( "ic22",    0x0200000, 0x0200000, CRC(109c61a5) SHA1(bfb3e014e49064443ef290bc068ffcd459ae132d) ) // OK
2149   ROM_LOAD16_WORD_SWAP( "ic24",    0x0400000, 0x0200000, CRC(0ccc5538) SHA1(15133fc9c85f0a384d49841d874a0fe9a76057ce) ) // OK
2150   ROM_LOAD16_WORD_SWAP( "ic26",    0x0600000, 0x0200000, CRC(8d89877e) SHA1(7d76d48d64d7ac5411d714a4bb83f37e3e5b8df6) ) // OK
2151   ROM_LOAD16_WORD_SWAP( "ic28",    0x0800000, 0x0200000, CRC(ff9643ca) SHA1(3309f970f87324b06cc48add386019f769abcd89) ) // OK
2152   ROM_LOAD16_WORD_SWAP( "ic30",    0x0a00000, 0x0200000, CRC(03b9eacf) SHA1(d69c10f7613d9f52042dd6cce64e74e2b1ecc2d8) ) // OK
2148   ROM_LOAD16_WORD_SWAP( "pclub2fc_ic22",    0x0200000, 0x0200000, CRC(109c61a5) SHA1(bfb3e014e49064443ef290bc068ffcd459ae132d) ) // OK
2149   ROM_LOAD16_WORD_SWAP( "pclub2fc_ic24",    0x0400000, 0x0200000, CRC(0ccc5538) SHA1(15133fc9c85f0a384d49841d874a0fe9a76057ce) ) // OK
2150   ROM_LOAD16_WORD_SWAP( "pclub2fc_ic26",    0x0600000, 0x0200000, CRC(8d89877e) SHA1(7d76d48d64d7ac5411d714a4bb83f37e3e5b8df6) ) // OK
2151   ROM_LOAD16_WORD_SWAP( "pclub2fc_ic28",    0x0800000, 0x0200000, CRC(ff9643ca) SHA1(3309f970f87324b06cc48add386019f769abcd89) ) // OK
2152   ROM_LOAD16_WORD_SWAP( "pclub2fc_ic30",    0x0a00000, 0x0200000, CRC(03b9eacf) SHA1(d69c10f7613d9f52042dd6cce64e74e2b1ecc2d8) ) // OK
21532153
21542154   ROM_REGION16_BE( 0x80, "eeprom", 0 ) // preconfigured to 1 player
21552155   ROM_LOAD( "pclub2fc.nv", 0x0000, 0x0080, CRC(c8082326) SHA1(d24ad66eb01a58d3a117a49606003522b6f1feba) )
r14361r14362
21602160
21612161   ROM_REGION32_BE( 0x3000000, "game0", ROMREGION_ERASE00 ) /* SH2 code */
21622162
2163   ROM_LOAD16_WORD_SWAP( "ic22",    0x0200000, 0x0200000, CRC(cb0ec98a) SHA1(efef536cb3bc71207936b26b87f04641baded10b) ) // OK
2164   ROM_LOAD16_WORD_SWAP( "ic24",    0x0400000, 0x0200000, CRC(645e7e24) SHA1(7362b0c4b500639c20ec27002f543a0b4390eaa8) ) // OK
2165   ROM_LOAD16_WORD_SWAP( "ic26",    0x0600000, 0x0200000, CRC(9d3ad85d) SHA1(71fe330594ab58be331aa5311472855be07cb44c) ) // OK
2166   ROM_LOAD16_WORD_SWAP( "ic28",    0x0800000, 0x0200000, CRC(877e73cc) SHA1(dd9928a3fe0ed759611e1b7be8ea10b45084e392) ) // OK
2167   ROM_LOAD16_WORD_SWAP( "ic30",    0x0a00000, 0x0200000, CRC(03b9eacf) SHA1(d69c10f7613d9f52042dd6cce64e74e2b1ecc2d8) ) // OK
2168   ROM_LOAD16_WORD_SWAP( "ic32",    0x0c00000, 0x0200000, CRC(62c10626) SHA1(58cb0ca0330fa7a62b277ab0ff84bff65b81bb23) ) // OK
2169   ROM_LOAD16_WORD_SWAP( "ic34",    0x1000000, 0x0200000, CRC(8d89877e) SHA1(7d76d48d64d7ac5411d714a4bb83f37e3e5b8df6) ) // OK
2170   ROM_LOAD16_WORD_SWAP( "ic36",    0x1200000, 0x0200000, CRC(8d89877e) SHA1(7d76d48d64d7ac5411d714a4bb83f37e3e5b8df6) ) // OK
2163   ROM_LOAD16_WORD_SWAP( "pclub298_ic22",    0x0200000, 0x0200000, CRC(cb0ec98a) SHA1(efef536cb3bc71207936b26b87f04641baded10b) ) // OK
2164   ROM_LOAD16_WORD_SWAP( "pclub298_ic24",    0x0400000, 0x0200000, CRC(645e7e24) SHA1(7362b0c4b500639c20ec27002f543a0b4390eaa8) ) // OK
2165   ROM_LOAD16_WORD_SWAP( "pclub298_ic26",    0x0600000, 0x0200000, CRC(9d3ad85d) SHA1(71fe330594ab58be331aa5311472855be07cb44c) ) // OK
2166   ROM_LOAD16_WORD_SWAP( "pclub298_ic28",    0x0800000, 0x0200000, CRC(877e73cc) SHA1(dd9928a3fe0ed759611e1b7be8ea10b45084e392) ) // OK
2167   ROM_LOAD16_WORD_SWAP( "pclub298_ic30",    0x0a00000, 0x0200000, CRC(03b9eacf) SHA1(d69c10f7613d9f52042dd6cce64e74e2b1ecc2d8) ) // OK
2168   ROM_LOAD16_WORD_SWAP( "pclub298_ic32",    0x0c00000, 0x0200000, CRC(62c10626) SHA1(58cb0ca0330fa7a62b277ab0ff84bff65b81bb23) ) // OK
2169   ROM_LOAD16_WORD_SWAP( "pclub298_ic34",    0x0e00000, 0x0200000, CRC(8d89877e) SHA1(7d76d48d64d7ac5411d714a4bb83f37e3e5b8df6) ) // OK
2170   ROM_LOAD16_WORD_SWAP( "pclub298_ic36",    0x1000000, 0x0200000, CRC(8d89877e) SHA1(7d76d48d64d7ac5411d714a4bb83f37e3e5b8df6) ) // OK
21712171
21722172   ROM_REGION16_BE( 0x80, "eeprom", 0 ) // preconfigured to 1 player
21732173   ROM_LOAD( "pclub298.nv", 0x0000, 0x0080, CRC(a23dd0f2) SHA1(457282b5d40a17477b95330bba91e05c603f951e) )
21742174ROM_END
21752175
2176ROM_START( pclb298a ) // set to 1p
2177   STV_BIOS
2178
2179   ROM_REGION32_BE( 0x3000000, "game0", ROMREGION_ERASE00 ) /* SH2 code */
2180
2181   ROM_LOAD16_WORD_SWAP( "pclb298a_ic22",    0x0200000, 0x0200000, CRC(21a995ce) SHA1(6ee1250becd76bef3aa8044a42e10c3830a609bd) ) // OK
2182   ROM_LOAD16_WORD_SWAP( "pclb298a_ic24",    0x0400000, 0x0200000, CRC(94540f39) SHA1(cee9fff48d177e7502802d366339ed922c212871) ) // OK
2183   ROM_LOAD16_WORD_SWAP( "pclb298a_ic26",    0x0600000, 0x0200000, CRC(8b22c41f) SHA1(371f8b35ed45f695f5ec0c8db2c4b62007bf4782) ) // OK
2184   ROM_LOAD16_WORD_SWAP( "pclb298a_ic28",    0x0800000, 0x0200000, CRC(bf68cec0) SHA1(550138f5110661d69eaff44c0596914a2621c3df) ) // OK
2185   ROM_LOAD16_WORD_SWAP( "pclb298a_ic30",    0x0a00000, 0x0200000, CRC(ae276c06) SHA1(98358860ae9bf7c405ba4f763c7a4bf309ce85e3) ) // OK
2186   ROM_LOAD16_WORD_SWAP( "pclb298a_ic32",    0x0c00000, 0x0200000, CRC(a3fb81f5) SHA1(6c78c97635dd486d2a7c09bc0511267eae6082c4) ) // OK
2187   ROM_LOAD16_WORD_SWAP( "pclb298a_ic34",    0x0e00000, 0x0200000, CRC(04200dc9) SHA1(e40b01d12ccf71e50da7fd0f3000158626e5a98d) ) // OK
2188   ROM_LOAD16_WORD_SWAP( "pclb298a_ic36",    0x1000000, 0x0200000, CRC(9a4109e5) SHA1(ba59caac5f5a80fc52c507d8a47f322a380aa9a1) ) // (blank! - not tested)
2189
2190   ROM_REGION16_BE( 0x80, "eeprom", 0 ) // preconfigured to 1 player
2191   ROM_LOAD( "pclub298a.nv", 0x0000, 0x0080, CRC(b4440ff0) SHA1(bd3c83221ede11c68163df4b52a85856c83f865f) )
2192ROM_END
2193
2194
2195ROM_START( pclubor ) // set to 1p
2196   STV_BIOS
2197
2198   ROM_REGION32_BE( 0x3000000, "game0", ROMREGION_ERASE00 ) /* SH2 code */
2199
2200   ROM_LOAD16_WORD_SWAP( "pclubor_ic22",    0x0200000, 0x0200000, CRC(b25072f7) SHA1(baa674e3d277bee152773b3b0e522677bfedd65c) ) // OK
2201   ROM_LOAD16_WORD_SWAP( "pclubor_ic24",    0x0400000, 0x0200000, CRC(a4863a0e) SHA1(b092b638b6a8d06776f88aac7e47fff06b4e8221) ) // OK
2202   ROM_LOAD16_WORD_SWAP( "pclubor_ic26",    0x0600000, 0x0200000, CRC(7f55baf7) SHA1(344f08590484a5ece3a64fe3e2e84a7d386fb8c1) ) // OK
2203   ROM_LOAD16_WORD_SWAP( "pclubor_ic28",    0x0800000, 0x0200000, CRC(cafd2a7d) SHA1(ff5f6ac7f5745d21db4a9c80eaec6f23d6084f23) ) // OK
2204   ROM_LOAD16_WORD_SWAP( "pclubor_ic30",    0x0a00000, 0x0200000, CRC(ccf6f885) SHA1(a01279a06cbc0c724c5c03b985f979458a2a2e65) ) // OK
2205   ROM_LOAD16_WORD_SWAP( "pclubor_ic32",    0x0c00000, 0x0200000, CRC(62e6d1e1) SHA1(5ea2ed73c5c02efbc85cd047983a02947ae829ff) ) // OK
2206   ROM_LOAD16_WORD_SWAP( "pclubor_ic34",    0x0e00000, 0x0200000, CRC(19cdd167) SHA1(a474134f58101dbbff3a47001ca26a69b03ce830) ) // OK
2207   ROM_LOAD16_WORD_SWAP( "pclubor_ic36",    0x1000000, 0x0200000, CRC(9a4109e5) SHA1(ba59caac5f5a80fc52c507d8a47f322a380aa9a1) ) // (blank! - not tested)
2208
2209   ROM_REGION16_BE( 0x80, "eeprom", 0 ) // preconfigured to 1 player
2210   ROM_LOAD( "pclubor.nv", 0x0000, 0x0080, CRC(3ad918c0) SHA1(70b63d78948e2fc26fd95f98b93ed86c6130ed8e) )
2211ROM_END
2212
2213ROM_START( pclubol ) // set to 1p
2214   STV_BIOS
2215
2216   ROM_REGION32_BE( 0x3000000, "game0", ROMREGION_ERASE00 ) /* SH2 code */
2217
2218   ROM_LOAD16_WORD_SWAP( "pclubol_ic22",    0x0200000, 0x0200000, CRC(668b1049) SHA1(a88ab4fbab73f85eb4da8d4792e98fbbefeba5f8) ) // OK
2219   ROM_LOAD16_WORD_SWAP( "pclubol_ic24",    0x0400000, 0x0200000, CRC(35721f04) SHA1(9658c9526a3d1dde89e1b6fd986b3469011813ca) ) // OK
2220   ROM_LOAD16_WORD_SWAP( "pclubol_ic26",    0x0600000, 0x0200000, CRC(17b3cc4b) SHA1(226eba06dd7db14fd3d10a1ca687293f2c93db9d) ) // OK
2221   ROM_LOAD16_WORD_SWAP( "pclubol_ic28",    0x0800000, 0x0200000, CRC(7cfaa530) SHA1(c04742acb692a028021188deea4617c9955db38c) ) // OK
2222   ROM_LOAD16_WORD_SWAP( "pclubol_ic30",    0x0a00000, 0x0200000, CRC(e1dd7854) SHA1(190b85f4e25d5b98ea893033004a6ee698ade8c4) ) // OK
2223   ROM_LOAD16_WORD_SWAP( "pclubol_ic32",    0x0c00000, 0x0200000, CRC(f0a3ded7) SHA1(574417b9fb234ea75893dd22c65d2a3c4e3e4aa1) ) // OK
2224   ROM_LOAD16_WORD_SWAP( "pclubol_ic34",    0x0e00000, 0x0200000, CRC(53aa9821) SHA1(b866e0255297d48fbcab93bc044e198bdff8c6d3) ) // OK
2225   ROM_LOAD16_WORD_SWAP( "pclubol_ic36",    0x1000000, 0x0200000, CRC(9a4109e5) SHA1(ba59caac5f5a80fc52c507d8a47f322a380aa9a1) ) // (blank! - not tested)
2226
2227   ROM_REGION16_BE( 0x80, "eeprom", 0 ) // preconfigured to 1 player
2228   ROM_LOAD( "eeprom", 0x0000, 0x0080, CRC(a744ca03) SHA1(f82ca58469356fad8c0fc53d54e7a4714ba43dd3) )
2229ROM_END
2230
2231
21762232ROM_START( pclub2v3 ) // set to 1p / runs with the USA bios
21772233   STV_BIOS
21782234   ROM_DEFAULT_BIOS( "us" )
21792235
21802236   ROM_REGION32_BE( 0x3000000, "game0", ROMREGION_ERASE00 ) /* SH2 code */
21812237
2182   ROM_LOAD16_WORD_SWAP( "ic22",    0x0200000, 0x0200000, BAD_DUMP CRC(f88347aa) SHA1(3e9ca105edbd6ce11ea4194eb1733785e87f92b2) ) // BAD
2183   ROM_LOAD16_WORD_SWAP( "ic24",    0x0400000, 0x0200000, CRC(b5871198) SHA1(10d187eebcca5d70c5ae10d1a144685a96491126) ) // OK
2184   ROM_LOAD16_WORD_SWAP( "ic26",    0x0600000, 0x0200000, CRC(d97034ed) SHA1(a7a0f659eefd539b2a1fd70ef394eed30ea54c0c) ) // OK
2185   ROM_LOAD16_WORD_SWAP( "ic28",    0x0800000, 0x0200000, CRC(f1421506) SHA1(c384b695338144e5f051134bda73b059b678a7df) ) // OK
2186   ROM_LOAD16_WORD_SWAP( "ic30",    0x0a00000, 0x0200000, CRC(8d89877e) SHA1(7d76d48d64d7ac5411d714a4bb83f37e3e5b8df6) ) // OK (rom is blank?!)
2238   ROM_LOAD16_WORD_SWAP( "pclub2v3_ic22",    0x0200000, 0x0200000, BAD_DUMP CRC(f88347aa) SHA1(3e9ca105edbd6ce11ea4194eb1733785e87f92b2) ) // BAD
2239   ROM_LOAD16_WORD_SWAP( "pclub2v3_ic24",    0x0400000, 0x0200000, CRC(b5871198) SHA1(10d187eebcca5d70c5ae10d1a144685a96491126) ) // OK
2240   ROM_LOAD16_WORD_SWAP( "pclub2v3_ic26",    0x0600000, 0x0200000, CRC(d97034ed) SHA1(a7a0f659eefd539b2a1fd70ef394eed30ea54c0c) ) // OK
2241   ROM_LOAD16_WORD_SWAP( "pclub2v3_ic28",    0x0800000, 0x0200000, CRC(f1421506) SHA1(c384b695338144e5f051134bda73b059b678a7df) ) // OK
2242   ROM_LOAD16_WORD_SWAP( "pclub2v3_ic30",    0x0a00000, 0x0200000, CRC(8d89877e) SHA1(7d76d48d64d7ac5411d714a4bb83f37e3e5b8df6) ) // OK (rom is blank?!)
21872243
21882244   ROM_REGION16_BE( 0x80, "eeprom", 0 ) // preconfigured to 1 player
21892245   ROM_LOAD( "pclub2v3.nv", 0x0000, 0x0080, CRC(a8a2d30c) SHA1(bdde3d62ff21190a23698058ff66e476a75a09aa) )
r14361r14362
21952251
21962252   ROM_REGION32_BE( 0x3000000, "game0", ROMREGION_ERASE00 ) /* SH2 code */
21972253
2198   ROM_LOAD16_WORD_SWAP( "ic22",    0x0200000, 0x0200000, CRC(48ab8371) SHA1(1c2124afad6bc1f4de2619e6b915f78e91addf05) ) // OK
2199   ROM_LOAD16_WORD_SWAP( "ic24",    0x0400000, 0x0200000, CRC(9915faea) SHA1(b96f64a8cbb1b9496bb566d0469975fddb4fbe98) ) // OK
2200   ROM_LOAD16_WORD_SWAP( "ic26",    0x0600000, 0x0200000, CRC(054ad120) SHA1(987e812af099bb0aa5d43a4c10ae8345370a2606) ) // OK
2201   ROM_LOAD16_WORD_SWAP( "ic28",    0x0800000, 0x0200000, CRC(3a654b2a) SHA1(7398e25836bfbdeab6350759f25c420c3b496172) ) // OK
2202   ROM_LOAD16_WORD_SWAP( "ic30",    0x0a00000, 0x0200000, CRC(98747bef) SHA1(8d452507a9842a48cd1a7db8fde11a070a6f068b) ) // OK
2254   ROM_LOAD16_WORD_SWAP( "pclubpok_ic22",    0x0200000, 0x0200000, CRC(48ab8371) SHA1(1c2124afad6bc1f4de2619e6b915f78e91addf05) ) // OK
2255   ROM_LOAD16_WORD_SWAP( "pclubpok_ic24",    0x0400000, 0x0200000, CRC(9915faea) SHA1(b96f64a8cbb1b9496bb566d0469975fddb4fbe98) ) // OK
2256   ROM_LOAD16_WORD_SWAP( "pclubpok_ic26",    0x0600000, 0x0200000, CRC(054ad120) SHA1(987e812af099bb0aa5d43a4c10ae8345370a2606) ) // OK
2257   ROM_LOAD16_WORD_SWAP( "pclubpok_ic28",    0x0800000, 0x0200000, CRC(3a654b2a) SHA1(7398e25836bfbdeab6350759f25c420c3b496172) ) // OK
2258   ROM_LOAD16_WORD_SWAP( "pclubpok_ic30",    0x0a00000, 0x0200000, CRC(98747bef) SHA1(8d452507a9842a48cd1a7db8fde11a070a6f068b) ) // OK
22032259
22042260   ROM_REGION16_BE( 0x80, "eeprom", 0 ) // preconfigured to 1 player
22052261   ROM_LOAD( "pclubpok.nv", 0x0000, 0x0080, CRC(4ba3f21a) SHA1(898a393fb2fc1961b68b7d4f383d5447e6c010e8) )
22062262ROM_END
22072263
2264ROM_START( pclub2kc ) // set to 1p
2265   STV_BIOS
22082266
2267   ROM_REGION32_BE( 0x3000000, "game0", ROMREGION_ERASE00 ) /* SH2 code */
2268
2269   ROM_LOAD16_WORD_SWAP( "pclub2kc_ic22",    0x0200000, 0x0200000, CRC(9eb4cfd7) SHA1(d74b00541419b5cde75409315fdc620a7cb3ac6b) ) // OK (tested as IC7)
2270   ROM_LOAD16_WORD_SWAP( "pclub2kc_ic24",    0x0400000, 0x0200000, CRC(cf3b4080) SHA1(1963a45d391f8d591d3995231b26eba56c7896c6) ) // OK (tested as IC2)
2271   ROM_LOAD16_WORD_SWAP( "pclub2kc_ic26",    0x0600000, 0x0200000, CRC(dbdcb1d7) SHA1(33bd8c9e351864cdd5f5be2aba62efda1c4a0f4f) ) // OK (tested as IC2)
2272   ROM_LOAD16_WORD_SWAP( "pclub2kc_ic28",    0x0800000, 0x0200000, CRC(3c330c9b) SHA1(92f8e8d4f43db7c4ce431d17501492a7f8d8a867) ) // OK (tested as IC3)
2273   ROM_LOAD16_WORD_SWAP( "pclub2kc_ic30",    0x0a00000, 0x0200000, CRC(00a0c702) SHA1(f2c4a7a51559f0ade96b8e6337cd1a1d61472de7) ) // OK (tested as IC3)
2274
2275   ROM_REGION16_BE( 0x80, "eeprom", 0 ) // preconfigured to 1 player
2276   ROM_LOAD( "pclub2kc.nv", 0x0000, 0x0080, CRC(064366fe) SHA1(b85489ae19ddc0fbd67b441a6967f10a6cd22d45) )
2277ROM_END
2278
2279
2280
2281
22092282GAME( 1996, stvbios,   0,       stv_slot, stv,      stv,        ROT0,   "Sega",                         "ST-V Bios", GAME_IS_BIOS_ROOT )
22102283
22112284//GAME YEAR, NAME,     PARENT,  MACH, INP, INIT,      MONITOR
r14361r14362
22592332GAME( 1998, twcup98,   stvbios, stv,      stv,      twcup98,   ROT0,   "Tecmo",                       "Tecmo World Cup '98 (JUET 980410 V1.000)", GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS|GAME_NOT_WORKING ) // player movement
22602333GAME( 1998, elandore,  stvbios, stv,      stv6b,   elandore,   ROT0,   "Sai-Mate",                "Touryuu Densetsu Elan-Doree / Elan Doree - Legend of Dragoon (JUET 980922 V1.006)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS )
22612334
2262/* Unemulated printer device */
2335/* Unemulated printer / camera devices */
22632336GAME( 1998, stress,    stvbios, stv,      stv,      stv,       ROT0,   "Sega",                    "Stress Busters (J 981020 V1.000)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
22642337GAME( 1997, nclubv3,   stvbios, stv,      stv,      nameclv3,   ROT0,   "Sega",                    "Name Club Ver.3 (J 970723 V1.000)", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING )
22652338GAME( 1997, pclub2,    stvbios, stv,      stv,      stv,       ROT0,   "Atlus",                   "Print Club 2 (U 970921 V1.000)", GAME_NOT_WORKING )
22662339GAME( 1999, pclub2fc,  pclub2,  stv,      stv,      stv,        ROT0,   "Atlus",                        "Print Club 2 Felix The Cat (Rev. A) (J 970415 V1.100)", GAME_NOT_WORKING )
22672340GAME( 1997, pclub298,  pclub2,  stv,      stv,      stv,        ROT0,   "Atlus",                        "Print Club 2 '98 Spring Ver (J 971017 V1.100)", GAME_NOT_WORKING )
2341GAME( 1998, pclb298a,  pclub2,  stv,      stv,      stv,        ROT0,   "Atlus",                        "Print Club 2 '98 Autumn Ver (J 980827 V1.000)", GAME_NOT_WORKING )
2342GAME( 1999, pclubor,   stvbios, stv,      stv,      stv,        ROT0,   "Atlus",                        "Print Club Goukakenran (J 991104 V1.000)", GAME_NOT_WORKING )
2343GAME( 1999, pclubol,   stvbios, stv,      stv,      stv,        ROT0,   "Atlus",                        "Print Club Olive (J 980717 V1.000)", GAME_NOT_WORKING )
22682344GAME( 1999, pclub2v3,  pclub2,  stv,      stv,      stv,       ROT0,   "Atlus",                   "Print Club 2 Vol. 3 (U 990310 V1.000)", GAME_NOT_WORKING )
22692345GAME( 1999, pclubpok,  stvbios, stv,      stv,      stv,        ROT0,   "Atlus",                        "Print Club Pokemon B (U 991126 V1.000)", GAME_NOT_WORKING )
2346GAME( 1997, pclub2kc,  stvbios, stv,      stv,      stv,        ROT0,   "Atlus",                        "Print Club Kome Kome Club (J 970203 V1.000)", GAME_NOT_WORKING )
22702347
2348
2349
2350
22712351/* Doing something.. but not enough yet */
22722352GAME( 1995, vfremix,   stvbios, stv,      stv,      vfremix,   ROT0,   "Sega",                    "Virtua Fighter Remix (JUETBKAL 950428 V1.000)", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING )
22732353GAME( 1997, findlove,  stvbios, stv,      stv,      stv,      ROT0,   "Daiki / FCF",               "Find Love (J 971212 V1.000)", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING )
src/mame/drivers/vamphalf.c
r14361r14362
88 Games Supported:
99
1010
11    Minigame Cool Collection         (c) 1999 SemiCom
12    Jumping Break                    (c) 1999 F2 System
13    Lup Lup Puzzle                   (c) 1999 Omega System       (version 3.0 and 2.9)
14    Puzzle Bang Bang                 (c) 1999 Omega System       (version 2.8)
15    Super Lup Lup Puzzle             (c) 1999 Omega System       (version 4.0)
16    Vamf 1/2                         (c) 1999 Danbi & F2 System  (Europe version)
17    Vamp 1/2                         (c) 1999 Danbi & F2 System  (Korea version)
18    Date Quiz Go Go Episode 2        (c) 2000 SemiCom
19    Mission Craft                    (c) 2000 Sun                (version 2.4)
20    Mr. Dig                          (c) 2000 Sun
21    Final Godori                     (c) 2001 SemiCom            (version 2.20.5915)
22    Wyvern Wings                     (c) 2001 SemiCom
23    Mr. Kicker                       (c) 2001 SemiCom [1]
24    Toy Land Adventure               (c) 2001 SemiCom
25    Age Of Heroes - Silkroad 2       (c) 2001 Unico              (v0.63 - 2001/02/07)
26   Boong-Ga Boong-Ga (Spank 'em)    (c) 2001 Taff System
11    Minigame Cool Collection        (c) 1999 SemiCom
12    Jumping Break                   (c) 1999 F2 System
13    Lup Lup Puzzle                  (c) 1999 Omega System       (version 3.0 and 2.9)
14    Puzzle Bang Bang                (c) 1999 Omega System       (version 2.8)
15    Super Lup Lup Puzzle            (c) 1999 Omega System       (version 4.0)
16    Vamf 1/2                        (c) 1999 Danbi & F2 System  (Europe version)
17    Vamp 1/2                        (c) 1999 Danbi & F2 System  (Korea version)
18    Date Quiz Go Go Episode 2       (c) 2000 SemiCom
19    Mission Craft                   (c) 2000 Sun                (version 2.4)
20    Mr. Dig                         (c) 2000 Sun
21    Final Godori                    (c) 2001 SemiCom            (version 2.20.5915)
22    Wyvern Wings                    (c) 2001 SemiCom
23    Mr. Kicker                      (c) 2001 SemiCom [1]
24    Toy Land Adventure              (c) 2001 SemiCom
25    Age Of Heroes - Silkroad 2      (c) 2001 Unico              (v0.63 - 2001/02/07)
26    Boong-Ga Boong-Ga (Spank 'em)   (c) 2001 Taff System
2727
2828 Real games bugs:
2929 - dquizgo2: bugged video test
r14361r14362
3737   Semicom also used for Toy Land Adventure & SemiComDate Quiz Go Go Episode 2 game.
3838
3939 Boong-Ga Boong-Ga: the test mode is usable with a standard input configuration like the "common" one
40   
40
4141 Undumped Semicom games on similar hardware:
4242   Wivern Wings - Semicom's orginal release with alt spelling of title
4343   Red Wyvern - A semi-sequel or update?
r14361r14362
4545   Gaia The last Choice of the Earth (c) 1998 (might be Byron Future Assault type hardware)
4646   Diet Family (c) 2001
4747   Choice III: Joker's Dream (c) 2001
48   
48
4949TODO:
5050- boonggab: simulate photo sensors with a "stroke strength"
5151- boonggab: what are sensors bit used for? are they used in the japanese version?
r14361r14362
6565{
6666public:
6767   vamphalf_state(const machine_config &mconfig, device_type type, const char *tag)
68      : driver_device(mconfig, type, tag)
68      : driver_device(mconfig, type, tag)
6969      {
7070         m_has_extra_gfx = 0;
7171      }
r14361r14362
505505
506506            code  = state->m_tiles[offs+1];
507507            color = (state->m_tiles[offs+2] >> state->m_palshift) & 0x7f;
508           
508
509509            // boonggab
510510            if(state->m_has_extra_gfx)
511511            {
r14361r14362
622622{
623623   static const UINT16 photo_sensors_table[8] = { 0x07, 0x06, 0x05, 0x04, 0x03, 0x02, 0x01, 0x00 };
624624   UINT8 res = input_port_read(field.machine(), "PHOTO_SENSORS");
625   
625
626626   switch(res)
627627   {
628628      case 0x01:
629629         return photo_sensors_table[1]; // 5 - 7 points
630         
630
631631      case 0x02:
632632         return photo_sensors_table[2]; // 8 - 10 points
633         
633
634634      case 0x04:
635635         return photo_sensors_table[3]; // 11 - 13 points
636         
636
637637      case 0x08:
638638         return photo_sensors_table[4]; // 14 - 16 points
639         
639
640640      case 0x10:
641641         return photo_sensors_table[5]; // 17 - 19 points
642         
642
643643      case 0x20:
644644         return photo_sensors_table[6]; // 20 - 22 points
645         
645
646646      case 0x40:
647647         return photo_sensors_table[7]; // 23 - 25 points
648648   }
649   
649
650650   return photo_sensors_table[0];
651651}
652652
r14361r14362
780780   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_UNKNOWN )
781781   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_UNUSED )
782782   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNUSED )
783   PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNKNOWN )   
784   
783   PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNKNOWN )
784
785785   PORT_START("PHOTO_SENSORS")
786786   PORT_BIT( 0x0001, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_PLAYER(1)
787787   PORT_BIT( 0x0002, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_PLAYER(1)
r14361r14362
789789   PORT_BIT( 0x0008, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_PLAYER(1)
790790   PORT_BIT( 0x0010, IP_ACTIVE_HIGH, IPT_BUTTON5 ) PORT_PLAYER(1)
791791   PORT_BIT( 0x0020, IP_ACTIVE_HIGH, IPT_BUTTON6 ) PORT_PLAYER(1)
792   PORT_BIT( 0x0040, IP_ACTIVE_HIGH, IPT_BUTTON7 ) PORT_PLAYER(1)   
792   PORT_BIT( 0x0040, IP_ACTIVE_HIGH, IPT_BUTTON7 ) PORT_PLAYER(1)
793793INPUT_PORTS_END
794794
795795static const gfx_layout sprites_layout =
r14361r14362
19191919   /* romu04 empty */
19201920   /* roml09 empty */
19211921   /* romu09 empty */
1922   
1922
19231923   ROM_REGION( 0x100000, "user2", 0 ) /* Oki Samples */
19241924   ROM_LOAD( "3.vrom1",      0x00000, 0x80000, CRC(0696bfcb) SHA1(bba61f3cae23271215bbbf8214ce3b73459d5da5) )
19251925   ROM_LOAD( "4.vrom2",      0x80000, 0x80000, CRC(305c2b16) SHA1(fa199c4cd4ebb952d934e3863fca8740eeba9294) )
r14361r14362
23812381GAME( 2001, toyland,  0,        coolmini, common,   toyland,  ROT0,   "SemiCom",           "Toy Land Adventure", 0 )
23822382GAME( 2001, wyvernwg, 0,        wyvernwg, common,   wyvernwg, ROT270, "SemiCom (Game Vision license)", "Wyvern Wings", GAME_NO_SOUND )
23832383GAME( 2001, aoh,      0,        aoh,      aoh,      aoh,      ROT0,   "Unico",             "Age Of Heroes - Silkroad 2 (v0.63 - 2001/02/07)", 0 )
2384GAME( 2001, boonggab, 0,        boonggab, boonggab, boonggab, ROT270, "Taff System",       "Boong-Ga Boong-Ga (Spank'em!)", 0 )
2384GAME( 2001, boonggab, 0,        boonggab, boonggab, boonggab, ROT270, "Taff System",      "Boong-Ga Boong-Ga (Spank'em!)", 0 )
src/mame/drivers/bmcpokr.c
r14361r14362
198198   MCFG_CPU_ADD("maincpu", M68000, XTAL_42MHz/4)
199199   MCFG_CPU_PROGRAM_MAP(bmcpokr_mem)
200200   //MCFG_CPU_VBLANK_INT("screen",irq3_line_hold)
201   
201
202202   MCFG_SCREEN_ADD("screen", RASTER)
203203   MCFG_SCREEN_REFRESH_RATE(60)
204204   MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */
src/mame/drivers/igspc.c
r14361r14362
2424 --------------
2525
2626 Custom board
27
27
2828 AMD Geode Processor (MediaGX derived?)
2929  marked
3030 AGXD533AAXFDCC
31   0452EQA
32   (c)2001 2.1
33   TAIWAN
31    0452EQA
32    (c)2001 2.1
33    TAIWAN
3434
3535 IGS027 security chip (ARM with internal ROM) (dumped!)
3636
src/mame/drivers/bntyhunt.c
r0r14362
1/* Bounty Hunter
2
3 PC hardware.. no dumps of the bios roms tho
4
5*/
6
7#define ADDRESS_MAP_MODERN
8
9#include "emu.h"
10#include "cpu/i386/i386.h"
11
12
13class bntyhunt_state : public driver_device
14{
15public:
16   bntyhunt_state(const machine_config &mconfig, device_type type, const char *tag)
17      : driver_device(mconfig, type, tag),
18        m_maincpu(*this, "maincpu")
19   { }
20
21   UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
22
23protected:
24
25   // devices
26   required_device<cpu_device> m_maincpu;
27
28   // driver_device overrides
29   virtual void video_start();
30};
31
32
33void bntyhunt_state::video_start()
34{
35}
36
37UINT32 bntyhunt_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
38{
39   return 0;
40}
41
42static ADDRESS_MAP_START( bntyhunt_map, AS_PROGRAM, 32, bntyhunt_state )
43   AM_RANGE(0x00000000, 0x0001ffff) AM_ROM
44ADDRESS_MAP_END
45
46static INPUT_PORTS_START( bntyhunt )
47INPUT_PORTS_END
48
49
50static MACHINE_CONFIG_START( bntyhunt, bntyhunt_state )
51   /* basic machine hardware */
52   MCFG_CPU_ADD("maincpu", PENTIUM, 2000000000) /* Probably a Pentium or higher .. ?? Mhz*/
53   MCFG_CPU_PROGRAM_MAP(bntyhunt_map)
54
55   /* video hardware */
56   MCFG_SCREEN_ADD("screen", RASTER)
57   MCFG_SCREEN_UPDATE_DRIVER(bntyhunt_state, screen_update)
58   MCFG_SCREEN_REFRESH_RATE(60)
59   MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
60   MCFG_SCREEN_SIZE(64*8, 32*8)
61   MCFG_SCREEN_VISIBLE_AREA(0*8, 64*8-1, 0*8, 32*8-1)
62
63   MCFG_PALETTE_LENGTH(0x100)
64MACHINE_CONFIG_END
65
66
67ROM_START(bntyhunt)
68   ROM_REGION32_LE(0x20000, "maincpu", 0)   /* motherboard bios */
69   ROM_LOAD("bntyhunt.pcbios", 0x000000, 0x10000, NO_DUMP )
70
71   DISK_REGION( "disks" )
72   DISK_IMAGE( "bntyhunt", 0, SHA1(f5c737aaf3da5b57de3fb6bb5dfb85f8f3d4b1b1) )
73ROM_END
74
75
76GAME( 200?, bntyhunt,  0,   bntyhunt,  bntyhunt,  0,  ROT0,  "GCTech Co., LTD",    "Bounty Hunter (GCTech Co., LTD)",   GAME_NOT_WORKING|GAME_NO_SOUND )
src/mame/drivers/photoply.c
r14361r14362
251251   AM_RANGE(0x0080, 0x009f) AM_READWRITE8(dma_page_select_r,dma_page_select_w, 0xffffffff)//TODO
252252   AM_RANGE(0x00a0, 0x00bf) AM_DEVREADWRITE8("pic8259_2", pic8259_r, pic8259_w, 0xffffffff)
253253   AM_RANGE(0x00c0, 0x00df) AM_DEVREADWRITE8("dma8237_2", i8237_r, i8237_w, 0xffff)
254   AM_RANGE(0x00e8, 0x00eb) AM_NOP
254255   AM_RANGE(0x0278, 0x027f) AM_RAM //parallel port 2
255256   AM_RANGE(0x0378, 0x037f) AM_RAM //parallel port
256257   AM_RANGE(0x03bc, 0x03bf) AM_RAM //parallel port 3
r14361r14362
366367   ROM_LOAD("vga.bin", 0x000000, 0x8000, CRC(7a859659) SHA1(ff667218261969c48082ec12aa91088a01b0cb2a) )
367368
368369   DISK_REGION( "ide" )
369   DISK_IMAGE( "photoply", 0,NO_DUMP )
370   DISK_IMAGE( "pp201", 0, SHA1(23e1940d485d19401e7d0ad912ddad2cf2ea10b4) )
370371ROM_END
371372
372373static DRIVER_INIT( photoply )
r14361r14362
375376   pc_vga_io_init(machine, machine.device("maincpu")->memory().space(AS_PROGRAM), 0xa0000, machine.device("maincpu")->memory().space(AS_IO), 0x0000);
376377}
377378
378GAME( 199?, photoply,  0,   photoply, photoply, photoply, ROT0, "Funworld", "PhotoPlay", GAME_NOT_WORKING|GAME_NO_SOUND )
379GAME( 199?, photoply,  0,   photoply, photoply, photoply, ROT0, "Funworld", "Photo Play 2000 (v2.01)", GAME_NOT_WORKING|GAME_NO_SOUND )
src/mame/drivers/midqslvr.c
r14361r14362
759759   DISK_IMAGE( "arctthnd", 0,  SHA1(f4373e57c3f453ac09c735b5d8d99ff811416a23) )
760760ROM_END
761761
762// this also required a dongle to work
763ROM_START( arctthndult )
764   ROM_REGION32_LE(0x80000, "bios", ROMREGION_ERASEFF)
765   ROM_LOAD( "m29f002bt.u6", 0x040000, 0x040000, CRC(012c9290) SHA1(cdee6f19d5e5ea5bb1dd6a5ec397ac70b3452790) )
762766
767   ROM_REGION( 0x8000, "video_bios", ROMREGION_ERASEFF ) // TODO: no VGA card is hooked up, to be removed
768//  ROM_LOAD16_BYTE( "trident_tgui9680_bios.bin", 0x0000, 0x4000, BAD_DUMP CRC(1eebde64) SHA1(67896a854d43a575037613b3506aea6dae5d6a19) )
769//  ROM_CONTINUE(                                 0x0001, 0x4000 )
770
771   DISK_REGION( "disk" )
772   DISK_IMAGE( "uarctict", 0, SHA1(8557a1d7ae8dc41c879350cb1c228f4c27a0dd09) )
773ROM_END
774
775
776
763777// there are almost certainly multiple versions of these; updates were offered on floppy disk.  The version numbers for the existing CHDs are unknown.
764GAME(1999, hydrthnd, 0, midqslvr, at_keyboard, 0, ROT0, "Midway Games", "Hydro Thunder", GAME_IS_SKELETON)
765GAME(2000, offrthnd, 0, midqslvr, at_keyboard, 0, ROT0, "Midway Games", "Offroad Thunder", GAME_IS_SKELETON)
766GAME(2001, arctthnd, 0, midqslvr, at_keyboard, 0, ROT0, "Midway Games", "Arctic Thunder (v1.002)", GAME_IS_SKELETON)
778GAME(1999, hydrthnd,    0,        midqslvr, at_keyboard, 0, ROT0, "Midway Games", "Hydro Thunder", GAME_IS_SKELETON)
779GAME(2000, offrthnd,    0,        midqslvr, at_keyboard, 0, ROT0, "Midway Games", "Offroad Thunder", GAME_IS_SKELETON)
780GAME(2001, arctthnd,    0,        midqslvr, at_keyboard, 0, ROT0, "Midway Games", "Arctic Thunder (v1.002)", GAME_IS_SKELETON)
781GAME(2001, arctthndult, arctthnd, midqslvr, at_keyboard, 0, ROT0, "Midway Games", "Ultimate Arctic Thunder", GAME_IS_SKELETON)
src/mame/drivers/calchase.c
r14361r14362
626626   AT_KEYB_HELPER( 0x0001, "B",            KEYCODE_B           ) /* B                           30  B0 */
627627   AT_KEYB_HELPER( 0x0002, "N",            KEYCODE_N           ) /* N                           31  B1 */
628628   AT_KEYB_HELPER( 0x0800, "F1",           KEYCODE_S           ) /* F1                          3B  BB */
629//   AT_KEYB_HELPER( 0x8000, "F5",           KEYCODE_F5          )
629//  AT_KEYB_HELPER( 0x8000, "F5",           KEYCODE_F5          )
630630
631631   PORT_START("pc_keyboard_4")
632//   AT_KEYB_HELPER( 0x0004, "F8",           KEYCODE_F8          )
632//  AT_KEYB_HELPER( 0x0004, "F8",           KEYCODE_F8          )
633633
634634   PORT_START("pc_keyboard_5")
635635
src/mame/drivers/tourvis.c
r14361r14362
169169display timer (main) "filled" with code at 0x054e
170170display timer (game slot n) "filled" with code at 0x04e3
171171
172coin insertion routine at 0x0273
172coin insertion routine at 0x0273
173173coin 1 triggers code at 0x02d7
174174coin 2 triggers code at 0x028f
175175
src/mame/drivers/esd16.c
r14361r14362
576576   decospr_device::set_is_bootleg(*device, true);
577577   decospr_device::set_pri_callback(*device, hedpanic_pri_callback);
578578   decospr_device::set_flipallx(*device, 1);
579   
579
580580   MCFG_GFXDECODE(esd16)
581581   MCFG_PALETTE_LENGTH(768)
582582
r14361r14362
600600   MCFG_CPU_PROGRAM_MAP(hedpanic_map)
601601
602602   MCFG_EEPROM_93C46_ADD("eeprom")
603   
603
604604   MCFG_PALETTE_LENGTH(0x1000/2)
605605
606606   MCFG_GFXDECODE(hedpanic)
r14361r14362
643643   MCFG_CPU_PROGRAM_MAP(hedpanic_map)
644644
645645   MCFG_EEPROM_93C46_ADD("eeprom")
646   
646
647647   MCFG_PALETTE_LENGTH(0x1000/2)
648648
649649   MCFG_GFXDECODE(hedpanic)
src/emu/video/pc_vga.c
r14361r14362
532532
533533static void svga_vh_rgb15(running_machine &machine, bitmap_rgb32 &bitmap, const rectangle &cliprect)
534534{
535    #define MV(x) (vga.memory[x]+(vga.memory[x+1]<<8))
536    #define IV 0xff000000
535   #define MV(x) (vga.memory[x]+(vga.memory[x+1]<<8))
536   #define IV 0xff000000
537537   int height = vga.crtc.maximum_scan_line * (vga.crtc.scan_doubling + 1);
538538   int xi;
539539   int yi;
540540   int xm;
541541
542    int pos, line, column, c, addr, curr_addr;
542   int pos, line, column, c, addr, curr_addr;
543543
544    UINT32 *bitmapline;
545//    UINT16 mask_comp;
544   UINT32 *bitmapline;
545//  UINT16 mask_comp;
546546
547    /* line compare is screen sensitive */
548//    mask_comp = 0xff | (TLINES & 0x300);
549    curr_addr = 0;
550    yi=0;
551    for (addr = TGA_START_ADDRESS, line=0; line<TLINES; line+=height, addr+=TGA_LINE_LENGTH, curr_addr+=TGA_LINE_LENGTH)
552    {
553       if(line>500) return;
554       bitmapline = &bitmap.pix32(line);
555       addr %= vga.svga_intf.vram_size;
556       for (pos=addr, c=0, column=0; column<TGA_COLUMNS; column++, c+=8, pos+=0x10)
557       {
558          if(pos + 0x10 > vga.svga_intf.vram_size)
559             return;
560          for(xi=0,xm=0;xi<8;xi++,xm+=2)
547   /* line compare is screen sensitive */
548//  mask_comp = 0xff | (TLINES & 0x300);
549   curr_addr = 0;
550   yi=0;
551   for (addr = TGA_START_ADDRESS, line=0; line<TLINES; line+=height, addr+=TGA_LINE_LENGTH, curr_addr+=TGA_LINE_LENGTH)
552   {
553      if(line>500) return;
554      bitmapline = &bitmap.pix32(line);
555      addr %= vga.svga_intf.vram_size;
556      for (pos=addr, c=0, column=0; column<TGA_COLUMNS; column++, c+=8, pos+=0x10)
557      {
558         if(pos + 0x10 > vga.svga_intf.vram_size)
559            return;
560         for(xi=0,xm=0;xi<8;xi++,xm+=2)
561561         {
562562            if(!machine.primary_screen->visible_area().contains(c+xi, line + yi))
563563               continue;
564564            bitmapline[c+xi] = IV|(MV(pos+xm)&0x7c00)<<9 |(MV(pos+xm)&0x3e0)<<6|(MV(pos+xm)&0x1f)<<3;
565565         }
566       }
567    }
566      }
567   }
568568}
569569
570570enum
r14361r14362
626626      else if (svga.rgb15_en&0x30)
627627      {
628628         return RGB15_MODE;
629       }
629      }
630630      else if (!GRAPHIC_MODE)
631631      {
632632         //proc = vga_vh_text;
r14361r14362
18111811
18121812   mem_space->install_legacy_readwrite_handler(mem_offset + 0x00000, mem_offset + 0x1ffff, FUNC(trident_mem_r), FUNC(trident_mem_w), mask);
18131813
1814    // D3h = TGUI9660XGi
1814   // D3h = TGUI9660XGi
18151815   svga.id = 0xd3; // TODO: hardcoded for California Chase
18161816}
18171817
r14361r14362
18561856            // TODO: old mode registers selected
18571857            break;
18581858         case 0x0d:
1859             svga.rgb15_en = data & 0x30; // TODO: doesn't match documentation
1859            svga.rgb15_en = data & 0x30; // TODO: doesn't match documentation
18601860            break;
18611861      }
18621862   }
r14361r14362
19521952         return;
19531953      vga.memory[offset + (svga.bank_w*0x10000)]= data;
19541954      return;
1955    }
1955   }
19561956
19571957   vga_mem_w(space,offset,data);
19581958}
src/emu/diimage.c
r14361r14362
11151115
11161116   sld = 0;
11171117   if (image->software_list_name()) {
1118      software_list_device_iterator iter(machine.config().root_device());   
1118      software_list_device_iterator iter(machine.config().root_device());
11191119      for (const software_list_device *swlist = iter.first(); swlist != NULL; swlist = iter.next())
11201120      {
11211121         if (strcmp(swlist->list_name(),image->software_list_name())==0) sld = swlist;
src/emu/sound/samples.c
r14361r14362
11/* samples.c
2
2
33 Playback of pre-recorded samples. Used for high-level simulation of discrete sound circuits
44 where proper low-level simulation isn't available.  Also used for tape loops and similar.
55
src/emu/machine/rtc65271.h
r14361r14362
4242   DECLARE_READ8_MEMBER( xram_r );
4343   DECLARE_WRITE8_MEMBER( rtc_w );
4444   DECLARE_WRITE8_MEMBER( xram_w );
45private:   
45private:
4646   UINT8 read(int xramsel, offs_t offset);
4747   void write(int xramsel, offs_t offset, UINT8 data);
4848   void field_interrupts();
r14361r14362
5050   static TIMER_CALLBACK( rtc_SQW_callback );
5151   static TIMER_CALLBACK( rtc_begin_update_callback );
5252   static TIMER_CALLBACK( rtc_end_update_callback );
53   
53
5454   void rtc_SQW_cb();
5555   void rtc_begin_update_cb();
56   void rtc_end_update_cb();   
56   void rtc_end_update_cb();
5757   /* 64 8-bit registers (10 clock registers, 4 control/status registers, and
5858    50 bytes of user RAM) */
5959   UINT8 m_regs[64];
src/emu/machine/ctronics.c
r14361r14362
220220
221221   /* get printer device */
222222   m_printer = subdevice<printer_image_device>("printer");
223   
223
224224   /* register for state saving */
225225   save_item(NAME(m_auto_fd));
226226   save_item(NAME(m_strobe));
227227   save_item(NAME(m_busy));
228228   save_item(NAME(m_ack));
229   save_item(NAME(m_data));   
229   save_item(NAME(m_data));
230230}
231231
232232void centronics_printer_device::device_reset()
r14361r14362
267267
268268SLOT_INTERFACE_START(centronics_printer)
269269   SLOT_INTERFACE("printer", CENTRONICS_PRINTER)
270SLOT_INTERFACE_END
No newline at end of file
270SLOT_INTERFACE_END
src/emu/machine/ctronics.h
r14361r14362
2626   virtual void strobe_w(UINT8 state) { m_strobe = state; }
2727   virtual void init_prime_w(UINT8 state) { m_init = state; }
2828   virtual void autofeed_w(UINT8 state) { m_auto_fd = state; }
29   
29
3030   virtual UINT8 ack_r() { return m_ack;}
3131   virtual UINT8 busy_r(){ return m_busy; }
3232   virtual UINT8 pe_r()  { return m_pe;}
3333   virtual UINT8 not_busy_r() { return !m_busy; }
3434   virtual UINT8 vcc_r() { return TRUE; }
35   virtual UINT8 fault_r() { return m_fault; }   
35   virtual UINT8 fault_r() { return m_fault; }
3636   virtual void set_line(int line, int state) { if (state) m_data |= 1 << line; else m_data &= ~(1 << line); }
37protected:   
37protected:
3838   UINT8 m_strobe;
3939   UINT8 m_busy;
4040   UINT8 m_ack;
r14361r14362
5555
5656// ======================> centronics_device
5757class centronics_device :   public device_t,
58                     public centronics_interface,                     
58                     public centronics_interface,
5959                     public device_slot_interface
6060{
6161public:
6262   // construction/destruction
6363   centronics_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
6464   virtual ~centronics_device();
65     
65
6666   DECLARE_WRITE8_MEMBER( write ) { if (m_dev) m_dev->write(data); }
6767   DECLARE_READ8_MEMBER( read ) {  return (m_dev) ? m_dev->read() : 0x00; }
6868
r14361r14362
7979   DECLARE_WRITE_LINE_MEMBER( strobe_w ) { if (m_dev) m_dev->strobe_w(state); }
8080   DECLARE_WRITE_LINE_MEMBER( init_prime_w ) { if (m_dev) m_dev->init_prime_w(state); }
8181   DECLARE_WRITE_LINE_MEMBER( autofeed_w ) { if (m_dev) m_dev->autofeed_w(state); }
82   
82
8383   DECLARE_READ_LINE_MEMBER( ack_r ) { return (m_dev) ? m_dev->ack_r() : 0;}
8484   DECLARE_READ_LINE_MEMBER( busy_r ){ return (m_dev) ? m_dev->busy_r() : 1; }
8585   DECLARE_READ_LINE_MEMBER( pe_r )  { return (m_dev) ? m_dev->pe_r() : 0;}
8686   DECLARE_READ_LINE_MEMBER( not_busy_r ) { return (m_dev) ? m_dev->not_busy_r() : 0; }
8787   DECLARE_READ_LINE_MEMBER( vcc_r ) { return (m_dev) ? m_dev->vcc_r() : 0; }
88   DECLARE_READ_LINE_MEMBER( fault_r ) { return (m_dev) ? m_dev->fault_r() : 0; }   
89   
88   DECLARE_READ_LINE_MEMBER( fault_r ) { return (m_dev) ? m_dev->fault_r() : 0; }
89
9090   void out_ack(UINT8 param) { m_out_ack_func(param); }
9191   void out_busy(UINT8 param) { m_out_busy_func(param); }
9292   void out_not_busy(UINT8 param) { m_out_not_busy_func(param); }
r14361r14362
126126
127127   // optional centronics overrides
128128   virtual void strobe_w(UINT8 state);
129   virtual void init_prime_w(UINT8 state);   
129   virtual void init_prime_w(UINT8 state);
130130   virtual UINT8 read() {  return 0x00; }
131131protected:
132132    // device-level overrides
r14361r14362
153153#define MCFG_CENTRONICS_PRINTER_ADD(_tag, _intf) \
154154   MCFG_CENTRONICS_ADD(_tag, _intf, centronics_printer, "printer", NULL) \
155155
156   
156
157157/***************************************************************************
158158    DEFAULT INTERFACES
159159***************************************************************************/
src/emu/machine/msm6242.c
r14361r14362
55    TODO:
66    - HOLD mechanism
77    - IRQ ACK
8   - why skns tries to read uninitialized registers?
8    - why skns tries to read uninitialized registers?
99
1010***************************************************************************/
1111
src/emu/machine/pls100.c
r14361r14362
11/**********************************************************************
22 
3    PLS100 16x48x8 Programmable Logic Array emulation
3    PLS100 16xPAL_TERMSx8 Programmable Logic Array emulation
44 
55    Copyright MESS Team.
66    Visit http://mamedev.org for licensing and usage restrictions.
r14361r14362
3434   jedbin_parse(machine().region(tag())->base(), machine().region(tag())->bytes(), &jed);
3535   UINT32 fusenum = 0;
3636   m_xor = 0;
37   
37
3838   for (int term = 0; term < PAL_TERMS; term++)
3939   {
4040      m_and_comp[term] = 0;
4141      m_and_true[term] = 0;
4242      m_or[term] = 0;
43     
43
4444      for (int i = 0; i < PAL_INPUTS; i++)
4545      {
4646         m_and_comp[term] |= jed_get_fuse(&jed, fusenum++) << i;
4747         m_and_true[term] |= jed_get_fuse(&jed, fusenum++) << i;
4848      }
49     
49
5050      for (int f = 0; f < PAL_OUTPUTS; f++)
5151      {
5252         m_or[term] |= !jed_get_fuse(&jed, fusenum++) << f;
5353      }
5454   }
55   
55
5656   for (int f = 0; f < PAL_OUTPUTS; f++)
5757   {
5858      m_xor |= jed_get_fuse(&jed, fusenum++) << f;
59   }   
59   }
6060}
6161 
6262 
r14361r14362
6868{
6969   UINT16 input_true = m_and_true[term] | m_i;
7070   UINT16 input_comp = m_and_comp[term] | (m_i ^ 0xffff);
71   
71
7272   return (input_true & input_comp) == 0xffff;
7373}
7474 
r14361r14362
8080inline void pls100_device::update_outputs()
8181{
8282   m_s = 0;
83   
83
8484   for (int term = 0; term < PAL_TERMS; term++)
8585   {
8686      if (get_product(term))
r14361r14362
123123 
124124 
125125//-------------------------------------------------
126//  read -
126//  read -
127127//-------------------------------------------------
128128 
129129UINT8 pls100_device::read(UINT16 input)
130130{
131131   m_i = input;
132   
132
133133   update_outputs();
134134 
135135   return m_s ^ m_xor;
src/emu/machine/pls100.h
r14361r14362
1919                    F7  10 |             | 19  _CE
2020                    F6  11 |             | 18  F0
2121                    F5  12 |             | 17  F1
22                    F4  13 |             | 16  F2
22                    F4  13 |             | PAL_OUTPUTS  F2
2323                   GND  14 |_____________| 15  F3
2424 
2525**********************************************************************/
r14361r14362
7676   inline void parse_fusemap();
7777   inline int get_product(int term);
7878   inline void update_outputs();
79   
79
8080   UINT16 m_i;
8181   UINT8 m_s;
8282   UINT16 m_and_true[PAL_TERMS];
src/lib/lib.mak
r14361r14362
299299   $(CC) $(CDEFS) $(FLACOPTS) $(CONLYFLAGS) -I$(LIBSRC)/libflac/include -c $< -o $@
300300
301301
302LIBFLACPPOBJS = \
303   $(LIBOBJ)/libflacpp/metadata.o \
304   $(LIBOBJ)/libflacpp/stream_decoder.o \
305   $(LIBOBJ)/libflacpp/stream_encoder.o
302# LIBFLACPPOBJS = \
303#   $(LIBOBJ)/libflacpp/metadata.o \
304#   $(LIBOBJ)/libflacpp/stream_decoder.o \
305#   $(LIBOBJ)/libflacpp/stream_encoder.o
306306
307$(OBJ)/libflac++.a: $(LIBFLACPPOBJS)
307# $(OBJ)/libflac++.a: $(LIBFLACPPOBJS)
308308
309$(LIBOBJ)/libflacpp/%.o: $(LIBSRC)/libflac/libflac++/%.cpp | $(OSPREBUILD)
310   @echo Compiling $<...
311   $(CC) $(CDEFS) $(FLACOPTS) $(CPPONLYFLAGS) -I$(LIBSRC)/libflac/include -c $< -o $@
309# $(LIBOBJ)/libflacpp/%.o: $(LIBSRC)/libflac/libflac++/%.cpp | $(OSPREBUILD)
310#    @echo Compiling $<...
311#   $(CC) $(CDEFS) $(FLACOPTS) $(CPPONLYFLAGS) -I$(LIBSRC)/libflac/include -c $< -o $@
src/version.c
r14361r14362
3838***************************************************************************/
3939
4040extern const char build_version[];
41const char build_version[] = "0.144u7 ("__DATE__")";
41const char build_version[] = "0.145 ("__DATE__")";
makefile
r14361r14362
494494COBJFLAGS += \
495495   -Wpointer-arith
496496
497# warnings only applicable to C++ compiles
498CPPONLYFLAGS += \
499   -Woverloaded-virtual
497500
498501
499502#-------------------------------------------------
r14361r14362
636639
637640all: default tools
638641
639FLAC_LIB = $(OBJ)/libflac.a $(OBJ)/libflac++.a
642FLAC_LIB = $(OBJ)/libflac.a
643# $(OBJ)/libflac++.a
640644
641645
642646#-------------------------------------------------

Previous 15994 Revisions Next


© 1998-2018 The MESS Team