| 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 |
| r14361 | r14362 | |
|---|---|---|
| 4457 | 4457 | colmns97 // 1997.01 Columns 97 |
| 4458 | 4458 | shienryu // 1997.02 Shienryu (Warashi) |
| 4459 | 4459 | vmahjong // 1997.02 Virtual Mahjong (Micronet) |
| 4460 | pclub2kc // 1997.02 Print Club Kome Kome Club | |
| 4460 | 4461 | pclub2fc // 1997.04 Print Club 2 Felix The Cat |
| 4461 | 4462 | groovef // 1997.05 Groove on Fight (Atlus) |
| 4462 | 4463 | nclubv3 // 1997.07 Name Club Ver. 3 |
| r14361 | r14362 | |
| 4480 | 4481 | astrass // 1998.06 Astra Super Stars (Sunsoft) |
| 4481 | 4482 | myfairld // 1998.07 My Fair Lady (Micronet) |
| 4482 | 4483 | othellos // 1998.07 Othello Shiyouyo (Success) |
| 4484 | pclubol // 1998.07 Print Club Olive | |
| 4485 | pclb298a // 1998.08 Print Club 2 '98 Autumn Ver | |
| 4483 | 4486 | cottonbm // 1998.09 Cotton Boomerang (Success) |
| 4484 | 4487 | stress // 1998.10 Stress Busters |
| 4485 | 4488 | elandore // 1998.11 Touryuu Densetsu Elandore (Sai-Mate) |
| r14361 | r14362 | |
| 4490 | 4493 | danchih // 1999.06 Danchi de Hanafuda Okusan Komeya Desuyo! (Altron (Tecmo License)) |
| 4491 | 4494 | ffreveng // 1999.09 Final Fight Revenge (Capcom) |
| 4492 | 4495 | pclubpok // 1999.11 Print Club Pokemon |
| 4496 | pclubor // 1999.11 Print Club Goukakenran | |
| 4493 | 4497 | danchiq // 2000.12 Danchi de Quiz Okusan Yontaku Desuyo! (Altron) |
| 4494 | 4498 | |
| 4499 | ||
| 4500 | ||
| 4495 | 4501 | // Sega Model 2 Games |
| 4496 | 4502 | |
| 4497 | 4503 | // Model 2 (TGPs, Model 1 sound board) |
| r14361 | r14362 | |
| 7466 | 7472 | hydrthnd // (c) 1999 Midway Games |
| 7467 | 7473 | offrthnd // (c) 2000 Midway Games |
| 7468 | 7474 | arctthnd // (c) 2001 Midway Games |
| 7475 | arctthndult // (c) 2001 Midway Games | |
| 7469 | 7476 | |
| 7470 | 7477 | // Midway Touchmaster / Galaxy Games |
| 7471 | 7478 | tm // (c) 1996 Midway Games |
| r14361 | r14362 | |
| 10195 | 10202 | bmcpokr // (c) 1999 BMC |
| 10196 | 10203 | popobear // (c) 2000 BMC |
| 10197 | 10204 | |
| 10198 | // Merit | |
| 10205 | // Merit | |
| 10199 | 10206 | |
| 10200 | 10207 | mpoker // (c) 1983 Merit |
| 10201 | 10208 | pitboss // (c) 1983 Merit |
| r14361 | r14362 | |
| 10633 | 10640 | esha // (c) 1984 Funai / Gakken |
| 10634 | 10641 | eshb // (c) 1984 Funai / Gakken |
| 10635 | 10642 | comebaby // (c) 2000 ExPotato |
| 10643 | bntyhunt // (c) 200? GCTech Co., LTD | |
| 10636 | 10644 | peset038 // (c) 1987 IGT - International Gaming Technology |
| 10637 | 10645 | pepp0043 // (c) 1987 IGT - International Gaming Technology |
| 10638 | 10646 | pepp0065 // (c) 1987 IGT - International Gaming Technology |
| r14361 | r14362 | |
|---|---|---|
| 115 | 115 | |
| 116 | 116 | if (data == 0) // stop |
| 117 | 117 | { |
| 118 | // | |
| 118 | // MPEG_Stop_Playing(); | |
| 119 | 119 | // printf("MPEG stop\n"); |
| 120 | 120 | } |
| 121 | 121 | else if (data == 1) // play without loop |
| 122 | 122 | { |
| 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); | |
| 125 | 125 | // printf("MPEG start, one-shot from %x\n", mp_start); |
| 126 | 126 | } |
| 127 | 127 | else if (data == 2) // play with loop |
| 128 | 128 | { |
| 129 | // | |
| 129 | // MPEG_Play_Memory(ROM + mp_start, mp_end-mp_start); | |
| 130 | 130 | // printf("MPEG start, loop from %x\n", mp_start); |
| 131 | 131 | } |
| 132 | 132 | } |
| 133 | 133 | |
| 134 | 134 | READ8_MEMBER(dsbz80_device::mpeg_pos_r) |
| 135 | 135 | { |
| 136 | int mp_prg = 0; //MPEG_Get_Progress(); | |
| 136 | int mp_prg = 0; //MPEG_Get_Progress(); // returns the byte offset currently playing | |
| 137 | 137 | |
| 138 | 138 | mp_prg += mp_start; |
| 139 | 139 | |
| r14361 | r14362 | |
| 157 | 157 | get latched. When the current stream ends, the MPEG hardware starts playing |
| 158 | 158 | immediately from the latched start and end position. In this way, the Z80 |
| 159 | 159 | 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) | |
| 161 | 161 | */ |
| 162 | 162 | |
| 163 | 163 | WRITE8_MEMBER(dsbz80_device::mpeg_start_w) |
| r14361 | r14362 | |
| 186 | 186 | // SWA: if loop end is zero, it means "keep previous end marker" |
| 187 | 187 | if (lp_end == 0) |
| 188 | 188 | { |
| 189 | // | |
| 189 | // MPEG_Set_Loop(ROM + lp_start, mp_end-lp_start); | |
| 190 | 190 | } |
| 191 | 191 | else |
| 192 | 192 | { |
| 193 | // | |
| 193 | // MPEG_Set_Loop(ROM + lp_start, lp_end-lp_start); | |
| 194 | 194 | } |
| 195 | 195 | } |
| 196 | 196 | break; |
| r14361 | r14362 | |
| 220 | 220 | else |
| 221 | 221 | { |
| 222 | 222 | lp_end = end; |
| 223 | // | |
| 223 | // MPEG_Set_Loop(ROM + lp_start, lp_end-lp_start); | |
| 224 | 224 | } |
| 225 | 225 | break; |
| 226 | 226 | } |
| r14361 | r14362 | |
|---|---|---|
| 41 | 41 | 0 |
| 42 | 42 | }; |
| 43 | 43 | |
| 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, | |
| 48 | 48 | Problems with YOU and YOU'LL and YOU'DD */ |
| 49 | 49 | |
| 50 | 50 | static const char *const wowWordTable[] = |
| r14361 | r14362 | |
|---|---|---|
| 38 | 38 | DECLARE_READ8_MEMBER( read ); |
| 39 | 39 | DECLARE_WRITE8_MEMBER( write ); |
| 40 | 40 | DECLARE_WRITE8_MEMBER( ctrl_w ); |
| 41 | private: | |
| 41 | private: | |
| 42 | 42 | int m_offset; |
| 43 | 43 | int m_data; |
| 44 | 44 | char m_rom[EAROM_SIZE]; |
| r14361 | r14362 | |
|---|---|---|
| 1689 | 1689 | $(DRIVERS)/coinmstr.o \ |
| 1690 | 1690 | $(DRIVERS)/coinmvga.o \ |
| 1691 | 1691 | $(DRIVERS)/comebaby.o \ |
| 1692 | $(DRIVERS)/bntyhunt.o \ | |
| 1692 | 1693 | $(DRIVERS)/coolpool.o \ |
| 1693 | 1694 | $(DRIVERS)/corona.o \ |
| 1694 | 1695 | $(DRIVERS)/crystal.o $(VIDEO)/vrender0.o \ |
| r14361 | r14362 | |
| 2176 | 2177 | $(VIDEO)/jaguar.o: $(MAMESRC)/video/jagobj.c \ |
| 2177 | 2178 | $(MAMESRC)/video/jagblit.c |
| 2178 | 2179 | $(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 | |
| 2181 | 2182 | $(VIDEO)/model2.o: $(MAMESRC)/video/model2rd.c |
| 2182 | 2183 | $(VIDEO)/model3.o: $(MAMESRC)/video/m3raster.c |
| 2183 | 2184 | $(VIDEO)/n64.o: $(MAMESRC)/video/rdpfiltr.c |
| r14361 | r14362 | |
|---|---|---|
| 96 | 96 | INT32 m_precomp_t; |
| 97 | 97 | |
| 98 | 98 | private: |
| 99 | UINT32 | |
| 99 | UINT32 | |
| 100 | 100 | |
| 101 | 101 | void Mask(INT32* S, INT32* T, INT32 num); |
| 102 | 102 | void MaskCoupled(INT32* S, INT32* S1, INT32* T, INT32* T1, INT32 num); |
| r14361 | r14362 | |
|---|---|---|
| 296 | 296 | x = 240 - x; |
| 297 | 297 | } |
| 298 | 298 | |
| 299 | ||
| 299 | ||
| 300 | 300 | //if (x <= 320) |
| 301 | 301 | { |
| 302 | 302 | if (!m_is_bootleg) // several of the clone / bootleg chips don't do this, see jumpkids |
| 303 | 303 | sprite &= ~multi; |
| 304 | ||
| 304 | ||
| 305 | 305 | if (fy) |
| 306 | 306 | inc = -1; |
| 307 | 307 | else |
| r14361 | r14362 | |
| 329 | 329 | if (fx) fx = 0; else fx = 1; |
| 330 | 330 | } |
| 331 | 331 | |
| 332 | ||
| 333 | ||
| 332 | ||
| 333 | ||
| 334 | 334 | mult2 = multi + 1; |
| 335 | 335 | |
| 336 | 336 | while (multi >= 0) |
| r14361 | r14362 | |
|---|---|---|
| 118 | 118 | { |
| 119 | 119 | decocomn_state *decocomn = get_safe_token(device); |
| 120 | 120 | const decocomn_interface *intf = get_interface(device); |
| 121 | // | |
| 121 | // int width, height; | |
| 122 | 122 | |
| 123 | 123 | 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(); | |
| 126 | 126 | |
| 127 | 127 | decocomn->dirty_palette = auto_alloc_array_clear(device->machine(), UINT8, 4096); |
| 128 | 128 |
| r14361 | r14362 | |
|---|---|---|
| 33 | 33 | sprite_bitmap1 = &machine.device<decospr_device>("spritegen1")->get_sprite_temp_bitmap(); |
| 34 | 34 | sprite_bitmap2 = &machine.device<decospr_device>("spritegen2")->get_sprite_temp_bitmap(); |
| 35 | 35 | priority_bitmap = &machine.priority_bitmap; |
| 36 | ||
| 36 | ||
| 37 | 37 | UINT32* dstline; |
| 38 | 38 | UINT16 *srcline1, *srcline2; |
| 39 | 39 | UINT8 *srcpriline; |
| 40 | ||
| 40 | ||
| 41 | 41 | for (y=cliprect.min_y;y<=cliprect.max_y;y++) |
| 42 | 42 | { |
| 43 | 43 | srcline1=&sprite_bitmap1->pix16(y,0); |
| r14361 | r14362 | |
| 52 | 52 | UINT16 pix2 = srcline2[x]; |
| 53 | 53 | |
| 54 | 54 | /* 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 | */ | |
| 58 | 58 | |
| 59 | 59 | int pri1, pri2; |
| 60 | 60 | int spri1, spri2, alpha2; |
| r14361 | r14362 | |
| 133 | 133 | |
| 134 | 134 | UINT8 bgpri = srcpriline[x]; |
| 135 | 135 | /* 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 | */ | |
| 147 | 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 | */ | |
| 147 | ||
| 148 | 148 | int drawnpixe1 = 0; |
| 149 | 149 | if (pix1 & 0xf) |
| 150 | 150 | { |
| r14361 | r14362 | |
|---|---|---|
| 141 | 141 | |
| 142 | 142 | //if(divot) |
| 143 | 143 | //{ |
| 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 | // } | |
| 149 | 149 | //} |
| 150 | 150 | c.i.r = ((pix >> 8) & 0xf8) | (pix >> 13); |
| 151 | 151 | c.i.g = ((pix >> 3) & 0xf8) | ((pix >> 8) & 0x07); |
| r14361 | r14362 | |
|---|---|---|
| 47 | 47 | <color red="0.85" green="0.4" blue="0.3" /> |
| 48 | 48 | </disk> |
| 49 | 49 | </element> |
| 50 | ||
| 50 | ||
| 51 | 51 | <!-- Super Chase used a widescreen monitor, see http://flyers.arcade-museum.com/?page=thumbs&db=videodb&id=1118 --> |
| 52 | 52 | |
| 53 | 53 | <view name="Shifter-R"> |
| r14361 | r14362 | |
|---|---|---|
| 3275 | 3275 | ROM[0x1b32c/4]=0xe1a00000;// NOP test switch lock |
| 3276 | 3276 | |
| 3277 | 3277 | /* |
| 3278 | { | |
| 3279 | UINT8 *ROM = machine.region("dvi")->base(); | |
| 3278 | { | |
| 3279 | UINT8 *ROM = machine.region("dvi")->base(); | |
| 3280 | 3280 | |
| 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 | */ | |
| 3292 | 3292 | } |
| 3293 | 3293 | |
| 3294 | 3294 | static DRIVER_INIT( fghthist ) |
| r14361 | r14362 | |
|---|---|---|
| 1 | 1 | /* |
| 2 | 2 | |
| 3 | "Sega Shooting Zone" aka "Sega Sharp Shooter" | |
| 3 | "Sega Shooting Zone" aka "Sega Sharp Shooter" | |
| 4 | 4 | |
| 5 | 5 | This is an SMS with a timer system, official Sega product. Cabinet has a lightgun, it runs the SMS light gun games. |
| 6 | 6 | |
| r14361 | r14362 | |
| 17 | 17 | Xtal : 10.7380 Mhz |
| 18 | 18 | |
| 19 | 19 | RAMS(s) : D4168C (x3) |
| 20 | ||
| 20 | : MB8464-12L | |
| 21 | 21 | |
| 22 | 22 | Eprom : Epr10894A.20 |
| 23 | 23 | |
| 24 | 24 | PAL : 315-5287 |
| 25 | 25 | |
| 26 | Customs IC's : 315-5216 (x2) | |
| 27 | ||
| 28 | 315-5124 | |
| 26 | Customs IC's : 315-5216 (x2) | |
| 29 | 27 | |
| 28 | 315-5124 | |
| 29 | ||
| 30 | 30 | GAMES for this system : |
| 31 | 31 | |
| 32 | 32 | Black Belt (mpr10150.ic1) |
| r14361 | r14362 | |
|---|---|---|
| 65 | 65 | IC's Reverse Engineering.... |
| 66 | 66 | |
| 67 | 67 | 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 | |
| 70 | 70 | - U2 : 28-pin IC YES ROM U2 M27128A |
| 71 | 71 | - U3 : 28-pin IC YES ROM U3 M27128A |
| 72 | 72 | - U4 : 40-pin IC YES PIA ST EF6821P |
| r14361 | r14362 | |
| 133 | 133 | U20(07) - PB7 |17 24| CS1 |
| 134 | 134 | PIA CA1 (*) - CB1 |18 23| /CS2 |
| 135 | 135 | U20(06) - CB2 |19 22| CS0 |
| 136 | VCC |20 21| R/W | |
| 136 | VCC |20 21| R/W | |
| 137 | 137 | +----------+ |
| 138 | 138 | |
| 139 | 139 | (*) Lines CA1 and CB1 are tied together, being both IN. |
| r14361 | r14362 | |
| 142 | 142 | |
| 143 | 143 | U19: *** MAX691 *** Maxim MAX691 Microprocessor Supervisory Circuit. |
| 144 | 144 | (for battery backup power switching and watchdog). |
| 145 | leg 01 [VBATT] ----> | |
| 146 | leg 02 [VOUT] -----> | |
| 145 | leg 01 [VBATT] ----> | |
| 146 | leg 02 [VOUT] -----> | |
| 147 | 147 | leg 03 [VCC] ------> VCC |
| 148 | 148 | 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. | |
| 152 | 152 | leg 08 [OSC SEL] --> N/C / |
| 153 | leg 09 [PFI] ------> | |
| 154 | leg 10 [/PFO] -----> | |
| 153 | leg 09 [PFI] ------> | |
| 154 | leg 10 [/PFO] -----> | |
| 155 | 155 | leg 11 [WDI] ------> PIA CA2 |
| 156 | leg 12 [/CE OUT] --> | |
| 156 | leg 12 [/CE OUT] --> | |
| 157 | 157 | leg 13 [/CE IN] ---> GND |
| 158 | leg 14 [/WDO] -----> | |
| 158 | leg 14 [/WDO] -----> | |
| 159 | 159 | leg 15 [/RESET] ---> CPU /RES (37) |
| 160 | 160 | leg 16 [RESET] ----> |
| 161 | 161 | |
| r14361 | r14362 | |
| 308 | 308 | PORT_DIPNAME( 0x10, 0x10, "IN0-5 (TILT SW)" ) |
| 309 | 309 | PORT_DIPSETTING ( 0x10, DEF_STR( Off ) ) |
| 310 | 310 | 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) */ | |
| 316 | 316 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) /* Connected to JAMMA C22 (P1 BUTTON1) */ |
| 317 | 317 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) /* Connected to JAMMA C18/21 (JOY UP & JOY RIGHT) */ |
| 318 | 318 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) /* Connected to JAMMA C19/20 (JOY DOWN & JOY LEFT) */ |
| r14361 | r14362 | |
|---|---|---|
| 2130 | 2130 | |
| 2131 | 2131 | ROM_REGION32_BE( 0x3000000, "game0", ROMREGION_ERASE00 ) /* SH2 code */ |
| 2132 | 2132 | |
| 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 | |
| 2138 | 2138 | |
| 2139 | 2139 | ROM_REGION16_BE( 0x80, "eeprom", 0 ) // preconfigured to 1 player |
| 2140 | 2140 | ROM_LOAD( "pclub2.nv", 0x0000, 0x0080, CRC(00d0f04e) SHA1(8b5a3e1c52e34443f83fd4a8948a00cacb5071d0) ) |
| r14361 | r14362 | |
| 2145 | 2145 | |
| 2146 | 2146 | ROM_REGION32_BE( 0x3000000, "game0", ROMREGION_ERASE00 ) /* SH2 code */ |
| 2147 | 2147 | |
| 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 | |
| 2153 | 2153 | |
| 2154 | 2154 | ROM_REGION16_BE( 0x80, "eeprom", 0 ) // preconfigured to 1 player |
| 2155 | 2155 | ROM_LOAD( "pclub2fc.nv", 0x0000, 0x0080, CRC(c8082326) SHA1(d24ad66eb01a58d3a117a49606003522b6f1feba) ) |
| r14361 | r14362 | |
| 2160 | 2160 | |
| 2161 | 2161 | ROM_REGION32_BE( 0x3000000, "game0", ROMREGION_ERASE00 ) /* SH2 code */ |
| 2162 | 2162 | |
| 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 | |
| 2171 | 2171 | |
| 2172 | 2172 | ROM_REGION16_BE( 0x80, "eeprom", 0 ) // preconfigured to 1 player |
| 2173 | 2173 | ROM_LOAD( "pclub298.nv", 0x0000, 0x0080, CRC(a23dd0f2) SHA1(457282b5d40a17477b95330bba91e05c603f951e) ) |
| 2174 | 2174 | ROM_END |
| 2175 | 2175 | |
| 2176 | ROM_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) ) | |
| 2192 | ROM_END | |
| 2193 | ||
| 2194 | ||
| 2195 | ROM_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) ) | |
| 2211 | ROM_END | |
| 2212 | ||
| 2213 | ROM_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) ) | |
| 2229 | ROM_END | |
| 2230 | ||
| 2231 | ||
| 2176 | 2232 | ROM_START( pclub2v3 ) // set to 1p / runs with the USA bios |
| 2177 | 2233 | STV_BIOS |
| 2178 | 2234 | ROM_DEFAULT_BIOS( "us" ) |
| 2179 | 2235 | |
| 2180 | 2236 | ROM_REGION32_BE( 0x3000000, "game0", ROMREGION_ERASE00 ) /* SH2 code */ |
| 2181 | 2237 | |
| 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?!) | |
| 2187 | 2243 | |
| 2188 | 2244 | ROM_REGION16_BE( 0x80, "eeprom", 0 ) // preconfigured to 1 player |
| 2189 | 2245 | ROM_LOAD( "pclub2v3.nv", 0x0000, 0x0080, CRC(a8a2d30c) SHA1(bdde3d62ff21190a23698058ff66e476a75a09aa) ) |
| r14361 | r14362 | |
| 2195 | 2251 | |
| 2196 | 2252 | ROM_REGION32_BE( 0x3000000, "game0", ROMREGION_ERASE00 ) /* SH2 code */ |
| 2197 | 2253 | |
| 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 | |
| 2203 | 2259 | |
| 2204 | 2260 | ROM_REGION16_BE( 0x80, "eeprom", 0 ) // preconfigured to 1 player |
| 2205 | 2261 | ROM_LOAD( "pclubpok.nv", 0x0000, 0x0080, CRC(4ba3f21a) SHA1(898a393fb2fc1961b68b7d4f383d5447e6c010e8) ) |
| 2206 | 2262 | ROM_END |
| 2207 | 2263 | |
| 2264 | ROM_START( pclub2kc ) // set to 1p | |
| 2265 | STV_BIOS | |
| 2208 | 2266 | |
| 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) ) | |
| 2277 | ROM_END | |
| 2278 | ||
| 2279 | ||
| 2280 | ||
| 2281 | ||
| 2209 | 2282 | GAME( 1996, stvbios, 0, stv_slot, stv, stv, ROT0, "Sega", "ST-V Bios", GAME_IS_BIOS_ROOT ) |
| 2210 | 2283 | |
| 2211 | 2284 | //GAME YEAR, NAME, PARENT, MACH, INP, INIT, MONITOR |
| r14361 | r14362 | |
| 2259 | 2332 | GAME( 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 |
| 2260 | 2333 | GAME( 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 ) |
| 2261 | 2334 | |
| 2262 | /* Unemulated printer device */ | |
| 2335 | /* Unemulated printer / camera devices */ | |
| 2263 | 2336 | GAME( 1998, stress, stvbios, stv, stv, stv, ROT0, "Sega", "Stress Busters (J 981020 V1.000)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 2264 | 2337 | GAME( 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 ) |
| 2265 | 2338 | GAME( 1997, pclub2, stvbios, stv, stv, stv, ROT0, "Atlus", "Print Club 2 (U 970921 V1.000)", GAME_NOT_WORKING ) |
| 2266 | 2339 | GAME( 1999, pclub2fc, pclub2, stv, stv, stv, ROT0, "Atlus", "Print Club 2 Felix The Cat (Rev. A) (J 970415 V1.100)", GAME_NOT_WORKING ) |
| 2267 | 2340 | GAME( 1997, pclub298, pclub2, stv, stv, stv, ROT0, "Atlus", "Print Club 2 '98 Spring Ver (J 971017 V1.100)", GAME_NOT_WORKING ) |
| 2341 | GAME( 1998, pclb298a, pclub2, stv, stv, stv, ROT0, "Atlus", "Print Club 2 '98 Autumn Ver (J 980827 V1.000)", GAME_NOT_WORKING ) | |
| 2342 | GAME( 1999, pclubor, stvbios, stv, stv, stv, ROT0, "Atlus", "Print Club Goukakenran (J 991104 V1.000)", GAME_NOT_WORKING ) | |
| 2343 | GAME( 1999, pclubol, stvbios, stv, stv, stv, ROT0, "Atlus", "Print Club Olive (J 980717 V1.000)", GAME_NOT_WORKING ) | |
| 2268 | 2344 | GAME( 1999, pclub2v3, pclub2, stv, stv, stv, ROT0, "Atlus", "Print Club 2 Vol. 3 (U 990310 V1.000)", GAME_NOT_WORKING ) |
| 2269 | 2345 | GAME( 1999, pclubpok, stvbios, stv, stv, stv, ROT0, "Atlus", "Print Club Pokemon B (U 991126 V1.000)", GAME_NOT_WORKING ) |
| 2346 | GAME( 1997, pclub2kc, stvbios, stv, stv, stv, ROT0, "Atlus", "Print Club Kome Kome Club (J 970203 V1.000)", GAME_NOT_WORKING ) | |
| 2270 | 2347 | |
| 2348 | ||
| 2349 | ||
| 2350 | ||
| 2271 | 2351 | /* Doing something.. but not enough yet */ |
| 2272 | 2352 | GAME( 1995, vfremix, stvbios, stv, stv, vfremix, ROT0, "Sega", "Virtua Fighter Remix (JUETBKAL 950428 V1.000)", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING ) |
| 2273 | 2353 | GAME( 1997, findlove, stvbios, stv, stv, stv, ROT0, "Daiki / FCF", "Find Love (J 971212 V1.000)", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING ) |
| r14361 | r14362 | |
|---|---|---|
| 8 | 8 | Games Supported: |
| 9 | 9 | |
| 10 | 10 | |
| 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 | |
| 27 | 27 | |
| 28 | 28 | Real games bugs: |
| 29 | 29 | - dquizgo2: bugged video test |
| r14361 | r14362 | |
| 37 | 37 | Semicom also used for Toy Land Adventure & SemiComDate Quiz Go Go Episode 2 game. |
| 38 | 38 | |
| 39 | 39 | Boong-Ga Boong-Ga: the test mode is usable with a standard input configuration like the "common" one |
| 40 | ||
| 40 | ||
| 41 | 41 | Undumped Semicom games on similar hardware: |
| 42 | 42 | Wivern Wings - Semicom's orginal release with alt spelling of title |
| 43 | 43 | Red Wyvern - A semi-sequel or update? |
| r14361 | r14362 | |
| 45 | 45 | Gaia The last Choice of the Earth (c) 1998 (might be Byron Future Assault type hardware) |
| 46 | 46 | Diet Family (c) 2001 |
| 47 | 47 | Choice III: Joker's Dream (c) 2001 |
| 48 | ||
| 48 | ||
| 49 | 49 | TODO: |
| 50 | 50 | - boonggab: simulate photo sensors with a "stroke strength" |
| 51 | 51 | - boonggab: what are sensors bit used for? are they used in the japanese version? |
| r14361 | r14362 | |
| 65 | 65 | { |
| 66 | 66 | public: |
| 67 | 67 | vamphalf_state(const machine_config &mconfig, device_type type, const char *tag) |
| 68 | : driver_device(mconfig, type, tag) | |
| 68 | : driver_device(mconfig, type, tag) | |
| 69 | 69 | { |
| 70 | 70 | m_has_extra_gfx = 0; |
| 71 | 71 | } |
| r14361 | r14362 | |
| 505 | 505 | |
| 506 | 506 | code = state->m_tiles[offs+1]; |
| 507 | 507 | color = (state->m_tiles[offs+2] >> state->m_palshift) & 0x7f; |
| 508 | ||
| 508 | ||
| 509 | 509 | // boonggab |
| 510 | 510 | if(state->m_has_extra_gfx) |
| 511 | 511 | { |
| r14361 | r14362 | |
| 622 | 622 | { |
| 623 | 623 | static const UINT16 photo_sensors_table[8] = { 0x07, 0x06, 0x05, 0x04, 0x03, 0x02, 0x01, 0x00 }; |
| 624 | 624 | UINT8 res = input_port_read(field.machine(), "PHOTO_SENSORS"); |
| 625 | ||
| 625 | ||
| 626 | 626 | switch(res) |
| 627 | 627 | { |
| 628 | 628 | case 0x01: |
| 629 | 629 | return photo_sensors_table[1]; // 5 - 7 points |
| 630 | ||
| 630 | ||
| 631 | 631 | case 0x02: |
| 632 | 632 | return photo_sensors_table[2]; // 8 - 10 points |
| 633 | ||
| 633 | ||
| 634 | 634 | case 0x04: |
| 635 | 635 | return photo_sensors_table[3]; // 11 - 13 points |
| 636 | ||
| 636 | ||
| 637 | 637 | case 0x08: |
| 638 | 638 | return photo_sensors_table[4]; // 14 - 16 points |
| 639 | ||
| 639 | ||
| 640 | 640 | case 0x10: |
| 641 | 641 | return photo_sensors_table[5]; // 17 - 19 points |
| 642 | ||
| 642 | ||
| 643 | 643 | case 0x20: |
| 644 | 644 | return photo_sensors_table[6]; // 20 - 22 points |
| 645 | ||
| 645 | ||
| 646 | 646 | case 0x40: |
| 647 | 647 | return photo_sensors_table[7]; // 23 - 25 points |
| 648 | 648 | } |
| 649 | ||
| 649 | ||
| 650 | 650 | return photo_sensors_table[0]; |
| 651 | 651 | } |
| 652 | 652 | |
| r14361 | r14362 | |
| 780 | 780 | PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 781 | 781 | PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 782 | 782 | 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 | ||
| 785 | 785 | PORT_START("PHOTO_SENSORS") |
| 786 | 786 | PORT_BIT( 0x0001, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_PLAYER(1) |
| 787 | 787 | PORT_BIT( 0x0002, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_PLAYER(1) |
| r14361 | r14362 | |
| 789 | 789 | PORT_BIT( 0x0008, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_PLAYER(1) |
| 790 | 790 | PORT_BIT( 0x0010, IP_ACTIVE_HIGH, IPT_BUTTON5 ) PORT_PLAYER(1) |
| 791 | 791 | 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) | |
| 793 | 793 | INPUT_PORTS_END |
| 794 | 794 | |
| 795 | 795 | static const gfx_layout sprites_layout = |
| r14361 | r14362 | |
| 1919 | 1919 | /* romu04 empty */ |
| 1920 | 1920 | /* roml09 empty */ |
| 1921 | 1921 | /* romu09 empty */ |
| 1922 | ||
| 1922 | ||
| 1923 | 1923 | ROM_REGION( 0x100000, "user2", 0 ) /* Oki Samples */ |
| 1924 | 1924 | ROM_LOAD( "3.vrom1", 0x00000, 0x80000, CRC(0696bfcb) SHA1(bba61f3cae23271215bbbf8214ce3b73459d5da5) ) |
| 1925 | 1925 | ROM_LOAD( "4.vrom2", 0x80000, 0x80000, CRC(305c2b16) SHA1(fa199c4cd4ebb952d934e3863fca8740eeba9294) ) |
| r14361 | r14362 | |
| 2381 | 2381 | GAME( 2001, toyland, 0, coolmini, common, toyland, ROT0, "SemiCom", "Toy Land Adventure", 0 ) |
| 2382 | 2382 | GAME( 2001, wyvernwg, 0, wyvernwg, common, wyvernwg, ROT270, "SemiCom (Game Vision license)", "Wyvern Wings", GAME_NO_SOUND ) |
| 2383 | 2383 | GAME( 2001, aoh, 0, aoh, aoh, aoh, ROT0, "Unico", "Age Of Heroes - Silkroad 2 (v0.63 - 2001/02/07)", 0 ) |
| 2384 | GAME( 2001, boonggab, 0, boonggab, boonggab, boonggab, ROT270, "Taff System", | |
| 2384 | GAME( 2001, boonggab, 0, boonggab, boonggab, boonggab, ROT270, "Taff System", |
| r14361 | r14362 | |
|---|---|---|
| 198 | 198 | MCFG_CPU_ADD("maincpu", M68000, XTAL_42MHz/4) |
| 199 | 199 | MCFG_CPU_PROGRAM_MAP(bmcpokr_mem) |
| 200 | 200 | //MCFG_CPU_VBLANK_INT("screen",irq3_line_hold) |
| 201 | ||
| 201 | ||
| 202 | 202 | MCFG_SCREEN_ADD("screen", RASTER) |
| 203 | 203 | MCFG_SCREEN_REFRESH_RATE(60) |
| 204 | 204 | MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */ |
| r14361 | r14362 | |
|---|---|---|
| 24 | 24 | -------------- |
| 25 | 25 | |
| 26 | 26 | Custom board |
| 27 | ||
| 27 | ||
| 28 | 28 | AMD Geode Processor (MediaGX derived?) |
| 29 | 29 | marked |
| 30 | 30 | AGXD533AAXFDCC |
| 31 | 0452EQA | |
| 32 | (c)2001 2.1 | |
| 33 | TAIWAN | |
| 31 | 0452EQA | |
| 32 | (c)2001 2.1 | |
| 33 | TAIWAN | |
| 34 | 34 | |
| 35 | 35 | IGS027 security chip (ARM with internal ROM) (dumped!) |
| 36 | 36 |
| r0 | r14362 | |
|---|---|---|
| 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 | ||
| 13 | class bntyhunt_state : public driver_device | |
| 14 | { | |
| 15 | public: | |
| 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 | ||
| 23 | protected: | |
| 24 | ||
| 25 | // devices | |
| 26 | required_device<cpu_device> m_maincpu; | |
| 27 | ||
| 28 | // driver_device overrides | |
| 29 | virtual void video_start(); | |
| 30 | }; | |
| 31 | ||
| 32 | ||
| 33 | void bntyhunt_state::video_start() | |
| 34 | { | |
| 35 | } | |
| 36 | ||
| 37 | UINT32 bntyhunt_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) | |
| 38 | { | |
| 39 | return 0; | |
| 40 | } | |
| 41 | ||
| 42 | static ADDRESS_MAP_START( bntyhunt_map, AS_PROGRAM, 32, bntyhunt_state ) | |
| 43 | AM_RANGE(0x00000000, 0x0001ffff) AM_ROM | |
| 44 | ADDRESS_MAP_END | |
| 45 | ||
| 46 | static INPUT_PORTS_START( bntyhunt ) | |
| 47 | INPUT_PORTS_END | |
| 48 | ||
| 49 | ||
| 50 | static 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) | |
| 64 | MACHINE_CONFIG_END | |
| 65 | ||
| 66 | ||
| 67 | ROM_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) ) | |
| 73 | ROM_END | |
| 74 | ||
| 75 | ||
| 76 | GAME( 200?, bntyhunt, 0, bntyhunt, bntyhunt, 0, ROT0, "GCTech Co., LTD", "Bounty Hunter (GCTech Co., LTD)", GAME_NOT_WORKING|GAME_NO_SOUND ) |
| r14361 | r14362 | |
|---|---|---|
| 251 | 251 | AM_RANGE(0x0080, 0x009f) AM_READWRITE8(dma_page_select_r,dma_page_select_w, 0xffffffff)//TODO |
| 252 | 252 | AM_RANGE(0x00a0, 0x00bf) AM_DEVREADWRITE8("pic8259_2", pic8259_r, pic8259_w, 0xffffffff) |
| 253 | 253 | AM_RANGE(0x00c0, 0x00df) AM_DEVREADWRITE8("dma8237_2", i8237_r, i8237_w, 0xffff) |
| 254 | AM_RANGE(0x00e8, 0x00eb) AM_NOP | |
| 254 | 255 | AM_RANGE(0x0278, 0x027f) AM_RAM //parallel port 2 |
| 255 | 256 | AM_RANGE(0x0378, 0x037f) AM_RAM //parallel port |
| 256 | 257 | AM_RANGE(0x03bc, 0x03bf) AM_RAM //parallel port 3 |
| r14361 | r14362 | |
| 366 | 367 | ROM_LOAD("vga.bin", 0x000000, 0x8000, CRC(7a859659) SHA1(ff667218261969c48082ec12aa91088a01b0cb2a) ) |
| 367 | 368 | |
| 368 | 369 | DISK_REGION( "ide" ) |
| 369 | DISK_IMAGE( "p | |
| 370 | DISK_IMAGE( "p | |
| 370 | 371 | ROM_END |
| 371 | 372 | |
| 372 | 373 | static DRIVER_INIT( photoply ) |
| r14361 | r14362 | |
| 375 | 376 | pc_vga_io_init(machine, machine.device("maincpu")->memory().space(AS_PROGRAM), 0xa0000, machine.device("maincpu")->memory().space(AS_IO), 0x0000); |
| 376 | 377 | } |
| 377 | 378 | |
| 378 | GAME( 199?, photoply, 0, photoply, photoply, photoply, ROT0, "Funworld", "PhotoPlay", GAME_NOT_WORKING|GAME_NO_SOUND ) | |
| 379 | GAME( 199?, photoply, 0, photoply, photoply, photoply, ROT0, "Funworld", "Photo Play 2000 (v2.01)", GAME_NOT_WORKING|GAME_NO_SOUND ) |
| r14361 | r14362 | |
|---|---|---|
| 759 | 759 | DISK_IMAGE( "arctthnd", 0, SHA1(f4373e57c3f453ac09c735b5d8d99ff811416a23) ) |
| 760 | 760 | ROM_END |
| 761 | 761 | |
| 762 | // this also required a dongle to work | |
| 763 | ROM_START( arctthndult ) | |
| 764 | ROM_REGION32_LE(0x80000, "bios", ROMREGION_ERASEFF) | |
| 765 | ROM_LOAD( "m29f002bt.u6", 0x040000, 0x040000, CRC(012c9290) SHA1(cdee6f19d5e5ea5bb1dd6a5ec397ac70b3452790) ) | |
| 762 | 766 | |
| 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) ) | |
| 773 | ROM_END | |
| 774 | ||
| 775 | ||
| 776 | ||
| 763 | 777 | // there are almost certainly multiple versions of these; updates were offered on floppy disk. The version numbers for the existing CHDs are unknown. |
| 764 | GAME(1999, hydrthnd, 0, midqslvr, at_keyboard, 0, ROT0, "Midway Games", "Hydro Thunder", GAME_IS_SKELETON) | |
| 765 | GAME(2000, offrthnd, 0, midqslvr, at_keyboard, 0, ROT0, "Midway Games", "Offroad Thunder", GAME_IS_SKELETON) | |
| 766 | GAME(2001, arctthnd, 0, midqslvr, at_keyboard, 0, ROT0, "Midway Games", "Arctic Thunder (v1.002)", GAME_IS_SKELETON) | |
| 778 | GAME(1999, hydrthnd, 0, midqslvr, at_keyboard, 0, ROT0, "Midway Games", "Hydro Thunder", GAME_IS_SKELETON) | |
| 779 | GAME(2000, offrthnd, 0, midqslvr, at_keyboard, 0, ROT0, "Midway Games", "Offroad Thunder", GAME_IS_SKELETON) | |
| 780 | GAME(2001, arctthnd, 0, midqslvr, at_keyboard, 0, ROT0, "Midway Games", "Arctic Thunder (v1.002)", GAME_IS_SKELETON) | |
| 781 | GAME(2001, arctthndult, arctthnd, midqslvr, at_keyboard, 0, ROT0, "Midway Games", "Ultimate Arctic Thunder", GAME_IS_SKELETON) |
| r14361 | r14362 | |
|---|---|---|
| 626 | 626 | AT_KEYB_HELPER( 0x0001, "B", KEYCODE_B ) /* B 30 B0 */ |
| 627 | 627 | AT_KEYB_HELPER( 0x0002, "N", KEYCODE_N ) /* N 31 B1 */ |
| 628 | 628 | AT_KEYB_HELPER( 0x0800, "F1", KEYCODE_S ) /* F1 3B BB */ |
| 629 | // | |
| 629 | // AT_KEYB_HELPER( 0x8000, "F5", KEYCODE_F5 ) | |
| 630 | 630 | |
| 631 | 631 | PORT_START("pc_keyboard_4") |
| 632 | // | |
| 632 | // AT_KEYB_HELPER( 0x0004, "F8", KEYCODE_F8 ) | |
| 633 | 633 | |
| 634 | 634 | PORT_START("pc_keyboard_5") |
| 635 | 635 |
| r14361 | r14362 | |
|---|---|---|
| 169 | 169 | display timer (main) "filled" with code at 0x054e |
| 170 | 170 | display timer (game slot n) "filled" with code at 0x04e3 |
| 171 | 171 | |
| 172 | coin insertion routine at 0x0273 | |
| 172 | coin insertion routine at 0x0273 | |
| 173 | 173 | coin 1 triggers code at 0x02d7 |
| 174 | 174 | coin 2 triggers code at 0x028f |
| 175 | 175 |
| r14361 | r14362 | |
|---|---|---|
| 576 | 576 | decospr_device::set_is_bootleg(*device, true); |
| 577 | 577 | decospr_device::set_pri_callback(*device, hedpanic_pri_callback); |
| 578 | 578 | decospr_device::set_flipallx(*device, 1); |
| 579 | ||
| 579 | ||
| 580 | 580 | MCFG_GFXDECODE(esd16) |
| 581 | 581 | MCFG_PALETTE_LENGTH(768) |
| 582 | 582 | |
| r14361 | r14362 | |
| 600 | 600 | MCFG_CPU_PROGRAM_MAP(hedpanic_map) |
| 601 | 601 | |
| 602 | 602 | MCFG_EEPROM_93C46_ADD("eeprom") |
| 603 | ||
| 603 | ||
| 604 | 604 | MCFG_PALETTE_LENGTH(0x1000/2) |
| 605 | 605 | |
| 606 | 606 | MCFG_GFXDECODE(hedpanic) |
| r14361 | r14362 | |
| 643 | 643 | MCFG_CPU_PROGRAM_MAP(hedpanic_map) |
| 644 | 644 | |
| 645 | 645 | MCFG_EEPROM_93C46_ADD("eeprom") |
| 646 | ||
| 646 | ||
| 647 | 647 | MCFG_PALETTE_LENGTH(0x1000/2) |
| 648 | 648 | |
| 649 | 649 | MCFG_GFXDECODE(hedpanic) |
| r14361 | r14362 | |
|---|---|---|
| 532 | 532 | |
| 533 | 533 | static void svga_vh_rgb15(running_machine &machine, bitmap_rgb32 &bitmap, const rectangle &cliprect) |
| 534 | 534 | { |
| 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 | |
| 537 | 537 | int height = vga.crtc.maximum_scan_line * (vga.crtc.scan_doubling + 1); |
| 538 | 538 | int xi; |
| 539 | 539 | int yi; |
| 540 | 540 | int xm; |
| 541 | 541 | |
| 542 | ||
| 542 | ||
| 543 | 543 | |
| 544 | UINT32 *bitmapline; | |
| 545 | // UINT16 mask_comp; | |
| 544 | UINT32 *bitmapline; | |
| 545 | // UINT16 mask_comp; | |
| 546 | 546 | |
| 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) | |
| 561 | 561 | { |
| 562 | 562 | if(!machine.primary_screen->visible_area().contains(c+xi, line + yi)) |
| 563 | 563 | continue; |
| 564 | 564 | bitmapline[c+xi] = IV|(MV(pos+xm)&0x7c00)<<9 |(MV(pos+xm)&0x3e0)<<6|(MV(pos+xm)&0x1f)<<3; |
| 565 | 565 | } |
| 566 | } | |
| 567 | } | |
| 566 | } | |
| 567 | } | |
| 568 | 568 | } |
| 569 | 569 | |
| 570 | 570 | enum |
| r14361 | r14362 | |
| 626 | 626 | else if (svga.rgb15_en&0x30) |
| 627 | 627 | { |
| 628 | 628 | return RGB15_MODE; |
| 629 | ||
| 629 | ||
| 630 | 630 | else if (!GRAPHIC_MODE) |
| 631 | 631 | { |
| 632 | 632 | //proc = vga_vh_text; |
| r14361 | r14362 | |
| 1811 | 1811 | |
| 1812 | 1812 | mem_space->install_legacy_readwrite_handler(mem_offset + 0x00000, mem_offset + 0x1ffff, FUNC(trident_mem_r), FUNC(trident_mem_w), mask); |
| 1813 | 1813 | |
| 1814 | ||
| 1814 | ||
| 1815 | 1815 | svga.id = 0xd3; // TODO: hardcoded for California Chase |
| 1816 | 1816 | } |
| 1817 | 1817 | |
| r14361 | r14362 | |
| 1856 | 1856 | // TODO: old mode registers selected |
| 1857 | 1857 | break; |
| 1858 | 1858 | case 0x0d: |
| 1859 | | |
| 1859 | | |
| 1860 | 1860 | break; |
| 1861 | 1861 | } |
| 1862 | 1862 | } |
| r14361 | r14362 | |
| 1952 | 1952 | return; |
| 1953 | 1953 | vga.memory[offset + (svga.bank_w*0x10000)]= data; |
| 1954 | 1954 | return; |
| 1955 | ||
| 1955 | ||
| 1956 | 1956 | |
| 1957 | 1957 | vga_mem_w(space,offset,data); |
| 1958 | 1958 | } |
| r14361 | r14362 | |
|---|---|---|
| 1115 | 1115 | |
| 1116 | 1116 | sld = 0; |
| 1117 | 1117 | 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()); | |
| 1119 | 1119 | for (const software_list_device *swlist = iter.first(); swlist != NULL; swlist = iter.next()) |
| 1120 | 1120 | { |
| 1121 | 1121 | if (strcmp(swlist->list_name(),image->software_list_name())==0) sld = swlist; |
| r14361 | r14362 | |
|---|---|---|
| 1 | 1 | /* samples.c |
| 2 | ||
| 2 | ||
| 3 | 3 | Playback of pre-recorded samples. Used for high-level simulation of discrete sound circuits |
| 4 | 4 | where proper low-level simulation isn't available. Also used for tape loops and similar. |
| 5 | 5 |
| r14361 | r14362 | |
|---|---|---|
| 42 | 42 | DECLARE_READ8_MEMBER( xram_r ); |
| 43 | 43 | DECLARE_WRITE8_MEMBER( rtc_w ); |
| 44 | 44 | DECLARE_WRITE8_MEMBER( xram_w ); |
| 45 | private: | |
| 45 | private: | |
| 46 | 46 | UINT8 read(int xramsel, offs_t offset); |
| 47 | 47 | void write(int xramsel, offs_t offset, UINT8 data); |
| 48 | 48 | void field_interrupts(); |
| r14361 | r14362 | |
| 50 | 50 | static TIMER_CALLBACK( rtc_SQW_callback ); |
| 51 | 51 | static TIMER_CALLBACK( rtc_begin_update_callback ); |
| 52 | 52 | static TIMER_CALLBACK( rtc_end_update_callback ); |
| 53 | ||
| 53 | ||
| 54 | 54 | void rtc_SQW_cb(); |
| 55 | 55 | void rtc_begin_update_cb(); |
| 56 | void rtc_end_update_cb(); | |
| 56 | void rtc_end_update_cb(); | |
| 57 | 57 | /* 64 8-bit registers (10 clock registers, 4 control/status registers, and |
| 58 | 58 | 50 bytes of user RAM) */ |
| 59 | 59 | UINT8 m_regs[64]; |
| r14361 | r14362 | |
|---|---|---|
| 220 | 220 | |
| 221 | 221 | /* get printer device */ |
| 222 | 222 | m_printer = subdevice<printer_image_device>("printer"); |
| 223 | ||
| 223 | ||
| 224 | 224 | /* register for state saving */ |
| 225 | 225 | save_item(NAME(m_auto_fd)); |
| 226 | 226 | save_item(NAME(m_strobe)); |
| 227 | 227 | save_item(NAME(m_busy)); |
| 228 | 228 | save_item(NAME(m_ack)); |
| 229 | save_item(NAME(m_data)); | |
| 229 | save_item(NAME(m_data)); | |
| 230 | 230 | } |
| 231 | 231 | |
| 232 | 232 | void centronics_printer_device::device_reset() |
| r14361 | r14362 | |
| 267 | 267 | |
| 268 | 268 | SLOT_INTERFACE_START(centronics_printer) |
| 269 | 269 | SLOT_INTERFACE("printer", CENTRONICS_PRINTER) |
| 270 | SLOT_INTERFACE_END | |
| No newline at end of file | ||
| 270 | SLOT_INTERFACE_END |
| r14361 | r14362 | |
|---|---|---|
| 26 | 26 | virtual void strobe_w(UINT8 state) { m_strobe = state; } |
| 27 | 27 | virtual void init_prime_w(UINT8 state) { m_init = state; } |
| 28 | 28 | virtual void autofeed_w(UINT8 state) { m_auto_fd = state; } |
| 29 | ||
| 29 | ||
| 30 | 30 | virtual UINT8 ack_r() { return m_ack;} |
| 31 | 31 | virtual UINT8 busy_r(){ return m_busy; } |
| 32 | 32 | virtual UINT8 pe_r() { return m_pe;} |
| 33 | 33 | virtual UINT8 not_busy_r() { return !m_busy; } |
| 34 | 34 | virtual UINT8 vcc_r() { return TRUE; } |
| 35 | virtual UINT8 fault_r() { return m_fault; } | |
| 35 | virtual UINT8 fault_r() { return m_fault; } | |
| 36 | 36 | virtual void set_line(int line, int state) { if (state) m_data |= 1 << line; else m_data &= ~(1 << line); } |
| 37 | protected: | |
| 37 | protected: | |
| 38 | 38 | UINT8 m_strobe; |
| 39 | 39 | UINT8 m_busy; |
| 40 | 40 | UINT8 m_ack; |
| r14361 | r14362 | |
| 55 | 55 | |
| 56 | 56 | // ======================> centronics_device |
| 57 | 57 | class centronics_device : public device_t, |
| 58 | public centronics_interface, | |
| 58 | public centronics_interface, | |
| 59 | 59 | public device_slot_interface |
| 60 | 60 | { |
| 61 | 61 | public: |
| 62 | 62 | // construction/destruction |
| 63 | 63 | centronics_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 64 | 64 | virtual ~centronics_device(); |
| 65 | ||
| 65 | ||
| 66 | 66 | DECLARE_WRITE8_MEMBER( write ) { if (m_dev) m_dev->write(data); } |
| 67 | 67 | DECLARE_READ8_MEMBER( read ) { return (m_dev) ? m_dev->read() : 0x00; } |
| 68 | 68 | |
| r14361 | r14362 | |
| 79 | 79 | DECLARE_WRITE_LINE_MEMBER( strobe_w ) { if (m_dev) m_dev->strobe_w(state); } |
| 80 | 80 | DECLARE_WRITE_LINE_MEMBER( init_prime_w ) { if (m_dev) m_dev->init_prime_w(state); } |
| 81 | 81 | DECLARE_WRITE_LINE_MEMBER( autofeed_w ) { if (m_dev) m_dev->autofeed_w(state); } |
| 82 | ||
| 82 | ||
| 83 | 83 | DECLARE_READ_LINE_MEMBER( ack_r ) { return (m_dev) ? m_dev->ack_r() : 0;} |
| 84 | 84 | DECLARE_READ_LINE_MEMBER( busy_r ){ return (m_dev) ? m_dev->busy_r() : 1; } |
| 85 | 85 | DECLARE_READ_LINE_MEMBER( pe_r ) { return (m_dev) ? m_dev->pe_r() : 0;} |
| 86 | 86 | DECLARE_READ_LINE_MEMBER( not_busy_r ) { return (m_dev) ? m_dev->not_busy_r() : 0; } |
| 87 | 87 | 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 | ||
| 90 | 90 | void out_ack(UINT8 param) { m_out_ack_func(param); } |
| 91 | 91 | void out_busy(UINT8 param) { m_out_busy_func(param); } |
| 92 | 92 | void out_not_busy(UINT8 param) { m_out_not_busy_func(param); } |
| r14361 | r14362 | |
| 126 | 126 | |
| 127 | 127 | // optional centronics overrides |
| 128 | 128 | virtual void strobe_w(UINT8 state); |
| 129 | virtual void init_prime_w(UINT8 state); | |
| 129 | virtual void init_prime_w(UINT8 state); | |
| 130 | 130 | virtual UINT8 read() { return 0x00; } |
| 131 | 131 | protected: |
| 132 | 132 | // device-level overrides |
| r14361 | r14362 | |
| 153 | 153 | #define MCFG_CENTRONICS_PRINTER_ADD(_tag, _intf) \ |
| 154 | 154 | MCFG_CENTRONICS_ADD(_tag, _intf, centronics_printer, "printer", NULL) \ |
| 155 | 155 | |
| 156 | ||
| 156 | ||
| 157 | 157 | /*************************************************************************** |
| 158 | 158 | DEFAULT INTERFACES |
| 159 | 159 | ***************************************************************************/ |
| r14361 | r14362 | |
|---|---|---|
| 5 | 5 | TODO: |
| 6 | 6 | - HOLD mechanism |
| 7 | 7 | - IRQ ACK |
| 8 | ||
| 8 | - why skns tries to read uninitialized registers? | |
| 9 | 9 | |
| 10 | 10 | ***************************************************************************/ |
| 11 | 11 |
| r14361 | r14362 | |
|---|---|---|
| 1 | 1 | /********************************************************************** |
| 2 | 2 | |
| 3 | PLS100 16x | |
| 3 | PLS100 16xPAL_TERMSx8 Programmable Logic Array emulation | |
| 4 | 4 | |
| 5 | 5 | Copyright MESS Team. |
| 6 | 6 | Visit http://mamedev.org for licensing and usage restrictions. |
| r14361 | r14362 | |
| 34 | 34 | jedbin_parse(machine().region(tag())->base(), machine().region(tag())->bytes(), &jed); |
| 35 | 35 | UINT32 fusenum = 0; |
| 36 | 36 | m_xor = 0; |
| 37 | ||
| 37 | ||
| 38 | 38 | for (int term = 0; term < PAL_TERMS; term++) |
| 39 | 39 | { |
| 40 | 40 | m_and_comp[term] = 0; |
| 41 | 41 | m_and_true[term] = 0; |
| 42 | 42 | m_or[term] = 0; |
| 43 | ||
| 43 | ||
| 44 | 44 | for (int i = 0; i < PAL_INPUTS; i++) |
| 45 | 45 | { |
| 46 | 46 | m_and_comp[term] |= jed_get_fuse(&jed, fusenum++) << i; |
| 47 | 47 | m_and_true[term] |= jed_get_fuse(&jed, fusenum++) << i; |
| 48 | 48 | } |
| 49 | ||
| 49 | ||
| 50 | 50 | for (int f = 0; f < PAL_OUTPUTS; f++) |
| 51 | 51 | { |
| 52 | 52 | m_or[term] |= !jed_get_fuse(&jed, fusenum++) << f; |
| 53 | 53 | } |
| 54 | 54 | } |
| 55 | ||
| 55 | ||
| 56 | 56 | for (int f = 0; f < PAL_OUTPUTS; f++) |
| 57 | 57 | { |
| 58 | 58 | m_xor |= jed_get_fuse(&jed, fusenum++) << f; |
| 59 | } | |
| 59 | } | |
| 60 | 60 | } |
| 61 | 61 | |
| 62 | 62 | |
| r14361 | r14362 | |
| 68 | 68 | { |
| 69 | 69 | UINT16 input_true = m_and_true[term] | m_i; |
| 70 | 70 | UINT16 input_comp = m_and_comp[term] | (m_i ^ 0xffff); |
| 71 | ||
| 71 | ||
| 72 | 72 | return (input_true & input_comp) == 0xffff; |
| 73 | 73 | } |
| 74 | 74 | |
| r14361 | r14362 | |
| 80 | 80 | inline void pls100_device::update_outputs() |
| 81 | 81 | { |
| 82 | 82 | m_s = 0; |
| 83 | ||
| 83 | ||
| 84 | 84 | for (int term = 0; term < PAL_TERMS; term++) |
| 85 | 85 | { |
| 86 | 86 | if (get_product(term)) |
| r14361 | r14362 | |
| 123 | 123 | |
| 124 | 124 | |
| 125 | 125 | //------------------------------------------------- |
| 126 | // read - | |
| 126 | // read - | |
| 127 | 127 | //------------------------------------------------- |
| 128 | 128 | |
| 129 | 129 | UINT8 pls100_device::read(UINT16 input) |
| 130 | 130 | { |
| 131 | 131 | m_i = input; |
| 132 | ||
| 132 | ||
| 133 | 133 | update_outputs(); |
| 134 | 134 | |
| 135 | 135 | return m_s ^ m_xor; |
| r14361 | r14362 | |
|---|---|---|
| 19 | 19 | F7 10 | | 19 _CE |
| 20 | 20 | F6 11 | | 18 F0 |
| 21 | 21 | F5 12 | | 17 F1 |
| 22 | F4 13 | | | |
| 22 | F4 13 | | PAL_OUTPUTS F2 | |
| 23 | 23 | GND 14 |_____________| 15 F3 |
| 24 | 24 | |
| 25 | 25 | **********************************************************************/ |
| r14361 | r14362 | |
| 76 | 76 | inline void parse_fusemap(); |
| 77 | 77 | inline int get_product(int term); |
| 78 | 78 | inline void update_outputs(); |
| 79 | ||
| 79 | ||
| 80 | 80 | UINT16 m_i; |
| 81 | 81 | UINT8 m_s; |
| 82 | 82 | UINT16 m_and_true[PAL_TERMS]; |
| r14361 | r14362 | |
|---|---|---|
| 299 | 299 | $(CC) $(CDEFS) $(FLACOPTS) $(CONLYFLAGS) -I$(LIBSRC)/libflac/include -c $< -o $@ |
| 300 | 300 | |
| 301 | 301 | |
| 302 | LIBFLACPPOBJS = \ | |
| 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 | |
| 306 | 306 | |
| 307 | $(OBJ)/libflac++.a: $(LIBFLACPPOBJS) | |
| 307 | # $(OBJ)/libflac++.a: $(LIBFLACPPOBJS) | |
| 308 | 308 | |
| 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 $@ |
| r14361 | r14362 | |
|---|---|---|
| 38 | 38 | ***************************************************************************/ |
| 39 | 39 | |
| 40 | 40 | extern const char build_version[]; |
| 41 | const char build_version[] = "0.14 | |
| 41 | const char build_version[] = "0.145 |
| r14361 | r14362 | |
|---|---|---|
| 494 | 494 | COBJFLAGS += \ |
| 495 | 495 | -Wpointer-arith |
| 496 | 496 | |
| 497 | # warnings only applicable to C++ compiles | |
| 498 | CPPONLYFLAGS += \ | |
| 499 | -Woverloaded-virtual | |
| 497 | 500 | |
| 498 | 501 | |
| 499 | 502 | #------------------------------------------------- |
| r14361 | r14362 | |
| 636 | 639 | |
| 637 | 640 | all: default tools |
| 638 | 641 | |
| 639 | FLAC_LIB = $(OBJ)/libflac.a $(OBJ)/libflac++.a | |
| 642 | FLAC_LIB = $(OBJ)/libflac.a | |
| 643 | # $(OBJ)/libflac++.a | |
| 640 | 644 | |
| 641 | 645 | |
| 642 | 646 | #------------------------------------------------- |
| Previous | 15994 Revisions | Next |