| Previous | 15994 Revisions | Next |
| r4963 Monday 8th June, 2009 at 11:26:44 UTC by Nathan Woods |
|---|
| Updated to MAME 0.132 core |
| [ROOT] | whatsnew.txt |
| [docs] | messnew.txt |
| [src] | version.c |
| [src/emu] | cpuexec.h crsshair.h devintrf.c devintrf.h devtempl.h sound.h timer.h video.c video.h watchdog.c |
| [src/emu/cpu/arm7] | arm7.c arm7core.c |
| [src/emu/cpu/dsp56k] | dsp56k.h dsp56mem.c dsp56pcu.c |
| [src/emu/cpu/esrip] | esrip.c |
| [src/emu/cpu/h83002] | h8_8.c |
| [src/emu/cpu/i860] | i860dec.c i860dis.c |
| [src/emu/cpu/m37710] | m37710.c |
| [src/emu/cpu/pdp1] | tx0.c |
| [src/emu/cpu/ssem] | ssem.c |
| [src/emu/cpu/tlcs900] | dasm900.c |
| [src/emu/cpu/tms57002] | tmsmake.c |
| [src/emu/cpu/z80] | z80.c |
| [src/emu/machine] | 6522via.h 6526cia.h 6532riot.h 6821pia.c 6821pia.h 6840ptm.c 6840ptm.h 6850acia.h 68681.h 74123.h 8255ppi.h 8257dma.h adc083x.c adc083x.h adc1213x.c adc1213x.h at28c16.h cdp1852.h ds1302.c ds1302.h eepromdev.h i2cmem.c i2cmemdev.h i8243.h idectrl.h laserdsc.h latch8.h mb3773.c mb3773.h msm6242.h pd4990a.c pd4990a.h rp5h01.c rp5h01.h smc91c9x.h timekpr.h upd4701.c upd4701.h x2212.h z80ctc.h z80dma.h z80pio.h z80sio.h |
| [src/emu/sound] | cdp1869.h okim6258.h okim6376.c pokey.c |
| [src/emu/video] | mc6845.h tms9927.h tms9928a.c voodoo.c voodoo.h |
| [src/mame] | mame.mak mamedriv.c |
| [src/mame/audio] | atarijsa.c namco52.c namco52.h namco54.c namco54.h trackfld.c wiping.c |
| [src/mame/drivers] | 86lions.c aleck64.c aristmk4.c* aristmk5.c arkanoid.c atarisy2.c beaminv.c blktiger.c bogeyman.c bublbobl.c cliffhgr.c cps1.c cps2.c cubeqst.c darius.c ddragon.c dkong.c fantland.c fastfred.c gal3.c galaga.c galaxian.c galaxold.c galdrvr.c gameplan.c ghosteo.c goldstar.c gottlieb.c highvdeo.c hornet.c igs_blit.c itech32.c jangou.c junofrst.c kaneko16.c kyugo.c laserbas.c lasso.c m10.c maygay1b.c maygayv1.c mcr68.c megadriv.c megazone.c meritm.c metro.c mexico86.c mhavoc.c mirax.c mjkjidai.c model2.c mpu4.c naomi.c nbmj8688.c nightgal.c ninjakd2.c ninjaw.c nova2001.c pacman.c paradise.c phoenix.c plygonet.c powerins.c psikyo.c retofinv.c rockola.c royalmah.c scramble.c scregg.c segas16a.c segas16b.c seta.c sfbonus.c shadfrce.c shougi.c snk.c sprint2.c suna8.c suprgolf.c system1.c system16.c taito_z.c tokyocop.c trackfld.c triforce.c twinkle.c vcombat.c vegas.c warriorb.c williams.c wiping.c wiz.c |
| [src/mame/includes] | archimds.h kaneko16.h m79amb.h naomi.h naomibd.h rockola.h sei_crtc.h seta.h suprnova.h system16.h tatsumi.h tetrisp2.h tnzs.h tx1.h wiping.h* |
| [src/mame/layout] | connect4.lay |
| [src/mame/machine] | archimds.c atari_vg.h mathbox.h namco06.c namco06.h namco50.c namco50.h namco51.c namco51.h namco53.c namco53.h pcecommn.c scramble.c seicop.c zs01.c |
| [src/mame/video] | dc.c ninjakd2.c rockola.c system16.c trackfld.c tx1.c wiping.c |
| [src/mess] | mess.mak |
| [src/mess/audio] | mea8000.h |
| [src/mess/devices] | cartslot.h cassette.h kermit.h snapquik.h xmodem.h |
| [src/mess/drivers] | a7800.c ami1200.c amiga.c apf.c apple2gs.c c128.c c16.c c64.c c65.c cbmb.c cpschngr.c cybiko.c genesis.c intv.c lisa.c lynx.c mac.c nc.c pmd85.c ql.c thomson.c timex.c vc20.c vectrex.c z1013.c |
| [src/mess/includes] | cbmieeeb.h cbmserb.h |
| [src/mess/machine] | 6525tpi.h 6530miot.h adc080x.h applefdc.h at45dbxx.h ay31015.h cdp1871.h com8116.h ctronics.h ins8250.h |
| [src/osd/winui] | layout.c mameui.rc mui_opts.c mui_opts.h mui_util.c mui_util.h properties.c resource.h treeview.c treeview.h winui.mak |
| [src/osd/winui/help/docs] | whatsnew.txt |
| [src/osd/winui/help/html] | mameui_changes.txt |
| [src/osd/winui/res] | mameui.ico |
| r4962 | r4963 | |
|---|---|---|
| 2 | 2 | #include "sound/vlm5030.h" |
| 3 | 3 | #include "sound/msm5205.h" |
| 4 | 4 | #include "sound/sn76496.h" |
| 5 | #include "includes/trackfld.h" | |
| 5 | 6 | |
| 6 | 7 | |
| 7 | 8 | #define TIMER_RATE (4096/4) |
| r4962 | r4963 | |
|---|---|---|
| 871 | 871 | MDRV_IMPORT_FROM(jsa_iii_mono) |
| 872 | 872 | |
| 873 | 873 | /* sound hardware */ |
| 874 | MDRV_ | |
| 874 | MDRV_ | |
| 875 | 875 | MACHINE_DRIVER_END |
| 876 | 876 | |
| 877 | 877 |
| r4962 | r4963 | |
|---|---|---|
| 171 | 171 | DEVICE INTERFACE |
| 172 | 172 | ***************************************************************************/ |
| 173 | 173 | |
| 174 | ADDRESS_MAP_START( namco_52xx_map_io, ADDRESS_SPACE_IO, 8 ) | |
| 174 | static ADDRESS_MAP_START( namco_52xx_map_io, ADDRESS_SPACE_IO, 8 ) | |
| 175 | 175 | AM_RANGE(MB88_PORTK, MB88_PORTK) AM_READ(namco_52xx_K_r) |
| 176 | 176 | AM_RANGE(MB88_PORTO, MB88_PORTO) AM_WRITE(namco_52xx_O_w) |
| 177 | 177 | AM_RANGE(MB88_PORTP, MB88_PORTP) AM_WRITE(namco_52xx_P_w) |
| r4962 | r4963 | |
| 230 | 230 | device definition |
| 231 | 231 | -------------------------------------------------*/ |
| 232 | 232 | |
| 233 | static const char | |
| 233 | static const char | |
| 234 | 234 | |
| 235 | 235 | #define DEVTEMPLATE_ID(p,s) p##namco_52xx##s |
| 236 | 236 | #define DEVTEMPLATE_FEATURES DT_HAS_START | DT_HAS_ROM_REGION | DT_HAS_MACHINE_CONFIG |
| r4962 | r4963 | |
|---|---|---|
| 138 | 138 | DEVICE INTERFACE |
| 139 | 139 | ***************************************************************************/ |
| 140 | 140 | |
| 141 | ADDRESS_MAP_START( namco_54xx_map_io, ADDRESS_SPACE_IO, 8 ) | |
| 141 | static ADDRESS_MAP_START( namco_54xx_map_io, ADDRESS_SPACE_IO, 8 ) | |
| 142 | 142 | AM_RANGE(MB88_PORTK, MB88_PORTK) AM_READ(namco_54xx_K_r) |
| 143 | 143 | AM_RANGE(MB88_PORTO, MB88_PORTO) AM_WRITE(namco_54xx_O_w) |
| 144 | 144 | AM_RANGE(MB88_PORTR0, MB88_PORTR0) AM_READ(namco_54xx_R0_r) |
| r4962 | r4963 | |
| 186 | 186 | device definition |
| 187 | 187 | -------------------------------------------------*/ |
| 188 | 188 | |
| 189 | static const char | |
| 189 | static const char | |
| 190 | 190 | |
| 191 | 191 | #define DEVTEMPLATE_ID(p,s) p##namco_54xx##s |
| 192 | 192 | #define DEVTEMPLATE_FEATURES DT_HAS_START | DT_HAS_ROM_REGION | DT_HAS_MACHINE_CONFIG | DT_HAS_INLINE_CONFIG |
| r4962 | r4963 | |
|---|---|---|
| 20 | 20 | MDRV_DEVICE_ADD(_tag, NAMCO_52XX, _clock) \ |
| 21 | 21 | MDRV_DEVICE_CONFIG(_interface) |
| 22 | 22 | |
| 23 | #define MDRV_NAMCO_52XX_REMOVE(_tag) \ | |
| 24 | MDRV_DEVICE_REMOVE(_tag) | |
| 25 | 23 | |
| 26 | ||
| 27 | 24 | WRITE8_DEVICE_HANDLER( namco_52xx_write ); |
| 28 | 25 | |
| 29 | 26 |
| r4962 | r4963 | |
|---|---|---|
| 17 | 17 | MDRV_DEVICE_CONFIG_DATAPTR(namco_54xx_config, discrete, _discrete) \ |
| 18 | 18 | MDRV_DEVICE_CONFIG_DATA32(namco_54xx_config, firstnode, _firstnode) |
| 19 | 19 | |
| 20 | #define MDRV_NAMCO_54XX_REMOVE(_tag) \ | |
| 21 | MDRV_DEVICE_REMOVE(_tag) | |
| 22 | 20 | |
| 23 | ||
| 24 | 21 | WRITE8_DEVICE_HANDLER( namco_54xx_write ); |
| 25 | 22 | |
| 26 | 23 |
| r4962 | r4963 | |
|---|---|---|
| 8 | 8 | |
| 9 | 9 | #include "driver.h" |
| 10 | 10 | #include "streams.h" |
| 11 | #include "includes/wiping.h" | |
| 11 | 12 | |
| 12 | 13 | |
| 13 | 14 | /* 8 voices max */ |
| r4962 | r4963 | |
|---|---|---|
| 13 | 13 | #define MDRV_ATARIVGEAROM_ADD(_tag) \ |
| 14 | 14 | MDRV_DEVICE_ADD(_tag, ATARIVGEAROM, 0) |
| 15 | 15 | |
| 16 | #define MDRV_ATARIVGEAROM_REMOVE(_tag) \ | |
| 17 | MDRV_DEVICE_REMOVE(_tag) | |
| 18 | 16 | |
| 19 | 17 | /*************************************************************************** |
| 20 | 18 | FUNCTION PROTOTYPES |
| r4962 | r4963 | |
|---|---|---|
| 293 | 293 | device definition |
| 294 | 294 | -------------------------------------------------*/ |
| 295 | 295 | |
| 296 | static const char | |
| 296 | static const char | |
| 297 | 297 | |
| 298 | 298 | #define DEVTEMPLATE_ID(p,s) p##namco_06xx##s |
| 299 | 299 | #define DEVTEMPLATE_FEATURES DT_HAS_START | DT_HAS_RESET | DT_HAS_INLINE_CONFIG |
| r4962 | r4963 | |
|---|---|---|
| 23 | 23 | MDRV_DEVICE_CONFIG_DATAPTR(namco_06xx_config, chip2, _chip2) \ |
| 24 | 24 | MDRV_DEVICE_CONFIG_DATAPTR(namco_06xx_config, chip3, _chip3) |
| 25 | 25 | |
| 26 | #define MDRV_NAMCO_06XX_REMOVE(_tag) \ | |
| 27 | MDRV_DEVICE_REMOVE(_tag) | |
| 28 | 26 | |
| 29 | ||
| 30 | 27 | READ8_DEVICE_HANDLER( namco_06xx_data_r ); |
| 31 | 28 | WRITE8_DEVICE_HANDLER( namco_06xx_data_w ); |
| 32 | 29 | READ8_DEVICE_HANDLER( namco_06xx_ctrl_r ); |
| r4962 | r4963 | |
|---|---|---|
| 120 | 120 | cavelon_banksw(space->machine); |
| 121 | 121 | |
| 122 | 122 | if ((offset >= 0x0100) && (offset <= 0x0103)) |
| 123 | return ppi8255_r( | |
| 123 | return ppi8255_r( | |
| 124 | 124 | else if ((offset >= 0x0200) && (offset <= 0x0203)) |
| 125 | return ppi8255_r( | |
| 125 | return ppi8255_r( | |
| 126 | 126 | |
| 127 | 127 | return 0xff; |
| 128 | 128 | } |
| r4962 | r4963 | |
|---|---|---|
| 145 | 145 | DEVICE INTERFACE |
| 146 | 146 | ***************************************************************************/ |
| 147 | 147 | |
| 148 | ADDRESS_MAP_START( namco_53xx_map_io, ADDRESS_SPACE_IO, 8 ) | |
| 148 | static ADDRESS_MAP_START( namco_53xx_map_io, ADDRESS_SPACE_IO, 8 ) | |
| 149 | 149 | AM_RANGE(MB88_PORTK, MB88_PORTK) AM_READ(namco_53xx_K_r) |
| 150 | 150 | AM_RANGE(MB88_PORTO, MB88_PORTO) AM_WRITE(namco_53xx_O_w) |
| 151 | 151 | AM_RANGE(MB88_PORTP, MB88_PORTP) AM_WRITE(namco_53xx_P_w) |
| r4962 | r4963 | |
| 196 | 196 | device definition |
| 197 | 197 | -------------------------------------------------*/ |
| 198 | 198 | |
| 199 | static const char | |
| 199 | static const char | |
| 200 | 200 | |
| 201 | 201 | #define DEVTEMPLATE_ID(p,s) p##namco_53xx##s |
| 202 | 202 | #define DEVTEMPLATE_FEATURES DT_HAS_START | DT_HAS_ROM_REGION | DT_HAS_MACHINE_CONFIG |
| r4962 | r4963 | |
|---|---|---|
| 17 | 17 | MDRV_DEVICE_ADD(_tag, NAMCO_53XX, _clock) \ |
| 18 | 18 | MDRV_DEVICE_CONFIG(_interface) |
| 19 | 19 | |
| 20 | #define MDRV_NAMCO_53XX_REMOVE(_tag) \ | |
| 21 | MDRV_DEVICE_REMOVE(_tag) | |
| 22 | 20 | |
| 23 | ||
| 24 | 21 | void namco_53xx_read_request(const device_config *device); |
| 25 | 22 | READ8_DEVICE_HANDLER( namco_53xx_read ); |
| 26 | 23 |
| r4962 | r4963 | |
|---|---|---|
| 29 | 29 | /* todo: how many input ports does the PCE have? */ |
| 30 | 30 | WRITE8_HANDLER ( pce_joystick_w ) |
| 31 | 31 | { |
| 32 | h6280io_set_buffer( | |
| 32 | h6280io_set_buffer( | |
| 33 | 33 | /* bump counter on a low-to-high transition of bit 1 */ |
| 34 | 34 | if((!joystick_data_select) && (data & JOY_CLOCK)) |
| 35 | 35 | { |
| r4962 | r4963 | |
|---|---|---|
| 664 | 664 | return c->sdar; |
| 665 | 665 | } |
| 666 | 666 | |
| 667 | static void nvram_handler_zs01( | |
| 667 | static void nvram_handler_zs01( | |
| 668 | 668 | { |
| 669 | 669 | struct zs01_chip *c; |
| 670 | 670 | |
| r4962 | r4963 | |
| 686 | 686 | } |
| 687 | 687 | } |
| 688 | 688 | |
| 689 | NVRAM_HANDLER( zs01_0 ) { nvram_handler_zs01( 0, machine, file, read_or_write ); } | |
| 690 | NVRAM_HANDLER( zs01_1 ) { nvram_handler_zs01( 1, machine, file, read_or_write ); } | |
| 689 | NVRAM_HANDLER( zs01_0 ) { nvram_handler_zs01( machine, file, read_or_write, 0 ); } | |
| 690 | NVRAM_HANDLER( zs01_1 ) { nvram_handler_zs01( machine, file, read_or_write, 1 ); } |
| r4962 | r4963 | |
|---|---|---|
| 254 | 254 | DEVICE INTERFACE |
| 255 | 255 | ***************************************************************************/ |
| 256 | 256 | |
| 257 | ADDRESS_MAP_START( namco_50xx_map_io, ADDRESS_SPACE_IO, 8 ) | |
| 257 | static ADDRESS_MAP_START( namco_50xx_map_io, ADDRESS_SPACE_IO, 8 ) | |
| 258 | 258 | AM_RANGE(MB88_PORTK, MB88_PORTK) AM_READ(namco_50xx_K_r) |
| 259 | 259 | AM_RANGE(MB88_PORTO, MB88_PORTO) AM_WRITE(namco_50xx_O_w) |
| 260 | 260 | AM_RANGE(MB88_PORTR0, MB88_PORTR0) AM_READ(namco_50xx_R0_r) |
| r4962 | r4963 | |
| 294 | 294 | device definition |
| 295 | 295 | -------------------------------------------------*/ |
| 296 | 296 | |
| 297 | static const char | |
| 297 | static const char | |
| 298 | 298 | |
| 299 | 299 | #define DEVTEMPLATE_ID(p,s) p##namco_50xx##s |
| 300 | 300 | #define DEVTEMPLATE_FEATURES DT_HAS_START | DT_HAS_ROM_REGION | DT_HAS_MACHINE_CONFIG |
| r4962 | r4963 | |
|---|---|---|
| 5 | 5 | #define MDRV_NAMCO_50XX_ADD(_tag, _clock) \ |
| 6 | 6 | MDRV_DEVICE_ADD(_tag, NAMCO_50XX, _clock) \ |
| 7 | 7 | |
| 8 | #define MDRV_NAMCO_50XX_REMOVE(_tag) \ | |
| 9 | MDRV_DEVICE_REMOVE(_tag) | |
| 10 | 8 | |
| 11 | ||
| 12 | 9 | READ8_DEVICE_HANDLER( namco_50xx_read ); |
| 13 | 10 | void namco_50xx_read_request(const device_config *device); |
| 14 | 11 | WRITE8_DEVICE_HANDLER( namco_50xx_write ); |
| r4962 | r4963 | |
|---|---|---|
| 314 | 314 | READ32_HANDLER(ioc_r) |
| 315 | 315 | { |
| 316 | 316 | #ifdef MESS |
| 317 | device_config *fdc = (device_config*)devtag_get_device(space->machine, "wd1772"); | |
| 317 | const device_config *fdc = (const device_config *)devtag_get_device(space->machine, "wd1772"); | |
| 318 | 318 | #endif |
| 319 | 319 | if (offset >= 0x80000 && offset < 0xc0000) |
| 320 | 320 | { |
| r4962 | r4963 | |
| 364 | 364 | WRITE32_HANDLER(ioc_w) |
| 365 | 365 | { |
| 366 | 366 | #ifdef MESS |
| 367 | device_config *fdc = (device_config*)devtag_get_device(space->machine, "wd1772"); | |
| 367 | const device_config *fdc = (const device_config *)devtag_get_device(space->machine, "wd1772"); | |
| 368 | 368 | #endif |
| 369 | 369 | if (offset >= 0x80000 && offset < 0xc0000) |
| 370 | 370 | { |
| r4962 | r4963 | |
|---|---|---|
| 13 | 13 | #define MDRV_MATHBOX_ADD(_tag) \ |
| 14 | 14 | MDRV_DEVICE_ADD(_tag, MATHBOX, 0) |
| 15 | 15 | |
| 16 | #define MDRV_MATHBOX_REMOVE(_tag) \ | |
| 17 | MDRV_DEVICE_REMOVE(_tag) | |
| 18 | 16 | |
| 19 | 17 | |
| 20 | ||
| 21 | 18 | /*************************************************************************** |
| 22 | 19 | FUNCTION PROTOTYPES |
| 23 | 20 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 350 | 350 | DEVICE INTERFACE |
| 351 | 351 | ***************************************************************************/ |
| 352 | 352 | |
| 353 | ADDRESS_MAP_START( namco_51xx_map_io, ADDRESS_SPACE_IO, 8 ) | |
| 353 | static ADDRESS_MAP_START( namco_51xx_map_io, ADDRESS_SPACE_IO, 8 ) | |
| 354 | 354 | // AM_RANGE(MB88_PORTK, MB88_PORTK) AM_READ(namco_51xx_K_r) |
| 355 | 355 | // AM_RANGE(MB88_PORTO, MB88_PORTO) AM_WRITE(namco_51xx_O_w) |
| 356 | 356 | // AM_RANGE(MB88_PORTR0, MB88_PORTR0) AM_READ(namco_51xx_R0_r) |
| r4962 | r4963 | |
| 432 | 432 | device definition |
| 433 | 433 | -------------------------------------------------*/ |
| 434 | 434 | |
| 435 | static const char | |
| 435 | static const char | |
| 436 | 436 | |
| 437 | 437 | #define DEVTEMPLATE_ID(p,s) p##namco_51xx##s |
| 438 | 438 | #define DEVTEMPLATE_FEATURES DT_HAS_START | DT_HAS_RESET | DT_HAS_ROM_REGION | DT_HAS_MACHINE_CONFIG |
| r4962 | r4963 | |
|---|---|---|
| 16 | 16 | MDRV_DEVICE_ADD(_tag, NAMCO_51XX, _clock) \ |
| 17 | 17 | MDRV_DEVICE_CONFIG(_interface) |
| 18 | 18 | |
| 19 | #define MDRV_NAMCO_51XX_REMOVE(_tag) \ | |
| 20 | MDRV_DEVICE_REMOVE(_tag) | |
| 21 | 19 | |
| 22 | ||
| 23 | 20 | READ8_DEVICE_HANDLER( namco_51xx_read ); |
| 24 | 21 | WRITE8_DEVICE_HANDLER( namco_51xx_write ); |
| 25 | 22 |
| r4962 | r4963 | |
|---|---|---|
| 73 | 73 | |
| 74 | 74 | static UINT16 copd2_offs = 0; |
| 75 | 75 | |
| 76 | static void copd2_set_tableoffset( | |
| 76 | static void copd2_set_tableoffset( | |
| 77 | 77 | { |
| 78 | 78 | logerror("mcu_offs %04x\n", data); |
| 79 | 79 | copd2_offs = data; |
| r4962 | r4963 | |
| 122 | 122 | |
| 123 | 123 | } |
| 124 | 124 | |
| 125 | static void copd2_set_tabledata( | |
| 125 | static void copd2_set_tabledata( | |
| 126 | 126 | { |
| 127 | 127 | copd2_table[copd2_offs] = data; |
| 128 | 128 | logerror("mcu_data %04x\n", data); |
| r4962 | r4963 | |
| 1153 | 1153 | case (0x024/2): { prot_bcd[2] = protection_bcd_jsr(cop_mcu_ram[offset]); break; } |
| 1154 | 1154 | |
| 1155 | 1155 | /* Command tables for 0x500 / 0x502 commands */ |
| 1156 | case (0x032/2): { copd2_set_tabledata(data, space->machine); break; } | |
| 1157 | case (0x034/2): { copd2_set_tableoffset(data, space->machine); break; } | |
| 1156 | case (0x032/2): { copd2_set_tabledata(space->machine, data); break; } | |
| 1157 | case (0x034/2): { copd2_set_tableoffset(space->machine, data); break; } | |
| 1158 | 1158 | case (0x038/2): { cop_438 = data; break; } |
| 1159 | 1159 | case (0x03a/2): { cop_43a = data; break; } |
| 1160 | 1160 | case (0x03c/2): { cop_43c = data; break; } |
| r4962 | r4963 | |
|---|---|---|
| 167 | 167 | DRIVER( skyraidr ) /* bootleg */ |
| 168 | 168 | DRIVER( batman2 ) /* bootleg */ |
| 169 | 169 | DRIVER( warofbug ) /* (c) 1981 Armenia */ |
| 170 | DRIVER( redufo ) /* bootleg - original should be (c) Artic */ | |
| 170 | DRIVER( redufo ) /* bootleg - original should be (c) Artic / Arcade TV Game List (P.104, Left, 25 from top) */ | |
| 171 | 171 | DRIVER( exodus ) /* Subelectro - bootleg? */ |
| 172 | 172 | DRIVER( streakng ) /* [1980] Shoei */ |
| 173 | 173 | DRIVER( pacmanbl ) /* bootleg */ |
| r4962 | r4963 | |
| 178 | 178 | DRIVER( jumpbugb ) /* (c) 1981 Sega */ |
| 179 | 179 | DRIVER( levers ) /* (c) 1983 Rock-ola */ |
| 180 | 180 | DRIVER( azurian ) /* (c) 1982 Rait Electronics Ltd */ |
| 181 | DRIVER( orbitron ) /* Signatron USA */ | |
| 181 | DRIVER( orbitron ) /* (c) 1982 Signatron USA (Arcade Tv Game List - P.160, Left, 22 from top) */ | |
| 182 | 182 | DRIVER( mooncrgx ) /* bootleg */ |
| 183 | 183 | DRIVER( mooncrst ) /* (c) 1980 Nichibutsu */ |
| 184 | 184 | DRIVER( mooncrsu ) /* (c) 1980 Nichibutsu USA */ |
| r4962 | r4963 | |
| 232 | 232 | DRIVER( luctoday ) /* 1980 Sigma */ |
| 233 | 233 | DRIVER( chewing ) /* ?? unknown */ |
| 234 | 234 | DRIVER( catacomb ) /* 1982 MTM Games */ |
| 235 | DRIVER( ckongg ) /* 1981 bootleg */ | |
| 236 | DRIVER( kkgalax ) /* 1981 bootleg */ | |
| 237 | DRIVER( porter ) /* 19?? bootleg */ | |
| 235 | DRIVER( ckongg ) /* 1981 bootleg */ | |
| 236 | DRIVER( kkgalax ) /* 1981 bootleg */ | |
| 237 | DRIVER( porter ) /* 1982 bootleg (Arcade TV Game List - P.98, Left, 15 from bottom) */ | |
| 238 | 238 | |
| 239 | 239 | /* Has some similarities with Moon Cresta but Board is very different */ |
| 240 | 240 | DRIVER( rockclim ) /* (c)1981 Taito */ |
| r4962 | r4963 | |
| 273 | 273 | DRIVER( cavelon ) /* (c) 1983 Jetsoft */ |
| 274 | 274 | DRIVER( sfx ) /* (c) 1983 Nichibutsu */ |
| 275 | 275 | DRIVER( skelagon ) /* (c) 1983 Nichibutsu USA */ |
| 276 | DRIVER( monsterz ) /* (c) 198 | |
| 276 | DRIVER( monsterz ) /* (c) 1982 Nihon (Arcade TV Game List - P.102, Left, 20 from top) */ | |
| 277 | 277 | DRIVER( mimonscr ) /* Universal Video Games */ |
| 278 | 278 | DRIVER( mimonkey ) /* bootleg */ |
| 279 | 279 | DRIVER( mimonsco ) /* bootleg */ |
| r4962 | r4963 | |
| 867 | 867 | DRIVER( cybsledj ) /* (c) 1993 */ |
| 868 | 868 | |
| 869 | 869 | /* Galaxian 3 HW */ |
| 870 | DRIVER( gal3 ) | |
| 870 | DRIVER( gal3 ) /* (c) 1992 (Arcade TV Game List - P.73, Right, 6 from top) */ | |
| 871 | 871 | |
| 872 | 872 | /* Namco System 22 games */ |
| 873 | 873 | DRIVER( ridgerac ) /* (c) 1993 */ |
| r4962 | r4963 | |
| 1383 | 1383 | /* Irem games */ |
| 1384 | 1384 | /* trivia: IREM means "International Rental Electronics Machines" */ |
| 1385 | 1385 | DRIVER( andromed ) /* (c) 1979 */ |
| 1386 | DRIVER( ipminvad ) /* M10 no copyright notice */ | |
| 1386 | DRIVER( ipminvad ) /* M10 no copyright notice (Arcade TV Game List - P.67, Left, 26 from top) */ | |
| 1387 | 1387 | DRIVER( ipminva1 ) /* M10 incomplete dump */ |
| 1388 | 1388 | DRIVER( ptrmj ) /* M14 (c) 1979 */ |
| 1389 | 1389 | DRIVER( skychut ) /* Irem [1980] */ |
| 1390 | 1390 | DRIVER( spacbeam ) /* M15 no copyright notice */ |
| 1391 | 1391 | DRIVER( greenber ) /* Irem */ |
| 1392 | DRIVER( headoni ) /* Irem no copyright notice */ | |
| 1392 | DRIVER( headoni ) /* Irem no copyright notice (1979 - Arcade TV Game List - P.98, Left, 7 from top ) */ | |
| 1393 | 1393 | |
| 1394 | 1394 | DRIVER( redalert ) /* (c) 1981 + "GDI presents" */ |
| 1395 | 1395 | DRIVER( demoneye ) /* (c) 1981 */ |
| r4962 | r4963 | |
| 2319 | 2319 | DRIVER( flashgla ) /* (c) 1985 Sega */ |
| 2320 | 2320 | DRIVER( srdmissn ) /* (c) 1986 Taito Corporation */ |
| 2321 | 2321 | DRIVER( fx ) /* bootleg */ |
| 2322 | DRIVER( legend ) /* no copyright notice [1986 Sega/Coreland | |
| 2322 | DRIVER( legend ) /* no copyright notice [1986 Sega/Coreland | |
| 2323 | 2323 | DRIVER( airwolf ) /* (c) 1987 Kyugo */ |
| 2324 | 2324 | DRIVER( airwolfa ) /* (c) 1987 Kyugo */ |
| 2325 | 2325 | DRIVER( skywolf ) /* bootleg */ |
| r4962 | r4963 | |
| 4059 | 4059 | /* Model 2B-CRX (SHARC, SCSP sound board) */ |
| 4060 | 4060 | DRIVER( vstriker ) /* 1995.05 virtua Striker */ |
| 4061 | 4061 | DRIVER( vstrikro ) |
| 4062 | DRIVER( rchase2 ) /* 1995.06 Rail Chase 2 */ | |
| 4062 | DRIVER( rchase2 ) /* 1995.06 Rail Chase 2 (Arcade TV Game List - P.104, Left, 12 from top) */ | |
| 4063 | 4063 | DRIVER( indy500 ) /* 1995.07 Indy 500 */ |
| 4064 | 4064 | DRIVER( indy500d ) |
| 4065 | 4065 | DRIVER( skytargt ) /* 1995.10 Sky Target */ |
| r4962 | r4963 | |
| 4410 | 4410 | /* 2003.07 Yonin Uchi Mahjong MJ Network Taisen ver. NEW */ |
| 4411 | 4411 | DRIVER( psyvar2 ) /* 2003.11 Psyvariar 2 */ |
| 4412 | 4412 | DRIVER( puyofev ) /* 2003.11 Puyopuyo Fever */ |
| 4413 | DRIVER( tetkiwam ) /* 2004.06 Tetris Kiwamemichi */ | |
| 4413 | DRIVER( tetkiwam ) /* 2004.06 Tetris Kiwamemichi (Arcade TV Game List - P.88, Right, 11 from bottom) */ | |
| 4414 | 4414 | DRIVER( cfield ) /* 2004.06 Chaos Field */ |
| 4415 | 4415 | DRIVER( trizeal ) /* 2004.09 Trizeal */ |
| 4416 | 4416 | /* 2005.03 Melty Blood Act Cadenza */ |
| r4962 | r4963 | |
| 6393 | 6393 | DRIVER( buriki ) /* 007 1999/05/21 Buriki One */ |
| 6394 | 6394 | |
| 6395 | 6395 | /* Alpha Denshi games */ |
| 6396 | DRIVER( shougi ) | |
| 6397 | DRIVER( shougi2 ) | |
| 6396 | DRIVER( shougi ) /* (c) 1982 (Arcade TV Game List - P.80, Left, 9 from top) */ | |
| 6397 | DRIVER( shougi2 ) /* (c) 1982 (Arcade TV Game List - P.80, Left, 10 from top) */ | |
| 6398 | 6398 | DRIVER( champbas ) /* (c) 1983 Sega */ |
| 6399 | 6399 | DRIVER( champbbj ) /* (c) 1983 Alpha Denshi Co. */ |
| 6400 | 6400 | DRIVER( champbja ) /* (c) 1983 Alpha Denshi Co. */ |
| r4962 | r4963 | |
| 6442 | 6442 | /* Technos games */ |
| 6443 | 6443 | DRIVER( scregg ) /* TA-0001 (c) 1983 */ |
| 6444 | 6444 | DRIVER( eggs ) /* TA-0002 (c) 1983 Universal USA */ |
| 6445 | DRIVER( dommy ) /* TA-00?? (c) */ | |
| 6445 | DRIVER( dommy ) /* TA-00?? (c) 1983 (Arcade TV Game List - P.90, Left, 13 from top) */ | |
| 6446 | 6446 | DRIVER( bigprowr ) /* TA-0007 (c) 1983 */ |
| 6447 | 6447 | DRIVER( tagteam ) /* TA-0007 (c) 1983 + Data East license */ |
| 6448 | 6448 | DRIVER( ssozumo ) /* TA-0008 (c) 1984 */ |
| r4962 | r4963 | |
| 6450 | 6450 | DRIVER( myststno ) /* TA-0010 (c) 1984 */ |
| 6451 | 6451 | DRIVER( dogfgt ) /* TA-0011 (c) 1984 */ |
| 6452 | 6452 | DRIVER( dogfgtj ) /* TA-0011 (c) 1984 */ |
| 6453 | DRIVER( bogeyman ) /* -0204-0 (Data East part number) (c) | |
| 6453 | DRIVER( bogeyman ) /* -0204-0 (Data East part number) (c) | |
| 6454 | 6454 | DRIVER( matmania ) /* TA-0015 (c) 1985 + Taito America license */ |
| 6455 | 6455 | DRIVER( excthour ) /* TA-0015 (c) 1985 + Taito license */ |
| 6456 | 6456 | DRIVER( maniach ) /* TA-0017 (c) 1986 + Taito America license */ |
| r4962 | r4963 | |
| 6517 | 6517 | DRIVER( wwfwfstj ) /* TA-0031 (c) 1991 (Japan) */ |
| 6518 | 6518 | DRIVER( shadfrce ) /* TA-0032 (c) 1993 (US) */ |
| 6519 | 6519 | DRIVER( shadfrcj ) /* TA-0032 (c) 1993 (Japan) */ |
| 6520 | DRIVER( shadfrcjv2 ) /* TA-0032 (c) 1993 (Japan) */ | |
| 6520 | 6521 | |
| 6521 | 6522 | /* Stern "Berzerk hardware" games */ |
| 6522 | 6523 | DRIVER( berzerk ) /* (c) 1980 */ |
| r4962 | r4963 | |
| 6565 | 6566 | DRIVER( ninjakun ) /* UPL-84003 (c) 1984 Taito Corporation */ |
| 6566 | 6567 | DRIVER( raiders5 ) /* UPL-85004 (c) 1985 */ |
| 6567 | 6568 | DRIVER( raidrs5t ) /* UPL-85004 (c) 1985 Taito license */ |
| 6568 | DRIVER( pkunwar ) /* UPL-????? [1985?] */ | |
| 6569 | DRIVER( pkunwarj ) /* UPL-????? [1985?] */ | |
| 6569 | DRIVER( pkunwar ) /* UPL-????? (c) 1985 (Arcade Game TV List - P.98, Left, 22 from top) */ | |
| 6570 | DRIVER( pkunwarj ) /* UPL-????? (c) 1985 (Arcade Game TV List - P.98, Left, 22 from top) */ | |
| 6570 | 6571 | DRIVER( xxmissio ) /* UPL-86001 [1986] */ |
| 6571 | 6572 | DRIVER( ninjakd2 ) /* UPL-????? (c) 1987 */ |
| 6572 | 6573 | DRIVER( ninjak2a ) /* UPL-????? (c) 1987 */ |
| 6573 | 6574 | DRIVER( ninjak2b ) /* UPL-????? (c) 1987 */ |
| 6574 | 6575 | DRIVER( rdaction ) /* UPL-87003?(c) 1987 + World Games license */ |
| 6575 | 6576 | DRIVER( mnight ) /* UPL-????? (c) 1987 distributed by Kawakus */ |
| 6576 | DRIVER( arkarea ) /* UPL-87007 (c) | |
| 6577 | DRIVER( arkarea ) /* UPL-87007 (c) | |
| 6577 | 6578 | DRIVER( robokid ) /* UPL-88013 (c) 1988 */ |
| 6578 | 6579 | DRIVER( robokidj ) /* UPL-88013 (c) 1988 */ |
| 6579 | 6580 | DRIVER( robokdj2 ) /* UPL-88013 (c) 1988 */ |
| r4962 | r4963 | |
| 7311 | 7312 | */ |
| 7312 | 7313 | |
| 7313 | 7314 | /* Galeco PC based games */ |
| 7314 | DRIVER( tokyocop ) | |
| 7315 | DRIVER( tokyocop ) /* (c) 2003 (Arcade TV Game List - P.168, Right, 19 from bottom) */ | |
| 7315 | 7316 | |
| 7316 | 7317 | /* Kaneko games */ |
| 7317 | 7318 | DRIVER( hvyunit ) /* (c) 1988 Kaneko */ |
| r4962 | r4963 | |
| 7416 | 7417 | DRIVER( wits ) /* (c) 1989 Athena (Visco license) */ |
| 7417 | 7418 | DRIVER( thunderl ) /* (c) 1990 Seta + Romstar or Visco license (DSW) */ |
| 7418 | 7419 | DRIVER( wiggie ) /* (c) 1994 Promat (not genuine seta hardware, but based on thunderl code) */ |
| 7420 | DRIVER( jockeyc ) /* (c) 1990 [Seta] (Visco license) */ | |
| 7419 | 7421 | DRIVER( rezon ) /* (c) 1991 Allumer */ |
| 7420 | 7422 | DRIVER( rezont ) /* (c) 1991 Allumer / Taito */ |
| 7421 | 7423 | DRIVER( stg ) /* (c) 1991 Athena / Tecmo */ |
| r4962 | r4963 | |
| 7526 | 7528 | DRIVER( vivdolls ) /* (c) 1998 Visco */ |
| 7527 | 7529 | DRIVER( srmvs ) /* (c) 1999 Seta */ |
| 7528 | 7530 | DRIVER( twrshaft ) /* (c) 2003 Aruze */ |
| 7529 | DRIVER( hipai ) | |
| 7530 | DRIVER( doncdoon ) | |
| 7531 | DRIVER( kurufev ) | |
| 7532 | DRIVER( mayjin3 ) | |
| 7531 | DRIVER( hipai ) /* (c) 2003 Seta/Aruze (Arcade TV Game List - P.92, Right, 16 from top) */ | |
| 7532 | DRIVER( doncdoon ) /* (c) 2003 Aruze (Arcade TV Game List - P.90, Right, 8 from bottom) */ | |
| 7533 | DRIVER( kurufev ) /* (c) 2003 Aruze (Arcade TV Game List - P.75, Right, 1st entry on top) */ | |
| 7534 | DRIVER( mayjin3 ) /* (c) 2000 Seta (Arcade TV Game List - P.101, Right, 9 from top) */ | |
| 7533 | 7535 | |
| 7536 | ||
| 7534 | 7537 | /* Atlus games */ |
| 7535 | 7538 | DRIVER( powerins ) /* (c) 1993 Atlus (USA) */ |
| 7536 | 7539 | DRIVER( powerinj ) /* (c) 1993 Atlus (Japan) */ |
| r4962 | r4963 | |
| 7695 | 7698 | |
| 7696 | 7699 | /* Metro games */ |
| 7697 | 7700 | DRIVER( karatour ) /* (c) 1992 Mitchell */ |
| 7698 | DRIVER( ladykill ) /* Yanyaka + Mitchell license */ | |
| 7699 | DRIVER( moegonta ) /* Yanyaka (Japan) */ | |
| 7701 | DRIVER( ladykill ) /* (c) 1993 Yanyaka + Mitchell license - (Arcade TV Game List - P.101, Right, 2 from Bottom) */ | |
| 7702 | DRIVER( moegonta ) /* (c) 1993 Yanyaka (Japan) (Arcade TV Game List - P.101, Right, 2 from Bottom) */ | |
| 7700 | 7703 | DRIVER( pangpoms ) /* (c) 1992 */ |
| 7701 | 7704 | DRIVER( pangpomm ) /* (c) 1992 Mitchell / Metro */ |
| 7702 | 7705 | DRIVER( skyalert ) /* (c) 1992 */ |
| r4962 | r4963 | |
| 7728 | 7731 | DRIVER( gstrik2 ) /* (c) 1996 Human Amusement */ |
| 7729 | 7732 | DRIVER( hyprduel ) /* (c) 1993 Technosoft (World) */ |
| 7730 | 7733 | DRIVER( hyprdelj ) /* (c) 1993 Technosoft (Japan) */ |
| 7731 | DRIVER( magerror ) /* (c) 199 | |
| 7734 | DRIVER( magerror ) /* (c) 1994 Technosoft (Japan) (Arcade TV Game List - P.100, Left, 13 from Bottom) */ | |
| 7732 | 7735 | DRIVER( puzzlet ) /* (c) 2000 Yunizu Corporation (Japan) */ |
| 7733 | 7736 | |
| 7734 | 7737 | /* Venture Line games */ |
| r4962 | r4963 | |
| 7823 | 7826 | DRIVER( openmj ) /* (c) 1982 Nichibutsu */ |
| 7824 | 7827 | DRIVER( royalmah ) /* Falcon bootleg */ |
| 7825 | 7828 | DRIVER( janyoup2 ) /* Falcon bootleg */ |
| 7829 | DRIVER( janputer ) /* (c) 1982 Taito */ | |
| 7826 | 7830 | DRIVER( janoh ) /* (c) 1984 Toaplan */ |
| 7827 | 7831 | DRIVER( janoha ) /* (c) 1984 Toaplan */ |
| 7828 | 7832 | DRIVER( jansou ) /* (c) 1985 Dyna */ |
| r4962 | r4963 | |
| 8060 | 8064 | DRIVER( starcrus ) /* (c) 1977 Ramtek */ |
| 8061 | 8065 | |
| 8062 | 8066 | /* Omori games */ |
| 8063 | DRIVER( shuttlei ) /* (c) 197 | |
| 8067 | DRIVER( shuttlei ) /* (c) 1979 Omori (Arcade Tv Game List - P.79, Left, 6 from bottom) */ | |
| 8064 | 8068 | DRIVER( battlex ) /* (c) 1982 Omori E. Co., Ltd. */ |
| 8065 | 8069 | DRIVER( carjmbre ) /* (c) 1983 Omori Electric Co., Ltd. */ |
| 8066 | 8070 | DRIVER( popper ) /* (c) 1983 Omori Electric Co., Ltd. */ |
| r4962 | r4963 | |
| 8452 | 8456 | DRIVER( bbprot ) /* unfinished prototype */ |
| 8453 | 8457 | DRIVER( flower ) /* (c) 1986 Komax */ |
| 8454 | 8458 | DRIVER( flowers ) /* (c) 1986 Sega/Alpha */ |
| 8455 | DRIVER( beaminv ) /* Tekunon Kougyou */ | |
| 8456 | DRIVER( beaminva ) /* Tekunon Kougyou */ | |
| 8459 | DRIVER( beaminv ) /* (c) 1979 Tekunon Kougyou (Arcade TV Game List - P.95, Left, 9 from top) */ | |
| 8460 | DRIVER( beaminva ) /* (c) 1979 Tekunon Kougyou (Arcade TV Game List - P.95, Left, 9 from top) */ | |
| 8457 | 8461 | DRIVER( mcatadv ) /* (c) 1993 Wintechno */ |
| 8458 | 8462 | DRIVER( mcatadvj ) /* (c) 1993 Wintechno */ |
| 8459 | 8463 | DRIVER( catt ) /* (c) 1993 Wintechno */ |
| r4962 | r4963 | |
| 8656 | 8660 | DRIVER( megat5 ) /* (c) 1997 Merit */ |
| 8657 | 8661 | DRIVER( megat5nj ) /* (c) 1997 Merit */ |
| 8658 | 8662 | DRIVER( megat6 ) /* (c) 1998 Merit */ |
| 8659 | DRIVER( suprgolf ) /* (c) 19 | |
| 8663 | DRIVER( suprgolf ) /* (c) 1989 Nasco */ | |
| 8660 | 8664 | DRIVER( hotblock ) /* (c) 1993 Nics? / Nix? */ |
| 8661 | 8665 | DRIVER( pntnpuzl ) /* Century? */ |
| 8662 | 8666 | DRIVER( trucocl ) /* (c) 1991 Miky SRL */ |
| r4962 | r4963 | |
| 8673 | 8677 | DRIVER( mdrawpkr ) /* (c) 19?? */ |
| 8674 | 8678 | DRIVER( laserbas ) /* (c) 1981 Amstar/HOEI */ |
| 8675 | 8679 | DRIVER( laserbsa ) /* (c) 1981 Amstar/HOEI */ |
| 8676 | DRIVER( futflash ) /* (c) 19 | |
| 8680 | DRIVER( futflash ) /* (c) 1981 HOEI (Arcade TV Game List - P.96, Right, 18 from top) */ | |
| 8677 | 8681 | DRIVER( turbosub ) /* (c) 1985 Entertainment Sciences */ |
| 8678 | 8682 | DRIVER( turbosb7 ) /* (c) 1985 Entertainment Sciences */ |
| 8679 | 8683 | DRIVER( turbosb6 ) /* (c) 1985 Entertainment Sciences */ |
| r4962 | r4963 | |
| 9081 | 9085 | DRIVER( 86lions ) /* (c) 1985? */ |
| 9082 | 9086 | DRIVER( caswin ) /* (c) 1985 */ |
| 9083 | 9087 | |
| 9088 | /* Aristocrat Mk4 hardware */ | |
| 9089 | DRIVER( eforest ) /* (c) 1994 */ | |
| 9090 | ||
| 9084 | 9091 | /* Aristocrat Mk5 hardware */ |
| 9085 | 9092 | DRIVER( swthrt2v ) /* (c) 1995 */ |
| 9086 | 9093 | DRIVER( enchfrst ) /* (c) 1995 */ |
| 9094 | DRIVER( dolphntr ) /* (c) 1996 */ | |
| 9095 | DRIVER( dolphtra ) /* (c) 1996 */ | |
| 9087 | 9096 | DRIVER( dmdtouch ) /* (c) 1997 */ |
| 9088 | 9097 | DRIVER( goldprmd ) /* (c) 1997 */ |
| 9089 | 9098 | DRIVER( qotn ) /* (c) 1997 */ |
| r4962 | r4963 | |
|---|---|---|
| 68 | 68 | extern int ssv_tilemap_offsx, ssv_tilemap_offsy; |
| 69 | 69 | |
| 70 | 70 | extern UINT16 *eaglshot_gfxram, *gdfs_tmapram, *gdfs_tmapscroll; |
| 71 | extern char eaglshot_dirty, *eaglshot_dirty_tile; | |
| 72 | 71 | |
| 73 | 72 | READ16_HANDLER( ssv_vblank_r ); |
| 74 | 73 | WRITE16_HANDLER( ssv_scroll_w ); |
| r4962 | r4963 | |
|---|---|---|
| 26 | 26 | WRITE8_HANDLER( tnzs_mcu_w ); |
| 27 | 27 | INTERRUPT_GEN( arknoid2_interrupt ); |
| 28 | 28 | MACHINE_RESET( tnzs ); |
| 29 | WRITE8_HANDLER( tnzs_sharedram_w ); | |
| 30 | 29 | WRITE8_HANDLER( tnzs_bankswitch_w ); |
| 31 | 30 | WRITE8_HANDLER( tnzs_bankswitch1_w ); |
| 32 | 31 |
| r4962 | r4963 | |
|---|---|---|
| 12 | 12 | JVSBD_KEYBOARD |
| 13 | 13 | }; |
| 14 | 14 | |
| 15 | /*----------- defined in machine/naomi.c -----------*/ | |
| 16 | ||
| 15 | 17 | extern DRIVER_INIT( naomi ); |
| 16 | 18 | extern DRIVER_INIT( naomi_mp ); |
| 17 | 19 |
| r4962 | r4963 | |
|---|---|---|
| 1 | /*----------- defined in video -----------*/ | |
| 1 | /*----------- defined in video/sei_crtc.c -----------*/ | |
| 2 | 2 | |
| 3 | 3 | extern UINT16 *seibucrtc_sc0vram,*seibucrtc_sc1vram,*seibucrtc_sc2vram,*seibucrtc_sc3vram; |
| 4 | 4 | extern UINT16 *seibucrtc_vregs; |
| 5 | 5 | extern UINT16 seibucrtc_sc0bank; |
| 6 | 6 | |
| 7 | /*----------- defined in drivers -----------*/ | |
| 8 | ||
| 9 | 7 | WRITE16_HANDLER( seibucrtc_sc0vram_w ); |
| 10 | 8 | WRITE16_HANDLER( seibucrtc_sc1vram_w ); |
| 11 | 9 | WRITE16_HANDLER( seibucrtc_sc2vram_w ); |
| r4962 | r4963 | |
|---|---|---|
| 3 | 3 | extern UINT32 *skns_tilemapA_ram, *skns_tilemapB_ram, *skns_v3slc_ram; |
| 4 | 4 | extern UINT32 *skns_palette_ram; |
| 5 | 5 | extern UINT32 *skns_pal_regs, *skns_v3_regs, *skns_spc_regs; |
| 6 | extern UINT32 skns_v3t_dirty[0x4000]; // allocate this elsewhere? | |
| 7 | extern UINT32 skns_v3t_4bppdirty[0x8000]; // allocate this elsewhere? | |
| 8 | extern int skns_v3t_somedirty,skns_v3t_4bpp_somedirty; | |
| 9 | 6 | |
| 10 | 7 | /*----------- defined in video/suprnova.c -----------*/ |
| 11 | 8 |
| r4962 | r4963 | |
|---|---|---|
| 1 | 1 | #include "sound/discrete.h" |
| 2 | 2 | |
| 3 | 3 | |
| 4 | /*----------- defined in | |
| 4 | /*----------- defined in audio | |
| 5 | 5 | |
| 6 | 6 | DISCRETE_SOUND_EXTERN( m79amb ); |
| 7 | 7 |
| r4962 | r4963 | |
|---|---|---|
| 38 | 38 | WRITE16_HANDLER( tx1_spcs_ram_w ); |
| 39 | 39 | READ16_HANDLER( tx1_math_r ); |
| 40 | 40 | WRITE16_HANDLER( tx1_math_w ); |
| 41 | MACHINE_START( tx1 ); | |
| 42 | 41 | MACHINE_RESET( tx1 ); |
| 43 | 42 | |
| 44 | 43 | |
| r4962 | r4963 | |
| 49 | 48 | WRITE16_HANDLER( buggyboy_math_w ); |
| 50 | 49 | MACHINE_RESET( buggybjr ); |
| 51 | 50 | MACHINE_RESET( buggyboy ); |
| 52 | MACHINE_START( buggybjr ); | |
| 53 | MACHINE_START( buggyboy ); | |
| 54 | 51 | |
| 55 | 52 | /*----------- defined in audio/tx1.c -----------*/ |
| 56 | 53 | READ8_HANDLER( tx1_pit8253_r ); |
| r4962 | r4963 | |
|---|---|---|
| 1 | 1 | /*----------- defined in drivers/tatsumi.c -----------*/ |
| 2 | 2 | |
| 3 | extern UINT16 *apache3_g_ram; | |
| 3 | 4 | extern UINT16 bigfight_a40000[2]; |
| 4 | 5 | |
| 5 | 6 | extern UINT8* tatsumi_rom_sprite_lookup1; |
| r4962 | r4963 | |
| 39 | 40 | extern UINT8 *apache3_z80_ram; |
| 40 | 41 | extern UINT16 tatsumi_control_word; |
| 41 | 42 | extern UINT16 apache3_rotate_ctrl[12]; |
| 42 | extern UINT16 *apache3_g_ram; | |
| 43 | 43 | |
| 44 | 44 | void tatsumi_reset(running_machine *machine); |
| 45 | 45 |
| r4962 | r4963 | |
|---|---|---|
| 119 | 119 | extern UINT16* galsnew_fg_pixram; |
| 120 | 120 | |
| 121 | 121 | |
| 122 | /*----------- defined in drivers/galpani2.c -----------*/ | |
| 123 | ||
| 124 | void galpani2_mcu_run(running_machine *machine); | |
| 125 | ||
| 126 | 122 | /*----------- defined in video/galpani2.c -----------*/ |
| 127 | 123 | |
| 128 | 124 | extern UINT16 *galpani2_bg8_0, *galpani2_bg8_1; |
| r4962 | r4963 | |
|---|---|---|
| 124 | 124 | #define SYS16_MRA16_SPRITERAM SMH_RAM |
| 125 | 125 | #define SYS16_MWA16_SPRITERAM SMH_RAM |
| 126 | 126 | |
| 127 | #define SYS16_MRA16_TILERAM sys16_tileram_r | |
| 128 | #define SYS16_MWA16_TILERAM sys16_tileram_w | |
| 129 | ||
| 130 | #define SYS16_MRA16_TEXTRAM sys16_textram_r | |
| 131 | #define SYS16_MWA16_TEXTRAM sys16_textram_w | |
| 132 | ||
| 133 | 127 | #define SYS16_MRA16_EXTRAM SMH_RAM |
| 134 | 128 | #define SYS16_MWA16_EXTRAM SMH_RAM |
| 135 | 129 | |
| r4962 | r4963 | |
| 149 | 143 | |
| 150 | 144 | /*----------- defined in video/system16.c -----------*/ |
| 151 | 145 | |
| 146 | extern VIDEO_START( system16a_bootleg ); | |
| 147 | extern VIDEO_UPDATE( system16a_bootleg ); | |
| 148 | extern VIDEO_UPDATE( system16a_bootleg_passht4b ); | |
| 149 | extern WRITE16_HANDLER( system16a_bootleg_tilemapselect_w ); | |
| 150 | extern WRITE16_HANDLER( system16a_bootleg_bgscrolly_w ); | |
| 151 | extern WRITE16_HANDLER( system16a_bootleg_bgscrollx_w ); | |
| 152 | extern WRITE16_HANDLER( system16a_bootleg_fgscrolly_w ); | |
| 153 | extern WRITE16_HANDLER( system16a_bootleg_fgscrollx_w ); | |
| 154 | extern UINT16* system16a_bootleg_bg0_tileram; | |
| 155 | extern UINT16* system16a_bootleg_bg1_tileram; | |
| 156 | ||
| 152 | 157 | /* video hardware */ |
| 153 | extern READ16_HANDLER( sys16_tileram_r ); | |
| 154 | 158 | extern WRITE16_HANDLER( sys16_tileram_w ); |
| 155 | extern READ16_HANDLER( sys16_textram_r ); | |
| 156 | 159 | extern WRITE16_HANDLER( sys16_textram_w ); |
| 157 | 160 | extern WRITE16_HANDLER( sys16_paletteram_w ); |
| 158 | 161 | |
| r4962 | r4963 | |
| 164 | 167 | extern VIDEO_START( system18old ); |
| 165 | 168 | extern VIDEO_UPDATE( system18old ); |
| 166 | 169 | |
| 167 | /* callback to poll video registers */ | |
| 168 | extern void (* sys16_update_proc)( void ); | |
| 169 | ||
| 170 | 170 | extern UINT16 *sys16_tileram; |
| 171 | 171 | extern UINT16 *sys16_textram; |
| 172 | 172 | extern UINT16 *sys16_spriteram; |
| r0 | r4963 | |
|---|---|---|
| 1 | /*----------- defined in audio/wiping.c -----------*/ | |
| 2 | ||
| 3 | extern UINT8 *wiping_soundregs; | |
| 4 | ||
| 5 | DEVICE_GET_INFO( wiping_sound ); | |
| 6 | #define SOUND_WIPING DEVICE_GET_INFO_NAME(wiping_sound) | |
| 7 | ||
| 8 | WRITE8_HANDLER( wiping_sound_w ); | |
| 9 | ||
| 10 | ||
| 11 | /*----------- defined in video/wiping.c -----------*/ | |
| 12 | ||
| 13 | WRITE8_HANDLER( wiping_flipscreen_w ); | |
| 14 | PALETTE_INIT( wiping ); | |
| 15 | VIDEO_UPDATE( wiping ); | |
| 16 |
| r4962 | r4963 | |
|---|---|---|
| 74 | 74 | #define MDRV_NAOMIBD_MODIFY(_tag) \ |
| 75 | 75 | MDRV_DEVICE_MODIFY(_tag) |
| 76 | 76 | |
| 77 | #define MDRV_NAOMIBD_REMOVE(_tag) \ | |
| 78 | MDRV_DEVICE_REMOVE(_tag) | |
| 79 | ||
| 80 | 77 | /*#define MDRV_NAOMIBD_TMU_MEMORY(_tmu, _tmumem) \ |
| 81 | 78 | MDRV_DEVICE_CONFIG_DATA32(naomibd_config, tmumem##_tmu, _tmumem)*/ |
| 82 | 79 | |
| 83 | 80 | |
| 81 | /*----------- defined in machine/naomibd.c -----------*/ | |
| 82 | ||
| 84 | 83 | /*************************************************************************** |
| 85 | 84 | FUNCTION PROTOTYPES |
| 86 | 85 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 19 | 19 | |
| 20 | 20 | WRITE16_HANDLER( tetrisp2_palette_w ); |
| 21 | 21 | WRITE16_HANDLER( rocknms_sub_palette_w ); |
| 22 | READ16_HANDLER( tetrisp2_priority_r ); | |
| 23 | 22 | WRITE16_HANDLER( tetrisp2_priority_w ); |
| 24 | 23 | WRITE16_HANDLER( rockn_priority_w ); |
| 25 | READ16_HANDLER( rocknms_sub_priority_r ); | |
| 26 | 24 | WRITE16_HANDLER( rocknms_sub_priority_w ); |
| 27 | 25 | READ16_HANDLER( nndmseal_priority_r ); |
| 28 | 26 |
| r4962 | r4963 | |
|---|---|---|
| 5 | 5 | *************************************************************************/ |
| 6 | 6 | |
| 7 | 7 | #include "sound/discrete.h" |
| 8 | #include "sound/samples.h" | |
| 9 | #include "sound/sn76477.h" | |
| 8 | 10 | |
| 9 | 11 | |
| 10 | 12 | /*----------- defined in audio/rockola.c -----------*/ |
| r4962 | r4963 | |
|---|---|---|
| 34 | 34 | #define ARCHIMEDES_FIQ_PODULE (0x40) |
| 35 | 35 | #define ARCHIMEDES_FIQ_FORCE (0x80) |
| 36 | 36 | |
| 37 | /*----------- defined in machine/archimds.c -----------*/ | |
| 38 | ||
| 37 | 39 | extern UINT32 *memc_physmem; |
| 38 | 40 | |
| 39 | 41 | void archimedes_init(running_machine *machine); // call at MACHINE_INIT |
| r4962 | r4963 | |
|---|---|---|
| 368 | 368 | $(MAMEOBJ)/aristocr.a: \ |
| 369 | 369 | $(DRIVERS)/86lions.o \ |
| 370 | 370 | $(DRIVERS)/caswin.o \ |
| 371 | $(DRIVERS)/aristmk4.o \ | |
| 371 | 372 | $(DRIVERS)/aristmk5.o \ |
| 372 | 373 | $(MACHINE)/archimds.o \ |
| 373 | 374 | |
| r4962 | r4963 | |
| 1132 | 1133 | $(DRIVERS)/suprloco.o $(VIDEO)/suprloco.o \ |
| 1133 | 1134 | $(DRIVERS)/system1.o $(VIDEO)/system1.o \ |
| 1134 | 1135 | $(DRIVERS)/system16.o $(MACHINE)/system16.o $(VIDEO)/system16.o $(VIDEO)/sys16spr.o \ |
| 1135 | $(DRIVERS)/system18.o \ | |
| 1136 | 1136 | $(DRIVERS)/topshoot.o \ |
| 1137 | 1137 | $(DRIVERS)/turbo.o $(AUDIO)/turbo.o $(VIDEO)/turbo.o \ |
| 1138 | 1138 | $(DRIVERS)/vicdual.o $(AUDIO)/vicdual.o $(VIDEO)/vicdual.o \ |
| r4962 | r4963 | |
|---|---|---|
| 8 | 8 | |
| 9 | 9 | #include "driver.h" |
| 10 | 10 | #include "video/resnet.h" |
| 11 | #include "includes/trackfld.h" | |
| 11 | 12 | |
| 12 | 13 | UINT8 *trackfld_scroll; |
| 13 | 14 | UINT8 *trackfld_scroll2; |
| r4962 | r4963 | |
|---|---|---|
| 891 | 891 | static UINT16 system16a_bootleg_tilemapselect; |
| 892 | 892 | |
| 893 | 893 | |
| 894 | int system16a_bootleg_bgscrolly; | |
| 895 | int system16a_bootleg_bgscrollx; | |
| 896 | int system16a_bootleg_fgscrolly; | |
| 897 | int system16a_bootleg_fgscrollx; | |
| 894 | static int system16a_bootleg_bgscrolly; | |
| 895 | static int system16a_bootleg_bgscrollx; | |
| 896 | static int system16a_bootleg_fgscrolly; | |
| 897 | static int system16a_bootleg_fgscrollx; | |
| 898 | 898 | |
| 899 | 899 | static TILE_GET_INFO( get_system16a_bootleg_tile_infotxt ) |
| 900 | 900 | { |
| r4962 | r4963 | |
|---|---|---|
| 8 | 8 | |
| 9 | 9 | #include "driver.h" |
| 10 | 10 | #include "video/resnet.h" |
| 11 | #include "includes/wiping.h" | |
| 11 | 12 | |
| 12 | 13 | |
| 13 | 14 | static int flipscreen; |
| r4962 | r4963 | |
|---|---|---|
| 47 | 47 | |
| 48 | 48 | static int scanline; |
| 49 | 49 | static bitmap_t *fakeframebuffer_bitmap; |
| 50 | static void testdrawscreen( | |
| 50 | static void testdrawscreen( | |
| 51 | 51 | |
| 52 | 52 | typedef struct texinfo { |
| 53 | 53 | UINT32 address, vqbase; |
| r4962 | r4963 | |
| 250 | 250 | INLINE UINT32 bl76(UINT32 s, UINT32 d) { return bls(blia(s, d), bla(d, d)); } |
| 251 | 251 | INLINE UINT32 bl77(UINT32 s, UINT32 d) { return bls(blia(s, d), blia(d, d)); } |
| 252 | 252 | |
| 253 | static UINT32 (*blend_functions[64])(UINT32 s, UINT32 d) = { | |
| 253 | static UINT32 (*const blend_functions[64])(UINT32 s, UINT32 d) = { | |
| 254 | 254 | bl00, bl01, bl02, bl03, bl04, bl05, bl06, bl07, |
| 255 | 255 | bl10, bl11, bl12, bl13, bl14, bl15, bl16, bl17, |
| 256 | 256 | bl20, bl21, bl22, bl23, bl24, bl25, bl26, bl27, |
| r4962 | r4963 | |
| 1854 | 1854 | render_tri_sorted(bitmap, ti, v+i0, v+i1, v+i2); |
| 1855 | 1855 | } |
| 1856 | 1856 | |
| 1857 | static void testdrawscreen( | |
| 1857 | static void testdrawscreen( | |
| 1858 | 1858 | { |
| 1859 | 1859 | const address_space *space = cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM); |
| 1860 | 1860 | int cs,rs,ns; |
| r4962 | r4963 | |
|---|---|---|
| 7 | 7 | ***************************************************************************/ |
| 8 | 8 | |
| 9 | 9 | #include "driver.h" |
| 10 | #include "includes/rockola.h" | |
| 10 | 11 | |
| 11 | 12 | |
| 12 | 13 | UINT8 *rockola_videoram2; |
| r4962 | r4963 | |
|---|---|---|
| 90 | 90 | return (col & 0x0f) | ((row & 0x1f) << 4) | ((col & 0x70) << 5); |
| 91 | 91 | } |
| 92 | 92 | |
| 93 | static void robokid_get_bg_tile_info(running_machine* | |
| 93 | static void robokid_get_bg_tile_info(running_machine* | |
| 94 | 94 | { |
| 95 | 95 | int const lo = videoram[(tile_index << 1)]; |
| 96 | 96 | int const hi = videoram[(tile_index << 1) | 1]; |
| r4962 | r4963 | |
| 127 | 127 | * |
| 128 | 128 | *************************************/ |
| 129 | 129 | |
| 130 | static void videoram_alloc(running_machine* | |
| 130 | static void videoram_alloc(running_machine* | |
| 131 | 131 | { |
| 132 | 132 | if (size) |
| 133 | 133 | { |
| r4962 | r4963 | |
| 355 | 355 | * |
| 356 | 356 | *************************************/ |
| 357 | 357 | |
| 358 | static void draw_sprites(running_machine* | |
| 358 | static void draw_sprites(running_machine* | |
| 359 | 359 | { |
| 360 | 360 | const gfx_element* const gfx = machine->gfx[1]; |
| 361 | 361 | int const big_xshift = robokid_sprites ? 1 : 0; |
| r4962 | r4963 | |
| 451 | 451 | // This is very hackish. |
| 452 | 452 | // (Is there a possibility that software can't select it but hardware can?) |
| 453 | 453 | |
| 454 | static void erase_sprites(running_machine* | |
| 454 | static void erase_sprites(running_machine* | |
| 455 | 455 | { |
| 456 | 456 | // if sprite overdraw is disabled, clear the sprite framebuffer |
| 457 | 457 | if (!next_sprite_overdraw_enabled) |
| r4962 | r4963 | |
| 473 | 473 | } |
| 474 | 474 | |
| 475 | 475 | |
| 476 | static void update_sprites(running_machine* | |
| 476 | static void update_sprites(running_machine* | |
| 477 | 477 | { |
| 478 | 478 | erase_sprites(machine, sp_bitmap, 0); |
| 479 | 479 | draw_sprites(machine, sp_bitmap); |
| r4962 | r4963 | |
|---|---|---|
| 338 | 338 | pix[NUM][3][0] = prom_a[0]; pix[NUM][3][1] = prom_b[0]; pix[NUM][3][2] = prom_c[0]; \ |
| 339 | 339 | } |
| 340 | 340 | |
| 341 | INLINE void tx1_draw_road_pixel(int screen, UINT8 *bmpaddr, | |
| 341 | INLINE void tx1_draw_road_pixel(running_machine *machine, int screen, UINT8 *bmpaddr, | |
| 342 | 342 | UINT8 apix[3], UINT8 bpix[3], UINT32 pixnuma, UINT32 pixnumb, |
| 343 | 343 | UINT8 stl, UINT8 sld, UINT8 selb, |
| 344 | UINT8 bnk, UINT8 rorev, UINT8 eb, UINT8 r, UINT8 delr, | |
| 345 | running_machine *machine) | |
| 344 | UINT8 bnk, UINT8 rorev, UINT8 eb, UINT8 r, UINT8 delr) | |
| 346 | 345 | { |
| 347 | 346 | UINT8 a0 = BIT(apix[0], pixnuma); |
| 348 | 347 | UINT8 a1 = BIT(apix[1], pixnuma); |
| r4962 | r4963 | |
| 784 | 783 | else |
| 785 | 784 | b = 3; |
| 786 | 785 | |
| 787 | tx1_draw_road_pixel(0, bmpaddr, | |
| 786 | tx1_draw_road_pixel(machine, 0, bmpaddr, | |
| 788 | 787 | &pix[0][a][0], &pix[1][b][0], |
| 789 | 788 | pixnum0, pixnum1, |
| 790 | stl, sld, selb, bnkls, rorevls, ebls, rl, delrl | |
| 789 | stl, sld, selb, bnkls, rorevls, ebls, rl, delrl | |
| 791 | 790 | } |
| 792 | 791 | else |
| 793 | 792 | *(bmpaddr) = (bnkls << 6) | (rl << 5); |
| r4962 | r4963 | |
| 806 | 805 | else |
| 807 | 806 | b = 3; |
| 808 | 807 | |
| 809 | tx1_draw_road_pixel(1, bmpaddr, | |
| 808 | tx1_draw_road_pixel(machine, 1, bmpaddr, | |
| 810 | 809 | &pix[0][a][0], &pix[1][b][0], |
| 811 | 810 | pixnum0, pixnum1, |
| 812 | stl, sld, selb, bnkcs, rorevcs, ebcs, rc, delrc | |
| 811 | stl, sld, selb, bnkcs, rorevcs, ebcs, rc, delrc | |
| 813 | 812 | } |
| 814 | 813 | else |
| 815 | 814 | *(bmpaddr + 256) = (bnkcs << 6) | (rc << 5); |
| r4962 | r4963 | |
| 828 | 827 | else |
| 829 | 828 | b = 3; |
| 830 | 829 | |
| 831 | tx1_draw_road_pixel(2, bmpaddr, | |
| 830 | tx1_draw_road_pixel(machine, 2, bmpaddr, | |
| 832 | 831 | &pix[0][a][0], &pix[1][b][0], |
| 833 | 832 | pixnum0, pixnum1, |
| 834 | stl, sld, selb, bnkrs, rorevrs, ebrs, rr, delrr | |
| 833 | stl, sld, selb, bnkrs, rorevrs, ebrs, rr, delrr | |
| 835 | 834 | } |
| 836 | 835 | else |
| 837 | 836 | *(bmpaddr + 512) = (bnkrs << 6) | (rr << 5); |
| r4962 | r4963 | |
|---|---|---|
| 1 | 1 | <?xml version="1.0"?> |
| 2 | 2 | <mamelayout version="2"> |
| 3 | <element name="digit"> | |
| 3 | <element name="digit" defstate="0"> | |
| 4 | 4 | <led7seg> |
| 5 | 5 | <color red="1.0" green="0.0" blue="0.0" /> |
| 6 | 6 | </led7seg> |
| r4962 | r4963 | |
| 84 | 84 | |
| 85 | 85 | <element name="O" defstate="0"> |
| 86 | 86 | <text string="O" state="1"> |
| 87 | <color red="1.0" green=" | |
| 87 | <color red="1.0" green="1.0" blue="0.0" /> | |
| 88 | 88 | <bounds x="0" y="0.1" width="1" height="0.8" /> |
| 89 | 89 | </text> |
| 90 | 90 | </element> |
| 91 | 91 | |
| 92 | 92 | <element name="N" defstate="0"> |
| 93 | 93 | <text string="N" state="1"> |
| 94 | <color red="1.0" green=" | |
| 94 | <color red="1.0" green="1.0" blue="0.0" /> | |
| 95 | 95 | <bounds x="0" y="0.1" width="1" height="0.8" /> |
| 96 | 96 | </text> |
| 97 | 97 | </element> |
| 98 | 98 | |
| 99 | 99 | <element name="E" defstate="0"> |
| 100 | 100 | <text string="E" state="1"> |
| 101 | <color red="1.0" green=" | |
| 101 | <color red="1.0" green="1.0" blue="0.0" /> | |
| 102 | 102 | <bounds x="0" y="0.1" width="1" height="0.8" /> |
| 103 | 103 | </text> |
| 104 | 104 | </element> |
| 105 | 105 | |
| 106 | 106 | <element name="T" defstate="0"> |
| 107 | 107 | <text string="T" state="1"> |
| 108 | <color red="1.0" green=" | |
| 108 | <color red="1.0" green="1.0" blue="0.0" /> | |
| 109 | 109 | <bounds x="0" y="0.1" width="1" height="0.8" /> |
| 110 | 110 | </text> |
| 111 | 111 | </element> |
| r4962 | r4963 | |
| 229 | 229 | <backdrop name="blank" element="emptypiece" state="0"> |
| 230 | 230 | <bounds x="48" y="14" width="7" height="7"/> |
| 231 | 231 | </backdrop> |
| 232 | <backdrop name="lamp24" element=" | |
| 232 | <backdrop name="lamp24" element="r | |
| 233 | 233 | <bounds x="0" y="14" width="7" height="7"/> |
| 234 | 234 | </backdrop> |
| 235 | <backdrop name="lamp25" element=" | |
| 235 | <backdrop name="lamp25" element="r | |
| 236 | 236 | <bounds x="8" y="14" width="7" height="7"/> |
| 237 | 237 | </backdrop> |
| 238 | <backdrop name="lamp26" element=" | |
| 238 | <backdrop name="lamp26" element="r | |
| 239 | 239 | <bounds x="16" y="14" width="7" height="7"/> |
| 240 | 240 | </backdrop> |
| 241 | <backdrop name="lamp27" element=" | |
| 241 | <backdrop name="lamp27" element="r | |
| 242 | 242 | <bounds x="24" y="14" width="7" height="7"/> |
| 243 | 243 | </backdrop> |
| 244 | <backdrop name="lamp28" element=" | |
| 244 | <backdrop name="lamp28" element="r | |
| 245 | 245 | <bounds x="32" y="14" width="7" height="7"/> |
| 246 | 246 | </backdrop> |
| 247 | <backdrop name="lamp29" element=" | |
| 247 | <backdrop name="lamp29" element="r | |
| 248 | 248 | <bounds x="40" y="14" width="7" height="7"/> |
| 249 | 249 | </backdrop> |
| 250 | <backdrop name="lamp30" element=" | |
| 250 | <backdrop name="lamp30" element="r | |
| 251 | 251 | <bounds x="48" y="14" width="7" height="7"/> |
| 252 | 252 | </backdrop> |
| 253 | <backdrop name="lamp16" element=" | |
| 253 | <backdrop name="lamp16" element="blue | |
| 254 | 254 | <bounds x="0" y="14" width="7" height="7"/> |
| 255 | 255 | </backdrop> |
| 256 | 256 | <backdrop name="lamp17" element="redpiece" state="0"> |
| 257 | 257 | <bounds x="8" y="14" width="7" height="7"/> |
| 258 | 258 | </backdrop> |
| 259 | <backdrop name="lamp18" element=" | |
| 259 | <backdrop name="lamp18" element="blue | |
| 260 | 260 | <bounds x="16" y="14" width="7" height="7"/> |
| 261 | 261 | </backdrop> |
| 262 | <backdrop name="lamp19" element=" | |
| 262 | <backdrop name="lamp19" element="blue | |
| 263 | 263 | <bounds x="24" y="14" width="7" height="7"/> |
| 264 | 264 | </backdrop> |
| 265 | <backdrop name="lamp20" element=" | |
| 265 | <backdrop name="lamp20" element="blue | |
| 266 | 266 | <bounds x="32" y="14" width="7" height="7"/> |
| 267 | 267 | </backdrop> |
| 268 | <backdrop name="lamp21" element=" | |
| 268 | <backdrop name="lamp21" element="blue | |
| 269 | 269 | <bounds x="40" y="14" width="7" height="7"/> |
| 270 | 270 | </backdrop> |
| 271 | <backdrop name="lamp22" element=" | |
| 271 | <backdrop name="lamp22" element="blue | |
| 272 | 272 | <bounds x="48" y="14" width="7" height="7"/> |
| 273 | 273 | </backdrop> |
| 274 | 274 | <backdrop name="blank" element="emptypiece" state="0"> |
| r4962 | r4963 | |
|---|---|---|
| 350 | 350 | MDRV_CPU_MODIFY("maincpu") |
| 351 | 351 | MDRV_CPU_IO_MAP(blktigerbl_io_map) |
| 352 | 352 | |
| 353 | MDRV_C | |
| 353 | MDRV_DEVICE | |
| 354 | 354 | MACHINE_DRIVER_END |
| 355 | 355 | |
| 356 | 356 | /*************************************************************************** |
| r4962 | r4963 | |
|---|---|---|
| 760 | 760 | MDRV_CPU_PROGRAM_MAP(bootleg_map) |
| 761 | 761 | MDRV_CPU_VBLANK_INT("screen", irq0_line_hold) // interrupt mode 1, unlike Bubble Bobble |
| 762 | 762 | |
| 763 | MDRV_C | |
| 763 | MDRV_DEVICE | |
| 764 | 764 | MACHINE_DRIVER_END |
| 765 | 765 | |
| 766 | 766 | |
| 767 | 767 | static MACHINE_DRIVER_START( bub68705 ) |
| 768 | 768 | MDRV_IMPORT_FROM(bublbobl) |
| 769 | MDRV_C | |
| 769 | MDRV_DEVICE | |
| 770 | 770 | |
| 771 | 771 | MDRV_CPU_ADD("mcu", M68705, 4000000) // xtal is 4MHz, divided by 4 internally |
| 772 | 772 | MDRV_CPU_PROGRAM_MAP(bootlegmcu_map) |
| r4962 | r4963 | |
|---|---|---|
| 459 | 459 | |
| 460 | 460 | |
| 461 | 461 | |
| 462 | GAME( 1982?, shougi, 0, shougi, shougi, 0, ROT0, "Alpha Denshi Co.", "Shougi", 0 ) | |
| 463 | GAME( 1982?, shougi2, shougi, shougi, shougi2, 0, ROT0, "Alpha Denshi Co.", "Shougi 2", 0 ) | |
| 462 | GAME( 1982, shougi, 0, shougi, shougi, 0, ROT0, "Alpha Denshi Co.", "Shougi", 0 ) | |
| 463 | GAME( 1982, shougi2, shougi, shougi, shougi2, 0, ROT0, "Alpha Denshi Co.", "Shougi 2", 0 ) |
| r4962 | r4963 | |
|---|---|---|
| 1076 | 1076 | MDRV_VIDEO_START(hornet_2board) |
| 1077 | 1077 | MDRV_VIDEO_UPDATE(hornet_2board) |
| 1078 | 1078 | |
| 1079 | MDRV_ | |
| 1079 | MDRV_ | |
| 1080 | 1080 | MDRV_3DFX_VOODOO_1_ADD("voodoo0", STD_VOODOO_1_CLOCK, 2, "lscreen") |
| 1081 | 1081 | MDRV_3DFX_VOODOO_CPU("dsp") |
| 1082 | 1082 | MDRV_3DFX_VOODOO_TMU_MEMORY(0, 4) |
| r4962 | r4963 | |
| 1090 | 1090 | /* video hardware */ |
| 1091 | 1091 | MDRV_PALETTE_LENGTH(65536) |
| 1092 | 1092 | |
| 1093 | MDRV_ | |
| 1093 | MDRV_DEVIC | |
| 1094 | 1094 | |
| 1095 | 1095 | MDRV_SCREEN_ADD("lscreen", RASTER) |
| 1096 | 1096 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32) |
| r4962 | r4963 | |
| 1108 | 1108 | static MACHINE_DRIVER_START( hornet_2board_v2 ) |
| 1109 | 1109 | MDRV_IMPORT_FROM(hornet_2board) |
| 1110 | 1110 | |
| 1111 | MDRV_ | |
| 1111 | MDRV_ | |
| 1112 | 1112 | MDRV_3DFX_VOODOO_2_ADD("voodoo0", STD_VOODOO_2_CLOCK, 2, "lscreen") |
| 1113 | 1113 | MDRV_3DFX_VOODOO_CPU("dsp") |
| 1114 | 1114 | MDRV_3DFX_VOODOO_TMU_MEMORY(0, 4) |
| 1115 | 1115 | MDRV_3DFX_VOODOO_VBLANK(voodoo_vblank_0) |
| 1116 | 1116 | |
| 1117 | MDRV_ | |
| 1117 | MDRV_ | |
| 1118 | 1118 | MDRV_3DFX_VOODOO_2_ADD("voodoo1", STD_VOODOO_2_CLOCK, 2, "rscreen") |
| 1119 | 1119 | MDRV_3DFX_VOODOO_CPU("dsp2") |
| 1120 | 1120 | MDRV_3DFX_VOODOO_TMU_MEMORY(0, 4) |
| r4962 | r4963 | |
|---|---|---|
| 407 | 407 | MDRV_SCREEN_MODIFY("screen") |
| 408 | 408 | MDRV_SCREEN_REFRESH_RATE(60) |
| 409 | 409 | |
| 410 | MDRV_C | |
| 410 | MDRV_DEVICE | |
| 411 | 411 | |
| 412 | 412 | MDRV_SOUND_REPLACE("oki1", OKIM6295, 990000) // pin7 not verified |
| 413 | 413 | MDRV_SOUND_CONFIG(okim6295_interface_pin7low) |
| 414 | 414 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) |
| 415 | 415 | |
| 416 | MDRV_SOUND_REMOVE("oki2") | |
| 417 | MDRV_SOUND_REMOVE("ym2203") | |
| 416 | MDRV_DEVICE_REMOVE("oki2") | |
| 417 | MDRV_DEVICE_REMOVE("ym2203") | |
| 418 | 418 | MACHINE_DRIVER_END |
| 419 | 419 | |
| 420 | 420 | static MACHINE_DRIVER_START( powerinb ) |
| r4962 | r4963 | |
| 429 | 429 | MDRV_CPU_IO_MAP(powerinb_sound_io_map) |
| 430 | 430 | MDRV_CPU_PERIODIC_INT(irq0_line_hold, 120) // YM2203 rate is at 150?? |
| 431 | 431 | |
| 432 | MDRV_ | |
| 432 | MDRV_ | |
| 433 | 433 | MACHINE_DRIVER_END |
| 434 | 434 | |
| 435 | 435 |
| r4962 | r4963 | |
|---|---|---|
| 592 | 592 | |
| 593 | 593 | MDRV_VIDEO_UPDATE(torus) |
| 594 | 594 | |
| 595 | MDRV_ | |
| 595 | MDRV_ | |
| 596 | 596 | MACHINE_DRIVER_END |
| 597 | 597 | |
| 598 | 598 | static MACHINE_DRIVER_START( madball ) |
| r4962 | r4963 | |
| 606 | 606 | |
| 607 | 607 | MDRV_VIDEO_UPDATE(madball) |
| 608 | 608 | |
| 609 | MDRV_ | |
| 609 | MDRV_ | |
| 610 | 610 | MACHINE_DRIVER_END |
| 611 | 611 | |
| 612 | 612 |
| r4962 | r4963 | |
|---|---|---|
| 652 | 652 | MDRV_CPU_MODIFY("maincpu") |
| 653 | 653 | MDRV_CPU_PROGRAM_MAP(jumpcoas_map) |
| 654 | 654 | |
| 655 | MDRV_C | |
| 655 | MDRV_DEVICE | |
| 656 | 656 | |
| 657 | 657 | /* video hardware */ |
| 658 | 658 | MDRV_GFXDECODE(jumpcoas) |
| 659 | 659 | |
| 660 | 660 | /* sound hardware */ |
| 661 | MDRV_ | |
| 661 | MDRV_ | |
| 662 | 662 | MACHINE_DRIVER_END |
| 663 | 663 | |
| 664 | 664 | static MACHINE_DRIVER_START( imago ) |
| r4962 | r4963 | |
|---|---|---|
| 644 | 644 | |
| 645 | 645 | AM_RANGE(0x600000, 0x60000f) AM_RAM_WRITE(kaneko16_layers_0_regs_w) AM_BASE(&kaneko16_layers_0_regs) // Layers 0 Regs |
| 646 | 646 | AM_RANGE(0x680000, 0x68000f) AM_RAM_WRITE(kaneko16_layers_1_regs_w) AM_BASE(&kaneko16_layers_1_regs) // Layers 1 Regs |
| 647 | ||
| 648 | AM_RANGE(0x700000, 0x70001f) AM_READWRITE(kaneko16_sprites_regs_r, kaneko16_sprites_regs_w) AM_BASE(&kaneko16_sprites_regs) // Sprites Regs | |
| 649 | ||
| 647 | 650 | AM_RANGE(0x800000, 0x800001) AM_DEVREADWRITE8("oki1", okim6295_r, okim6295_w, 0x00ff) // Samples |
| 648 | 651 | AM_RANGE(0x880000, 0x880001) AM_DEVREADWRITE8("oki2", okim6295_r, okim6295_w, 0x00ff) |
| 649 | 652 |
| r4962 | r4963 | |
|---|---|---|
| 398 | 398 | } |
| 399 | 399 | |
| 400 | 400 | /* Lamp smoothing, this draws lamps only at the peaks of the AC power that would light them */ |
| 401 | if ((multiplex_smooth == (input_strobe - 1))||((multiplex_smooth == 7) && (input_strobe == 0)) | |
| 401 | if ((multiplex_smooth == (input_strobe - 1))||((multiplex_smooth == 7) && (input_strobe == 0)) | |
| 402 | 402 | { |
| 403 | 403 | draw_lamps(); |
| 404 | 404 | mpu4_draw_led(input_strobe, led_segs[input_strobe]); |
| r4962 | r4963 | |
| 1891 | 1891 | MDRV_CPU_MODIFY("maincpu") |
| 1892 | 1892 | MDRV_CPU_PROGRAM_MAP(mod4_yam_map) |
| 1893 | 1893 | |
| 1894 | MDRV_ | |
| 1894 | MDRV_ | |
| 1895 | 1895 | MDRV_SOUND_ADD("ym2413", YM2413, MPU4_MASTER_CLOCK/4) |
| 1896 | 1896 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.5) |
| 1897 | 1897 | MACHINE_DRIVER_END |
| r4962 | r4963 | |
| 1905 | 1905 | MDRV_CPU_MODIFY("maincpu") |
| 1906 | 1906 | MDRV_CPU_PROGRAM_MAP(mod4_oki_map) |
| 1907 | 1907 | |
| 1908 | MDRV_ | |
| 1908 | MDRV_ | |
| 1909 | 1909 | MDRV_SOUND_ADD("msm6376", OKIM6376, 4000000) //? |
| 1910 | 1910 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) |
| 1911 | 1911 | MACHINE_DRIVER_END |
| r4962 | r4963 | |
|---|---|---|
| 963 | 963 | |
| 964 | 964 | static WRITE8_HANDLER( brickzn_pcm_w ) |
| 965 | 965 | { |
| 966 | static const char *dacs[] = { "dac1", "dac2", "dac3", "dac4" }; | |
| 966 | static const char *const dacs[] = { "dac1", "dac2", "dac3", "dac4" }; | |
| 967 | 967 | dac_signed_data_w( devtag_get_device(space->machine, dacs[offset & 3]), (data & 0xf) * 0x11 ); |
| 968 | 968 | } |
| 969 | 969 |
| r4962 | r4963 | |
|---|---|---|
| 1057 | 1057 | GAME( 1983, nova2001, 0, nova2001, nova2001, 0, ROT0, "UPL", "Nova 2001 (Japan)", 0 ) |
| 1058 | 1058 | GAME( 1983, nov2001u, nova2001, nova2001, nova2001, 0, ROT0, "UPL (Universal license)", "Nova 2001 (US)", 0 ) |
| 1059 | 1059 | GAME( 1984, ninjakun, 0, ninjakun, ninjakun, 0, ROT0, "[UPL] (Taito license)", "Ninjakun Majou no Bouken", 0 ) |
| 1060 | GAME( 1985?,pkunwar, 0, pkunwar, pkunwar, pkunwar, ROT0, "UPL", "Penguin-Kun Wars (US)", 0 ) | |
| 1061 | GAME( 1985?,pkunwarj, pkunwar, pkunwar, pkunwar, pkunwar, ROT0, "UPL", "Penguin-Kun Wars (Japan)", 0 ) | |
| 1060 | GAME( 1985, pkunwar, 0, pkunwar, pkunwar, pkunwar, ROT0, "UPL", "Penguin-Kun Wars (US)", 0 ) | |
| 1061 | GAME( 1985, pkunwarj, pkunwar, pkunwar, pkunwar, pkunwar, ROT0, "UPL", "Penguin-Kun Wars (Japan)", 0 ) | |
| 1062 | 1062 | GAME( 1985, raiders5, 0, raiders5, raiders5, raiders5, ROT0, "UPL", "Raiders5", 0 ) |
| 1063 | 1063 | GAME( 1985, raidrs5t, raiders5, raiders5, raiders5, raiders5, ROT0, "UPL (Taito license)", "Raiders5 (Japan)", 0 ) |
| r4962 | r4963 | |
|---|---|---|
| 4036 | 4036 | |
| 4037 | 4037 | // apparently, no "ym1" in tdfever2 |
| 4038 | 4038 | // (registers are written to but they cause sound not to work) |
| 4039 | MDRV_ | |
| 4039 | MDRV_ | |
| 4040 | 4040 | MACHINE_DRIVER_END |
| 4041 | 4041 | |
| 4042 | 4042 |
| r4962 | r4963 | |
|---|---|---|
| 924 | 924 | static MACHINE_DRIVER_START( ciclone ) |
| 925 | 925 | MDRV_IMPORT_FROM(tv_tcf) |
| 926 | 926 | |
| 927 | MDRV_C | |
| 927 | MDRV_DEVICE | |
| 928 | 928 | |
| 929 | 929 | MDRV_CPU_ADD("maincpu", I80186, 20000000/2 ) // ? |
| 930 | 930 | MDRV_CPU_PROGRAM_MAP(tv_tcf_map) |
| r4962 | r4963 | |
|---|---|---|
| 4522 | 4522 | GAME( 1998, dynmcopb, dynamcop, model2b, model2, genprot, ROT0, "Sega", "Dynamite Cop (Export, Model 2B)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS ) |
| 4523 | 4523 | GAME( 1998, dyndek2b, dynamcop, model2b, model2, genprot, ROT0, "Sega", "Dynamite Deka 2 (Japan, Model 2B)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS ) |
| 4524 | 4524 | GAME( 1998, pltkids, 0, model2b, model2, pltkids, ROT0, "Psikyo", "Pilot Kids (Model 2B, Revision A)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS ) |
| 4525 | GAME( 199 | |
| 4525 | GAME( 1995, rchase2, 0, model2b, model2, 0, ROT0, "Sega", "Rail Chase 2 (Revision A)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS ) | |
| 4526 | 4526 | |
| 4527 | 4527 | // Model 2C-CRX (TGPx4, SCSP sound board) |
| 4528 | 4528 | GAME( 1996, skisuprg, 0, model2c, model2, 0, ROT0, "Sega", "Sega Ski Super G", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS ) |
| r4962 | r4963 | |
|---|---|---|
| 35 | 35 | ***************************************************************************/ |
| 36 | 36 | #include "driver.h" |
| 37 | 37 | #include "cpu/z80/z80.h" |
| 38 | #include "includes/wiping.h" | |
| 38 | 39 | |
| 39 | 40 | |
| 40 | WRITE8_HANDLER( wiping_flipscreen_w ); | |
| 41 | PALETTE_INIT( wiping ); | |
| 42 | VIDEO_UPDATE( wiping ); | |
| 43 | ||
| 44 | extern UINT8 *wiping_soundregs; | |
| 45 | ||
| 46 | DEVICE_GET_INFO( wiping_sound ); | |
| 47 | #define SOUND_WIPING DEVICE_GET_INFO_NAME(wiping_sound) | |
| 48 | ||
| 49 | WRITE8_HANDLER( wiping_sound_w ); | |
| 50 | ||
| 51 | ||
| 52 | 41 | static UINT8 *sharedram1,*sharedram2; |
| 53 | 42 | |
| 54 | 43 | static READ8_HANDLER( shared1_r ) |
| r4962 | r4963 | |
|---|---|---|
| 1264 | 1264 | static MACHINE_DRIVER_START( gigamn2 ) |
| 1265 | 1265 | MDRV_IMPORT_FROM(cps2) |
| 1266 | 1266 | |
| 1267 | MDRV_C | |
| 1267 | MDRV_DEVICE | |
| 1268 | 1268 | |
| 1269 | MDRV_ | |
| 1269 | MDRV_ | |
| 1270 | 1270 | |
| 1271 | 1271 | MDRV_SOUND_ADD("oki", OKIM6295, XTAL_32MHz/32) |
| 1272 | 1272 | MDRV_SOUND_CONFIG(okim6295_interface_pin7high) // clock frequency & pin 7 not verified |
| r4962 | r4963 | |
|---|---|---|
| 1360 | 1360 | MDRV_CPU_MODIFY("maincpu") |
| 1361 | 1361 | MDRV_CPU_PROGRAM_MAP(hotshock_map) |
| 1362 | 1362 | |
| 1363 | MDRV_PPI8255_REMOVE( "ppi8255_0" ) | |
| 1364 | MDRV_PPI8255_REMOVE( "ppi8255_1" ) | |
| 1363 | MDRV_DEVICE_REMOVE( "ppi8255_0" ) | |
| 1364 | MDRV_DEVICE_REMOVE( "ppi8255_1" ) | |
| 1365 | 1365 | |
| 1366 | 1366 | MDRV_CPU_MODIFY("audiocpu") |
| 1367 | 1367 | MDRV_CPU_IO_MAP(hotshock_sound_io_map) |
| r4962 | r4963 | |
| 1411 | 1411 | MDRV_CPU_MODIFY("maincpu") |
| 1412 | 1412 | MDRV_CPU_IO_MAP(triplep_io_map) |
| 1413 | 1413 | |
| 1414 | MDRV_C | |
| 1414 | MDRV_DEVICE | |
| 1415 | 1415 | |
| 1416 | 1416 | /* video hardware */ |
| 1417 | 1417 | MDRV_PALETTE_LENGTH(32+64+2+0) /* 32 for characters, 64 for stars, 2 for bullets */ |
| r4962 | r4963 | |
| 1423 | 1423 | MDRV_SOUND_CONFIG(triplep_ay8910_interface) |
| 1424 | 1424 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) |
| 1425 | 1425 | |
| 1426 | MDRV_ | |
| 1426 | MDRV_ | |
| 1427 | 1427 | MACHINE_DRIVER_END |
| 1428 | 1428 | |
| 1429 | 1429 | static MACHINE_DRIVER_START( mariner ) |
| r4962 | r4963 | |
|---|---|---|
| 812 | 812 | |
| 813 | 813 | /* sound hardware */ |
| 814 | 814 | MDRV_SOUND_START(NULL) |
| 815 | MDRV_ | |
| 815 | MDRV_ | |
| 816 | 816 | |
| 817 | 817 | MDRV_SOUND_ADD("msm", MSM5205, XTAL_400kHz) |
| 818 | 818 | MDRV_SOUND_CONFIG(msm5205_config) |
| r4962 | r4963 | |
| 827 | 827 | MDRV_CPU_PROGRAM_MAP(cntrygrl_cpu0_map ) |
| 828 | 828 | MDRV_CPU_IO_MAP(cntrygrl_cpu0_io ) |
| 829 | 829 | |
| 830 | MDRV_C | |
| 830 | MDRV_DEVICE | |
| 831 | 831 | |
| 832 | 832 | /* sound hardware */ |
| 833 | 833 | MDRV_SOUND_START(NULL) |
| 834 | MDRV_ | |
| 834 | MDRV_ | |
| 835 | 835 | MACHINE_DRIVER_END |
| 836 | 836 | |
| 837 | 837 | /* |
| r4962 | r4963 | |
|---|---|---|
| 1052 | 1052 | MDRV_IMPORT_FROM(leprechn_video) |
| 1053 | 1053 | |
| 1054 | 1054 | /* via */ |
| 1055 | MDRV_VI | |
| 1055 | MDRV_DEVICE | |
| 1056 | 1056 | MDRV_VIA6522_ADD("via6522_0", 0, leprechn_via_0_interface) |
| 1057 | 1057 | MACHINE_DRIVER_END |
| 1058 | 1058 |
| r4962 | r4963 | |
|---|---|---|
| 351 | 351 | |
| 352 | 352 | static void update_psg0( running_machine *machine, int port ) |
| 353 | 353 | { |
| 354 | static const char *fltname[3][2] = { { "filter0.0l", "filter0.0r" }, { "filter0.1l", "filter0.1r" }, { "filter0.2l", "filter0.2r" } }; | |
| 354 | static const char *const fltname[3][2] = { { "filter0.0l", "filter0.0r" }, { "filter0.1l", "filter0.1r" }, { "filter0.2l", "filter0.2r" } }; | |
| 355 | 355 | const device_config *lvol = devtag_get_device(machine, fltname[port][0]); |
| 356 | 356 | const device_config *rvol = devtag_get_device(machine, fltname[port][1]); |
| 357 | 357 | int left, right; |
| r4962 | r4963 | |
| 365 | 365 | |
| 366 | 366 | static void update_psg1( running_machine *machine, int port ) |
| 367 | 367 | { |
| 368 | static const char *fltname[3][2] = { { "filter0.0l", "filter0.0r" }, { "filter0.1l", "filter0.1r" }, { "filter0.2l", "filter0.2r" } }; | |
| 368 | static const char *const fltname[3][2] = { { "filter0.0l", "filter0.0r" }, { "filter0.1l", "filter0.1r" }, { "filter0.2l", "filter0.2r" } }; | |
| 369 | 369 | const device_config *lvol = devtag_get_device(machine, fltname[port][0]); |
| 370 | 370 | const device_config *rvol = devtag_get_device(machine, fltname[port][1]); |
| 371 | 371 | int left, right; |
| r4962 | r4963 | |
|---|---|---|
| 1 | 1 | /************************************************************************************ |
| 2 | 2 | |
| 3 | Super Crowns Golf | |
| 4 | preliminary WIP driver | |
| 5 | by Tomasz Slanina & Angelo Salese | |
| 3 | Super Crowns Golf (c) 1989 Nasco Japan | |
| 6 | 4 | |
| 5 | driver by Tomasz Slanina & Angelo Salese | |
| 6 | ||
| 7 | 7 | TODO: |
| 8 | 8 | - remove the patch and understand what needs to be modified for the gfxs, game |
| 9 | 9 | doesn't crash anymore; |
| 10 | - inputs not fully understood, sometimes analog inputs gets stuck; | |
| 10 | - Some weird framebuffer vertical gaps with some object, namely the green and the | |
| 11 | trees (zooming?) | |
| 12 | - not sure if the analog inputs are handled correctly; | |
| 13 | - Fix the framebuffer display in cocktail mode; | |
| 11 | 14 | |
| 12 | 15 | Notes: |
| 13 | 16 | - The game uses special control panel with 1 golf club shaped device to select shot |
| 14 | strength (0,1,2,3), and 6 buttons (direction L&R, select angle of club head, club | |
| 15 | select, shot, and power to use items). -YO | |
| 17 | strength (0,1,2,3), and 6 buttons (direction L&R, select angle of club head, club | |
| 18 | select, shot, and power to use items). -YO | |
| 16 | 19 | |
| 17 | 20 | ************************************************************************************/ |
| 18 | 21 | |
| r4962 | r4963 | |
| 233 | 236 | { |
| 234 | 237 | UINT8 *region_base = memory_region(space->machine, "user2"); |
| 235 | 238 | mame_printf_debug("ROM_BANK 0x4000 - %X @%X\n",data,cpu_get_previouspc(space->cpu)); |
| 236 | ||
| 239 | ||
| 237 | 240 | memory_set_bankptr(space->machine, 1, region_base + (data&0x0f ) * 0x4000); |
| 238 | 241 | |
| 239 | 242 | if(data & 0xf0) |
| r4962 | r4963 | |
| 242 | 245 | |
| 243 | 246 | static READ8_HANDLER( pedal_extra_bits_r ) |
| 244 | 247 | { |
| 245 | static UINT8 p1_ | |
| 248 | static UINT8 p1_ | |
| 246 | 249 | |
| 247 | /* TODO: check this */ | |
| 248 | p1_pedal_hi = (input_port_read(space->machine, "P1_PEDAL") & 0x10)>>3; | |
| 249 | p1_sht_sw = (input_port_read(space->machine, "P1_PEDAL") & 0x80)>>7; | |
| 250 | p2_pedal_hi = (input_port_read(space->machine, "P2_PEDAL") & 0x10)<<1; | |
| 251 | p2_sht_sw = (input_port_read(space->machine, "P2_PEDAL") & 0x80)>>3; | |
| 250 | p1_sht_sw = (input_port_read(space->machine, "P1_RELEASE") & 0x80)>>7; | |
| 251 | p2_sht_sw = (input_port_read(space->machine, "P2_RELEASE") & 0x80)>>6; | |
| 252 | 252 | |
| 253 | return p1_ | |
| 253 | return p1_ | |
| 254 | 254 | } |
| 255 | 255 | |
| 256 | 256 | static READ8_HANDLER( p1_r ) |
| 257 | 257 | { |
| 258 | return (input_port_read(space->machine, "P1") & 0xf0) | ((input_port_read(space->machine, "P1_ | |
| 258 | return (input_port_read(space->machine, "P1") & 0xf0) | ((input_port_read(space->machine, "P1_ | |
| 259 | 259 | } |
| 260 | 260 | |
| 261 | 261 | static READ8_HANDLER( p2_r ) |
| 262 | 262 | { |
| 263 | return (input_port_read(space->machine, "P2") & 0xf0) | ((input_port_read(space->machine, "P2_ | |
| 263 | return (input_port_read(space->machine, "P2") & 0xf0) | ((input_port_read(space->machine, "P2_ | |
| 264 | 264 | } |
| 265 | 265 | |
| 266 | 266 | static ADDRESS_MAP_START( main_map, ADDRESS_SPACE_PROGRAM, 8 ) |
| r4962 | r4963 | |
| 297 | 297 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) /* CNT - shot switch */ |
| 298 | 298 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) /* SEL */ |
| 299 | 299 | |
| 300 | PORT_START("P1_PEDAL") | |
| 301 | PORT_BIT( 0x1f, 0x00, IPT_PEDAL ) PORT_MINMAX(0x00,0x1f) PORT_SENSITIVITY(5) PORT_KEYDELTA(5) PORT_PLAYER(1) | |
| 302 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(1) /* release power? */ | |
| 300 | PORT_START("P1_ANALOG") | |
| 301 | PORT_BIT( 0x0f, 0x00, IPT_DIAL ) PORT_SENSITIVITY(5) PORT_KEYDELTA(5) PORT_PLAYER(1) | |
| 303 | 302 | |
| 303 | /* simulate spring throttle with the following button */ | |
| 304 | PORT_START("P1_RELEASE") | |
| 305 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(1) /* release power? */ | |
| 306 | ||
| 304 | 307 | PORT_START("P2") |
| 305 | 308 | PORT_BIT( 0x0f, IP_ACTIVE_LOW, IPT_SPECIAL ) /* low port of P2 Pedal */ |
| 306 | 309 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(2) /* D.L */ |
| r4962 | r4963 | |
| 308 | 311 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) /* CNT - shot switch */ |
| 309 | 312 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) /* SEL */ |
| 310 | 313 | |
| 311 | PORT_START("P2_PEDAL") | |
| 312 | PORT_BIT( 0x1f, 0x00, IPT_PEDAL ) PORT_MINMAX(0x00,0x1f) PORT_SENSITIVITY(5) PORT_KEYDELTA(5) PORT_PLAYER(2) | |
| 313 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(2) /* release power? */ | |
| 314 | PORT_START("P2_ANALOG") | |
| 315 | PORT_BIT( 0x0f, 0x00, IPT_DIAL ) PORT_SENSITIVITY(5) PORT_KEYDELTA(5) PORT_PLAYER(2) | |
| 314 | 316 | |
| 317 | /* simulate spring throttle with the following button */ | |
| 318 | PORT_START("P2_RELEASE") | |
| 319 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(2) /* release power? */ | |
| 320 | ||
| 315 | 321 | PORT_START("SYSTEM") |
| 316 | 322 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 ) /* 1P */ |
| 317 | 323 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1) /* POW */ |
| r4962 | r4963 | |
| 344 | 350 | PORT_DIPSETTING( 0x10, "2" ) |
| 345 | 351 | PORT_DIPSETTING( 0x30, "3" ) |
| 346 | 352 | PORT_DIPSETTING( 0x20, "4" ) |
| 347 | PORT_DIPUNUSED_DIPLOC( 0x40, 0x00, "SW1:7" ) | |
| 353 | /* According to the manual, Allow Continue should be dip-sw 2:5 */ | |
| 354 | PORT_DIPNAME( 0x40, 0x40, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("SW1:7") | |
| 355 | PORT_DIPSETTING( 0x00, DEF_STR( No ) ) | |
| 356 | PORT_DIPSETTING( 0x40, DEF_STR( Yes ) ) | |
| 348 | 357 | PORT_DIPNAME( 0x80, 0x80, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:8") |
| 349 | 358 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 350 | 359 | PORT_DIPSETTING( 0x80, DEF_STR( On ) ) |
| r4962 | r4963 | |
| 359 | 368 | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SW2:4") |
| 360 | 369 | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) |
| 361 | 370 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 362 | PORT_DIPNAME( 0x10, 0x10, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("SW2:5") | |
| 363 | PORT_DIPSETTING( 0x00, DEF_STR( No ) ) | |
| 364 | PORT_DIPSETTING( 0x10, DEF_STR( Yes ) ) | |
| 371 | PORT_DIPUNUSED_DIPLOC( 0x10, 0x00, "SW2:5" ) | |
| 365 | 372 | PORT_DIPUNUSED_DIPLOC( 0x20, 0x00, "SW2:6" ) |
| 366 | 373 | PORT_DIPUNUSED_DIPLOC( 0x40, 0x00, "SW2:7" ) |
| 367 | 374 | PORT_DIPUNUSED_DIPLOC( 0x80, 0x00, "SW2:8" ) |
| r4962 | r4963 | |
| 546 | 553 | ROM[0x74f5-0x4000] = 0x00; |
| 547 | 554 | } |
| 548 | 555 | |
| 549 | GAME( 1989, suprgolf, 0, suprgolf, suprgolf, suprgolf, ROT0, "Nasco", "Super Crowns Golf (Japan)", GAME_ | |
| 556 | GAME( 1989, suprgolf, 0, suprgolf, suprgolf, suprgolf, ROT0, "Nasco", "Super Crowns Golf (Japan)", GAME_ |
| r4962 | r4963 | |
|---|---|---|
| 119 | 119 | static READ8_HANDLER( keyboard_r ) |
| 120 | 120 | { |
| 121 | 121 | int res = 0x3f,i; |
| 122 | static const char *const keynames[] = { " | |
| 122 | static const char *const keynames[] = { "PL2_ | |
| 123 | 123 | |
| 124 | 124 | // logerror("%04x: keyboard_r\n", cpu_get_pc(space->cpu)); |
| 125 | 125 | |
| r4962 | r4963 | |
| 264 | 264 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_TILT ) // reinitialize NVRAM and reset the game |
| 265 | 265 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 266 | 266 | |
| 267 | /* player 2 inputs (same as player 1) */ | |
| 268 | PORT_START("KEY0") | |
| 269 | PORT_BIT( 0x3f, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 270 | PORT_START("KEY1") | |
| 271 | PORT_BIT( 0x3f, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 272 | PORT_START("KEY2") | |
| 273 | PORT_BIT( 0x3f, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 274 | PORT_START("KEY3") | |
| 275 | PORT_BIT( 0x3f, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 276 | PORT_START("KEY4") | |
| 277 | PORT_BIT( 0x3f, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 278 | PORT_START("KEY5") | |
| 279 | PORT_BIT( 0x3f, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 280 | ||
| 281 | PORT_START("KEY6") | |
| 267 | PORT_START("PL1_1") | |
| 282 | 268 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 ) |
| 283 | 269 | PORT_BIT( 0x3e, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 284 | 270 | |
| 285 | PORT_START("KEY7") | |
| 286 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_MAHJONG_KAN ) | |
| 287 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_MAHJONG_REACH ) | |
| 288 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_MAHJONG_RON ) | |
| 271 | PORT_START("PL1_2") | |
| 272 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_KAN ) | |
| 273 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_REACH ) | |
| 274 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_RON ) | |
| 289 | 275 | PORT_BIT( 0x38, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 290 | 276 | |
| 291 | PORT_START("KEY8") | |
| 292 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_MAHJONG_M ) | |
| 293 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_MAHJONG_N ) | |
| 294 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_MAHJONG_CHI ) | |
| 295 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_MAHJONG_PON ) | |
| 277 | PORT_START("PL1_3") | |
| 278 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_M ) | |
| 279 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_N ) | |
| 280 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_CHI ) | |
| 281 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_PON ) | |
| 296 | 282 | PORT_BIT( 0x30, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 297 | 283 | |
| 298 | PORT_START("KEY9") | |
| 299 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_MAHJONG_I ) | |
| 300 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_MAHJONG_J ) | |
| 301 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_MAHJONG_K ) | |
| 302 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_MAHJONG_L ) | |
| 284 | PORT_START("PL1_4") | |
| 285 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_I ) | |
| 286 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_J ) | |
| 287 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_K ) | |
| 288 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_L ) | |
| 303 | 289 | PORT_BIT( 0x30, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 304 | 290 | |
| 305 | PORT_START("KEY10") | |
| 306 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_MAHJONG_E ) | |
| 307 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_MAHJONG_F ) | |
| 308 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_MAHJONG_G ) | |
| 309 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_MAHJONG_H ) | |
| 291 | PORT_START("PL1_5") | |
| 292 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_E ) | |
| 293 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_F ) | |
| 294 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_G ) | |
| 295 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_H ) | |
| 310 | 296 | PORT_BIT( 0x30, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 311 | 297 | |
| 312 | PORT_START("KEY11") | |
| 313 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_MAHJONG_A ) | |
| 314 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_MAHJONG_B ) | |
| 315 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_MAHJONG_C ) | |
| 316 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_MAHJONG_D ) | |
| 298 | PORT_START("PL1_6") | |
| 299 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_A ) | |
| 300 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_B ) | |
| 301 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_C ) | |
| 302 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_D ) | |
| 317 | 303 | PORT_BIT( 0x30, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 304 | ||
| 305 | PORT_START("PL2_1") | |
| 306 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START2 ) | |
| 307 | PORT_BIT( 0x3e, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 308 | ||
| 309 | PORT_START("PL2_2") | |
| 310 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_KAN ) PORT_PLAYER(2) | |
| 311 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_REACH ) PORT_PLAYER(2) | |
| 312 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_RON ) PORT_PLAYER(2) | |
| 313 | PORT_BIT( 0x38, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 314 | ||
| 315 | PORT_START("PL2_3") | |
| 316 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_M ) PORT_PLAYER(2) | |
| 317 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_N ) PORT_PLAYER(2) | |
| 318 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_CHI ) PORT_PLAYER(2) | |
| 319 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_PON ) PORT_PLAYER(2) | |
| 320 | PORT_BIT( 0x30, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 321 | ||
| 322 | PORT_START("PL2_4") | |
| 323 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_I ) PORT_PLAYER(2) | |
| 324 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_J ) PORT_PLAYER(2) | |
| 325 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_K ) PORT_PLAYER(2) | |
| 326 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_L ) PORT_PLAYER(2) | |
| 327 | PORT_BIT( 0x30, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 328 | ||
| 329 | PORT_START("PL2_5") | |
| 330 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_E ) PORT_PLAYER(2) | |
| 331 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_F ) PORT_PLAYER(2) | |
| 332 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_G ) PORT_PLAYER(2) | |
| 333 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_H ) PORT_PLAYER(2) | |
| 334 | PORT_BIT( 0x30, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 335 | ||
| 336 | PORT_START("PL2_6") | |
| 337 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_A ) PORT_PLAYER(2) | |
| 338 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_B ) PORT_PLAYER(2) | |
| 339 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_C ) PORT_PLAYER(2) | |
| 340 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_D ) PORT_PLAYER(2) | |
| 341 | PORT_BIT( 0x30, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 318 | 342 | INPUT_PORTS_END |
| 319 | 343 | |
| 320 | 344 |
| r4962 | r4963 | |
|---|---|---|
| 369 | 369 | } |
| 370 | 370 | |
| 371 | 371 | |
| 372 | GAME( 198 | |
| 372 | GAME( 1983, dommy, 0, dommy, scregg, 0, ROT270, "Technos Japan", "Dommy", 0 ) | |
| 373 | 373 | GAME( 1983, scregg, 0, scregg, scregg, 0, ROT270, "Technos Japan", "Scrambled Egg", 0 ) |
| 374 | 374 | GAME( 1983, eggs, scregg, scregg, scregg, 0, ROT270, "[Technos Japan] Universal USA", "Eggs", 0 ) |
| 375 | 375 | GAME( 1983, rockduck, 0, scregg, rockduck, rockduck, ROT270, "Datel SAS", "Rock Duck (prototype?)", GAME_WRONG_COLORS ) |
| r4962 | r4963 | |
|---|---|---|
| 5828 | 5828 | GAME( 1992, pangpoms, 0, pangpoms, pangpoms, metro, ROT0, "Metro", "Pang Pom's", 0 ) |
| 5829 | 5829 | GAME( 1992, pangpomm, pangpoms, pangpoms, pangpoms, metro, ROT0, "Metro (Mitchell license)", "Pang Pom's (Mitchell)", 0 ) |
| 5830 | 5830 | GAME( 1992, skyalert, 0, skyalert, skyalert, metro, ROT270, "Metro", "Sky Alert", 0 ) |
| 5831 | GAME( 1993?,ladykill, 0, karatour, ladykill, karatour, ROT90, "Yanyaka (Mitchell license)", "Lady Killer", GAME_IMPERFECT_GRAPHICS ) | |
| 5832 | GAME( 1993?,moegonta, ladykill, karatour, moegonta, karatour, ROT90, "Yanyaka", "Moeyo Gonta!! (Japan)", GAME_IMPERFECT_GRAPHICS ) | |
| 5831 | GAME( 1993, ladykill, 0, karatour, ladykill, karatour, ROT90, "Yanyaka (Mitchell license)", "Lady Killer", GAME_IMPERFECT_GRAPHICS ) | |
| 5832 | GAME( 1993, moegonta, ladykill, karatour, moegonta, karatour, ROT90, "Yanyaka", "Moeyo Gonta!! (Japan)", GAME_IMPERFECT_GRAPHICS ) | |
| 5833 | 5833 | GAME( 1993, poitto, 0, poitto, poitto, metro, ROT0, "Metro / Able Corp.", "Poitto!", 0 ) |
| 5834 | 5834 | GAME( 1994, blzntrnd, 0, blzntrnd, blzntrnd, blzntrnd, ROT0, "Human Amusement", "Blazing Tornado", GAME_IMPERFECT_GRAPHICS ) |
| 5835 | 5835 | GAME( 1994, dharma, 0, dharma, dharma, metro, ROT0, "Metro", "Dharma Doujou", 0 ) |
| r4962 | r4963 | |
|---|---|---|
| 353 | 353 | DISK_IMAGE_READONLY( "gal3_ld2", 0, NO_DUMP ) |
| 354 | 354 | ROM_END |
| 355 | 355 | |
| 356 | GAME( 199 | |
| 356 | GAME( 1992, gal3, 0, gal3, gal3, 0, ROT0, "Namco", "Galaxian 3 - Theater 6 : Project Dragoon", GAME_NOT_WORKING | GAME_NO_SOUND ) |
| r4962 | r4963 | |
|---|---|---|
| 739 | 739 | MDRV_CPU_PROGRAM_MAP(sexygal_nsc_map) |
| 740 | 740 | MDRV_CPU_VBLANK_INT("screen", irq0_line_hold) |
| 741 | 741 | |
| 742 | MDRV_ | |
| 742 | MDRV_ | |
| 743 | 743 | |
| 744 | 744 | MDRV_SOUND_ADD("ym", YM2203, MASTER_CLOCK / 8) |
| 745 | 745 | MDRV_SOUND_CONFIG(ay8910_config) |
| r4962 | r4963 | |
|---|---|---|
| 486 | 486 | |
| 487 | 487 | static READ16_HANDLER( maygay_8279_r ) |
| 488 | 488 | { |
| 489 | static const char *portnames[] = { "STROBE1","STROBE2","STROBE3","STROBE4","STROBE5","STROBE6","STROBE7","STROBE8" }; | |
| 489 | static const char *const portnames[] = { "STROBE1","STROBE2","STROBE3","STROBE4","STROBE5","STROBE6","STROBE7","STROBE8" }; | |
| 490 | 490 | UINT8 result = 0xff; |
| 491 | 491 | UINT8 addr; |
| 492 | 492 |
| r4962 | r4963 | |
|---|---|---|
| 1194 | 1194 | MDRV_IMPORT_FROM(atarisy2) |
| 1195 | 1195 | |
| 1196 | 1196 | /* sound hardware */ |
| 1197 | MDRV_ | |
| 1197 | MDRV_ | |
| 1198 | 1198 | MACHINE_DRIVER_END |
| 1199 | 1199 | |
| 1200 | 1200 |
| r4962 | r4963 | |
|---|---|---|
| 969 | 969 | MDRV_VIDEO_START(mnight) |
| 970 | 970 | |
| 971 | 971 | /* sound hardware */ |
| 972 | MDRV_ | |
| 972 | MDRV_ | |
| 973 | 973 | MACHINE_DRIVER_END |
| 974 | 974 | |
| 975 | 975 | static MACHINE_DRIVER_START( arkarea ) |
| r4962 | r4963 | |
| 984 | 984 | MDRV_VIDEO_START(arkarea) |
| 985 | 985 | |
| 986 | 986 | /* sound hardware */ |
| 987 | MDRV_ | |
| 987 | MDRV_ | |
| 988 | 988 | MACHINE_DRIVER_END |
| 989 | 989 | |
| 990 | 990 | static MACHINE_DRIVER_START( robokid ) |
| r4962 | r4963 | |
| 1474 | 1474 | GAME( 1987, ninjak2b, ninjakd2, ninjakd2, rdaction, bootleg, ROT0, "UPL", "Ninja-Kid II / NinjaKun Ashura no Shou (set 3, bootleg?)", 0 ) |
| 1475 | 1475 | GAME( 1987, rdaction, ninjakd2, ninjakd2, rdaction, ninjakd2, ROT0, "UPL (World Games license)", "Rad Action / NinjaKun Ashura no Shou", 0 ) |
| 1476 | 1476 | GAME( 1987, mnight, 0, mnight, mnight, mnight, ROT0, "UPL (Kawakus license)", "Mutant Night", 0 ) |
| 1477 | GAME( 198 | |
| 1477 | GAME( 1988, arkarea, 0, arkarea, arkarea, mnight, ROT0, "UPL", "Ark Area", 0 ) | |
| 1478 | 1478 | GAME( 1988, robokid, 0, robokid, robokid, 0, ROT0, "UPL", "Atomic Robo-kid", 0 ) |
| 1479 | 1479 | GAME( 1988, robokidj, robokid, robokid, robokidj, 0, ROT0, "UPL", "Atomic Robo-kid (Japan, set 1)", 0 ) |
| 1480 | 1480 | GAME( 1988, robokdj2, robokid, robokid, robokidj, 0, ROT0, "UPL", "Atomic Robo-kid (Japan, set 2)", 0 ) |
| r4962 | r4963 | |
|---|---|---|
| 1287 | 1287 | |
| 1288 | 1288 | ***************************************************************************/ |
| 1289 | 1289 | |
| 1290 | /*************************************************************************** | |
| 1291 | ||
| 1292 | Jockey Club | |
| 1293 | ^^^^^^^^^^^ | |
| 1294 | Dumped by Andrew Welburn on the evening of 05/06/09 | |
| 1295 | ||
| 1296 | http://www.andys-arcade.com | |
| 1297 | ||
| 1298 | ************************************************* | |
| 1299 | **Do not seperate this text file from the roms.** | |
| 1300 | ************************************************* | |
| 1301 | ||
| 1302 | Take a look at the photos in the archive, the roms | |
| 1303 | should be failry explanatory, and you should be | |
| 1304 | able to pick out the chips it uses. | |
| 1305 | ||
| 1306 | Most of the romset matches mame except for the | |
| 1307 | two eproms, see the mame -romident dump. | |
| 1308 | ||
| 1309 | enjoy.. | |
| 1310 | ||
| 1311 | ***************************************************************************/ | |
| 1312 | ||
| 1290 | 1313 | #include "driver.h" |
| 1291 | 1314 | #include "cpu/z80/z80.h" |
| 1292 | 1315 | #include "cpu/m68000/m68000.h" |
| r4962 | r4963 | |
| 2632 | 2655 | AM_RANGE(0xffc000, 0xffffff) AM_RAM // RAM |
| 2633 | 2656 | ADDRESS_MAP_END |
| 2634 | 2657 | |
| 2658 | static UINT8 jockeyc_key_select; | |
| 2635 | 2659 | |
| 2660 | static READ16_HANDLER( jockeyc_mux_r ) | |
| 2661 | { | |
| 2662 | switch( jockeyc_key_select ) | |
| 2663 | { | |
| 2664 | case 0x08: return input_port_read(space->machine, "BET0"); | |
| 2665 | case 0x10: return input_port_read(space->machine, "BET1"); | |
| 2666 | case 0x20: return input_port_read(space->machine, "BET2"); | |
| 2667 | case 0x40: return input_port_read(space->machine, "BET3"); | |
| 2668 | case 0x80: return input_port_read(space->machine, "BET4"); | |
| 2669 | } | |
| 2670 | ||
| 2671 | return 0xffff; | |
| 2672 | } | |
| 2673 | ||
| 2674 | static WRITE16_HANDLER( jockeyc_mux_w ) | |
| 2675 | { | |
| 2676 | /* other bits used too */ | |
| 2677 | jockeyc_key_select = data & 0xf8; | |
| 2678 | } | |
| 2679 | ||
| 2680 | static READ16_HANDLER( unk_r ) | |
| 2681 | { | |
| 2682 | return 0xffff;//mame_rand(space->machine); | |
| 2683 | } | |
| 2684 | ||
| 2685 | /* same as International Toote but without the protection and different RTC hook-up */ | |
| 2686 | static ADDRESS_MAP_START( jockeyc_map, ADDRESS_SPACE_PROGRAM, 16 ) | |
| 2687 | AM_RANGE(0x000000, 0x1fffff) AM_ROM // ROM (up to 2MB) | |
| 2688 | ||
| 2689 | AM_RANGE(0x200000, 0x200001) AM_READWRITE(jockeyc_mux_r,jockeyc_mux_w) | |
| 2690 | AM_RANGE(0x200002, 0x200003) AM_READ_PORT("P1") | |
| 2691 | AM_RANGE(0x200010, 0x200011) AM_READ_PORT("P2") AM_WRITENOP | |
| 2692 | ||
| 2693 | AM_RANGE(0x300000, 0x300001) AM_WRITE(watchdog_reset16_w) // Watchdog | |
| 2694 | ||
| 2695 | AM_RANGE(0x300002, 0x300003) AM_WRITENOP | |
| 2696 | ||
| 2697 | AM_RANGE(0x300010, 0x300011) AM_WRITENOP // lev1 ack | |
| 2698 | AM_RANGE(0x300020, 0x300021) AM_WRITENOP // lev2 ack | |
| 2699 | AM_RANGE(0x300040, 0x300041) AM_WRITENOP // lev4 ack | |
| 2700 | AM_RANGE(0x300060, 0x300061) AM_WRITENOP // lev6 ack | |
| 2701 | ||
| 2702 | AM_RANGE(0x500000, 0x500003) AM_READ(inttoote_dsw_r) // DSW x 3 | |
| 2703 | AM_RANGE(0x600000, 0x600003) AM_READ(unk_r) | |
| 2704 | ||
| 2705 | AM_RANGE(0x800000, 0x80001f) AM_DEVREADWRITE8("rtc", msm6242_r, msm6242_w, 0x00ff) // 6242RTC | |
| 2706 | ||
| 2707 | AM_RANGE(0x900000, 0x903fff) AM_DEVREADWRITE( "x1", seta_sound_word_r, seta_sound_word_w) // Sound | |
| 2708 | ||
| 2709 | AM_RANGE(0xa00000, 0xa00005) AM_WRITEONLY AM_BASE(&seta_vctrl_0) // VRAM 0&1 Ctrl | |
| 2710 | AM_RANGE(0xb00000, 0xb03fff) AM_RAM_WRITE(seta_vram_0_w) AM_BASE(&seta_vram_0) // VRAM 0&1 | |
| 2711 | AM_RANGE(0xb04000, 0xb0ffff) AM_WRITENOP // likely left-over | |
| 2712 | ||
| 2713 | AM_RANGE(0xc00000, 0xc00001) AM_RAM // ? 0x4000 | |
| 2714 | ||
| 2715 | AM_RANGE(0xd00000, 0xd00607) AM_RAM AM_BASE(&spriteram16) // Sprites Y | |
| 2716 | AM_RANGE(0xe00000, 0xe03fff) AM_RAM AM_BASE(&spriteram16_2) // Sprites Code + X + Attr | |
| 2717 | ||
| 2718 | AM_RANGE(0xffc000, 0xffffff) AM_RAM // RAM | |
| 2719 | ADDRESS_MAP_END | |
| 2720 | ||
| 2636 | 2721 | /*************************************************************************** |
| 2637 | 2722 | |
| 2638 | 2723 | |
| r4962 | r4963 | |
| 6038 | 6123 | PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 6039 | 6124 | INPUT_PORTS_END |
| 6040 | 6125 | |
| 6126 | static INPUT_PORTS_START( jockeyc ) | |
| 6127 | PORT_INCLUDE( inttoote ) | |
| 6041 | 6128 | |
| 6129 | PORT_MODIFY("BET1") // 200000.w (0x10) | |
| 6130 | PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Credit") | |
| 6131 | PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_START1 ) | |
| 6132 | PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P2 Credit") | |
| 6133 | PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_START2 ) | |
| 6134 | ||
| 6135 | /* many service switches actually */ | |
| 6136 | PORT_MODIFY("P1") | |
| 6137 | PORT_DIPNAME( 0x0001, 0x0001, "Coin Drop - 1P" ) | |
| 6138 | PORT_DIPSETTING( 0x0001, DEF_STR( Off ) ) | |
| 6139 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 6140 | PORT_DIPNAME( 0x0002, 0x0002, "Hopper Overflow - 1P" ) | |
| 6141 | PORT_DIPSETTING( 0x0002, DEF_STR( Off ) ) | |
| 6142 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 6143 | PORT_DIPNAME( 0x0004, 0x0000, "Coin Out" ) | |
| 6144 | PORT_DIPSETTING( 0x0000, DEF_STR( Off ) ) | |
| 6145 | PORT_DIPSETTING( 0x0004, DEF_STR( On ) ) | |
| 6146 | PORT_DIPNAME( 0x0008, 0x0008, "Att Pay - 1P" ) | |
| 6147 | PORT_DIPSETTING( 0x0008, DEF_STR( Off ) ) | |
| 6148 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 6149 | PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_NAME("Coin B - 1P") | |
| 6150 | PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_NAME("Coin A - 1P") | |
| 6151 | PORT_DIPNAME( 0x0040, 0x0040, "Coin Sense 2 - 1P" ) | |
| 6152 | PORT_DIPSETTING( 0x0040, DEF_STR( Off ) ) | |
| 6153 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 6154 | PORT_DIPNAME( 0x0080, 0x0080, "Coin Sense 1 - 1P" ) | |
| 6155 | PORT_DIPSETTING( 0x0080, DEF_STR( Off ) ) | |
| 6156 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 6157 | PORT_DIPNAME( 0x0100, 0x0100, "Coin Drop - 2P" ) | |
| 6158 | PORT_DIPSETTING( 0x0100, DEF_STR( Off ) ) | |
| 6159 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 6160 | PORT_DIPNAME( 0x0200, 0x0200, "Sel Sense" ) | |
| 6161 | PORT_DIPSETTING( 0x0200, DEF_STR( Off ) ) | |
| 6162 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 6163 | PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Unknown ) ) | |
| 6164 | PORT_DIPSETTING( 0x0400, DEF_STR( Off ) ) | |
| 6165 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 6166 | PORT_DIPNAME( 0x0800, 0x0800, "Att Pay - 2P" ) | |
| 6167 | PORT_DIPSETTING( 0x0800, DEF_STR( Off ) ) | |
| 6168 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 6169 | PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_NAME("Coin B - 2P") | |
| 6170 | PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_NAME("Coin A - 2P") | |
| 6171 | PORT_DIPNAME( 0x4000, 0x4000, "Coin Sense 2 - 2P" ) | |
| 6172 | PORT_DIPSETTING( 0x4000, DEF_STR( Off ) ) | |
| 6173 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 6174 | PORT_DIPNAME( 0x8000, 0x8000, "Coin Sense 1 - 2P" ) | |
| 6175 | PORT_DIPSETTING( 0x8000, DEF_STR( Off ) ) | |
| 6176 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 6177 | ||
| 6178 | PORT_MODIFY("P2") | |
| 6179 | PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_NAME("Door Open") PORT_TOGGLE | |
| 6180 | PORT_DIPNAME( 0x0002, 0x0002, "SYSTEM" ) | |
| 6181 | PORT_DIPSETTING( 0x0002, DEF_STR( Off ) ) | |
| 6182 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 6183 | PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Unknown ) ) | |
| 6184 | PORT_DIPSETTING( 0x0004, DEF_STR( Off ) ) | |
| 6185 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 6186 | PORT_DIPNAME( 0x0008, 0x0008, DEF_STR( Tilt ) ) | |
| 6187 | PORT_DIPSETTING( 0x0008, DEF_STR( Off ) ) | |
| 6188 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 6189 | PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Unknown ) ) | |
| 6190 | PORT_DIPSETTING( 0x0010, DEF_STR( Off ) ) | |
| 6191 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 6192 | PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Unknown ) ) | |
| 6193 | PORT_DIPSETTING( 0x0020, DEF_STR( Off ) ) | |
| 6194 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 6195 | PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Unknown ) ) | |
| 6196 | PORT_DIPSETTING( 0x0040, DEF_STR( Off ) ) | |
| 6197 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 6198 | PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Unknown ) ) | |
| 6199 | PORT_DIPSETTING( 0x0080, DEF_STR( Off ) ) | |
| 6200 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 6201 | PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Unknown ) ) | |
| 6202 | PORT_DIPSETTING( 0x0100, DEF_STR( Off ) ) | |
| 6203 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 6204 | PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Unknown ) ) | |
| 6205 | PORT_DIPSETTING( 0x0200, DEF_STR( Off ) ) | |
| 6206 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 6207 | PORT_DIPNAME( 0x0400, 0x0400, "Special Test Mode Item?" ) | |
| 6208 | PORT_DIPSETTING( 0x0400, DEF_STR( Off ) ) | |
| 6209 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 6210 | PORT_DIPNAME( 0x0800, 0x0800, "Call SW" ) | |
| 6211 | PORT_DIPSETTING( 0x0800, DEF_STR( Off ) ) | |
| 6212 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 6213 | PORT_SERVICE( 0x1000, IP_ACTIVE_LOW ) // Function menu (electronic key switch, fitted beneath the front panel) | |
| 6214 | PORT_DIPNAME( 0x2000, 0x2000, "Analyzer" ) | |
| 6215 | PORT_DIPSETTING( 0x2000, DEF_STR( Off ) ) | |
| 6216 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 6217 | PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_NAME("Reset SW") | |
| 6218 | PORT_BIT( 0x8000, IP_ACTIVE_HIGH, IPT_SPECIAL ) // Battery (0 = OK, 1 = NG) | |
| 6219 | INPUT_PORTS_END | |
| 6220 | ||
| 6221 | ||
| 6042 | 6222 | /*************************************************************************** |
| 6043 | 6223 | |
| 6044 | 6224 | |
| r4962 | r4963 | |
| 7868 | 8048 | MDRV_MSM6242_ADD("rtc") |
| 7869 | 8049 | MACHINE_DRIVER_END |
| 7870 | 8050 | |
| 8051 | static MACHINE_DRIVER_START( jockeyc ) | |
| 8052 | MDRV_IMPORT_FROM( inttoote ) | |
| 8053 | MDRV_CPU_MODIFY("maincpu") | |
| 8054 | MDRV_CPU_PROGRAM_MAP(jockeyc_map) | |
| 8055 | MACHINE_DRIVER_END | |
| 7871 | 8056 | |
| 8057 | ||
| 8058 | ||
| 7872 | 8059 | /*************************************************************************** |
| 7873 | 8060 | |
| 7874 | 8061 | ROMs Loading |
| r4962 | r4963 | |
| 8968 | 9155 | ROM_LOAD( "rom.u85", 0x00000, 0x40000, CRC(7b95d0bb) SHA1(f16dfd639eed6856e3ab93704caef592a07ba367) ) |
| 8969 | 9156 | ROM_END |
| 8970 | 9157 | |
| 9158 | ROM_START( jockeyc ) | |
| 9159 | ROM_REGION( 0x200000, "maincpu", 0 ) /* 68000 Code */ | |
| 9160 | ROM_LOAD16_BYTE( "ya-007-002-u23.bin", 0x000000, 0x10000, CRC(c499bf4d) SHA1(2417eac2972bbb0f8f0a4a1fd72c9d78537367c7) ) | |
| 9161 | ROM_LOAD16_BYTE( "ya-007-003-u33.bin", 0x000001, 0x10000, CRC(e7b0677e) SHA1(90dbd710623ff57b953483240e1006c9bda3fc91) ) | |
| 9162 | ROM_FILL( 0x020000, 0x60000, 0xff ) | |
| 9163 | ROM_LOAD16_WORD_SWAP( "ya_002_001.u18", 0x100000, 0x80000, CRC(dd108016) SHA1(1554de4cc1a9436a1e62400cd96c9752a2098f99) ) | |
| 9164 | ROM_FILL( 0x180000, 0x80000, 0xff ) | |
| 9165 | ||
| 9166 | ROM_REGION( 0x200000, "gfx1", ROMREGION_DISPOSE ) /* Sprites */ | |
| 9167 | ROM_LOAD( "ya_011_004.u10", 0x000000, 0x80000, CRC(eb74d2e0) SHA1(221ff6cc03ce57a7fcbe418f1c12a293990f8a7d) ) | |
| 9168 | //ROM_LOAD( "p523.v01_horse_fore_1.u135", 0x070000, 0x10000, CRC(3a75df30) SHA1(f3b3a7428e3e125921686bc9aacde6b28b1947b5) ) | |
| 9169 | ||
| 9170 | ROM_LOAD( "ya_011_005.u17", 0x080000, 0x80000, CRC(4a6c804b) SHA1(b596b9b0b3b453c26f9c7f976ff4d56eac4fac04) ) | |
| 9171 | //ROM_LOAD( "p523.v01_horse_fore_2.u134", 0x0f0000, 0x10000, CRC(26fb0339) SHA1(a134ecef00f690c82c8bddf26498b357ccf8d5c3) ) | |
| 9172 | ||
| 9173 | ROM_LOAD( "ya_011_006.u22", 0x100000, 0x80000, CRC(bfae01a5) SHA1(3be83972c3987e9bf722cd6db7770f074587301c) ) | |
| 9174 | //ROM_LOAD( "p523.v01_horse_fore_3.u133", 0x170000, 0x10000, CRC(c38596af) SHA1(d27141e28d8f8352f065c55121412e604c199a9a) ) | |
| 9175 | ||
| 9176 | ROM_LOAD( "ya_011_007.u27", 0x180000, 0x80000, CRC(2dc7a294) SHA1(97f2aa9939a45aaa94d4aeb2fcd5b7f30204b942) ) | |
| 9177 | //ROM_LOAD( "p523.v01_horse_fore_4.u132", 0x1f0000, 0x10000, CRC(64ef345e) SHA1(ef5d9f293ded44a2be91278549f5db8673fc7571) ) | |
| 9178 | ||
| 9179 | ROM_REGION( 0xc0000, "gfx2", ROMREGION_DISPOSE ) /* Layer 1 */ | |
| 9180 | ROM_LOAD( "ya_011_008.u35", 0x000000, 0x40000, CRC(4b890f83) SHA1(fde6544898a0691b550f3045803f2e81cfeb5fe9) ) | |
| 9181 | //ROM_LOAD( "p523.v01_horse_back_1.u137", 0x040000, 0x20000, CRC(39b221ea) SHA1(3b3367430733ed36d6a981cd2ec6df731d07c089) ) | |
| 9182 | ||
| 9183 | ROM_LOAD( "ya_011_009.u41", 0x060000, 0x40000, CRC(caa5e3c1) SHA1(63cccc5479040a02872febc8d7f2d46096e138d1) ) | |
| 9184 | //ROM_LOAD( "p523.v01_horse_back_2.u136", 0x0a0000, 0x20000, CRC(9c5e32a0) SHA1(964734a626b5c7b9d7130addc642895df520dcb7) ) | |
| 9185 | ||
| 9186 | ROM_REGION( 0x400, "proms", 0 ) /* Colours */ | |
| 9187 | ROM_LOAD16_BYTE( "ya-010.prom", 0x000, 0x200, CRC(778094b3) SHA1(270329a0d544dc7a8240d6dab08ccd54ea87ab70) ) | |
| 9188 | ROM_LOAD16_BYTE( "ya-011.prom", 0x001, 0x200, CRC(bd4fe2f6) SHA1(83d9f9db3fbfa2d172f5227c397ea4d5a9687015) ) | |
| 9189 | ||
| 9190 | ROM_REGION( 0x100000, "x1", 0 ) /* Samples */ | |
| 9191 | ROM_LOAD( "ya_011_013.u71", 0x00000, 0x80000, CRC(2bccaf47) SHA1(1658643444d575410f11b648e0d7ae6c43fcf1ea) ) | |
| 9192 | ROM_LOAD( "ya_011_012.u64", 0x80000, 0x80000, CRC(a8015ce6) SHA1(bb0b589856ec82e1fd42be9af89b07ba1d17e595) ) | |
| 9193 | ROM_END | |
| 9194 | ||
| 8971 | 9195 | ROM_START( inttoote ) |
| 8972 | 9196 | ROM_REGION( 0x200000, "maincpu", 0 ) /* 68000 Code */ |
| 8973 | 9197 | ROM_LOAD16_BYTE( "p523.v01_horse_prog_2.002", 0x000000, 0x10000, CRC(6ce6f1ad) SHA1(82e7100721ca5b1a736f6523610b1f1edf225c12) ) |
| r4962 | r4963 | |
| 9280 | 9504 | GAME( 1989, wits, 0, wits, wits, 0, ROT0, "Athena (Visco license)", "Wit's (Japan)" , 0) // Country/License: DSW |
| 9281 | 9505 | GAME( 1990, thunderl, 0, thunderl, thunderl, 0, ROT270, "Seta", "Thunder & Lightning" , 0) // Country/License: DSW |
| 9282 | 9506 | GAME( 1994, wiggie, 0, wiggie, thunderl, wiggie, ROT270, "Promat", "Wiggie Waggie", GAME_IMPERFECT_GRAPHICS ) // hack of Thunder & Lightning |
| 9507 | GAME( 1990, jockeyc, 0, jockeyc, jockeyc, 0, ROT0, "[Seta] (Visco license)", "Jockey Club", 0 ) | |
| 9508 | GAME( 1998, inttoote, jockeyc, inttoote, inttoote, inttoote, ROT0, "Coinmaster", "International Toote (Germany)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION ) | |
| 9283 | 9509 | GAME( 1991, rezon, 0, rezon, rezon, rezon, ROT0, "Allumer", "Rezon", 0 ) |
| 9284 | 9510 | GAME( 1992, rezont, rezon, rezon, rezont, rezon, ROT0, "Allumer (Taito license)","Rezon (Taito)", 0 ) |
| 9285 | 9511 | GAME( 1991, stg, 0, drgnunit, stg, 0, ROT270, "Athena / Tecmo", "Strike Gunner S.T.G", 0 ) |
| r4962 | r4963 | |
| 9313 | 9539 | GAME( 1995, sokonuke, 0, extdwnhl, sokonuke, 0, ROT0, "Sammy Industries", "Sokonuke Taisen Game (Japan)", GAME_IMPERFECT_SOUND ) |
| 9314 | 9540 | GAME( 1995, zombraid, 0, gundhara, zombraid, zombraid, ROT0, "American Sammy", "Zombie Raid (US)", GAME_NO_COCKTAIL ) |
| 9315 | 9541 | GAME( 1996, crazyfgt, 0, crazyfgt, crazyfgt, crazyfgt, ROT0, "Subsino", "Crazy Fight", GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 9316 | GAME( 1998, inttoote, 0, inttoote, inttoote, inttoote, ROT0, "Coinmaster", "International Toote (Germany)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION ) | |
| 9317 | 9542 |
| r4962 | r4963 | |
|---|---|---|
| 931 | 931 | |
| 932 | 932 | |
| 933 | 933 | // some default eeprom settings |
| 934 | UINT8 jvseeprom_default_karous[128] = { 0x58, 0xE5, 0x11, 0x42, 0x4D, 0x57, 0x00, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x58, 0xE5, 0x11, 0x42, 0x4D, 0x57, 0x00, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | |
| 935 | UINT8 jvseeprom_default_sfz3ugd[128] = { 0xE3, 0xF2, 0x10, 0x42, 0x43, 0x59, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xE3, 0xF2, 0x10, 0x42, 0x43, 0x59, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xBE, 0x1F, 0x18, 0x18, 0xBE, 0x1F, 0x18, 0x18, 0x30, 0x59, 0x43, 0x42, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x01, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x30, 0x59, 0x43, 0x42, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x01, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | |
| 936 | UINT8 jvseeprom_default_shikgam2[128] = { 0xA4, 0xF6, 0x11, 0x42, 0x47, 0x45, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xA4, 0xF6, 0x11, 0x42, 0x47, 0x45, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11,0x43, 0x84, 0x20, 0x20, 0x43, 0x84, 0x20, 0x20, 0x42, 0x47, 0x45, 0x30, 0x53, 0x48, 0x49, 0x4B, 0x49, 0x32, 0x52, 0x4F, 0x4D, 0x20, 0x30, 0x32, 0x32, 0x38, 0x00, 0x00, 0x4B, 0x4B, 0x00, 0x02, 0x00, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x42, 0x47, 0x45, 0x30, 0x53, 0x48, 0x49, 0x4B, 0x49, 0x32, 0x52, 0x4F, 0x4D, 0x20, 0x30, 0x32, 0x32, 0x38, 0x00, 0x00, 0x4B, 0x4B, 0x00, 0x02, 0x00, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | |
| 937 | UINT8 jvseeprom_default_quizqgd[128] = { 0xAD, 0x1E, 0x11, 0x42, 0x46, 0x50, 0x31, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xAD, 0x1E, 0x11, 0x42, 0x46, 0x50, 0x31, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xC4, 0x18, 0x1D, 0x20, 0xC4, 0x18, 0x1D, 0x20, 0x42, 0x46, 0x50, 0x31, 0x51, 0x2D, 0x4D, 0x4F, 0x44, 0x45, 0x51, 0x2D, 0x4D, 0x4F, 0x44, 0x45, 0x01, 0x01, 0x05, 0x01, 0x02, 0x00, 0x01, 0x03, 0x01, 0x00, 0x4B, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x42, 0x46, 0x50, 0x31, 0x51, 0x2D, 0x4D, 0x4F, 0x44, 0x45, 0x51, 0x2D, 0x4D, 0x4F, 0x44, 0x45, 0x01, 0x01, 0x05, 0x01, 0x02, 0x00, 0x01, 0x03, 0x01, 0x00, 0x4B, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | |
| 938 | UINT8 jvseeprom_default_senko[128] = { 0xCD, 0xEE, 0x10, 0x42, 0x4B, 0x47, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xCD, 0xEE, 0x10, 0x42, 0x4B, 0x47, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xE5, 0x91, 0x10, 0x10, 0xE5, 0x91, 0x10, 0x10, 0x07, 0x51, 0x17, 0x03, 0x00, 0x01, 0x02, 0x02, 0x46, 0x00, 0x96, 0x00, 0x46, 0x00, 0x00, 0x00, 0x07, 0x51, 0x17, 0x03, 0x00, 0x01, 0x02, 0x02, 0x46, 0x00, 0x96, 0x00, 0x46, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | |
| 939 | UINT8 jvseeprom_default_senkoo[128] = { 0xCD, 0xEE, 0x10, 0x42, 0x4B, 0x47, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xCD, 0xEE, 0x10, 0x42, 0x4B, 0x47, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x12, 0xF0, 0x0C, 0x0C, 0x12, 0xF0, 0x0C, 0x0C, 0x07, 0x51, 0x17, 0x03, 0x01, 0x02, 0x46, 0x00, 0x96, 0x00, 0x00, 0x00, 0x07, 0x51, 0x17, 0x03, 0x01, 0x02, 0x46, 0x00, 0x96, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | |
| 940 | UINT8 jvseeprom_default_radirgy[128] = { 0x0C, 0x29, 0x11, 0x42, 0x4B, 0x57, 0x00, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x0C, 0x29, 0x11, 0x42, 0x4B, 0x57, 0x00, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | |
| 941 | UINT8 jvseeprom_default_trgheart[128] = { 0xF0, 0xC2, 0x11, 0x42, 0x4D, 0x41, 0x31, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xF0, 0xC2, 0x11, 0x42, 0x4D, 0x41, 0x31, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x7E, 0xE1, 0x24, 0x24, 0x7E, 0xE1, 0x24, 0x24, 0x30, 0x41, 0x4D, 0x42, 0x54, 0x52, 0x49, 0x47, 0x47, 0x45, 0x52, 0x48, 0x45, 0x41, 0x52, 0x54, 0x20, 0x45, 0x58, 0x45, 0x4C, 0x49, 0x43, 0x41, 0x00, 0x00, 0x00, 0x00, 0x01, 0x03, 0x02, 0x00, 0x09, 0x09, 0x09, 0x00, 0x30, 0x41, 0x4D, 0x42, 0x54, 0x52, 0x49, 0x47, 0x47, 0x45, 0x52, 0x48, 0x45, 0x41, 0x52, 0x54, 0x20, 0x45, 0x58, 0x45, 0x4C, 0x49, 0x43, 0x41, 0x00, 0x00, 0x00, 0x00, 0x01, 0x03, 0x02, 0x00, 0x09, 0x09, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | |
| 942 | UINT8 jvseeprom_default_gundmgd[128] = { 0xCD, 0x77, 0x10, 0x42, 0x43, 0x56, 0x30, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xCD, 0x77, 0x10, 0x42, 0x43, 0x56, 0x30, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | |
| 943 | UINT8 jvseeprom_default_gundmxgd[128] = { 0xAA, 0xAD, 0x10, 0x42, 0x44, 0x55, 0x30, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xAA, 0xAD, 0x10, 0x42, 0x44, 0x55, 0x30, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | |
| 944 | UINT8 jvseeprom_default_psyvar2[128] = { 0xCB, 0x6E, 0x11, 0x42, 0x48, 0x42, 0x30, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xCB, 0x6E, 0x11, 0x42, 0x48, 0x42, 0x30, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | |
| 945 | UINT8 jvseeprom_default_cfield[128] = { 0xFB, 0xD4, 0x10, 0x42, 0x4A, 0x42, 0x00, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xFB, 0xD4, 0x10, 0x42, 0x4A, 0x42, 0x00, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | |
| 946 | UINT8 jvseeprom_default_puyofev[128] = { 0x65, 0x7E, 0x10, 0x42, 0x48, 0x44, 0x00, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x65, 0x7E, 0x10, 0x42, 0x48, 0x44, 0x00, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x0E, 0x0B, 0x20, 0x20, 0x0E, 0x0B, 0x20, 0x20, 0x42, 0x48, 0x44, 0x00, 0x50, 0x55, 0x59, 0x4F, 0x20, 0x50, 0x55, 0x59, 0x4F, 0x20, 0x46, 0x45, 0x56, 0x45, 0x52, 0x2E, 0x20, 0x10, 0x03, 0x20, 0x01, 0x00, 0x02, 0x03, 0x00, 0x80, 0x00, 0x00, 0x42, 0x48, 0x44, 0x00, 0x50, 0x55, 0x59, 0x4F, 0x20, 0x50, 0x55, 0x59, 0x4F, 0x20, 0x46, 0x45, 0x56, 0x45, 0x52, 0x2E, 0x20, 0x10, 0x03, 0x20, 0x01, 0x00, 0x02, 0x03, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | |
| 947 | UINT8 jvseeprom_default_bdrdown[128] = { 0xA0, 0x75, 0x10, 0x42, 0x47, 0x48, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xA0, 0x75, 0x10, 0x42, 0x47, 0x48, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xAE, 0x7E, 0x08, 0x08, 0xAE, 0x7E, 0x08, 0x08, 0x01, 0x00, 0x00, 0x00, 0x33, 0xB8, 0x96, 0xE4, 0x01, 0x00, 0x00, 0x00, 0x33, 0xB8, 0x96, 0xE4, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | |
| 948 | UINT8 jvseeprom_default_ss2005[128] = { 0xAD, 0x0A, 0x10, 0x42, 0x4B, 0x4C, 0x30, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xAD, 0x0A, 0x10, 0x42, 0x4B, 0x4C, 0x30, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | |
| 949 | UINT8 jvseeprom_default_usagui[128] = { 0x02, 0x8C, 0x10, 0x42, 0x47, 0x46, 0x00, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x02, 0x8C, 0x10, 0x42, 0x47, 0x46, 0x00, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | |
| 950 | UINT8 jvseeprom_default_undefeat[128] = { 0x06, 0x18, 0x11, 0x42, 0x4C, 0x48, 0x30, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x06, 0x18, 0x11, 0x42, 0x4C, 0x48, 0x30, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | |
| 951 | UINT8 jvseeprom_default_trizeal[128] = { 0x8F, 0x05, 0x11, 0x42, 0x4A, 0x46, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x8F, 0x05, 0x11, 0x42, 0x4A, 0x46, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | |
| 952 | UINT8 jvseeprom_default_moeru[128] = { 0xA1, 0x18, 0x10, 0x42, 0x45, 0x55, 0x20, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xA1, 0x18, 0x10, 0x42, 0x45, 0x55, 0x20, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | |
| 953 | UINT8 jvseeprom_default_tetkiwam[128] = { 0x3C, 0x11, 0x10, 0x42, 0x47, 0x43, 0x31, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x3C, 0x11, 0x10, 0x42, 0x47, 0x43, 0x31, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | |
| 954 | UINT8 jvseeprom_default_keyboard[128] = { 0x32, 0x7E, 0x10, 0x42, 0x45, 0x42, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x32, 0x7E, 0x10, 0x42, 0x45, 0x42, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xF0, 0x4A, 0x0C, 0x0C, 0xF0, 0x4A, 0x0C, 0x0C, 0x18, 0x09, 0x01, 0x20, 0x02, 0x00, 0x3C, 0x00, 0x32, 0x00, 0x00, 0x00, 0x18, 0x09, 0x01, 0x20, 0x02, 0x00, 0x3C, 0x00, 0x32, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; | |
| 934 | static const struct | |
| 935 | { | |
| 936 | const char *name; | |
| 937 | const UINT8 eeprom[128]; | |
| 938 | } | |
| 939 | jvseeprom_default_game[] = | |
| 940 | { | |
| 941 | { "karous", { 0x58, 0xE5, 0x11, 0x42, 0x4D, 0x57, 0x00, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x58, 0xE5, 0x11, 0x42, 0x4D, 0x57, 0x00, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }, | |
| 942 | { "sfz3ugd", { 0xE3, 0xF2, 0x10, 0x42, 0x43, 0x59, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xE3, 0xF2, 0x10, 0x42, 0x43, 0x59, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xBE, 0x1F, 0x18, 0x18, 0xBE, 0x1F, 0x18, 0x18, 0x30, 0x59, 0x43, 0x42, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x01, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x30, 0x59, 0x43, 0x42, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x01, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }, | |
| 943 | { "shikgam2", { 0xA4, 0xF6, 0x11, 0x42, 0x47, 0x45, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xA4, 0xF6, 0x11, 0x42, 0x47, 0x45, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11,0x43, 0x84, 0x20, 0x20, 0x43, 0x84, 0x20, 0x20, 0x42, 0x47, 0x45, 0x30, 0x53, 0x48, 0x49, 0x4B, 0x49, 0x32, 0x52, 0x4F, 0x4D, 0x20, 0x30, 0x32, 0x32, 0x38, 0x00, 0x00, 0x4B, 0x4B, 0x00, 0x02, 0x00, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x42, 0x47, 0x45, 0x30, 0x53, 0x48, 0x49, 0x4B, 0x49, 0x32, 0x52, 0x4F, 0x4D, 0x20, 0x30, 0x32, 0x32, 0x38, 0x00, 0x00, 0x4B, 0x4B, 0x00, 0x02, 0x00, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }, | |
| 944 | { "quizqgd", { 0xAD, 0x1E, 0x11, 0x42, 0x46, 0x50, 0x31, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xAD, 0x1E, 0x11, 0x42, 0x46, 0x50, 0x31, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xC4, 0x18, 0x1D, 0x20, 0xC4, 0x18, 0x1D, 0x20, 0x42, 0x46, 0x50, 0x31, 0x51, 0x2D, 0x4D, 0x4F, 0x44, 0x45, 0x51, 0x2D, 0x4D, 0x4F, 0x44, 0x45, 0x01, 0x01, 0x05, 0x01, 0x02, 0x00, 0x01, 0x03, 0x01, 0x00, 0x4B, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x42, 0x46, 0x50, 0x31, 0x51, 0x2D, 0x4D, 0x4F, 0x44, 0x45, 0x51, 0x2D, 0x4D, 0x4F, 0x44, 0x45, 0x01, 0x01, 0x05, 0x01, 0x02, 0x00, 0x01, 0x03, 0x01, 0x00, 0x4B, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }, | |
| 945 | { "senko", { 0xCD, 0xEE, 0x10, 0x42, 0x4B, 0x47, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xCD, 0xEE, 0x10, 0x42, 0x4B, 0x47, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xE5, 0x91, 0x10, 0x10, 0xE5, 0x91, 0x10, 0x10, 0x07, 0x51, 0x17, 0x03, 0x00, 0x01, 0x02, 0x02, 0x46, 0x00, 0x96, 0x00, 0x46, 0x00, 0x00, 0x00, 0x07, 0x51, 0x17, 0x03, 0x00, 0x01, 0x02, 0x02, 0x46, 0x00, 0x96, 0x00, 0x46, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }, | |
| 946 | { "senkoo", { 0xCD, 0xEE, 0x10, 0x42, 0x4B, 0x47, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xCD, 0xEE, 0x10, 0x42, 0x4B, 0x47, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x12, 0xF0, 0x0C, 0x0C, 0x12, 0xF0, 0x0C, 0x0C, 0x07, 0x51, 0x17, 0x03, 0x01, 0x02, 0x46, 0x00, 0x96, 0x00, 0x00, 0x00, 0x07, 0x51, 0x17, 0x03, 0x01, 0x02, 0x46, 0x00, 0x96, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }, | |
| 947 | { "radirgy", { 0x0C, 0x29, 0x11, 0x42, 0x4B, 0x57, 0x00, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x0C, 0x29, 0x11, 0x42, 0x4B, 0x57, 0x00, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }, | |
| 948 | { "trgheart", { 0xF0, 0xC2, 0x11, 0x42, 0x4D, 0x41, 0x31, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xF0, 0xC2, 0x11, 0x42, 0x4D, 0x41, 0x31, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x7E, 0xE1, 0x24, 0x24, 0x7E, 0xE1, 0x24, 0x24, 0x30, 0x41, 0x4D, 0x42, 0x54, 0x52, 0x49, 0x47, 0x47, 0x45, 0x52, 0x48, 0x45, 0x41, 0x52, 0x54, 0x20, 0x45, 0x58, 0x45, 0x4C, 0x49, 0x43, 0x41, 0x00, 0x00, 0x00, 0x00, 0x01, 0x03, 0x02, 0x00, 0x09, 0x09, 0x09, 0x00, 0x30, 0x41, 0x4D, 0x42, 0x54, 0x52, 0x49, 0x47, 0x47, 0x45, 0x52, 0x48, 0x45, 0x41, 0x52, 0x54, 0x20, 0x45, 0x58, 0x45, 0x4C, 0x49, 0x43, 0x41, 0x00, 0x00, 0x00, 0x00, 0x01, 0x03, 0x02, 0x00, 0x09, 0x09, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }, | |
| 949 | { "gundmgd", { 0xCD, 0x77, 0x10, 0x42, 0x43, 0x56, 0x30, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xCD, 0x77, 0x10, 0x42, 0x43, 0x56, 0x30, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }, | |
| 950 | { "gundmxgd", { 0xAA, 0xAD, 0x10, 0x42, 0x44, 0x55, 0x30, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xAA, 0xAD, 0x10, 0x42, 0x44, 0x55, 0x30, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }, | |
| 951 | { "psyvar2", { 0xCB, 0x6E, 0x11, 0x42, 0x48, 0x42, 0x30, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xCB, 0x6E, 0x11, 0x42, 0x48, 0x42, 0x30, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }, | |
| 952 | { "cfield", { 0xFB, 0xD4, 0x10, 0x42, 0x4A, 0x42, 0x00, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xFB, 0xD4, 0x10, 0x42, 0x4A, 0x42, 0x00, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }, | |
| 953 | { "puyofev", { 0x65, 0x7E, 0x10, 0x42, 0x48, 0x44, 0x00, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x65, 0x7E, 0x10, 0x42, 0x48, 0x44, 0x00, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x0E, 0x0B, 0x20, 0x20, 0x0E, 0x0B, 0x20, 0x20, 0x42, 0x48, 0x44, 0x00, 0x50, 0x55, 0x59, 0x4F, 0x20, 0x50, 0x55, 0x59, 0x4F, 0x20, 0x46, 0x45, 0x56, 0x45, 0x52, 0x2E, 0x20, 0x10, 0x03, 0x20, 0x01, 0x00, 0x02, 0x03, 0x00, 0x80, 0x00, 0x00, 0x42, 0x48, 0x44, 0x00, 0x50, 0x55, 0x59, 0x4F, 0x20, 0x50, 0x55, 0x59, 0x4F, 0x20, 0x46, 0x45, 0x56, 0x45, 0x52, 0x2E, 0x20, 0x10, 0x03, 0x20, 0x01, 0x00, 0x02, 0x03, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }, | |
| 954 | { "bdrdown", { 0xA0, 0x75, 0x10, 0x42, 0x47, 0x48, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xA0, 0x75, 0x10, 0x42, 0x47, 0x48, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xAE, 0x7E, 0x08, 0x08, 0xAE, 0x7E, 0x08, 0x08, 0x01, 0x00, 0x00, 0x00, 0x33, 0xB8, 0x96, 0xE4, 0x01, 0x00, 0x00, 0x00, 0x33, 0xB8, 0x96, 0xE4, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }, | |
| 955 | { "ss2005", { 0xAD, 0x0A, 0x10, 0x42, 0x4B, 0x4C, 0x30, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xAD, 0x0A, 0x10, 0x42, 0x4B, 0x4C, 0x30, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }, | |
| 956 | { "usagui", { 0x02, 0x8C, 0x10, 0x42, 0x47, 0x46, 0x00, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x02, 0x8C, 0x10, 0x42, 0x47, 0x46, 0x00, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }, | |
| 957 | { "undefeat", { 0x06, 0x18, 0x11, 0x42, 0x4C, 0x48, 0x30, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x06, 0x18, 0x11, 0x42, 0x4C, 0x48, 0x30, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }, | |
| 958 | { "trizeal", { 0x8F, 0x05, 0x11, 0x42, 0x4A, 0x46, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x8F, 0x05, 0x11, 0x42, 0x4A, 0x46, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }, | |
| 959 | { "moeru", { 0xA1, 0x18, 0x10, 0x42, 0x45, 0x55, 0x20, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xA1, 0x18, 0x10, 0x42, 0x45, 0x55, 0x20, 0x09, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }, | |
| 960 | { "tetkiwam", { 0x3C, 0x11, 0x10, 0x42, 0x47, 0x43, 0x31, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x3C, 0x11, 0x10, 0x42, 0x47, 0x43, 0x31, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }, | |
| 961 | { "keyboard", { 0x32, 0x7E, 0x10, 0x42, 0x45, 0x42, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x32, 0x7E, 0x10, 0x42, 0x45, 0x42, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xF0, 0x4A, 0x0C, 0x0C, 0xF0, 0x4A, 0x0C, 0x0C, 0x18, 0x09, 0x01, 0x20, 0x02, 0x00, 0x3C, 0x00, 0x32, 0x00, 0x00, 0x00, 0x18, 0x09, 0x01, 0x20, 0x02, 0x00, 0x3C, 0x00, 0x32, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } } | |
| 962 | }; | |
| 955 | 963 | |
| 956 | ||
| 957 | 964 | static NVRAM_HANDLER( naomi_eeproms ) |
| 958 | 965 | { |
| 959 | 966 | if (read_or_write) |
| r4962 | r4963 | |
| 989 | 996 | |
| 990 | 997 | UINT32 length, size; |
| 991 | 998 | UINT8 *dat; |
| 992 | UINT8* jvseeprom_default = NULL; | |
| 999 | const UINT8* jvseeprom_default = NULL; | |
| 1000 | int i; | |
| 993 | 1001 | |
| 994 | 1002 | dat = (UINT8 *)eeprom_get_data_pointer(&length, &size); |
| 995 | 1003 | memset(dat, 0, length * size); |
| r4962 | r4963 | |
| 998 | 1006 | eeprom_set_data((UINT8 *)"\011\241 0000000000000000", 48); // 2*checksum 30*unknown 16*serial |
| 999 | 1007 | |
| 1000 | 1008 | // some games require defaults to boot (vertical, 1 player etc.) |
| 1001 | if (!strcmp(machine->gamedrv->name,"karous")) jvseeprom_default = jvseeprom_default_karous; | |
| 1002 | if (!strcmp(machine->gamedrv->name,"sfz3ugd")) jvseeprom_default = jvseeprom_default_sfz3ugd; | |
| 1003 | if (!strcmp(machine->gamedrv->name,"shikgam2")) jvseeprom_default = jvseeprom_default_shikgam2; | |
| 1004 | if (!strcmp(machine->gamedrv->name,"quizqgd")) jvseeprom_default = jvseeprom_default_quizqgd; | |
| 1005 | if (!strcmp(machine->gamedrv->name,"senko")) jvseeprom_default = jvseeprom_default_senko; | |
| 1006 | if (!strcmp(machine->gamedrv->name,"senkoo")) jvseeprom_default = jvseeprom_default_senkoo; | |
| 1007 | if (!strcmp(machine->gamedrv->name,"radirgy")) jvseeprom_default = jvseeprom_default_radirgy; | |
| 1008 | if (!strcmp(machine->gamedrv->name,"trgheart")) jvseeprom_default = jvseeprom_default_trgheart; | |
| 1009 | if (!strcmp(machine->gamedrv->name,"gundmgd")) jvseeprom_default = jvseeprom_default_gundmgd; | |
| 1010 | if (!strcmp(machine->gamedrv->name,"gundmxgd")) jvseeprom_default = jvseeprom_default_gundmxgd; | |
| 1011 | if (!strcmp(machine->gamedrv->name,"psyvar2")) jvseeprom_default = jvseeprom_default_psyvar2; | |
| 1012 | if (!strcmp(machine->gamedrv->name,"cfield")) jvseeprom_default = jvseeprom_default_cfield; | |
| 1013 | if (!strcmp(machine->gamedrv->name,"puyofev")) jvseeprom_default = jvseeprom_default_puyofev; | |
| 1014 | if (!strcmp(machine->gamedrv->name,"bdrdown")) jvseeprom_default = jvseeprom_default_bdrdown; | |
| 1015 | if (!strcmp(machine->gamedrv->name,"ss2005")) jvseeprom_default = jvseeprom_default_ss2005; | |
| 1016 | if (!strcmp(machine->gamedrv->name,"usagui")) jvseeprom_default = jvseeprom_default_usagui; | |
| 1017 | if (!strcmp(machine->gamedrv->name,"undefeat")) jvseeprom_default = jvseeprom_default_undefeat; | |
| 1018 | if (!strcmp(machine->gamedrv->name,"trizeal")) jvseeprom_default = jvseeprom_default_trizeal; | |
| 1019 | if (!strcmp(machine->gamedrv->name,"moeru")) jvseeprom_default = jvseeprom_default_moeru; | |
| 1020 | if (!strcmp(machine->gamedrv->name,"tetkiwam")) jvseeprom_default = jvseeprom_default_tetkiwam; | |
| 1021 | if (!strcmp(machine->gamedrv->name,"keyboard")) jvseeprom_default = jvseeprom_default_keyboard; | |
| 1009 | for (i=0; i<ARRAY_LENGTH(jvseeprom_default_game); i++) | |
| 1010 | if (!strcmp(machine->gamedrv->name, jvseeprom_default_game[i].name)) | |
| 1011 | { | |
| 1012 | jvseeprom_default = jvseeprom_default_game[i].eeprom; | |
| 1013 | break; | |
| 1014 | } | |
| 1022 | 1015 | |
| 1023 | 1016 | if (jvseeprom_default) |
| 1024 | 1017 | memcpy(maple0x86data1, jvseeprom_default, 0x80); |
| r4962 | r4963 | |
| 4480 | 4473 | //GDL-0018 Azumanga Daioh Puzzle Bobble |
| 4481 | 4474 | //GDL-0019 Guilty Gear XX #Reload |
| 4482 | 4475 | GAME( 2003, ggxxrl, naomigd, naomigd, naomi, ggxxrl, ROT0, "Arc System Works", "Guilty Gear XX #Reload (Rev A) (GDL-0019A)", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING ) |
| 4483 | GAME( 200 | |
| 4476 | GAME( 2004, tetkiwam, naomigd, naomigd, naomi, naomi, ROT0, "Success", "Tetris Kiwamemichi (GDL-0020)", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING ) | |
| 4484 | 4477 | GAME( 2003, shikgam2, naomigd, naomigd, naomi, naomi, ROT270, "Alpha System", "Shikigami No Shiro II / The Castle of Shikigami II (GDL-0021)", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING ) |
| 4485 | 4478 | GAME( 2003, usagui, naomigd, naomigd, naomi_mp, naomi_mp,ROT0, "Warashi / Taito / Mahjong Kobo", "Usagi - Yamashiro Mahjong Hen (GDL-0022)", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING ) |
| 4486 | 4479 | //GDL-0023 Border Down |
| r4962 | r4963 | |
|---|---|---|
| 4997 | 4997 | |
| 4998 | 4998 | /* other games on basic galaxian hardware */ |
| 4999 | 4999 | GAME( 1981, blkhole, 0, galaxian, blkhole, galaxian, ROT90, "TDS", "Black Hole", GAME_SUPPORTS_SAVE ) |
| 5000 | GAME( 19 | |
| 5000 | GAME( 1982, orbitron, 0, galaxian, orbitron, galaxian, ROT270, "Signatron USA", "Orbitron", GAME_SUPPORTS_SAVE ) | |
| 5001 | 5001 | GAME( 1980, luctoday, 0, galaxian, luctoday, galaxian, ROT270, "Sigma", "Lucky Today",GAME_WRONG_COLORS | GAME_SUPPORTS_SAVE ) |
| 5002 | 5002 | GAME( 19??, chewing, luctoday, galaxian, luctoday, galaxian, ROT90, "unknown", "Chewing Gum", GAME_SUPPORTS_SAVE ) |
| 5003 | 5003 | GAME( 1982, catacomb, 0, galaxian, catacomb, galaxian, ROT90, "MTM Games", "Catacomb", GAME_WRONG_COLORS | GAME_SUPPORTS_SAVE ) |
| r4962 | r4963 | |
| 5005 | 5005 | |
| 5006 | 5006 | /* these games require the coin lockout mechanism to be disabled */ |
| 5007 | 5007 | GAME( 1981, warofbug, 0, galaxian, warofbug, nolock, ROT90, "Armenia", "War of the Bugs or Monsterous Manouvers in a Mushroom Maze", GAME_SUPPORTS_SAVE ) |
| 5008 | GAME( 19 | |
| 5008 | GAME( 1981, redufo, 0, galaxian, redufo, nolock, ROT90, "bootleg", "Defend the Terra Attack on the Red UFO", GAME_SUPPORTS_SAVE ) | |
| 5009 | 5009 | GAME( 19??, exodus, redufo, galaxian, exodus, nolock, ROT90, "Subelectro", "Exodus (bootleg?)", GAME_SUPPORTS_SAVE ) |
| 5010 | 5010 | |
| 5011 | 5011 | /* different bullet color */ |
| r4962 | r4963 | |
| 5155 | 5155 | /* SF-X hardware; based on Scramble with extra Z80 and 8255 driving a DAC-based sample player */ |
| 5156 | 5156 | GAME( 1983, sfx, 0, sfx, sfx, sfx, ORIENTATION_FLIP_X, "Nichibutsu", "SF-X", GAME_SUPPORTS_SAVE ) |
| 5157 | 5157 | GAME( 1983, skelagon, sfx, sfx, sfx, sfx, ORIENTATION_FLIP_X, "Nichibutsu USA", "Skelagon", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE) |
| 5158 | GAME( 198 | |
| 5158 | GAME( 1982, monsterz, 0, sfx, sfx, sfx, ORIENTATION_FLIP_X, "Nihon", "Monster Zero", GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_SOUND | GAME_NOT_WORKING ) | |
| 5159 | 5159 | |
| 5160 | 5160 | |
| 5161 | 5161 | /* scobra */ |
| r4962 | r4963 | |
|---|---|---|
| 115 | 115 | |
| 116 | 116 | static WRITE8_DEVICE_HANDLER( junofrst_portB_w ) |
| 117 | 117 | { |
| 118 | static const char *fltname[] = { "filter.0.0", "filter.0.1", "filter.0.2" }; | |
| 118 | static const char *const fltname[] = { "filter.0.0", "filter.0.1", "filter.0.2" }; | |
| 119 | 119 | int i; |
| 120 | 120 | |
| 121 | 121 |
| r4962 | r4963 | |
|---|---|---|
| 3028 | 3028 | MDRV_SOUND_REPLACE("psg", YM3812, 20000000/8) |
| 3029 | 3029 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.70) |
| 3030 | 3030 | |
| 3031 | MDRV_ | |
| 3031 | MDRV_ | |
| 3032 | 3032 | MACHINE_DRIVER_END |
| 3033 | 3033 | |
| 3034 | 3034 | static MACHINE_DRIVER_START( mbmj_p16bit ) |
| r4962 | r4963 | |
|---|---|---|
| 52 | 52 | |
| 53 | 53 | * indicates that game needs to be dumped or redumped |
| 54 | 54 | |
| 55 | Custom Program Versions (from | |
| 55 | Custom Program Versions (from different Megatouch | |
| 56 | 56 | |
| 57 | 57 | PROGRAM# Program Version Program Differences |
| 58 | 58 | --------------------------------------------------------------------------------------------- |
| 59 | 9255-41-01 Standard Version Includes all Options, no Restrictions | |
| 60 | 9255-41-02 Minnesota Version Excludes Casino Games | |
| 61 | 9255-41-06 California Version Excludes Poker Double-up feature & No Free Game in Solitaire | |
| 62 | 9255-41-07 New Jersey Version Includes 2-Coin Limit with Lockout Coil | |
| 63 | 9255-41-50 Bi-Lingual ENG/GER Same as Standard Version, Without Word/Casino Games | |
| 64 | 9255-41-57 Internation Version Same as Standard Version, Without Word Games | |
| 65 | 9255-41-60 Bi-Lingual ENG/FRE Same as Standard Version, Without Word/Casino Games | |
| 66 | 9255-41-62 No Free Credit Same as Standard Version, With No Free Credit | |
| 67 | 9255-41-70 Australia Version Same as Standard Version with Special Question Set | |
| 68 | 9255-41-71 South Africa Ver. Same as Standard Version with Special Question Set | |
| 59 | 9255-xx-01 Standard Version Includes all Options, no Restrictions | |
| 60 | 9255-xx-02 Minnesota Version Excludes Casino Games | |
| 61 | 9255-xx-03 Louisiana Version Excludes all Poker Games | |
| 62 | 9255-xx-04 Wisconsin Version Game Connot End if Player Busts; 1,000 Points are Added to End of Each Hand | |
| 63 | 9255-xx-06 California Version Excludes Poker Double-up feature & No Free Game in Solitaire | |
| 64 | 9255-xx-07 New Jersey Version Includes 2-Coin Limit with Lockout Coil | |
| 65 | 9255-xx-50 Bi-Lingual ENG/GER Same as Standard Version, Without Word/Casino Games | |
| 66 | 9255-xx-54 Bi-Lingual ENG/SPA Same as Standard Version, Without Word Games | |
| 67 | 9255-xx-56 No Free Credits Same as Standard Version, Without Word Games and No Free Credits | |
| 68 | 9255-xx-57 Internation Version Same as Standard Version, Without Word Games | |
| 69 | 9255-xx-60 Bi-Lingual ENG/FRE Same as Standard Version, Without Word/Casino Games | |
| 70 | 9255-xx-62 No Free Credit Same as Standard Version, With No Free Credit (see regional notes below) | |
| 71 | 9255-xx-62 Croatia Same as Standard Version, With No Free Credit (see regional notes below) | |
| 72 | 9255-xx-70 Australia Version Same as Standard Version with Special Question Set | |
| 73 | 9255-xx-71 South Africa Ver. Same as Standard Version with Special Question Set | |
| 69 | 74 | |
| 75 | xx = game/version code: | |
| 76 | ||
| 77 | 20 - Megatouch 3 | |
| 78 | 30 - Megatouch 3 Tournament | |
| 79 | 40 - Megatouch 4 | |
| 80 | 41 - Megatouch Super 4 | |
| 81 | 50 - Megatouch 4 Tournament | |
| 82 | 51 - Megatouch Super 4 Tournament | |
| 83 | 60 - Megatouch 5 | |
| 84 | 70 - Megatouch 5 Tournament?? | |
| 85 | 80 - Megatouch 6 | |
| 86 | ||
| 87 | Not all regional versions are available for each Megatouch series | |
| 88 | For Megatouch 4, set 9255-40-62 is Croatia | |
| 89 | For Megatouch Super 4, set 9255-41-62 is No Free Credit | |
| 90 | ||
| 70 | 91 | Notes/ToDo: |
| 71 | 92 | - offset for top V9938 layer is hardcoded, probably should be taken from V9938 setup |
| 72 | 93 | - blinking on Meagtouch title screen is probably incorrect |
| r4962 | r4963 | |
|---|---|---|
| 281 | 281 | |
| 282 | 282 | /* Game Driver */ |
| 283 | 283 | |
| 284 | GAME( 1985 | |
| 284 | GAME( 1985 |
| r4962 | r4963 | |
|---|---|---|
| 55 | 55 | |
| 56 | 56 | VIDEO_UPDATE( fantland ); |
| 57 | 57 | |
| 58 | static const char *msm_name[4] = { "msm1", "msm2", "msm3", "msm4" }; | |
| 58 | static const char *const msm_name[4] = { "msm1", "msm2", "msm3", "msm4" }; | |
| 59 | 59 | |
| 60 | 60 | /*************************************************************************** |
| 61 | 61 |
| r0 | r4963 | |
|---|---|---|
| 1 | /* | |
| 2 | ||
| 3 | Enchanted Forest 1994 Aristocrat Leisure Industries | |
| 4 | Manufacturer: Aristocrat Leisure Industries | |
| 5 | Platform: Mark IV 540 Video | |
| 6 | ||
| 7 | Driver by Palindrome | |
| 8 | ||
| 9 | ||
| 10 | Technical Notes: | |
| 11 | ||
| 12 | MC6809 Motorola Processor | |
| 13 | R6545AP for CRT video controller | |
| 14 | UPD43256BCZ-70LL for 32kb of static ram used for 3 way electronic meters / 3 way memory | |
| 15 | U6264A for Standard 8K x 8 bit SRAM used for video buffer | |
| 16 | 1 x R65C21P2 PIA - Peripheral Interface Adapter, connects to RTC and sends pulses to mechanical meters | |
| 17 | 1 x 6522 VIA - 1 x Rockwell - Versatile Interface Adapter. | |
| 18 | 2 x WF19054 = AY3-8910 sound chips driven by the 6522 VIA | |
| 19 | 1 x PML 2852 ( programmable logic ) used as address decoder. | |
| 20 | ||
| 21 | VIA drives the programmable sound generators and generates | |
| 22 | a timing interrupt to the CPU (M6809_FIRQ_LINE) | |
| 23 | ||
| 24 | PIA provides output signals to six mechanical meters. | |
| 25 | It also provides the real time clock DS1287 to the CPU. | |
| 26 | ||
| 27 | ||
| 28 | ***********************************************************************************************************************************************/ | |
| 29 | ||
| 30 | #define MAIN_CLOCK XTAL_12MHz | |
| 31 | ||
| 32 | ||
| 33 | #include "driver.h" | |
| 34 | #include "cpu/m6809/m6809.h" | |
| 35 | #include "video/mc6845.h" | |
| 36 | #include "sound/ay8910.h" | |
| 37 | #include "machine/6522via.h" | |
| 38 | #include "machine/6821pia.h" | |
| 39 | ||
| 40 | ||
| 41 | ||
| 42 | static UINT8 *mkiv_vram; | |
| 43 | ||
| 44 | static VIDEO_START(aristmk4) | |
| 45 | { | |
| 46 | } | |
| 47 | ||
| 48 | static VIDEO_UPDATE(aristmk4) | |
| 49 | { | |
| 50 | const gfx_element *gfx = screen->machine->gfx[0]; | |
| 51 | int x,y; | |
| 52 | int count = 0; | |
| 53 | ||
| 54 | for (y=0;y<27;y++) | |
| 55 | { | |
| 56 | for (x=0;x<38;x++) | |
| 57 | { | |
| 58 | int tile = (mkiv_vram[count+1]|mkiv_vram[count]<<8) & 0x3ff; | |
| 59 | int color = ((mkiv_vram[count]) & 0xe0) >> 5; | |
| 60 | int flipx = ((mkiv_vram[count]) & 0x04); | |
| 61 | // 0x0800 probably flipy | |
| 62 | ||
| 63 | drawgfx(bitmap,gfx,tile,color,flipx,0,x*8,y*8,cliprect,TRANSPARENCY_NONE,0); | |
| 64 | count+=2; | |
| 65 | } | |
| 66 | } | |
| 67 | return 0; | |
| 68 | } | |
| 69 | ||
| 70 | ||
| 71 | ||
| 72 | static WRITE8_HANDLER(test_w) | |
| 73 | { | |
| 74 | ||
| 75 | } | |
| 76 | ||
| 77 | static READ8_HANDLER(test_r) | |
| 78 | { | |
| 79 | return 0; | |
| 80 | } | |
| 81 | ||
| 82 | ||
| 83 | /****************************************************************************** | |
| 84 | ||
| 85 | PERIPHERAL INTERFACE ADAPTER CONFIGURATION | |
| 86 | ||
| 87 | PORTA - DALLAS DS1287 RTC | |
| 88 | PORTB - MECHANICAL METERS | |
| 89 | ||
| 90 | ******************************************************************************/ | |
| 91 | ||
| 92 | ||
| 93 | ||
| 94 | static int pia_data = 0; | |
| 95 | ||
| 96 | ||
| 97 | /*****************************************************************************/ | |
| 98 | /* DALLAS DS1287 | |
| 99 | ******************************************************************************/ | |
| 100 | ||
| 101 | static UINT8 bcd(UINT8 data) | |
| 102 | { | |
| 103 | return ((data / 10) << 4) | (data % 10); | |
| 104 | } | |
| 105 | ||
| 106 | ||
| 107 | static UINT8 rtc_get_reg(running_machine *machine,int address_register) | |
| 108 | { | |
| 109 | mame_system_time systime; | |
| 110 | mame_get_current_datetime(machine, &systime); | |
| 111 | switch(address_register) | |
| 112 | { | |
| 113 | case 0x00: | |
| 114 | //seconds | |
| 115 | return bcd(systime.local_time.second); | |
| 116 | case 0x01: | |
| 117 | //seconds alarm | |
| 118 | return 0; | |
| 119 | case 0x02: | |
| 120 | //minutes | |
| 121 | return bcd(systime.local_time.minute); | |
| 122 | case 0x03: | |
| 123 | //minutes alarm | |
| 124 | return 0;//bcd(systime.local_time.minute); | |
| 125 | case 0x04: | |
| 126 | //hours | |
| 127 | return bcd(systime.local_time.hour); | |
| 128 | case 0x05: | |
| 129 | //hours alarm | |
| 130 | return 0;//bcd(systime.local_time.hour); | |
| 131 | case 0x06: | |
| 132 | //day of week | |
| 133 | return bcd(systime.local_time.mday); | |
| 134 | case 0x07: | |
| 135 | //date of month | |
| 136 | return bcd(systime.local_time.mday); | |
| 137 | case 0x08: | |
| 138 | //month | |
| 139 | return bcd(systime.local_time.month + 1); | |
| 140 | case 0x09: | |
| 141 | //year | |
| 142 | return bcd(systime.local_time.year % 10); | |
| 143 | case 0x0A: | |
| 144 | //register A | |
| 145 | return 0xA; | |
| 146 | case 0x0B: | |
| 147 | //register B | |
| 148 | return 0xB; | |
| 149 | case 0x0C: | |
| 150 | //register C | |
| 151 | return 0xC; | |
| 152 | case 0x0D: | |
| 153 | //register D | |
| 154 | return 0xD; | |
| 155 | default: | |
| 156 | fatalerror("DALLAS DS1287: Unknown register %02X", address_register); | |
| 157 | return 0x00; | |
| 158 | } | |
| 159 | } | |
| 160 | ||
| 161 | // RTC CLOCK | |
| 162 | ||
| 163 | // datain | |
| 164 | static WRITE8_HANDLER(mkiv_datain_pia_w) | |
| 165 | { | |
| 166 | const device_config *pia_0 = devtag_get_device(space->machine, "pia6821_0"); | |
| 167 | //logerror("CPU ===> PIA: %02X\n", data); | |
| 168 | pia6821_w(pia_0, offset, data); | |
| 169 | ||
| 170 | } | |
| 171 | ||
| 172 | // data out | |
| 173 | static READ8_HANDLER(mkiv_dataout_pia_r) | |
| 174 | { | |
| 175 | return pia_data; | |
| 176 | ||
| 177 | } | |
| 178 | ||
| 179 | //input a | |
| 180 | static READ8_DEVICE_HANDLER(mkiv_pia_ina) | |
| 181 | { | |
| 182 | // logerror("PIA Port A Read Handler: %02X\n", rtc_data); | |
| 183 | pia_data = rtc_get_reg(device->machine,pia_data); // RTC | |
| 184 | return pia_data; | |
| 185 | ||
| 186 | ||
| 187 | } | |
| 188 | ||
| 189 | //output a | |
| 190 | static WRITE8_DEVICE_HANDLER(mkiv_pia_outa) | |
| 191 | { | |
| 192 | pia_data = data; | |
| 193 | //logerror("PIA Port A Write Handler: %02X\n", data); | |
| 194 | ||
| 195 | } | |
| 196 | ||
| 197 | //output ca2 | |
| 198 | static WRITE8_DEVICE_HANDLER(mkiv_pia_ca2) | |
| 199 | { | |
| 200 | ||
| 201 | //logerror("PIA Port CA2 Write Handler: %02X\n", data); | |
| 202 | } | |
| 203 | ||
| 204 | ||
| 205 | ||
| 206 | //output b | |
| 207 | static WRITE8_DEVICE_HANDLER(mkiv_pia_outb) | |
| 208 | { | |
| 209 | ||
| 210 | UINT8 emet[5]; | |
| 211 | int i = 0; | |
| 212 | //pia_data = data; | |
| 213 | emet[0] = data & 0x01; /* emet1 - bit 1 - PB0 */ | |
| 214 | /* seren1 - bit 2 - PB1 */ | |
| 215 | emet[1] = data & 0x04; /* emet3 - bit 3 - PB2 */ | |
| 216 | emet[2] = data & 0x08; /* emet4 - bit 4 - PB3 */ | |
| 217 | emet[3] = data & 0x10; /* emet5 - bit 5 - PB4 */ | |
| 218 | emet[4] = data & 0x20; /* emet6 - bit 6 - PB5 */ | |
| 219 | ||
| 220 | ||
| 221 | for(i = 0;i<sizeof(emet);i++) | |
| 222 | { | |
| 223 | // logerror("Mechanical meter %d pulse: %02d\n",i+1, emet[i]); | |
| 224 | } | |
| 225 | //logerror("\n"); | |
| 226 | ||
| 227 | } | |
| 228 | ||
| 229 | ||
| 230 | //output cb2 | |
| 231 | static WRITE8_DEVICE_HANDLER(mkiv_pia_cb2) | |
| 232 | { | |
| 233 | ||
| 234 | //logerror("PIA Port CB2 Write Handler: %02X\n", data); | |
| 235 | } | |
| 236 | ||
| 237 | /****************************************************************************** | |
| 238 | ||
| 239 | VERSATILE INTERFACE ADAPTER CONFIGURATION | |
| 240 | ||
| 241 | ******************************************************************************/ | |
| 242 | ||
| 243 | ||
| 244 | static READ8_DEVICE_HANDLER(via_a_r) | |
| 245 | { | |
| 246 | return 0; | |
| 247 | } | |
| 248 | ||
| 249 | static READ8_DEVICE_HANDLER(via_b_r) | |
| 250 | { | |
| 251 | return 0; | |
| 252 | } | |
| 253 | ||
| 254 | static WRITE8_DEVICE_HANDLER(via_a_w) | |
| 255 | { | |
| 256 | ||
| 257 | } | |
| 258 | ||
| 259 | static WRITE8_DEVICE_HANDLER(via_b_w) | |
| 260 | { | |
| 261 | ||
| 262 | } | |
| 263 | ||
| 264 | ||
| 265 | ||
| 266 | static ADDRESS_MAP_START( aristmk4_map, ADDRESS_SPACE_PROGRAM, 8 ) | |
| 267 | AM_RANGE(0x0000, 0x07ff) AM_RAM AM_BASE(&mkiv_vram) // video ram - chips U49 / U50 | |
| 268 | AM_RANGE(0x0800, 0x1fff) AM_RAM | |
| 269 | AM_RANGE(0x2000, 0x3fff) AM_ROM // graphics rom map | |
| 270 | AM_RANGE(0x4000, 0x4fff) AM_RAM // SRAM for meters - U74 | |
| 271 | // VIA | |
| 272 | AM_RANGE(0x5000, 0x500f) AM_MIRROR(0x0010) AM_DEVREADWRITE("via6522_0",via_r,via_w) | |
| 273 | // PIA | |
| 274 | AM_RANGE(0x5380, 0x5383) AM_READWRITE(mkiv_dataout_pia_r,mkiv_datain_pia_w) // RTC data - PORT A , mechanical meters - PORTB ?? | |
| 275 | AM_RANGE(0x5468, 0x5468) AM_READWRITE(test_r,test_w) // audit switch and cage door switch ??? | |
| 276 | AM_RANGE(0x6000, 0xffff) AM_ROM // game roms | |
| 277 | ADDRESS_MAP_END | |
| 278 | ||
| 279 | static INPUT_PORTS_START(aristmk4) | |
| 280 | ||
| 281 | PORT_START("DSW1") | |
| 282 | PORT_DIPNAME( 0x01, 0x00, "Maxbet rejection" ) | |
| 283 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("SW1:1") | |
| 284 | PORT_DIPSETTING( 0x01, DEF_STR( On ) ) | |
| 285 | PORT_DIPNAME( 0x02, 0x00, "Hopper pay limit - S1" ) | |
| 286 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("SW1:2") | |
| 287 | PORT_DIPSETTING( 0x02, DEF_STR( On ) ) | |
| 288 | PORT_DIPNAME( 0x04, 0x04, "Hopper pay limit - S2" ) | |
| 289 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("SW1:3") | |
| 290 | PORT_DIPSETTING( 0x04, DEF_STR( On ) ) | |
| 291 | PORT_DIPNAME( 0x08, 0x00, "Hopper pay limit - S3" ) | |
| 292 | PORT_DIPSETTING( 0x00, DEF_STR( Off) ) PORT_DIPLOCATION("SW1:4") | |
| 293 | PORT_DIPSETTING( 0x08, DEF_STR( On ) ) | |
| 294 | PORT_DIPNAME( 0x10, 0x00, "Cash credit option" ) | |
| 295 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("SW1:5") | |
| 296 | PORT_DIPSETTING( 0x10, DEF_STR( On ) ) | |
| 297 | PORT_DIPNAME( 0x20, 0x00, "Link Jackpot - S1" ) | |
| 298 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("SW1:6") | |
| 299 | PORT_DIPSETTING( 0x20, DEF_STR( On ) ) | |
| 300 | PORT_DIPNAME( 0x40, 0x00, "Link Jackpot - S2" ) | |
| 301 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("SW1:7") | |
| 302 | PORT_DIPSETTING( 0x40, DEF_STR( On ) ) | |
| 303 | PORT_DIPNAME( 0x80, 0x00, "Auto spin" ) | |
| 304 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("SW1:8") | |
| 305 | PORT_DIPSETTING( 0x80, DEF_STR( On ) ) | |
| 306 | ||
| 307 | PORT_START("DSW2") | |
| 308 | PORT_DIPNAME( 0x01, 0x00, "Maximum credit - S1" ) | |
| 309 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("SW2:1") | |
| 310 | PORT_DIPSETTING( 0x01, DEF_STR( On ) ) | |
| 311 | PORT_DIPNAME( 0x02, 0x00, "Maximum credit - S2" ) | |
| 312 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("SW2:2") | |
| 313 | PORT_DIPSETTING( 0x02, DEF_STR( On ) ) | |
| 314 | PORT_DIPNAME( 0x04, 0x00, "Maximum credit S3" ) | |
| 315 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("SW2:3") | |
| 316 | PORT_DIPSETTING( 0x04, DEF_STR( On ) ) | |
| 317 | PORT_DIPNAME( 0x08, 0x00, "Jackpot limit - S1" ) | |
| 318 | PORT_DIPSETTING( 0x00, DEF_STR( Off) ) PORT_DIPLOCATION("SW2:4") | |
| 319 | PORT_DIPSETTING( 0x08, DEF_STR( On ) ) | |
| 320 | PORT_DIPNAME( 0x10, 0x10, "Jackpot limit - S1" ) | |
| 321 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("SW2:5") | |
| 322 | PORT_DIPSETTING( 0x10, DEF_STR( On ) ) | |
| 323 | PORT_DIPNAME( 0x20, 0x20, "Jackpot limit" ) | |
| 324 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("SW2:6") | |
| 325 | PORT_DIPSETTING( 0x20, DEF_STR( On ) ) | |
| 326 | PORT_DIPNAME( 0x40, 0x00, "Auto J/P payout" ) | |
| 327 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("SW2:7") | |
| 328 | PORT_DIPSETTING( 0x40, DEF_STR( On ) ) | |
| 329 | PORT_DIPNAME( 0x80, 0x00, "unknown" ) | |
| 330 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("SW2:8") | |
| 331 | PORT_DIPSETTING( 0x80, DEF_STR( On ) ) | |
| 332 | INPUT_PORTS_END | |
| 333 | ||
| 334 | ||
| 335 | static const gfx_layout layout8x8x6 = | |
| 336 | { | |
| 337 | 8,8, | |
| 338 | RGN_FRAC(1,6), | |
| 339 | 6, | |
| 340 | { | |
| 341 | RGN_FRAC(5,6), | |
| 342 | RGN_FRAC(2,6), | |
| 343 | RGN_FRAC(4,6), | |
| 344 | RGN_FRAC(1,6), | |
| 345 | RGN_FRAC(3,6), | |
| 346 | RGN_FRAC(0,6) | |
| 347 | }, | |
| 348 | { STEP8(0,1) }, | |
| 349 | { STEP8(0,8) }, | |
| 350 | 8*8 | |
| 351 | }; | |
| 352 | ||
| 353 | ||
| 354 | ||
| 355 | static GFXDECODE_START(aristmk4) | |
| 356 | GFXDECODE_ENTRY( "tile_gfx", 0, layout8x8x6, 0, 8 ) | |
| 357 | GFXDECODE_END | |
| 358 | ||
| 359 | ||
| 360 | ||
| 361 | static const ay8910_interface ay8910_config1 = | |
| 362 | { | |
| 363 | AY8910_LEGACY_OUTPUT, | |
| 364 | AY8910_DEFAULT_LOADS, | |
| 365 | DEVCB_NULL, | |
| 366 | DEVCB_NULL, | |
| 367 | DEVCB_NULL, | |
| 368 | DEVCB_NULL | |
| 369 | }; | |
| 370 | ||
| 371 | ||
| 372 | static const ay8910_interface ay8910_config2 = | |
| 373 | { | |
| 374 | AY8910_LEGACY_OUTPUT, | |
| 375 | AY8910_DEFAULT_LOADS, | |
| 376 | DEVCB_INPUT_PORT("DSW1"), | |
| 377 | DEVCB_NULL, | |
| 378 | DEVCB_NULL, | |
| 379 | DEVCB_NULL | |
| 380 | }; | |
| 381 | ||
| 382 | /* | |
| 383 | static const via6522_interface via_interface = | |
| 384 | { | |
| 385 | // DEVCB_HANDLER(via_a_in), DEVCB_HANDLER(via_b_in), | |
| 386 | // DEVCB_HANDLER(input_ca1), DEVCB_HANDLER(input_cb1), DEVCB_HANDLER(input_ca2), DEVCB_HANDLER(input_cb2), | |
| 387 | /// DEVCB_NULL, DEVCB_HANDLER(output_b), | |
| 388 | // DEVCB_HANDLER(output_ca1), DEVCB_HANDLER(output_cb1), DEVCB_HANDLER(output_ca2), DEVCB_HANDLER(output_cb2), | |
| 389 | // DEVCB_CPU_INPUT_LINE("maincpu", M6809_FIRQ_LINE) | |
| 390 | }; */ | |
| 391 | ||
| 392 | static const via6522_interface via_interface = | |
| 393 | { | |
| 394 | /*inputs : A/B */ DEVCB_HANDLER(via_a_r),DEVCB_HANDLER(via_b_r), | |
| 395 | /*inputs : CA/B1,CA/B2 */ DEVCB_NULL,DEVCB_NULL,DEVCB_NULL,DEVCB_NULL, | |
| 396 | /*outputs: A/B */ DEVCB_HANDLER(via_a_w), DEVCB_HANDLER(via_b_w), | |
| 397 | /*outputs: CA/B1,CA/B2 */ DEVCB_NULL,DEVCB_NULL,DEVCB_NULL,DEVCB_NULL, | |
| 398 | /*irq */ DEVCB_CPU_INPUT_LINE("maincpu", M6809_FIRQ_LINE) | |
| 399 | }; | |
| 400 | ||
| 401 | static const pia6821_interface aristmk4_pia1_intf = | |
| 402 | { | |
| 403 | DEVCB_HANDLER(mkiv_pia_ina), /* port A in */ | |
| 404 | DEVCB_NULL, /* port B in */ | |
| 405 | DEVCB_NULL, /* line CA1 in */ | |
| 406 | DEVCB_NULL, /* line CB1 in */ | |
| 407 | DEVCB_NULL, /* line CA2 in */ | |
| 408 | DEVCB_NULL, /* line CB2 in */ | |
| 409 | DEVCB_HANDLER(mkiv_pia_outa), /* port A out */ | |
| 410 | DEVCB_HANDLER(mkiv_pia_outb), /* port B out */ | |
| 411 | DEVCB_HANDLER(mkiv_pia_ca2), /* line CA2 out */ | |
| 412 | DEVCB_HANDLER(mkiv_pia_cb2), /* port CB2 out */ | |
| 413 | DEVCB_NULL, /* IRQA */ | |
| 414 | DEVCB_NULL /* IRQB */ | |
| 415 | }; | |
| 416 | ||
| 417 | static const mc6845_interface mc6845_intf = | |
| 418 | { | |
| 419 | /* in fact is a mc6845 driving 4 pixels by memory address. | |
| 420 | that's why the big horizontal parameters */ | |
| 421 | ||
| 422 | "screen",/* screen we are acting on */ | |
| 423 | 4, /* number of pixels per video memory address */ | |
| 424 | NULL, /* before pixel update callback */ | |
| 425 | NULL, /* row update callback */ | |
| 426 | NULL, /* after pixel update callback */ | |
| 427 | NULL, /* callback for display state changes */ | |
| 428 | NULL, /* HSYNC callback */ | |
| 429 | NULL /* VSYNC callback */ | |
| 430 | }; | |
| 431 | ||
| 432 | ||
| 433 | ||
| 434 | static INTERRUPT_GEN( mkiv_irq ) | |
| 435 | { | |
| 436 | } | |
| 437 | ||
| 438 | /* same as Casino Winner HW */ | |
| 439 | static PALETTE_INIT( aristmk4 ) | |
| 440 | { | |
| 441 | int i; | |
| 442 | ||
| 443 | for (i = 0;i < machine->config->total_colors;i++) | |
| 444 | { | |
| 445 | int bit0,bit1,bit2,r,g,b; | |
| 446 | ||
| 447 | bit0 = (color_prom[0] >> 0) & 0x01; | |
| 448 | bit1 = (color_prom[0] >> 1) & 0x01; | |
| 449 | b = 0x4f * bit0 + 0xa8 * bit1; | |
| 450 | bit0 = (color_prom[0] >> 2) & 0x01; | |
| 451 | bit1 = (color_prom[0] >> 3) & 0x01; | |
| 452 | bit2 = (color_prom[0] >> 4) & 0x01; | |
| 453 | g = 0x21 * bit0 + 0x47 * bit1 + 0x97 * bit2; | |
| 454 | bit0 = (color_prom[0] >> 5) & 0x01; | |
| 455 | bit1 = (color_prom[0] >> 6) & 0x01; | |
| 456 | bit2 = (color_prom[0] >> 7) & 0x01; | |
| 457 | r = 0x21 * bit0 + 0x47 * bit1 + 0x97 * bit2; | |
| 458 | ||
| 459 | palette_set_color(machine, i, MAKE_RGB(r, g, b)); | |
| 460 | color_prom++; | |
| 461 | } | |
| 462 | } | |
| 463 | ||
| 464 | static MACHINE_DRIVER_START( aristmk4 ) | |
| 465 | ||
| 466 | /* basic machine hardware */ | |
| 467 | MDRV_CPU_ADD("maincpu", M6809, MAIN_CLOCK/4) // 3 MHZ | |
| 468 | MDRV_CPU_PROGRAM_MAP(aristmk4_map) | |
| 469 | MDRV_CPU_VBLANK_INT("screen", mkiv_irq ) | |
| 470 | ||
| 471 | /* video hardware */ | |
| 472 | MDRV_SCREEN_ADD("screen", RASTER) | |
| 473 | MDRV_SCREEN_REFRESH_RATE(60) | |
| 474 | MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) | |
| 475 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) | |
| 476 | MDRV_SCREEN_SIZE(320, 256) | |
| 477 | MDRV_SCREEN_VISIBLE_AREA(0, 304-1, 0, 216-1) /* from the crtc registers... updated by crtc */ | |
| 478 | ||
| 479 | MDRV_GFXDECODE(aristmk4) | |
| 480 | MDRV_PALETTE_LENGTH(512) | |
| 481 | MDRV_PALETTE_INIT(aristmk4) | |
| 482 | ||
| 483 | MDRV_VIDEO_START(aristmk4) | |
| 484 | MDRV_VIDEO_UPDATE(aristmk4) | |
| 485 | ||
| 486 | MDRV_VIA6522_ADD("via6522_0", MAIN_CLOCK/6, via_interface) /* 1 MHz.(only 1 or 2 MHz.are valid) */ | |
| 487 | MDRV_PIA6821_ADD("pia6821_0", aristmk4_pia1_intf) | |
| 488 | MDRV_MC6845_ADD("crtc", MC6845, MAIN_CLOCK/8, mc6845_intf) | |
| 489 | ||
| 490 | MDRV_SPEAKER_STANDARD_MONO("mono") | |
| 491 | // the Mark IV has X 2 AY8910 sound chips which are tied to the VIA | |
| 492 | MDRV_SOUND_ADD("ay1", AY8910, MAIN_CLOCK/8) | |
| 493 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40) | |
| 494 | MDRV_SOUND_ADD("ay2", AY8910, MAIN_CLOCK/8) | |
| 495 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40) | |
| 496 | ||
| 497 | MACHINE_DRIVER_END | |
| 498 | ||
| 499 | ||
| 500 | ROM_START( eforest ) | |
| 501 | ||
| 502 | ROM_REGION(0x10000, "maincpu", 0 ) | |
| 503 | /* VIDEO AND SOUND EPROM */ | |
| 504 | ROM_LOAD("u59.bin", 0x02000, 0x2000, CRC(84226547) SHA1(df9c2c01a7ac4d930c06a8c4863853ddb1a2adbe)) // sound and video rom | |
| 505 | ||
| 506 | /* GAME EPROMS */ | |
| 507 | ROM_LOAD("u87.bin", 0x06000, 0x2000, CRC(b2f79725) SHA1(66842130b49276bda91e211514af0ab074d2c283)) // game code | |
| 508 | ROM_LOAD("u86.bin", 0x08000, 0x8000, CRC(547207f3) SHA1(aedae50abb4cffa0434abfe606a11fbbba037197)) // game code | |
| 509 | ||
| 510 | /* SHAPE EPROMS */ | |
| 511 | ROM_REGION(0xc000, "tile_gfx", 0 ) | |
| 512 | ROM_LOAD("u20.bin", 0x00000, 0x2000, CRC(00446ff1) SHA1(e37e2782669667efab07ab3cd4e2c9f87770add5)) // gfx | |
| 513 | ROM_LOAD("u21.bin", 0x02000, 0x2000, CRC(75670af6) SHA1(c6ce3dcc9e46ebdee65220cc0e0c8b43ee786ec0)) | |
| 514 | ROM_LOAD("u22.bin", 0x04000, 0x2000, CRC(531378f3) SHA1(7ce52ccfb38c8078eeb77e43cff8e426bd8d4d0f)) | |
| 515 | ROM_LOAD("u45.bin", 0x06000, 0x2000, CRC(e4dd4c72) SHA1(caeb1f754bcb7304b9a61786fb818eea7714808f)) | |
| 516 | ROM_LOAD("u46.bin", 0x08000, 0x2000, CRC(75ad8e3f) SHA1(87812850f08f8ad3057d0e5a2a20ad8acba01a26)) | |
| 517 | ROM_LOAD("u47.bin", 0x0a000, 0x2000, CRC(af9f9869) SHA1(1dac81470889a5fc5b58f3ad0c8dfa1369a800e8)) | |
| 518 | ||
| 519 | /* COLOR PROM */ | |
| 520 | ROM_REGION(0x200, "proms", 0 ) | |
| 521 | ROM_LOAD("u71.bin", 0x0000, 0x0200, CRC(75814247) SHA1(9d123dadba3b5a1fd1c7f0100b255c4dd4f7e04f)) | |
| 522 | ROM_END | |
| 523 | ||
| 524 | static DRIVER_INIT( aristmk4 ) | |
| 525 | { | |
| 526 | //... | |
| 527 | } | |
| 528 | ||
| 529 | GAME( 1994, eforest,0, aristmk4, aristmk4, aristmk4, ROT0, "Aristocrat", "Enchanted Forest - 12XF528902", GAME_NOT_WORKING|GAME_NO_SOUND ) |
| r4962 | r4963 | |
|---|---|---|
| 507 | 507 | MDRV_SOUND_REPLACE("cust", PLEIADS, 0) |
| 508 | 508 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40) |
| 509 | 509 | |
| 510 | MDRV_ | |
| 510 | MDRV_ | |
| 511 | 511 | MACHINE_DRIVER_END |
| 512 | 512 | |
| 513 | 513 |
| r4962 | r4963 | |
|---|---|---|
| 1961 | 1961 | |
| 1962 | 1962 | static MACHINE_DRIVER_START( system16a_no7751 ) |
| 1963 | 1963 | MDRV_IMPORT_FROM(system16a) |
| 1964 | MDRV_CPU_REMOVE("n7751") | |
| 1965 | MDRV_SOUND_REMOVE("dac") | |
| 1964 | MDRV_DEVICE_REMOVE("n7751") | |
| 1965 | MDRV_DEVICE_REMOVE("dac") | |
| 1966 | 1966 | |
| 1967 | 1967 | MDRV_SOUND_REPLACE("ym", YM2151, 4000000) |
| 1968 | 1968 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) |
| r4962 | r4963 | |
|---|---|---|
| 1892 | 1892 | MDRV_LASERDISC_OVERLAY(gottlieb, GOTTLIEB_VIDEO_HCOUNT, GOTTLIEB_VIDEO_VCOUNT, BITMAP_FORMAT_INDEXED16) |
| 1893 | 1893 | MDRV_LASERDISC_OVERLAY_CLIP(0, GOTTLIEB_VIDEO_HBLANK-1, 0, GOTTLIEB_VIDEO_VBLANK-8) |
| 1894 | 1894 | |
| 1895 | MDRV_ | |
| 1895 | MDRV_DEVIC | |
| 1896 | 1896 | MDRV_LASERDISC_SCREEN_ADD_NTSC("screen", BITMAP_FORMAT_INDEXED16) |
| 1897 | 1897 | |
| 1898 | 1898 | MDRV_SOUND_ADD("ldsound", LASERDISC, 0) |
| r4962 | r4963 | |
|---|---|---|
| 1134 | 1134 | MDRV_IMPORT_FROM(ddragon) |
| 1135 | 1135 | |
| 1136 | 1136 | /* basic machine hardware */ |
| 1137 | MDRV_C | |
| 1137 | MDRV_DEVICE | |
| 1138 | 1138 | |
| 1139 | 1139 | /* sound hardware */ |
| 1140 | MDRV_SOUND_REMOVE("adpcm1") | |
| 1141 | MDRV_SOUND_REMOVE("adpcm2") | |
| 1140 | MDRV_DEVICE_REMOVE("adpcm1") | |
| 1141 | MDRV_DEVICE_REMOVE("adpcm2") | |
| 1142 | 1142 | MACHINE_DRIVER_END |
| 1143 | 1143 | |
| 1144 | 1144 |
| r4962 | r4963 | |
|---|---|---|
| 189 | 189 | return (input_port_read(space->machine, "IN2") << 8); |
| 190 | 190 | } |
| 191 | 191 | |
| 192 | static void wiggle_i860_common( | |
| 192 | static void wiggle_i860_common( | |
| 193 | 193 | { |
| 194 | 194 | int bus_hold = (data & 0x03) == 0x03; |
| 195 | 195 | int reset = data & 0x10; |
| 196 | assert(n >= 0 && n < 2); | |
| 197 | 196 | if (!device) |
| 198 | 197 | return; |
| 198 | ||
| 199 | 199 | if (bus_hold) |
| 200 | 200 | { |
| 201 | 201 | fprintf(stderr, "M0 asserting bus HOLD to i860 %s\n", device->tag); |
| r4962 | r4963 | |
| 218 | 218 | |
| 219 | 219 | static WRITE16_HANDLER( wiggle_i860p0_pins_w ) |
| 220 | 220 | { |
| 221 | wiggle_i860_common( | |
| 221 | wiggle_i860_common( | |
| 222 | 222 | } |
| 223 | 223 | |
| 224 | 224 | static WRITE16_HANDLER( wiggle_i860p1_pins_w ) |
| 225 | 225 | { |
| 226 | wiggle_i860_common( | |
| 226 | wiggle_i860_common( | |
| 227 | 227 | } |
| 228 | 228 | |
| 229 | 229 | static READ16_HANDLER( main_irqiack_r ) |
| r4962 | r4963 | |
|---|---|---|
| 353 | 353 | * |
| 354 | 354 | *************************************/ |
| 355 | 355 | |
| 356 | GAME( 19 | |
| 356 | GAME( 1979, beaminv, 0, beaminv, beaminv, 0, ROT270, "Tekunon Kougyou", "Beam Invader (set 1)", GAME_NO_SOUND | GAME_SUPPORTS_SAVE) | |
| 357 | 357 | GAME( 1979, beaminva, beaminv, beaminv, beaminva, 0, ROT270, "Tekunon Kougyou", "Beam Invader (set 2)", GAME_NO_SOUND | GAME_SUPPORTS_SAVE) // what's the real title ? |
| r4962 | r4963 | |
|---|---|---|
| 456 | 456 | /* Called by the sound CPU emulation */ |
| 457 | 457 | static void sound_dac_w(const device_config *device, UINT16 data) |
| 458 | 458 | { |
| 459 | static const char *dacs[] = | |
| 459 | static const char *const dacs[] = | |
| 460 | 460 | { |
| 461 | 461 | "rdac0", "ldac0", |
| 462 | 462 | "rdac1", "ldac1", |
| r4962 | r4963 | |
|---|---|---|
| 458 | 458 | |
| 459 | 459 | } |
| 460 | 460 | |
| 461 | static void sfbonus_draw_reel_layer( | |
| 461 | static void sfbonus_draw_reel_layer(const device_ | |
| 462 | 462 | { |
| 463 | 463 | int zz; |
| 464 | 464 | int i; |
| r4962 | r4963 | |
| 612 | 612 | bitmap_fill(temp_reel_bitmap,cliprect,screen->machine->pens[0]); |
| 613 | 613 | |
| 614 | 614 | /* render reels to bitmap */ |
| 615 | sfbonus_draw_reel_layer(screen | |
| 615 | sfbonus_draw_reel_layer(screen | |
| 616 | 616 | |
| 617 | 617 | { |
| 618 | 618 | int y,x; |
| r4962 | r4963 | |
|---|---|---|
| 65 | 65 | ROM_END |
| 66 | 66 | |
| 67 | 67 | |
| 68 | GAME( 200 | |
| 68 | GAME( 2003, tokyocop, 0, tokyocop, tokyocop, 0, ROT0, "Gaelco", "Tokyo Cop (Italy)", GAME_NOT_WORKING|GAME_NO_SOUND ) |
| r4962 | r4963 | |
|---|---|---|
| 114 | 114 | static READ8_HANDLER( m1_8279_r ) |
| 115 | 115 | { |
| 116 | 116 | i8279_state *chip = i8279 + 0; |
| 117 | static const char *portnames[] = { "SW1","STROBE5","STROBE7","STROBE3","SW2","STROBE4","STROBE6","STROBE2" }; | |
| 117 | static const char *const portnames[] = { "SW1","STROBE5","STROBE7","STROBE3","SW2","STROBE4","STROBE6","STROBE2" }; | |
| 118 | 118 | UINT8 result = 0xff; |
| 119 | 119 | UINT8 addr; |
| 120 | 120 |
| r4962 | r4963 | |
|---|---|---|
| 607 | 607 | static WRITE32_HANDLER(xx_w) |
| 608 | 608 | { |
| 609 | 609 | /* |
| 610 | printf( "xx %08x %08x %08x\n", offset, mem_mask, data ); | |
| 610 | printf( "xx %08x %08x %08x\n", offset, mem_mask, data ); | |
| 611 | 611 | */ |
| 612 | 612 | } |
| 613 | 613 | |
| r4962 | r4963 | |
| 626 | 626 | AM_RANGE(0x1f200000, 0x1f20001f) AM_READWRITE(am53cf96_r, am53cf96_w) |
| 627 | 627 | AM_RANGE(0x1f20a01c, 0x1f20a01f) AM_WRITENOP /* scsi? */ |
| 628 | 628 | AM_RANGE(0x1f210400, 0x1f2107ff) AM_READNOP |
| 629 | AM_RANGE(0x1f218000, 0x1f218003) AM_WRITE | |
| 629 | AM_RANGE(0x1f218000, 0x1f218003) AM_WRITE(watchdog_reset32_w) /* LTC1232 | |
| 630 | 630 | AM_RANGE(0x1f220000, 0x1f220003) AM_WRITE(twinkle_io_w) |
| 631 | 631 | AM_RANGE(0x1f220004, 0x1f220007) AM_READ(twinkle_io_r) |
| 632 | 632 | AM_RANGE(0x1f230000, 0x1f230003) AM_WRITENOP |
| r4962 | r4963 | |
| 667 | 667 | |
| 668 | 668 | static READ32_HANDLER(yy_r) |
| 669 | 669 | { |
| 670 | ||
| 670 | /* printf( "yy %08x %08x\n", offset, mem_mask ); */ | |
| 671 | 671 | return 0; |
| 672 | 672 | } |
| 673 | 673 | |
| 674 | 674 | |
| 675 | 675 | static READ32_HANDLER(zz_r) |
| 676 | 676 | { |
| 677 | / | |
| 677 | /* printf( "zz %08x %08x\n", offset, mem_mask ); */ | |
| 678 | 678 | return 0; |
| 679 | 679 | } |
| 680 | 680 | |
| 681 | 681 | static WRITE32_HANDLER(ww_w) |
| 682 | 682 | { |
| 683 | ||
| 683 | /* printf( "ww %08x %08x %08x\n", offset, mem_mask, data ); */ | |
| 684 | 684 | } |
| 685 | 685 | |
| 686 | 686 | static READ32_HANDLER(ww_r) |
| 687 | 687 | { |
| 688 | ||
| 688 | /* printf( "ww %08x %08x\n", offset, mem_mask ); */ | |
| 689 | 689 | return 0; |
| 690 | 690 | } |
| 691 | 691 | |
| r4962 | r4963 | |
| 787 | 787 | psx_irq_set(machine, 0x400); |
| 788 | 788 | } |
| 789 | 789 | |
| 790 | static SCSIConfigTable dev_table = | |
| 790 | static const SCSIConfigTable dev_table = | |
| 791 | 791 | { |
| 792 | 792 | 1, /* 1 SCSI device */ |
| 793 | 793 | { |
| r4962 | r4963 | |
| 795 | 795 | } |
| 796 | 796 | }; |
| 797 | 797 | |
| 798 | static struct AM53CF96interface scsi_intf = | |
| 798 | static const struct AM53CF96interface scsi_intf = | |
| 799 | 799 | { |
| 800 | 800 | &dev_table, /* SCSI device table */ |
| 801 | 801 | &scsi_irq, /* command completion IRQ */ |
| r4962 | r4963 | |
| 847 | 847 | MDRV_CPU_ADD("audiocpu", M68EC020, 32000000/4) /* 8.000 MHz!? */ |
| 848 | 848 | MDRV_CPU_PROGRAM_MAP( sound_map ) |
| 849 | 849 | |
| 850 | MDRV_WATCHDOG_TIME_INIT(MSEC(1200)) /* check TD pin on LTC1232 */ | |
| 851 | ||
| 850 | 852 | MDRV_MACHINE_RESET( twinkle ) |
| 851 | 853 | MDRV_NVRAM_HANDLER( twinkle ) |
| 852 | 854 | |
| r4962 | r4963 | |
| 877 | 879 | MDRV_SOUND_ROUTE( 1, "speakerright", 1.0 ) |
| 878 | 880 | MACHINE_DRIVER_END |
| 879 | 881 | |
| 880 | INPUT_PORTS_START( twinkle ) | |
| 882 | static INPUT_PORTS_START( twinkle ) | |
| 881 | 883 | |
| 882 | 884 | PORT_START("IN0") |
| 883 | 885 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1) |
| r4962 | r4963 | |
|---|---|---|
| 524 | 524 | MDRV_IMPORT_FROM(mhavoc) |
| 525 | 525 | MDRV_CPU_MODIFY("alpha") |
| 526 | 526 | MDRV_CPU_PROGRAM_MAP(alphaone_map) |
| 527 | MDRV_C | |
| 527 | MDRV_DEVICE | |
| 528 | 528 | |
| 529 | 529 | MDRV_SCREEN_MODIFY("screen") |
| 530 | 530 | MDRV_SCREEN_VISIBLE_AREA(0, 580, 0, 500) |
| r4962 | r4963 | |
| 536 | 536 | MDRV_SOUND_REPLACE("pokey2", POKEY, MHAVOC_CLOCK_1_25M) |
| 537 | 537 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50) |
| 538 | 538 | |
| 539 | MDRV_SOUND_REMOVE("pokey3") | |
| 540 | MDRV_SOUND_REMOVE("pokey4") | |
| 539 | MDRV_DEVICE_REMOVE("pokey3") | |
| 540 | MDRV_DEVICE_REMOVE("pokey4") | |
| 541 | 541 | MACHINE_DRIVER_END |
| 542 | 542 | |
| 543 | 543 |
| r4962 | r4963 | |
|---|---|---|
| 700 | 700 | MDRV_IMPORT_FROM(tms9928a) |
| 701 | 701 | |
| 702 | 702 | /* override video rendering and raw screen info */ |
| 703 | MDRV_ | |
| 703 | MDRV_DEVIC | |
| 704 | 704 | MDRV_LASERDISC_SCREEN_ADD_NTSC("screen", BITMAP_FORMAT_INDEXED16) |
| 705 | 705 | |
| 706 | 706 | /* sound hardware */ |
| r4962 | r4963 | |
|---|---|---|
| 530 | 530 | MDRV_IMPORT_FROM(sprint2) |
| 531 | 531 | |
| 532 | 532 | /* sound hardware */ |
| 533 | MDRV_SPEAKER_REMOVE("lspeaker") | |
| 534 | MDRV_SPEAKER_REMOVE("rspeaker") | |
| 533 | MDRV_DEVICE_REMOVE("lspeaker") | |
| 534 | MDRV_DEVICE_REMOVE("rspeaker") | |
| 535 | 535 | MDRV_SPEAKER_STANDARD_MONO("mono") |
| 536 | 536 | |
| 537 | MDRV_ | |
| 537 | MDRV_ | |
| 538 | 538 | |
| 539 | 539 | MDRV_SOUND_ADD("discrete", DISCRETE, 0) |
| 540 | 540 | MDRV_SOUND_CONFIG_DISCRETE(sprint1) |
| r4962 | r4963 | |
| 547 | 547 | MDRV_IMPORT_FROM(sprint2) |
| 548 | 548 | |
| 549 | 549 | /* sound hardware */ |
| 550 | MDRV_SPEAKER_REMOVE("lspeaker") | |
| 551 | MDRV_SPEAKER_REMOVE("rspeaker") | |
| 550 | MDRV_DEVICE_REMOVE("lspeaker") | |
| 551 | MDRV_DEVICE_REMOVE("rspeaker") | |
| 552 | 552 | MDRV_SPEAKER_STANDARD_MONO("mono") |
| 553 | 553 | |
| 554 | MDRV_ | |
| 554 | MDRV_ | |
| 555 | 555 | |
| 556 | 556 | MDRV_SOUND_ADD("discrete", DISCRETE, 0) |
| 557 | 557 | MDRV_SOUND_CONFIG_DISCRETE(dominos) |
| r4962 | r4963 | |
|---|---|---|
| 12 | 12 | - CRTC is using 4 pixels by memory address. |
| 13 | 13 | - Xtal and crtc CLK are accurate. |
| 14 | 14 | - Seems to be 1 DSW bank tied to VIA, and another to ay8910. |
| 15 | - Maybe this is "Aristocrat Mark-III" HW? | |
| 15 | 16 | |
| 16 | 17 | TODO: |
| 17 | - Understand inputs / via mapping properly; | |
| 18 | - Finish the mc6845 conversion; | |
| 18 | - Understand inputs / via mapping properly; | |
| 19 | - Finish the mc6845 conversion; | |
| 19 | 20 | |
| 20 | 21 | Changes 02/06/2009 - Palindrome |
| 21 | 22 | - Fixed VIA address map to 5000 - 0x501f ( now generates required FIRQ_LINE timer interrupt, |
| r4962 | r4963 | |
| 193 | 194 | INPUT_PORTS_END |
| 194 | 195 | |
| 195 | 196 | |
| 196 | static const gfx_layout layout8x8x | |
| 197 | static const gfx_layout layout8x8x6 = | |
| 197 | 198 | { |
| 198 | 199 | 8,8, |
| 199 | RGN_FRAC(1,3), | |
| 200 | 3, | |
| 201 | { RGN_FRAC(2,3), RGN_FRAC(1,3), RGN_FRAC(0,3), }, // Trusted, see MT 03190 | |
| 200 | RGN_FRAC(1,6), | |
| 201 | 6, | |
| 202 | { RGN_FRAC(3,6), | |
| 203 | RGN_FRAC(0,6), | |
| 204 | RGN_FRAC(4,6), | |
| 205 | RGN_FRAC(1,6), | |
| 206 | RGN_FRAC(5,6), | |
| 207 | RGN_FRAC(2,6) | |
| 208 | }, | |
| 202 | 209 | { STEP8(0,1) }, |
| 203 | 210 | { STEP8(0,8) }, |
| 204 | 211 | 8*8 |
| 205 | 212 | }; |
| 206 | 213 | |
| 207 | 214 | static GFXDECODE_START( lions ) |
| 208 | GFXDECODE_ENTRY( "gfx1", 0, layout8x8x3, 0, 1 ) | |
| 209 | GFXDECODE_ENTRY( "gfx2", 0, layout8x8x3, 0, 1 ) | |
| 215 | GFXDECODE_ENTRY( "gfx1", 0, layout8x8x6, 0, 1 ) | |
| 210 | 216 | GFXDECODE_END |
| 211 | 217 | |
| 212 | 218 | static const ay8910_interface ay8910_config = |
| r4962 | r4963 | |
| 320 | 326 | NULL /* VSYNC callback */ |
| 321 | 327 | }; |
| 322 | 328 | |
| 329 | /* same as Aristocrat Mark-IV HW color offset 7 */ | |
| 330 | static PALETTE_INIT( lions ) | |
| 331 | { | |
| 332 | int i; | |
| 333 | ||
| 334 | for (i = 0;i < machine->config->total_colors;i++) | |
| 335 | { | |
| 336 | int bit0,bit1,bit2,r,g,b; | |
| 337 | ||
| 338 | bit0 = (i >> 0) & 0x01; | |
| 339 | bit1 = (i >> 1) & 0x01; | |
| 340 | b = 0x4f * bit0 + 0xa8 * bit1; | |
| 341 | bit0 = (i >> 1) & 0x01; | |
| 342 | bit1 = (i >> 2) & 0x01; | |
| 343 | bit2 = (i >> 3) & 0x01; | |
| 344 | g = 0x21 * bit0 + 0x47 * bit1 + 0x97 * bit2; | |
| 345 | bit0 = (i >> 3) & 0x01; | |
| 346 | bit1 = (i >> 4) & 0x01; | |
| 347 | bit2 = (i >> 5) & 0x01; | |
| 348 | r = 0x21 * bit0 + 0x47 * bit1 + 0x97 * bit2; | |
| 349 | ||
| 350 | palette_set_color(machine, i, MAKE_RGB(r, g, b)); | |
| 351 | } | |
| 352 | } | |
| 353 | ||
| 323 | 354 | static MACHINE_DRIVER_START( lions ) |
| 324 | 355 | /* basic machine hardware */ |
| 325 | 356 | MDRV_CPU_ADD("maincpu", M6809, MAIN_CLOCK/4) /* 3 MHz.(guess) */ |
| r4962 | r4963 | |
| 335 | 366 | MDRV_SCREEN_VISIBLE_AREA(0, 304-1, 0, 216-1) /* from the crtc registers... updated by crtc */ |
| 336 | 367 | |
| 337 | 368 | MDRV_GFXDECODE(lions) |
| 338 | MDRV_PALETTE_LENGTH(8) | |
| 369 | MDRV_PALETTE_LENGTH(64) | |
| 370 | MDRV_PALETTE_INIT(lions) | |
| 339 | 371 | |
| 340 | 372 | MDRV_VIDEO_START(lions) |
| 341 | 373 | MDRV_VIDEO_UPDATE(lions) |
| r4962 | r4963 | |
| 356 | 388 | ROM_REGION( 0x10000, "maincpu", 0 ) |
| 357 | 389 | ROM_LOAD( "lion_std.u9", 0xe000, 0x2000, CRC(994842b0) SHA1(72fc31c577ee70b07ce9a4f2e864fe113d32affe) ) |
| 358 | 390 | |
| 359 | ROM_REGION( 0x | |
| 391 | ROM_REGION( 0x6000, "gfx1", 0 ) | |
| 360 | 392 | ROM_LOAD( "rd0.u13", 0x00000, 0x1000, CRC(38c57504) SHA1(cc3ac1df644abc4586fc9f0e88531ba146b86b48) ) |
| 361 | 393 | ROM_LOAD( "gn0.u10", 0x01000, 0x1000, CRC(80dce6f4) SHA1(bf953eba9cb270297b0d0efffe15b926e94dfbe7) ) |
| 362 | 394 | ROM_LOAD( "bl0.u8", 0x02000, 0x1000, CRC(00ef4724) SHA1(714fafd035e2befbb35c6d00df52845745e58a93) ) |
| 395 | ROM_LOAD( "rd1.u12", 0x03000, 0x1000, CRC(350dd017) SHA1(ba273d4231e7e4c44922898cf5a70e8b1d6e2f9d) ) | |
| 396 | ROM_LOAD( "gn1.u11", 0x04000, 0x1000, CRC(80dce6f4) SHA1(bf953eba9cb270297b0d0efffe15b926e94dfbe7) ) | |
| 397 | ROM_LOAD( "bl1.u9", 0x05000, 0x1000, CRC(675e164a) SHA1(99346ca70bfe673b31d71dc6b3bbc3b8f961e87f) ) | |
| 363 | 398 | |
| 364 | ROM_REGION( 0x3000, "gfx2", 0 ) | |
| 365 | ROM_LOAD( "rd1.u12", 0x00000, 0x1000, CRC(350dd017) SHA1(ba273d4231e7e4c44922898cf5a70e8b1d6e2f9d) ) | |
| 366 | ROM_LOAD( "gn1.u11", 0x01000, 0x1000, CRC(80dce6f4) SHA1(bf953eba9cb270297b0d0efffe15b926e94dfbe7) ) | |
| 367 | ROM_LOAD( "bl1.u9", 0x02000, 0x1000, CRC(675e164a) SHA1(99346ca70bfe673b31d71dc6b3bbc3b8f961e87f) ) | |
| 368 | ||
| 369 | 399 | // ROM_REGION( 0x20, "proms", 0 ) |
| 370 | 400 | // ROM_LOAD( "prom.x", 0x00, 0x20, NO_DUMP ) |
| 371 | 401 | ROM_END |
| 372 | 402 | |
| 373 | 403 | |
| 374 | GAME( 1985, 86lions, 0, lions, lions, 0, ROT0, "Aristocrat", "86 Lions", GAME_ | |
| 404 | GAME( 1985, 86lions, 0, lions, lions, 0, ROT0, "Aristocrat", "86 Lions", GAME_ |
| r4962 | r4963 | |
|---|---|---|
| 432 | 432 | |
| 433 | 433 | static CUSTOM_INPUT( dakkochn_mux_data_r ) |
| 434 | 434 | { |
| 435 | static const char *ports[] = { "KEY0", "KEY1", "KEY2", "KEY3", "KEY4", "KEY5", "KEY6" }; | |
| 435 | static const char *const ports[] = { "KEY0", "KEY1", "KEY2", "KEY3", "KEY4", "KEY5", "KEY6" }; | |
| 436 | 436 | return input_port_read(field->port->machine, ports[dakkochn_mux_data]); |
| 437 | 437 | } |
| 438 | 438 | |
| r4962 | r4963 | |
| 2150 | 2150 | MDRV_CPU_MODIFY("maincpu") |
| 2151 | 2151 | MDRV_CPU_IO_MAP(system1_pio_io_map) |
| 2152 | 2152 | |
| 2153 | MDRV_ | |
| 2153 | MDRV_DEVICE | |
| 2154 | 2154 | MDRV_Z80PIO_ADD("pio", pio_interface) |
| 2155 | 2155 | MACHINE_DRIVER_END |
| 2156 | 2156 |
| r4962 | r4963 | |
|---|---|---|
| 1484 | 1484 | |
| 1485 | 1485 | */ |
| 1486 | 1486 | |
| 1487 | INPUT_PORTS_START( md_common ) | |
| 1487 | static INPUT_PORTS_START( md_common ) | |
| 1488 | 1488 | PORT_START("PAD1") /* Joypad 1 (3 button + start) NOT READ DIRECTLY */ |
| 1489 | 1489 | PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 1490 | 1490 | PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| r4962 | r4963 | |
| 1674 | 1674 | /************* 6 buttons version **************************/ |
| 1675 | 1675 | static UINT8 megadrive_io_read_data_port_6button(running_machine *machine, int portnum) |
| 1676 | 1676 | { |
| 1677 | UINT8 retdata, helper = (megadrive_io_ctrl_regs[portnum] & 0x7f) | 0xc0; // bits 6 & 7 always come from megadrive_io_data_regs | |
| 1678 | static const char *pad3names[] = { "PAD1", "PAD2", "IN0", "UNK" }; | |
| 1679 | static const char *pad6names[] = { "EXTRA1", "EXTRA2", "IN0", "UNK" }; | |
| 1677 | UINT8 retdata, helper = (megadrive_io_ctrl_regs[portnum] & 0x3f) | 0xc0; // bits 6 & 7 always come from megadrive_io_data_regs | |
| 1678 | static const char *const pad3names[] = { "PAD1", "PAD2", "IN0", "UNK" }; | |
| 1679 | static const char *const pad6names[] = { "EXTRA1", "EXTRA2", "IN0", "UNK" }; | |
| 1680 | 1680 | |
| 1681 | 1681 | if (megadrive_io_data_regs[portnum] & 0x40) |
| 1682 | 1682 | { |
| r4962 | r4963 | |
| 1713 | 1713 | /* here we read ((Start & A) >> 2) | Up and Down */ |
| 1714 | 1714 | retdata = (megadrive_io_data_regs[portnum] & helper) | |
| 1715 | 1715 | ((((input_port_read_safe(machine, pad3names[portnum], 0) & 0xc0) >> 2) | |
| 1716 | (input_port_read_safe(machine, pad3names[portnum], 0) & 0x0 | |
| 1716 | (input_port_read_safe(machine, pad3names[portnum], 0) & 0x03)) & ~helper); | |
| 1717 | 1717 | } |
| 1718 | 1718 | } |
| 1719 | 1719 | |
| r4962 | r4963 | |
| 1726 | 1726 | /************* 3 buttons version **************************/ |
| 1727 | 1727 | static UINT8 megadrive_io_read_data_port_3button(running_machine *machine, int portnum) |
| 1728 | 1728 | { |
| 1729 | UINT8 retdata, helper = (megadrive_io_ctrl_regs[portnum] & 0x3f) | 0xc0; // bits 6 & 7 always come from megadrive_io_data_regs | |
| 1730 | static const char *pad3names[] = { "PAD1", "PAD2", "IN0", "UNK" }; | |
| 1729 | UINT8 retdata, helper = (megadrive_io_ctrl_regs[portnum] & 0x7f) | 0x80; // bit 7 always comes from megadrive_io_data_regs | |
| 1730 | static const char *const pad3names[] = { "PAD1", "PAD2", "IN0", "UNK" }; | |
| 1731 | 1731 | |
| 1732 | if (megadrive_io_data_regs[portnum]&0x40) | |
| 1732 | if (megadrive_io_data_regs[portnum] & 0x40) | |
| 1733 | 1733 | { |
| 1734 | 1734 | /* here we read B, C & the directional buttons */ |
| 1735 | 1735 | retdata = (megadrive_io_data_regs[portnum] & helper) | |
| 1736 | ((input_port_read_safe(machine, pad3names[portnum], 0) & 0x3f) & ~helper); | |
| 1736 | (((input_port_read_safe(machine, pad3names[portnum], 0) & 0x3f) | 0x40) & ~helper); | |
| 1737 | 1737 | } |
| 1738 | 1738 | else |
| 1739 | 1739 | { |
| 1740 | 1740 | /* here we read ((Start & A) >> 2) | Up and Down */ |
| 1741 | 1741 | retdata = (megadrive_io_data_regs[portnum] & helper) | |
| 1742 | 1742 | ((((input_port_read_safe(machine, pad3names[portnum], 0) & 0xc0) >> 2) | |
| 1743 | (input_port_read_safe(machine, pad3names[portnum], 0) & 0x0 | |
| 1743 | (input_port_read_safe(machine, pad3names[portnum], 0) & 0x03) | 0x40) & ~helper); | |
| 1744 | 1744 | } |
| 1745 | 1745 | |
| 1746 | 1746 | return retdata; |
| r4962 | r4963 | |
|---|---|---|
| 1811 | 1811 | MDRV_NVRAM_HANDLER(itech020) |
| 1812 | 1812 | |
| 1813 | 1813 | /* via */ |
| 1814 | MDRV_VI | |
| 1814 | MDRV_DEVICE | |
| 1815 | 1815 | MACHINE_DRIVER_END |
| 1816 | 1816 | |
| 1817 | 1817 |
| r4962 | r4963 | |
|---|---|---|
| 444 | 444 | /* basic machine hardware */ |
| 445 | 445 | MDRV_IMPORT_FROM(mexico86) |
| 446 | 446 | |
| 447 | MDRV_C | |
| 447 | MDRV_DEVICE | |
| 448 | 448 | |
| 449 | 449 | /* video hardware */ |
| 450 | 450 | MDRV_VIDEO_UPDATE(kikikai) |
| r4962 | r4963 | |
| 459 | 459 | MDRV_CPU_MODIFY("maincpu") |
| 460 | 460 | MDRV_CPU_VBLANK_INT("screen", kikikai_interrupt) // IRQs should be triggered by the MCU, but we don't have it |
| 461 | 461 | |
| 462 | MDRV_C | |
| 462 | MDRV_DEVICE | |
| 463 | 463 | |
| 464 | 464 | /* video hardware */ |
| 465 | 465 | MDRV_VIDEO_UPDATE(kikikai) |
| r4962 | r4963 | |
|---|---|---|
| 627 | 627 | GAME( 1998, vivdolls, aleck64, aleck64, aleck64, aleck64, ROT0, "Visco", "Vivid Dolls", GAME_IMPERFECT_GRAPHICS ) |
| 628 | 628 | GAME( 1999, srmvs, aleck64, aleck64, aleck64, aleck64, ROT0, "Seta", "Super Real Mahjong VS", GAME_NOT_WORKING|GAME_NO_SOUND ) |
| 629 | 629 | GAME( 2003, twrshaft, aleck64, aleck64, aleck64, aleck64, ROT0, "Aruze", "Tower & Shaft", GAME_NOT_WORKING|GAME_NO_SOUND ) |
| 630 | GAME( 200?, hipai, aleck64, aleck64, aleck64, aleck64, ROT0, "Aruze?", "Hi Pai Paradise", GAME_NOT_WORKING|GAME_NO_SOUND ) | |
| 631 | GAME( 200?, doncdoon, aleck64, aleck64, aleck64, aleck64, ROT0, "Aruze?", "Donchan no Hanabi de Doon", GAME_NOT_WORKING|GAME_NO_SOUND ) | |
| 632 | GAME( 200?, kurufev, aleck64, aleck64, aleck64, aleck64, ROT0, "Aruze?", "Kurukuru Fever", GAME_NOT_WORKING|GAME_NO_SOUND ) | |
| 633 | GAME( 200?, mayjin3, aleck64, aleck64, aleck64, aleck64, ROT0, "Seta?", "Mayjinsen 3", GAME_NOT_WORKING|GAME_NO_SOUND ) | |
| 630 | GAME( 2003, hipai, aleck64, aleck64, aleck64, aleck64, ROT0, "Aruze/Seta", "Hi Pai Paradise", GAME_NOT_WORKING|GAME_NO_SOUND ) | |
| 631 | GAME( 2003, doncdoon, aleck64, aleck64, aleck64, aleck64, ROT0, "Aruze/Takumi", "Donchan no Hanabi de Doon", GAME_NOT_WORKING|GAME_NO_SOUND ) | |
| 632 | GAME( 2003, kurufev, aleck64, aleck64, aleck64, aleck64, ROT0, "Aruze/Takumi", "Kurukuru Fever", GAME_NOT_WORKING|GAME_NO_SOUND ) | |
| 633 | GAME( 2000, mayjin3, aleck64, aleck64, aleck64, aleck64, ROT0, "Seta/Able Corporation", "Mayjinsen 3", GAME_NOT_WORKING|GAME_NO_SOUND ) | |
| 634 | 634 |
| r4962 | r4963 | |
|---|---|---|
| 742 | 742 | MDRV_CPU_PROGRAM_MAP(hyprolyb_adpcm_map) |
| 743 | 743 | |
| 744 | 744 | /* sound hardware */ |
| 745 | MDRV_ | |
| 745 | MDRV_ | |
| 746 | 746 | |
| 747 | 747 | MDRV_SOUND_ADD("msm", MSM5205, 384000) |
| 748 | 748 | MDRV_SOUND_CONFIG(msm5205_config) |
| r4962 | r4963 | |
|---|---|---|
| 2270 | 2270 | MDRV_CPU_MODIFY("maincpu") |
| 2271 | 2271 | MDRV_CPU_PROGRAM_MAP(vegas_map_32mb) |
| 2272 | 2272 | |
| 2273 | MDRV_ | |
| 2273 | MDRV_ | |
| 2274 | 2274 | MDRV_3DFX_VOODOO_BANSHEE_ADD("voodoo", STD_VOODOO_BANSHEE_CLOCK, 16, "screen") |
| 2275 | 2275 | MDRV_3DFX_VOODOO_CPU("maincpu") |
| 2276 | 2276 | MDRV_3DFX_VOODOO_VBLANK(vblank_assert) |
| r4962 | r4963 | |
| 2281 | 2281 | MDRV_IMPORT_FROM(vegas32m) |
| 2282 | 2282 | MDRV_CPU_REPLACE("maincpu", RM7000LE, SYSTEM_CLOCK*2.5) |
| 2283 | 2283 | |
| 2284 | MDRV_ | |
| 2284 | MDRV_ | |
| 2285 | 2285 | MDRV_3DFX_VOODOO_3_ADD("voodoo", STD_VOODOO_3_CLOCK, 16, "screen") |
| 2286 | 2286 | MDRV_3DFX_VOODOO_CPU("maincpu") |
| 2287 | 2287 | MDRV_3DFX_VOODOO_VBLANK(vblank_assert) |
| r4962 | r4963 | |
| 2295 | 2295 | MDRV_CPU_REPLACE("maincpu", RM7000LE, SYSTEM_CLOCK*2.5) |
| 2296 | 2296 | MDRV_CPU_PROGRAM_MAP(vegas_map_32mb) |
| 2297 | 2297 | |
| 2298 | MDRV_ | |
| 2298 | MDRV_ | |
| 2299 | 2299 | MDRV_3DFX_VOODOO_3_ADD("voodoo", STD_VOODOO_3_CLOCK, 16, "screen") |
| 2300 | 2300 | MDRV_3DFX_VOODOO_CPU("maincpu") |
| 2301 | 2301 | MDRV_3DFX_VOODOO_VBLANK(vblank_assert) |
| r4962 | r4963 | |
|---|---|---|
| 1724 | 1724 | |
| 1725 | 1725 | /* basic machine hardware */ |
| 1726 | 1726 | MDRV_IMPORT_FROM(s2650) |
| 1727 | MDRV_C | |
| 1727 | MDRV_DEVICE | |
| 1728 | 1728 | |
| 1729 | 1729 | /* video hardware */ |
| 1730 | 1730 | MDRV_VIDEO_UPDATE(spclforc) |
| r4962 | r4963 | |
|---|---|---|
| 5069 | 5069 | MACHINE_DRIVER_END |
| 5070 | 5070 | |
| 5071 | 5071 | |
| 5072 | VIDEO_START( unkch ) | |
| 5072 | static VIDEO_START( unkch ) | |
| 5073 | 5073 | { |
| 5074 | 5074 | |
| 5075 | 5075 | } |
| 5076 | 5076 | |
| 5077 | VIDEO_UPDATE( unkch ) | |
| 5077 | static VIDEO_UPDATE( unkch ) | |
| 5078 | 5078 | { |
| 5079 | 5079 | return 0; |
| 5080 | 5080 | } |
| r4962 | r4963 | |
| 7855 | 7855 | memory_install_read8_handler(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_IO), 0x1a, 0x1a, 0, 0, fixedvale4_r); |
| 7856 | 7856 | } |
| 7857 | 7857 | |
| 7858 | DRIVER_INIT(cherrys) | |
| 7858 | static DRIVER_INIT(cherrys) | |
| 7859 | 7859 | { |
| 7860 | 7860 | int i; |
| 7861 | 7861 | UINT8 *ROM = memory_region(machine, "maincpu"); |
| r4962 | r4963 | |
|---|---|---|
| 96 | 96 | #include "sound/2612intf.h" |
| 97 | 97 | #include "sound/rf5c68.h" |
| 98 | 98 | |
| 99 | extern VIDEO_START( system16a_bootleg ); | |
| 100 | extern VIDEO_UPDATE( system16a_bootleg ); | |
| 101 | extern VIDEO_UPDATE( system16a_bootleg_passht4b ); | |
| 102 | extern WRITE16_HANDLER( system16a_bootleg_tilemapselect_w ); | |
| 103 | extern WRITE16_HANDLER( system16a_bootleg_bgscrolly_w ); | |
| 104 | extern WRITE16_HANDLER( system16a_bootleg_bgscrollx_w ); | |
| 105 | extern WRITE16_HANDLER( system16a_bootleg_fgscrolly_w ); | |
| 106 | extern WRITE16_HANDLER( system16a_bootleg_fgscrollx_w ); | |
| 107 | extern UINT16* system16a_bootleg_bg0_tileram; | |
| 108 | extern UINT16* system16a_bootleg_bg1_tileram; | |
| 109 | ||
| 110 | 99 | /***************************************************************************/ |
| 111 | 100 | |
| 112 | 101 | static UINT16 coinctrl; |
| r4962 | r4963 | |
| 875 | 864 | |
| 876 | 865 | static UINT16 datsu_page[4]; |
| 877 | 866 | |
| 878 | void datsu_set_pages(void) | |
| 867 | static void datsu_set_pages(void) | |
| 879 | 868 | { |
| 880 | 869 | UINT16 page; |
| 881 | 870 | |
| r4962 | r4963 | |
| 1841 | 1830 | MDRV_CPU_PROGRAM_MAP(tturfbl_sound_map) |
| 1842 | 1831 | MDRV_CPU_IO_MAP(tturfbl_sound_io_map) |
| 1843 | 1832 | |
| 1844 | MDRV_ | |
| 1833 | MDRV_ | |
| 1845 | 1834 | MDRV_SOUND_ADD("5205", MSM5205, 220000) |
| 1846 | 1835 | MDRV_SOUND_CONFIG(tturfbl_msm5205_interface) |
| 1847 | 1836 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.80) |
| r4962 | r4963 | |
| 2127 | 2116 | |
| 2128 | 2117 | static UINT8 *decrypted_region; |
| 2129 | 2118 | |
| 2130 | DRIVER_INIT( goldnabl ) | |
| 2119 | static DRIVER_INIT( goldnabl ) | |
| 2131 | 2120 | { |
| 2132 | 2121 | int i; |
| 2133 | 2122 | UINT8 *ROM = memory_region(machine, "maincpu"); |
| r4962 | r4963 | |
| 2157 | 2146 | } |
| 2158 | 2147 | |
| 2159 | 2148 | |
| 2160 | DRIVER_INIT( bayrouteb1 ) | |
| 2149 | static DRIVER_INIT( bayrouteb1 ) | |
| 2161 | 2150 | { |
| 2162 | 2151 | // it has the same encryption as the golden axe bootleg! |
| 2163 | 2152 | // |
| r4962 | r4963 | |
| 3347 | 3336 | MDRV_CPU_MODIFY("soundcpu") |
| 3348 | 3337 | MDRV_CPU_PROGRAM_MAP(shdancbl_sound_map) |
| 3349 | 3338 | MDRV_CPU_IO_MAP(shdancbl_sound_io_map) |
| 3350 | MDRV_ | |
| 3339 | MDRV_ | |
| 3351 | 3340 | |
| 3352 | 3341 | MDRV_SOUND_ADD("5205", MSM5205, 200000) |
| 3353 | 3342 | MDRV_SOUND_CONFIG(shdancbl_msm5205_interface) |
| r4962 | r4963 | |
|---|---|---|
| 2826 | 2826 | MDRV_NVRAM_HANDLER(qsound) |
| 2827 | 2827 | |
| 2828 | 2828 | /* sound hardware */ |
| 2829 | MDRV_ | |
| 2829 | MDRV_D | |
| 2830 | 2830 | MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 2831 | 2831 | |
| 2832 | MDRV_SOUND_REMOVE("2151") | |
| 2833 | MDRV_SOUND_REMOVE("oki") | |
| 2832 | MDRV_DEVICE_REMOVE("2151") | |
| 2833 | MDRV_DEVICE_REMOVE("oki") | |
| 2834 | 2834 | |
| 2835 | 2835 | MDRV_SOUND_ADD("qsound", QSOUND, QSOUND_CLOCK) |
| 2836 | 2836 | MDRV_SOUND_ROUTE(0, "lspeaker", 1.0) |
| r4962 | r4963 | |
|---|---|---|
| 756 | 756 | MDRV_SOUND_MODIFY("8910.2") |
| 757 | 757 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.12) |
| 758 | 758 | |
| 759 | MDRV_ | |
| 759 | MDRV_ | |
| 760 | 760 | |
| 761 | 761 | MDRV_SOUND_ADD("discrete", DISCRETE, 0) |
| 762 | 762 | MDRV_SOUND_CONFIG_DISCRETE(stinger) |
| r4962 | r4963 | |
|---|---|---|
| 413 | 413 | static WRITE8_HANDLER( konami_sound_filter_w ) |
| 414 | 414 | { |
| 415 | 415 | const device_config *discrete = devtag_get_device(space->machine, "konami"); |
| 416 | static const char *ayname[2] = { "8910.0", "8910.1" }; | |
| 416 | static const char *const ayname[2] = { "8910.0", "8910.1" }; | |
| 417 | 417 | int which, chan; |
| 418 | 418 | |
| 419 | 419 | /* the offset is used as data, 6 channels * 2 bits each */ |
| r4962 | r4963 | |
|---|---|---|
| 1239 | 1239 | GAME( 1985, flashgla, flashgal, flashgla, flashgal, 0, ROT0, "Sega", "Flashgal (set 2)", 0 ) |
| 1240 | 1240 | GAME( 1986, srdmissn, 0, srdmissn, srdmissn, srdmissn, ROT90, "Taito Corporation", "S.R.D. Mission", 0 ) |
| 1241 | 1241 | GAME( 1986, fx, srdmissn, srdmissn, srdmissn, srdmissn, ROT90, "bootleg", "F-X", 0 ) |
| 1242 | GAME( 1986 | |
| 1242 | GAME( 1986 | |
| 1243 | 1243 | GAME( 1987, airwolf, 0, srdmissn, airwolf, srdmissn, ROT0, "Kyugo", "Airwolf", 0 ) |
| 1244 | 1244 | GAME( 1987, airwolfa, airwolf, srdmissn, airwolf, srdmissn, ROT0, "Kyugo (UA Theatre license)", "Airwolf (US)", 0 ) |
| 1245 | 1245 | GAME( 1987, skywolf, airwolf, srdmissn, skywolf, srdmissn, ROT0, "bootleg", "Sky Wolf (set 1)", 0 ) |
| r4962 | r4963 | |
|---|---|---|
| 1184 | 1184 | static MACHINE_DRIVER_START( sngkace ) |
| 1185 | 1185 | |
| 1186 | 1186 | /* basic machine hardware */ |
| 1187 | MDRV_CPU_ADD("maincpu", M68EC020, | |
| 1187 | MDRV_CPU_ADD("maincpu", M68EC020, XTAL_32MHz/2) /* verified on pcb */ | |
| 1188 | 1188 | MDRV_CPU_PROGRAM_MAP(psikyo_map) |
| 1189 | 1189 | MDRV_CPU_VBLANK_INT("screen", irq1_line_hold) |
| 1190 | 1190 | |
| 1191 | MDRV_CPU_ADD("audiocpu", Z80, | |
| 1191 | MDRV_CPU_ADD("audiocpu", Z80, XTAL_32MHz/8) /* verified on pcb */ | |
| 1192 | 1192 | MDRV_CPU_PROGRAM_MAP(sngkace_sound_map) |
| 1193 | 1193 | MDRV_CPU_IO_MAP(sngkace_sound_io_map) |
| 1194 | 1194 | |
| r4962 | r4963 | |
| 1212 | 1212 | /* sound hardware */ |
| 1213 | 1213 | MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 1214 | 1214 | |
| 1215 | MDRV_SOUND_ADD("ym", YM2610, | |
| 1215 | MDRV_SOUND_ADD("ym", YM2610, XTAL_32MHz/4) /* verified on pcb */ | |
| 1216 | 1216 | MDRV_SOUND_CONFIG(sngkace_ym2610_interface) |
| 1217 | 1217 | MDRV_SOUND_ROUTE(0, "lspeaker", 1.2) |
| 1218 | 1218 | MDRV_SOUND_ROUTE(0, "rspeaker", 1.2) |
| r4962 | r4963 | |
|---|---|---|
| 888 | 888 | MDRV_SOUND_CONFIG(satansat_sn76477_intf) |
| 889 | 889 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) |
| 890 | 890 | |
| 891 | MDRV_SOUND_REMOVE("sn76477.2") | |
| 892 | MDRV_SOUND_REMOVE("sn76477.3") | |
| 891 | MDRV_DEVICE_REMOVE("sn76477.2") | |
| 892 | MDRV_DEVICE_REMOVE("sn76477.3") | |
| 893 | 893 | MACHINE_DRIVER_END |
| 894 | 894 | |
| 895 | 895 | static MACHINE_DRIVER_START( vanguard ) |
| r4962 | r4963 | |
| 957 | 957 | MDRV_SOUND_CONFIG_DISCRETE(fantasy) |
| 958 | 958 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.5) |
| 959 | 959 | |
| 960 | MDRV_ | |
| 960 | MDRV_ | |
| 961 | 961 | MACHINE_DRIVER_END |
| 962 | 962 | |
| 963 | 963 | static MACHINE_DRIVER_START( nibbler ) |
| r4962 | r4963 | |
| 965 | 965 | MDRV_IMPORT_FROM(fantasy) |
| 966 | 966 | |
| 967 | 967 | // sound hardware |
| 968 | MDRV_ | |
| 968 | MDRV_ | |
| 969 | 969 | MACHINE_DRIVER_END |
| 970 | 970 | |
| 971 | 971 | static MACHINE_DRIVER_START( pballoon ) |
| r4962 | r4963 | |
|---|---|---|
| 3024 | 3024 | GAME( 1985, trvchlng, 0, racknrol, trvchlng, 0, ROT90, "Joyland (Senko License)", "Trivia Challenge", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) |
| 3025 | 3025 | GAME( 1981, ckongg, 0, ckongg, ckongg, 0, ROT90, "bootleg", "Crazy Kong (bootleg on Galaxian hardware, set 1)", GAME_SUPPORTS_SAVE ) |
| 3026 | 3026 | GAME( 1981, kkgalax, ckongg, kkgalax, kkgalax, 0, ROT90, "bootleg", "Crazy Kong (bootleg on Galaxian hardware, set 2)", GAME_NO_SOUND | GAME_SUPPORTS_SAVE ) // set was marked as 'King Kong on Galaxian' |
| 3027 | GAME( 19 | |
| 3027 | GAME( 1982, porter, 0, mooncrst, porter, 0, ROT90, "[Nova Games Ltd.] (bootleg)", "Port Man (bootleg on Moon Cresta hardware)", GAME_IMPERFECT_GRAPHICS ) // missing GFX bank switch! |
| r4962 | r4963 | |
|---|---|---|
| 238 | 238 | |
| 239 | 239 | GAME( 1981, laserbas, 0, laserbas, laserbas, 0, ROT270, "Amstar/HOEI", "Laser Base (set 1)", GAME_NO_SOUND | GAME_NOT_WORKING) |
| 240 | 240 | GAME( 1981, laserbsa, laserbas, laserbas, laserbas, 0, ROT270, "Amstar/HOEI", "Laser Base (set 2)", GAME_NO_SOUND | GAME_NOT_WORKING ) |
| 241 | GAME( 19 | |
| 241 | GAME( 1981, futflash, laserbas, laserbas, laserbas, 0, ROT270, "HOEI", "Future Flash", GAME_NO_SOUND | GAME_NOT_WORKING) |
| r4962 | r4963 | |
|---|---|---|
| 21 | 21 | |
| 22 | 22 | ******************************************************************************* |
| 23 | 23 | |
| 24 | Shadow Force | |
| 25 | Technos 1993 | |
| 26 | ||
| 27 | PCB Layout | |
| 28 | ---------- | |
| 29 | ||
| 30 | TA-0032-P1-24 | |
| 31 | MADE IN JAPAN | |
| 32 | |--------------------------------------------------------| | |
| 33 | |LA4460 MB3615 YM3012 3.579545MHz 32J8-0.32 | | |
| 34 | |VOL MB3615 YM2151 Z80 32J7-0.25 | | |
| 35 | | M6295 32J6-0.24 | | |
| 36 | | 32J9-0.76 32J10.42 32J5-0.13 | | |
| 37 | | 6116 32J4-0.12 | | |
| 38 | | |-------| | | |
| 39 | | |TECHNOS| | | |
| 40 | |J 62256 |TJ-005 | | | |
| 41 | |A 62256 13.4952MHz | | | | |
| 42 | |M 62256 28MHz |-------| | | |
| 43 | |M 32J11-0.55 6116 | | |
| 44 | |A |-------| |-------| 6116 | | |
| 45 | | |TECHNOS| |TECHNOS| | | |
| 46 | | |TJ-004 | |TJ-002 | 32J3-0.6 | | |
| 47 | |DSW3 | | | | 32J2-0.5 | | |
| 48 | |DSW2 |-------| |-------| 32J1-0.4 | | |
| 49 | |DSW1 32A12-0.34 | | |
| 50 | |CN2 32A14-0.33 | | |
| 51 | | 62256 32A13-0.26 62256 A1010 | | |
| 52 | | 68000 62256 32J15-0.14 62256 | | |
| 53 | |--------------------------------------------------------| | |
| 54 | Notes: | |
| 55 | 68000 - Clock 14.000MHz [28/2] | |
| 56 | Z80 - Clock 3.579545MHz | |
| 57 | YM2151 - Clock 3.579545MHz | |
| 58 | YM3012 - Clock 1.7897725MHz [3.579545/2] | |
| 59 | M6295 - Clock 1.6869MHz [13.4952/8]. Pin 7 HIGH (5.0V) | |
| 60 | A1010 - Actel A1010A-1 FPGA labelled 'TJ32A 92.11.30' (PLCC68) | |
| 61 | LA4460 - Audio Power Amp | |
| 62 | CN2 - 9 pin connector for extra buttons | |
| 63 | MB3615 - Fujitsu MB3615 Quad Operational Amplifier (like TL074 except pin 11 tied to GND, not -5V) | |
| 64 | 6116 - 2k x8 SRAM (DIP24) | |
| 65 | 62256 - 32k x8 SRAM (DIP28) | |
| 66 | DSW1/2/3 - 8-position dip switches | |
| 67 | ||
| 68 | ROMs | |
| 69 | ---- | |
| 70 | 32J1 thru 32J8 - 16M mask ROM (DIP42) | |
| 71 | 32A12/13/14/J15 - 27C2001 EPROM (DIP32) | |
| 72 | 32J9 - 4M mask ROM (DIP32) | |
| 73 | 32J10 - 27C512 EPROM (DIP28) | |
| 74 | 32J11 - 27C010 EPROM (DIP32) | |
| 75 | ||
| 76 | Measurements | |
| 77 | ------------ | |
| 78 | X1 - 27.99987MHz | |
| 79 | X2 - 3.57899MHz | |
| 80 | X4 - 13.4894MHz | |
| 81 | VSync - 57.4446Hz | |
| 82 | HSync - 15.6248kHz | |
| 83 | ||
| 24 | 84 | -- Read Me -- |
| 25 | 85 | |
| 26 | 86 | Shadow Force (c)1993 Technos |
| r4962 | r4963 | |
| 548 | 608 | |
| 549 | 609 | ROM_START( shadfrce ) |
| 550 | 610 | ROM_REGION( 0x100000, "maincpu", 0 ) /* 68000 Code */ |
| 551 | ROM_LOAD16_BYTE( "32a12-01.34", 0x00001, 0x40000, CRC(04501198) SHA1(50f981c13f9ed19d681d494376018ba86464ea13) ) | |
| 611 | ROM_LOAD16_BYTE( "32a12-01.34", 0x00001, 0x40000, CRC(04501198) SHA1(50f981c13f9ed19d681d494376018ba86464ea13) ) /* US Version 2 */ | |
| 552 | 612 | ROM_LOAD16_BYTE( "32a13-01.26", 0x00000, 0x40000, CRC(b8f8a05c) SHA1(bd9d4218a7cf57b56aec1f7e710e02af8471f9d7) ) |
| 553 | 613 | ROM_LOAD16_BYTE( "32a14-0.33", 0x80001, 0x40000, CRC(08279be9) SHA1(1833526b23feddb58b21874070ad2bf3b6be8dca) ) |
| 554 | 614 | ROM_LOAD16_BYTE( "32a15-0.14", 0x80000, 0x40000, CRC(bfcadfea) SHA1(1caa9fc30d8622ce4c7221039c446e99cc8f5346) ) |
| r4962 | r4963 | |
| 577 | 637 | |
| 578 | 638 | ROM_START( shadfrcj ) |
| 579 | 639 | ROM_REGION( 0x100000, "maincpu", 0 ) /* 68000 Code */ |
| 580 | ROM_LOAD16_BYTE( "32j12-01.ic34", 0x00001, 0x40000, CRC(38fdbe1d) SHA1(476d8ef2c0d2a8c568ce44631f93f8c730f91b08) ) | |
| 581 | ROM_LOAD16_BYTE( "32j13-01.ic26", 0x00000, 0x40000, CRC(6e1df6f1) SHA1(c165553fe967b437413dd7ddc87a267548dd0ca9) ) | |
| 582 | ROM_LOAD16_BYTE( "32j14-01.ic33", 0x80001, 0x40000, CRC(89e3fb60) SHA1(90de38558d63215a0079079030e8b1097599c9e5) ) | |
| 583 | ROM_LOAD16_BYTE( "32j15-01.ic14", 0x80000, 0x40000, CRC(3dc3a84a) SHA1(166ad91b93192d94e3f6d2fe6dde02f59d334f75) ) | |
| 640 | ROM_LOAD16_BYTE( "32a12-011.34", 0x00001, 0x40000, CRC(0c041e08) SHA1(7b9d52cb1f6bc217c6e64287bd9630aa37243513) ) /* Japan Version 3 */ | |
| 641 | ROM_LOAD16_BYTE( "32a13-010.26", 0x00000, 0x40000, CRC(00985361) SHA1(e9da1b096b25a6ee46bab6230dda66dccdd4bed8) ) | |
| 642 | ROM_LOAD16_BYTE( "32a14-010.33", 0x80001, 0x40000, CRC(ea03ca25) SHA1(7af1ee7c36c70f80ba1e096473b5786b205ab00b) ) | |
| 643 | ROM_LOAD16_BYTE( "32j15-01.14", 0x80000, 0x40000, CRC(3dc3a84a) SHA1(166ad91b93192d94e3f6d2fe6dde02f59d334f75) ) | |
| 584 | 644 | |
| 585 | 645 | ROM_REGION( 0x10000, "audiocpu", 0 ) /* Z80 Code */ |
| 586 | 646 | ROM_LOAD( "32j10-0.42", 0x00000, 0x10000, CRC(65daf475) SHA1(7144332b2d17af8645e22e1926b33113db0d20e2) ) |
| 587 | 647 | |
| 588 | 648 | ROM_REGION( 0x020000, "gfx1", ROMREGION_DISPOSE ) /* Chars */ |
| 589 | ROM_LOAD( "32j11-0. | |
| 649 | ROM_LOAD( "32j11-0. | |
| 590 | 650 | |
| 591 | 651 | ROM_REGION( 0xa00000, "gfx2", ROMREGION_DISPOSE ) /* Sprite Tiles */ |
| 592 | 652 | ROM_LOAD( "32j4-0.12", 0x000000, 0x200000, CRC(1ebea5b6) SHA1(35bd49dda9ad75326d45ffb10c87d83fc4f1b7a8) ) |
| r4962 | r4963 | |
| 604 | 664 | ROM_LOAD( "32j9-0.76", 0x000000, 0x080000, CRC(16001e81) SHA1(67928d2024f963aee91f1498b6f4c76101d2f3b8) ) |
| 605 | 665 | ROM_END |
| 606 | 666 | |
| 667 | ROM_START( shadfrcjv2 ) | |
| 668 | ROM_REGION( 0x100000, "maincpu", 0 ) /* 68000 Code */ | |
| 669 | ROM_LOAD16_BYTE( "32j12-01.34", 0x00001, 0x40000, CRC(38fdbe1d) SHA1(476d8ef2c0d2a8c568ce44631f93f8c730f91b08) ) /* Japan Version 2 */ | |
| 670 | ROM_LOAD16_BYTE( "32j13-01.26", 0x00000, 0x40000, CRC(6e1df6f1) SHA1(c165553fe967b437413dd7ddc87a267548dd0ca9) ) | |
| 671 | ROM_LOAD16_BYTE( "32j14-01.33", 0x80001, 0x40000, CRC(89e3fb60) SHA1(90de38558d63215a0079079030e8b1097599c9e5) ) | |
| 672 | ROM_LOAD16_BYTE( "32j15-01.14", 0x80000, 0x40000, CRC(3dc3a84a) SHA1(166ad91b93192d94e3f6d2fe6dde02f59d334f75) ) | |
| 607 | 673 | |
| 608 | GAME( 1993, shadfrce, 0, shadfrce, shadfrce, 0, ROT0, "Technos Japan", "Shadow Force (US Version 2)", GAME_NO_COCKTAIL ) | |
| 609 | GAME( 1993, shadfrcj, shadfrce, shadfrce, shadfrce, 0, ROT0, "Technos Japan", "Shadow Force (Japan Version 2)", GAME_NO_COCKTAIL ) | |
| 674 | ROM_REGION( 0x10000, "audiocpu", 0 ) /* Z80 Code */ | |
| 675 | ROM_LOAD( "32j10-0.42", 0x00000, 0x10000, CRC(65daf475) SHA1(7144332b2d17af8645e22e1926b33113db0d20e2) ) | |
| 676 | ||
| 677 | ROM_REGION( 0x020000, "gfx1", ROMREGION_DISPOSE ) /* Chars */ | |
| 678 | ROM_LOAD( "32j11-0.55", 0x00000, 0x20000, CRC(7252d993) SHA1(43f7de381841039aa290486aafb98e2cf3b8579b) ) | |
| 679 | ||
| 680 | ROM_REGION( 0xa00000, "gfx2", ROMREGION_DISPOSE ) /* Sprite Tiles */ | |
| 681 | ROM_LOAD( "32j4-0.12", 0x000000, 0x200000, CRC(1ebea5b6) SHA1(35bd49dda9ad75326d45ffb10c87d83fc4f1b7a8) ) | |
| 682 | ROM_LOAD( "32j5-0.13", 0x200000, 0x200000, CRC(600026b5) SHA1(5641246300d7e20dcff1eae004647faaee6cd1c6) ) | |
| 683 | ROM_LOAD( "32j6-0.24", 0x400000, 0x200000, CRC(6cde8ebe) SHA1(750933798235951fe24b2e667c33f692612c0aa0) ) | |
| 684 | ROM_LOAD( "32j7-0.25", 0x600000, 0x200000, CRC(bcb37922) SHA1(f3eee73c8b9f4873a7f1cc42e334e7502eaee3c8) ) | |
| 685 | ROM_LOAD( "32j8-0.32", 0x800000, 0x200000, CRC(201bebf6) SHA1(c89d2895ea5b19daea1f88542419f4e10f437c73) ) | |
| 686 | ||
| 687 | ROM_REGION( 0x300000, "gfx3", ROMREGION_DISPOSE ) /* BG Tiles */ | |
| 688 | ROM_LOAD( "32j1-0.4", 0x000000, 0x100000, CRC(f1cca740) SHA1(339079b95ca137e66b4f032ad67a0adf58cca100) ) | |
| 689 | ROM_LOAD( "32j2-0.5", 0x100000, 0x100000, CRC(5fac3e01) SHA1(20c30f4c76e303285ae37e596afe86aa4812c3b9) ) | |
| 690 | ROM_LOAD( "32j3-0.6", 0x200000, 0x100000, CRC(d297925e) SHA1(5bc4d37bf0dc54114884c816b94a64ef1ccfeda5) ) | |
| 691 | ||
| 692 | ROM_REGION( 0x080000, "oki", 0 ) /* Samples */ | |
| 693 | ROM_LOAD( "32j9-0.76", 0x000000, 0x080000, CRC(16001e81) SHA1(67928d2024f963aee91f1498b6f4c76101d2f3b8) ) | |
| 694 | ROM_END | |
| 695 | ||
| 696 | ||
| 697 | GAME( 1993, shadfrce, 0, shadfrce, shadfrce, 0, ROT0, "Technos Japan", "Shadow Force (US Version 2)", GAME_NO_COCKTAIL ) | |
| 698 | GAME( 1993, shadfrcj, shadfrce, shadfrce, shadfrce, 0, ROT0, "Technos Japan", "Shadow Force (Japan Version 3)", GAME_NO_COCKTAIL ) | |
| 699 | GAME( 1993, shadfrcjv2, shadfrce, shadfrce, shadfrce, 0, ROT0, "Technos Japan", "Shadow Force (Japan Version 2)", GAME_NO_COCKTAIL ) |
| r4962 | r4963 | |
|---|---|---|
| 548 | 548 | U16 - 27C801 8MBit EPROM |
| 549 | 549 | U20 - 29F040 EEPROM |
| 550 | 550 | IC42S16800 - ISSI IC42S16800 4(2)M x 8(16) Bits x 4 Banks (128MBit) SDRAM |
| 551 | ||
| 552 | QS1000 - QDSP QS1000 AdMOS 9638R, Wavetable Audio chip, clock input of 24.000MHz (QFP100) | |
| 553 | see http://www.hwass.co.kr/product.htm for more info on QS100x chips. | |
| 554 | QS1001A - QDSP QS1001A 512k x8 MaskROM (SOP32) | |
| 555 | ||
| 556 | qs1001a.u17 was not dumped from this PCB, but is a standard sample rom found on many Eolith games | |
| 557 | see eolith.c and vegaeo.c drivers | |
| 551 | 558 | */ |
| 552 | 559 | |
| 553 | 560 | ROM_START( bballoon ) |
| r4962 | r4963 | |
| 558 | 565 | ROM_REGION( 0x080000, "user2", 0 ) |
| 559 | 566 | ROM_LOAD( "b2.u20", 0x000000, 0x080000, CRC(0a12334c) SHA1(535b5b34f28435517218100d70147d87809f485a) ) |
| 560 | 567 | |
| 561 | ROM_REGION( 0x100000, " | |
| 568 | ROM_REGION( 0x100000, "sfx | |
| 562 | 569 | ROM_LOAD( "b1.u16", 0x000000, 0x100000, CRC(c42c1c85) SHA1(e1f49d556ffd6bc27142a7784c3bb8e37999857d) ) |
| 570 | ||
| 571 | ROM_REGION( 0x080000, "wavetable", 0 ) /* QDSP wavetable rom */ | |
| 572 | ROM_LOAD( "qs1001a.u17", 0x000000, 0x80000, CRC(d13c6407) SHA1(57b14f97c7d4f9b5d9745d3571a0b7115fbe3176) ) | |
| 563 | 573 | ROM_END |
| 564 | 574 | |
| 565 | 575 | static DRIVER_INIT( bballoon ) |
| r4962 | r4963 | |
|---|---|---|
| 230 | 230 | if (mem_mask == 0x0000ff00) { hi_addr++; } /* Low byte */ |
| 231 | 231 | if (mem_mask == 0xff000000) {} /* High byte */ |
| 232 | 232 | |
| 233 | value = dsp56k_host_interface_read( | |
| 233 | value = dsp56k_host_interface_read( | |
| 234 | 234 | |
| 235 | 235 | if (mem_mask == 0x0000ff00) { value <<= 8; } |
| 236 | 236 | if (mem_mask == 0xff000000) { value <<= 24; } |
| r4962 | r4963 | |
| 299 | 299 | if (mem_mask == 0xff000000) { hi_data = (data & 0xff000000) >> 24; } |
| 300 | 300 | |
| 301 | 301 | logerror("write (host-side) %08x %08x %08x (HI %04x)\n", offset, mem_mask, data, hi_addr); |
| 302 | dsp56k_host_interface_write( | |
| 302 | dsp56k_host_interface_write( | |
| 303 | 303 | } |
| 304 | 304 | |
| 305 | 305 | |
| r4962 | r4963 | |
| 375 | 375 | |
| 376 | 376 | static UINT8 dsp56k_bank_group(const device_config* cpu) |
| 377 | 377 | { |
| 378 | UINT16 portC = dsp56k_get_peripheral_memory( | |
| 378 | UINT16 portC = dsp56k_get_peripheral_memory( | |
| 379 | 379 | |
| 380 | 380 | /* If bank group B is on, it overrides bank group A */ |
| 381 | 381 | if (portC & 0x0002) |
| r4962 | r4963 | |
| 388 | 388 | |
| 389 | 389 | static UINT8 dsp56k_bank_num(const device_config* cpu, UINT8 bank_group) |
| 390 | 390 | { |
| 391 | UINT16 portC = dsp56k_get_peripheral_memory( | |
| 391 | UINT16 portC = dsp56k_get_peripheral_memory( | |
| 392 | 392 | |
| 393 | 393 | if (bank_group == BANK_GROUP_A) |
| 394 | 394 | { |
| r4962 | r4963 | |
| 413 | 413 | /* BANK HANDLERS */ |
| 414 | 414 | static READ16_HANDLER( dsp56k_ram_bank00_read ) |
| 415 | 415 | { |
| 416 | UINT8 en_group = dsp56k_bank_group((device_config*)space->cpu); | |
| 417 | UINT8 bank_num = dsp56k_bank_num((device_config*)space->cpu, en_group); | |
| 416 | UINT8 en_group = dsp56k_bank_group(space->cpu); | |
| 417 | UINT8 bank_num = dsp56k_bank_num(space->cpu, en_group); | |
| 418 | 418 | UINT32 driver_bank_offset = (en_group * dsp56k_bank00_size * 8) + (bank_num * dsp56k_bank00_size); |
| 419 | 419 | |
| 420 | 420 | return dsp56k_bank00_ram[driver_bank_offset + offset]; |
| r4962 | r4963 | |
| 422 | 422 | |
| 423 | 423 | static WRITE16_HANDLER( dsp56k_ram_bank00_write ) |
| 424 | 424 | { |
| 425 | UINT8 en_group = dsp56k_bank_group((device_config*)space->cpu); | |
| 426 | UINT8 bank_num = dsp56k_bank_num((device_config*)space->cpu, en_group); | |
| 425 | UINT8 en_group = dsp56k_bank_group(space->cpu); | |
| 426 | UINT8 bank_num = dsp56k_bank_num(space->cpu, en_group); | |
| 427 | 427 | UINT32 driver_bank_offset = (en_group * dsp56k_bank00_size * 8) + (bank_num * dsp56k_bank00_size); |
| 428 | 428 | |
| 429 | 429 | COMBINE_DATA(&dsp56k_bank00_ram[driver_bank_offset + offset]); |
| r4962 | r4963 | |
| 432 | 432 | |
| 433 | 433 | static READ16_HANDLER( dsp56k_ram_bank01_read ) |
| 434 | 434 | { |
| 435 | UINT8 en_group = dsp56k_bank_group((device_config*)space->cpu); | |
| 436 | UINT8 bank_num = dsp56k_bank_num((device_config*)space->cpu, en_group); | |
| 435 | UINT8 en_group = dsp56k_bank_group(space->cpu); | |
| 436 | UINT8 bank_num = dsp56k_bank_num(space->cpu, en_group); | |
| 437 | 437 | UINT32 driver_bank_offset = (en_group * dsp56k_bank01_size * 8) + (bank_num * dsp56k_bank01_size); |
| 438 | 438 | |
| 439 | 439 | return dsp56k_bank01_ram[driver_bank_offset + offset]; |
| r4962 | r4963 | |
| 441 | 441 | |
| 442 | 442 | static WRITE16_HANDLER( dsp56k_ram_bank01_write ) |
| 443 | 443 | { |
| 444 | UINT8 en_group = dsp56k_bank_group((device_config*)space->cpu); | |
| 445 | UINT8 bank_num = dsp56k_bank_num((device_config*)space->cpu, en_group); | |
| 444 | UINT8 en_group = dsp56k_bank_group(space->cpu); | |
| 445 | UINT8 bank_num = dsp56k_bank_num(space->cpu, en_group); | |
| 446 | 446 | UINT32 driver_bank_offset = (en_group * dsp56k_bank01_size * 8) + (bank_num * dsp56k_bank01_size); |
| 447 | 447 | |
| 448 | 448 | COMBINE_DATA(&dsp56k_bank01_ram[driver_bank_offset + offset]); |
| r4962 | r4963 | |
| 454 | 454 | |
| 455 | 455 | static READ16_HANDLER( dsp56k_ram_bank02_read ) |
| 456 | 456 | { |
| 457 | UINT8 en_group = dsp56k_bank_group((device_config*)space->cpu); | |
| 458 | UINT8 bank_num = dsp56k_bank_num((device_config*)space->cpu, en_group); | |
| 457 | UINT8 en_group = dsp56k_bank_group(space->cpu); | |
| 458 | UINT8 bank_num = dsp56k_bank_num(space->cpu, en_group); | |
| 459 | 459 | UINT32 driver_bank_offset = (en_group * dsp56k_bank02_size * 8) + (bank_num * dsp56k_bank02_size); |
| 460 | 460 | |
| 461 | 461 | return dsp56k_bank02_ram[driver_bank_offset + offset]; |
| r4962 | r4963 | |
| 463 | 463 | |
| 464 | 464 | static WRITE16_HANDLER( dsp56k_ram_bank02_write ) |
| 465 | 465 | { |
| 466 | UINT8 en_group = dsp56k_bank_group((device_config*)space->cpu); | |
| 467 | UINT8 bank_num = dsp56k_bank_num((device_config*)space->cpu, en_group); | |
| 466 | UINT8 en_group = dsp56k_bank_group(space->cpu); | |
| 467 | UINT8 bank_num = dsp56k_bank_num(space->cpu, en_group); | |
| 468 | 468 | UINT32 driver_bank_offset = (en_group * dsp56k_bank02_size * 8) + (bank_num * dsp56k_bank02_size); |
| 469 | 469 | |
| 470 | 470 | COMBINE_DATA(&dsp56k_bank02_ram[driver_bank_offset + offset]); |
| r4962 | r4963 | |
| 473 | 473 | |
| 474 | 474 | static READ16_HANDLER( dsp56k_shared_ram_read ) |
| 475 | 475 | { |
| 476 | UINT8 en_group = dsp56k_bank_group((device_config*)space->cpu); | |
| 477 | UINT8 bank_num = dsp56k_bank_num((device_config*)space->cpu, en_group); | |
| 476 | UINT8 en_group = dsp56k_bank_group(space->cpu); | |
| 477 | UINT8 bank_num = dsp56k_bank_num(space->cpu, en_group); | |
| 478 | 478 | UINT32 driver_bank_offset = (en_group * dsp56k_shared_ram_16_size * 8) + (bank_num * dsp56k_shared_ram_16_size); |
| 479 | 479 | |
| 480 | 480 | return dsp56k_shared_ram_16[driver_bank_offset + offset]; |
| r4962 | r4963 | |
| 482 | 482 | |
| 483 | 483 | static WRITE16_HANDLER( dsp56k_shared_ram_write ) |
| 484 | 484 | { |
| 485 | UINT8 en_group = dsp56k_bank_group((device_config*)space->cpu); | |
| 486 | UINT8 bank_num = dsp56k_bank_num((device_config*)space->cpu, en_group); | |
| 485 | UINT8 en_group = dsp56k_bank_group(space->cpu); | |
| 486 | UINT8 bank_num = dsp56k_bank_num(space->cpu, en_group); | |
| 487 | 487 | UINT32 driver_bank_offset = (en_group * dsp56k_shared_ram_16_size * 8) + (bank_num * dsp56k_shared_ram_16_size); |
| 488 | 488 | |
| 489 | 489 | COMBINE_DATA(&dsp56k_shared_ram_16[driver_bank_offset + offset]); |
| r4962 | r4963 | |
| 501 | 501 | |
| 502 | 502 | static READ16_HANDLER( dsp56k_ram_bank04_read ) |
| 503 | 503 | { |
| 504 | UINT8 en_group = dsp56k_bank_group((device_config*)space->cpu); | |
| 505 | UINT8 bank_num = dsp56k_bank_num((device_config*)space->cpu, en_group); | |
| 504 | UINT8 en_group = dsp56k_bank_group(space->cpu); | |
| 505 | UINT8 bank_num = dsp56k_bank_num(space->cpu, en_group); | |
| 506 | 506 | UINT32 driver_bank_offset = (en_group * dsp56k_bank04_size * 8) + (bank_num * dsp56k_bank04_size); |
| 507 | 507 | |
| 508 | 508 | return dsp56k_bank04_ram[driver_bank_offset + offset]; |
| r4962 | r4963 | |
| 510 | 510 | |
| 511 | 511 | static WRITE16_HANDLER( dsp56k_ram_bank04_write ) |
| 512 | 512 | { |
| 513 | UINT8 en_group = dsp56k_bank_group((device_config*)space->cpu); | |
| 514 | UINT8 bank_num = dsp56k_bank_num((device_config*)space->cpu, en_group); | |
| 513 | UINT8 en_group = dsp56k_bank_group(space->cpu); | |
| 514 | UINT8 bank_num = dsp56k_bank_num(space->cpu, en_group); | |
| 515 | 515 | UINT32 driver_bank_offset = (en_group * dsp56k_bank04_size * 8) + (bank_num * dsp56k_bank04_size); |
| 516 | 516 | |
| 517 | 517 | COMBINE_DATA(&dsp56k_bank04_ram[driver_bank_offset + offset]); |
| r4962 | r4963 | |
|---|---|---|
| 198 | 198 | |
| 199 | 199 | static WRITE8_HANDLER( warriorb_pancontrol ) |
| 200 | 200 | { |
| 201 | static const char *fltname[] = { "2610.1.l", "2610.1.r", "2610.2.l", "2610.2.r" }; | |
| 201 | static const char *const fltname[] = { "2610.1.l", "2610.1.r", "2610.2.l", "2610.2.r" }; | |
| 202 | 202 | |
| 203 | 203 | offset = offset&3; |
| 204 | 204 | ninjaw_pandata[offset] = (data<<1) + data; /* original volume*3 */ |
| r4962 | r4963 | |
|---|---|---|
| 2523 | 2523 | MDRV_VIDEO_EOF(vbowl) // trackball |
| 2524 | 2524 | // MDRV_GFXDECODE(chmplst2) |
| 2525 | 2525 | |
| 2526 | MDRV_ | |
| 2526 | MDRV_ | |
| 2527 | 2527 | MDRV_SOUND_ADD("ics", ICS2115, 0) |
| 2528 | 2528 | MDRV_SOUND_CONFIG(vbowl_ics2115_interface) |
| 2529 | 2529 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 5.0) |
| r4962 | r4963 | |
|---|---|---|
| 56 | 56 | |
| 57 | 57 | static WRITE8_DEVICE_HANDLER( megazone_portB_w ) |
| 58 | 58 | { |
| 59 | static const char *fltname[] = { "filter.0.0", "filter.0.1", "filter.0.2" }; | |
| 59 | static const char *const fltname[] = { "filter.0.0", "filter.0.1", "filter.0.2" }; | |
| 60 | 60 | int i; |
| 61 | 61 | |
| 62 | 62 |
| r4962 | r4963 | |
|---|---|---|
| 1767 | 1767 | /* basic machine hardware */ |
| 1768 | 1768 | MDRV_IMPORT_FROM(galaga) |
| 1769 | 1769 | |
| 1770 | MDRV_ | |
| 1770 | MDRV_DEVICE | |
| 1771 | 1771 | |
| 1772 | 1772 | MDRV_CPU_ADD("sub3", Z80, MASTER_CLOCK/6) /* 3.072 MHz */ |
| 1773 | 1773 | MDRV_CPU_PROGRAM_MAP(galaga_mem4) |
| 1774 | 1774 | |
| 1775 | 1775 | /* sound hardware */ |
| 1776 | MDRV_ | |
| 1776 | MDRV_ | |
| 1777 | 1777 | MACHINE_DRIVER_END |
| 1778 | 1778 | |
| 1779 | 1779 | |
| r4962 | r4963 | |
| 1833 | 1833 | /* basic machine hardware */ |
| 1834 | 1834 | MDRV_IMPORT_FROM( xevious ) |
| 1835 | 1835 | |
| 1836 | MDRV_NAMCO_50XX_REMOVE("50xx") | |
| 1837 | MDRV_NAMCO_54XX_REMOVE("54xx") | |
| 1836 | MDRV_DEVICE_REMOVE("50xx") | |
| 1837 | MDRV_DEVICE_REMOVE("54xx") | |
| 1838 | 1838 | |
| 1839 | 1839 | MDRV_CPU_ADD("sub3", Z80, MASTER_CLOCK/6) /* 3.072 MHz */ |
| 1840 | 1840 | MDRV_CPU_PROGRAM_MAP(battles_mem4) |
| r4962 | r4963 | |
| 1846 | 1846 | MDRV_PALETTE_INIT(battles) |
| 1847 | 1847 | |
| 1848 | 1848 | /* sound hardware */ |
| 1849 | MDRV_ | |
| 1849 | MDRV_ | |
| 1850 | 1850 | |
| 1851 | 1851 | MDRV_SOUND_ADD("samples", SAMPLES, 0) |
| 1852 | 1852 | MDRV_SOUND_CONFIG(battles_samples_interface) |
| r4962 | r4963 | |
|---|---|---|
| 566 | 566 | MDRV_VIDEO_UPDATE(pinbo) |
| 567 | 567 | |
| 568 | 568 | /* sound hardware */ |
| 569 | MDRV_SOUND_REMOVE("sn76489.1") | |
| 570 | MDRV_SOUND_REMOVE("sn76489.2") | |
| 569 | MDRV_DEVICE_REMOVE("sn76489.1") | |
| 570 | MDRV_DEVICE_REMOVE("sn76489.2") | |
| 571 | 571 | |
| 572 | 572 | MDRV_SOUND_ADD("ay1", AY8910, 1250000) |
| 573 | 573 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.55) |
| r4962 | r4963 | |
|---|---|---|
| 386 | 386 | static MACHINE_DRIVER_START( retofinb ) |
| 387 | 387 | |
| 388 | 388 | MDRV_IMPORT_FROM(retofinv) |
| 389 | MDRV_C | |
| 389 | MDRV_DEVICE | |
| 390 | 390 | |
| 391 | 391 | MACHINE_DRIVER_END |
| 392 | 392 |
| r4962 | r4963 | |
|---|---|---|
| 959 | 959 | /* basic machine hardware */ |
| 960 | 960 | MDRV_IMPORT_FROM(mcr68) |
| 961 | 961 | MDRV_IMPORT_FROM(sounds_good) |
| 962 | MDRV_ | |
| 962 | MDRV_D | |
| 963 | 963 | MDRV_IMPORT_FROM(turbo_chip_squeak) |
| 964 | 964 | MACHINE_DRIVER_END |
| 965 | 965 |
| r4962 | r4963 | |
|---|---|---|
| 1447 | 1447 | /**** sound pan control ****/ |
| 1448 | 1448 | static WRITE8_HANDLER( taitoz_pancontrol ) |
| 1449 | 1449 | { |
| 1450 | static const char *fltname[] = { "2610.1.r", "2610.1.l", "2610.2.r", "2610.2.l" }; | |
| 1450 | static const char *const fltname[] = { "2610.1.r", "2610.1.l", "2610.2.r", "2610.2.l" }; | |
| 1451 | 1451 | |
| 1452 | 1452 | // static UINT8 taitoz_pandata[4]; |
| 1453 | 1453 |
| r4962 | r4963 | |
|---|---|---|
| 93 | 93 | ROM_LOAD32_WORD( "indiandr.u12", 0x100002, 0x80000, CRC(4bbe67f6) SHA1(928f88387da66697f1de54f086531f600f80a15e) ) |
| 94 | 94 | ROM_END |
| 95 | 95 | |
| 96 | ROM_START( dolphntr ) | |
| 97 | ROM_REGION( 0x800000, "maincpu", 0 ) /* ARM Code */ | |
| 98 | ROM_LOAD32_WORD( "0100424v.u7", 0x000000, 0x80000, CRC(657faef7) SHA1(09e1f9d461e855c10cf8b825ef83dd3e7db65b43) ) | |
| 99 | ROM_LOAD32_WORD( "0100424v.u11", 0x000002, 0x80000, CRC(65aa46ec) SHA1(3ad4270efbc2e947097d94a3258a544d79a1d599) ) | |
| 100 | ROM_LOAD32_WORD( "0100424v.u8", 0x100000, 0x80000, CRC(e77868ad) SHA1(3345da120075bc0da47bac0a4840790693382620) ) | |
| 101 | ROM_LOAD32_WORD( "0100424v.u12", 0x100002, 0x80000, CRC(6abd9309) SHA1(c405a13f5bfe447c1ab20d92e140e4fb145920d4) ) | |
| 102 | ROM_END | |
| 103 | ||
| 104 | ROM_START( dolphtra ) | |
| 105 | ROM_REGION( 0x800000, "maincpu", 0 ) /* ARM Code */ | |
| 106 | ROM_LOAD32_WORD( "0200424v.u7", 0x000000, 0x80000, CRC(5dd88306) SHA1(ee8ec7d123d057e8df9be0e8dadecea7dab7aafd) ) | |
| 107 | ROM_LOAD32_WORD( "0200424v.u11", 0x000002, 0x80000, CRC(bcb732ea) SHA1(838300914846c6e740780e5a24b9db7304a8a88d) ) | |
| 108 | ROM_END | |
| 109 | ||
| 96 | 110 | ROM_START( goldprmd ) |
| 97 | 111 | ROM_REGION( 0x800000, "maincpu", 0 ) /* ARM Code */ |
| 98 | 112 | ROM_LOAD32_WORD( "goldprmd.u7", 0x000000, 0x80000, CRC(2fbed80c) SHA1(fb0d97cb2be96da37c487fc3aef06c6120efdb46) ) |
| r4962 | r4963 | |
| 150 | 164 | |
| 151 | 165 | GAME( 1995, swthrt2v, 0, aristmk5, aristmk5, aristmk5, ROT0, "Aristocrat", "Sweet Hearts II (C - 07/09/95, Venezuela version)", GAME_NOT_WORKING|GAME_NO_SOUND ) |
| 152 | 166 | GAME( 1995, enchfrst, 0, aristmk5, aristmk5, aristmk5, ROT0, "Aristocrat", "Enchanted Forest (E - 23/06/95, Local)", GAME_NOT_WORKING|GAME_NO_SOUND ) |
| 167 | GAME( 1996, dolphntr, 0, aristmk5, aristmk5, aristmk5, ROT0, "Aristocrat", "Dolphin Treasure (B - 06/12/96, NSW/ACT, Rev 1.24.4.0)", GAME_NOT_WORKING|GAME_NO_SOUND ) | |
| 168 | GAME( 1996, dolphtra, 0, aristmk5, aristmk5, aristmk5, ROT0, "Aristocrat", "Dolphin Treasure (B - 06/12/96, NSW/ACT, Rev 3)", GAME_NOT_WORKING|GAME_NO_SOUND ) | |
| 153 | 169 | GAME( 1997, goldprmd, 0, aristmk5, aristmk5, aristmk5, ROT0, "Aristocrat", "Golden Pyramids (B - 13-05-97, USA)", GAME_NOT_WORKING|GAME_NO_SOUND ) |
| 154 | 170 | GAME( 1997, qotn, 0, aristmk5, aristmk5, aristmk5, ROT0, "Aristocrat", "Queen of the Nile (B - 13-05-97, NSW/ACT)", GAME_NOT_WORKING|GAME_NO_SOUND ) |
| 155 | 171 | GAME( 1997, dmdtouch, 0, aristmk5, aristmk5, aristmk5, ROT0, "Aristocrat", "Diamond Touch (E - 30-06-97, Local)", GAME_NOT_WORKING|GAME_NO_SOUND ) |
| r4962 | r4963 | |
|---|---|---|
| 2 | 2 | **************************************************** |
| 3 | 3 | Mirax (C)1985 Current Technologies |
| 4 | 4 | |
| 5 | skeleton driver by Tomasz Slanina analog[AT]op[DOT]pl | |
| 5 | driver by | |
| 6 | Tomasz Slanina analog[AT]op[DOT]pl | |
| 7 | Angelo Salese | |
| 8 | Olivier Galibert | |
| 6 | 9 | |
| 10 | TODO: | |
| 11 | - emulate sound properly; | |
| 12 | - sprite offsets? | |
| 13 | - score / credits display should stay above the sprites? | |
| 7 | 14 | |
| 15 | ==================================================== | |
| 16 | ||
| 8 | 17 | CPU: Ceramic potted module, Z80C |
| 9 | 18 | Sound: AY-3-8912 (x2) |
| 10 | 19 | RAM: 74S201, 74S201 (x6), 2148 (x6), 2114 (x2), 58725 (x2), 6116 |
| r4962 | r4963 | |
| 65 | 74 | #include "deprecat.h" |
| 66 | 75 | #include "sound/ay8910.h" |
| 67 | 76 | |
| 68 | static UINT8 nSndNum; | |
| 69 | 77 | static UINT8 nAyCtrl, nAyData; |
| 78 | static UINT8 nmi_mask; | |
| 70 | 79 | |
| 71 | 80 | static VIDEO_START(mirax) |
| 72 | 81 | { |
| 73 | 82 | } |
| 74 | 83 | |
| 84 | static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const rectangle *cliprect) | |
| 85 | { | |
| 86 | int count; | |
| 75 | 87 | |
| 88 | for(count=0;count<0x200;count+=4) | |
| 89 | { | |
| 90 | int spr_offs,x,y,color,fx,fy; | |
| 91 | ||
| 92 | if(spriteram[count] == 0x00 || spriteram[count+3] == 0x00) | |
| 93 | continue; | |
| 94 | ||
| 95 | spr_offs = (spriteram[count+1] & 0x3f); | |
| 96 | color = spriteram[count+2] & 0x7; | |
| 97 | fx = spriteram[count+1] & 0x40; //<- guess | |
| 98 | fy = spriteram[count+1] & 0x80; | |
| 99 | ||
| 100 | spr_offs += (spriteram[count+2] & 0xe0)<<1; | |
| 101 | spr_offs += (spriteram[count+2] & 0x10)<<5; | |
| 102 | ||
| 103 | y = 0x100 - spriteram[count]; | |
| 104 | x = spriteram[count+3]; | |
| 105 | ||
| 106 | drawgfx(bitmap,machine->gfx[1],spr_offs,color,fx,fy,x,y-16,cliprect,TRANSPARENCY_PEN,0); | |
| 107 | } | |
| 108 | } | |
| 109 | ||
| 76 | 110 | static VIDEO_UPDATE(mirax) |
| 77 | 111 | { |
| 78 | 112 | const gfx_element *gfx = screen->machine->gfx[0]; |
| 79 | 113 | int count = 0x00000; |
| 80 | ||
| 81 | 114 | int y,x; |
| 82 | 115 | |
| 83 | ||
| 84 | 116 | for (y=0;y<32;y++) |
| 85 | 117 | { |
| 86 | 118 | for (x=0;x<32;x++) |
| 87 | 119 | { |
| 88 | 120 | int tile = videoram[count]; |
| 89 | //int colour = tile>>12; | |
| 90 | drawgfx(bitmap,gfx,tile & 0xff,0,0,0,x*8,y*8,cliprect,TRANSPARENCY_NONE,0); | |
| 121 | int color = (colorram[x*2]<<8) | (colorram[(x*2)+1]); | |
| 122 | int x_scroll = (color & 0xff00)>>8; | |
| 123 | tile |= ((color & 0xe0)<<3); | |
| 91 | 124 | |
| 125 | drawgfx(bitmap,gfx,tile,color & 7,0,0,(x*8),(y*8)-x_scroll,cliprect,TRANSPARENCY_NONE,0); | |
| 126 | /* wrap-around */ | |
| 127 | drawgfx(bitmap,gfx,tile,color & 7,0,0,(x*8),(y*8)-x_scroll+256,cliprect,TRANSPARENCY_NONE,0); | |
| 128 | ||
| 92 | 129 | count++; |
| 93 | 130 | } |
| 94 | 131 | } |
| 95 | 132 | |
| 133 | draw_sprites(screen->machine,bitmap,cliprect); | |
| 96 | 134 | |
| 135 | count = 0x00000; | |
| 97 | 136 | |
| 98 | #ifdef MAME_DEBUG | |
| 99 | //audio tester | |
| 100 | if(input_code_pressed_once(KEYCODE_Q)) | |
| 137 | /* draw score and credit displays above the sprites */ | |
| 138 | for (y=0;y<32;y++) | |
| 101 | 139 | { |
| 102 | cputag_set_input_line(screen->machine, "audiocpu", INPUT_LINE_NMI, PULSE_LINE); | |
| 140 | for (x=0;x<32;x++) | |
| 141 | { | |
| 142 | int tile = videoram[count]; | |
| 143 | int color = (colorram[x*2]<<8) | (colorram[(x*2)+1]); | |
| 144 | int x_scroll = (color & 0xff00)>>8; | |
| 145 | tile |= ((color & 0xe0)<<3); | |
| 146 | ||
| 147 | if(x <= 1 || x >= 30) | |
| 148 | { | |
| 149 | drawgfx(bitmap,gfx,tile,color & 7,0,0,(x*8),(y*8)-x_scroll,cliprect,TRANSPARENCY_NONE,0); | |
| 150 | /* wrap-around */ | |
| 151 | drawgfx(bitmap,gfx,tile,color & 7,0,0,(x*8),(y*8)-x_scroll+256,cliprect,TRANSPARENCY_NONE,0); | |
| 152 | } | |
| 153 | ||
| 154 | count++; | |
| 155 | } | |
| 103 | 156 | } |
| 104 | ||
| 157 | ||
| 105 | 158 | return 0; |
| 106 | 159 | } |
| 107 | 160 | |
| 108 | 161 | |
| 109 | 162 | static SOUND_START(mirax) |
| 110 | 163 | { |
| 111 | nSndNum = 0x10; | |
| 112 | 164 | nAyCtrl = 0x00; |
| 113 | 165 | nAyData = 0x00; |
| 114 | 166 | } |
| 115 | 167 | |
| 116 | static READ8_HANDLER(snd_read) | |
| 117 | { | |
| 118 | /* bit 6 is used to select AY (1st or 2nd) */ | |
| 119 | ||
| 120 | return nSndNum++; | |
| 121 | } | |
| 122 | ||
| 123 | 168 | static WRITE8_HANDLER(audio_w) |
| 124 | 169 | { |
| 125 | 170 | if(cpu_get_previouspc(space->cpu)==0x2fd) |
| r4962 | r4963 | |
| 129 | 174 | } |
| 130 | 175 | } |
| 131 | 176 | |
| 132 | ||
| 133 | 177 | static WRITE8_DEVICE_HANDLER(ay_sel) |
| 134 | 178 | { |
| 135 | 179 | if(cpu_get_previouspc(cputag_get_cpu(device->machine, "audiocpu"))==0x309) |
| r4962 | r4963 | |
| 141 | 185 | |
| 142 | 186 | static READ8_HANDLER( unk_r ) |
| 143 | 187 | { |
| 144 | return | |
| 188 | return 0xff | |
| 145 | 189 | } |
| 146 | 190 | |
| 191 | static WRITE8_HANDLER( nmi_mask_w ) | |
| 192 | { | |
| 193 | nmi_mask = data & 1; | |
| 194 | if(data & 0xfe) | |
| 195 | printf("Warning: %02x written at $f501\n",data); | |
| 196 | } | |
| 197 | ||
| 198 | static WRITE8_HANDLER( mirax_sound_cmd_w ) | |
| 199 | { | |
| 200 | soundlatch_w(space, 0, data & 0xff); | |
| 201 | cputag_set_input_line(space->machine, "audiocpu", INPUT_LINE_NMI, PULSE_LINE); | |
| 202 | } | |
| 203 | ||
| 147 | 204 | static ADDRESS_MAP_START( mirax_main_map, ADDRESS_SPACE_PROGRAM, 8 ) |
| 148 | AM_RANGE(0x0000, 0xbfff) AM_ROM AM_WRITENOP //shoudn't write there! | |
| 149 | //AM_RANGE(0xc000, 0xc7ff) AM_RAM | |
| 150 | //AM_RANGE(0xc800, 0xcfff) AM_RAM //probably spriteram | |
| 151 | AM_RANGE(0xd000, 0xd7ff) AM_RAM | |
| 152 | //AM_RANGE(0xd800, 0xdfff) AM_RAM | |
| 205 | AM_RANGE(0x0000, 0xbfff) AM_ROM | |
| 206 | AM_RANGE(0xc800, 0xd7ff) AM_RAM | |
| 153 | 207 | AM_RANGE(0xe000, 0xe3ff) AM_RAM AM_BASE(&videoram) |
| 154 | AM_RANGE(0xf300, 0xf300) AM_READ(unk_r) //watchdog? | |
| 208 | AM_RANGE(0xe800, 0xe9ff) AM_RAM AM_BASE(&spriteram) | |
| 209 | AM_RANGE(0xea00, 0xea3f) AM_RAM AM_BASE(&colorram) //per-column color + bank bits for the videoram | |
| 210 | AM_RANGE(0xf000, 0xf000) AM_READ_PORT("P1") | |
| 211 | AM_RANGE(0xf100, 0xf100) AM_READ_PORT("P2") | |
| 212 | AM_RANGE(0xf200, 0xf200) AM_READ_PORT("DSW1") | |
| 213 | AM_RANGE(0xf300, 0xf300) AM_READ(unk_r) //watchdog? value is always read then discarded | |
| 214 | AM_RANGE(0xf400, 0xf400) AM_READ_PORT("DSW2") | |
| 215 | // AM_RANGE(0xf500, 0xf500) //coin counter | |
| 216 | AM_RANGE(0xf501, 0xf501) AM_WRITE(nmi_mask_w) | |
| 217 | // AM_RANGE(0xf506, 0xf506) | |
| 218 | // AM_RANGE(0xf507, 0xf507) | |
| 219 | AM_RANGE(0xf800, 0xf800) AM_WRITE(mirax_sound_cmd_w) | |
| 220 | // AM_RANGE(0xf900, 0xf900) //sound cmd mirror? ack? | |
| 155 | 221 | ADDRESS_MAP_END |
| 156 | 222 | |
| 157 | static ADDRESS_MAP_START( mirax_io_map, ADDRESS_SPACE_IO, 8 ) | |
| 158 | ||
| 159 | ADDRESS_MAP_END | |
| 160 | ||
| 161 | 223 | static ADDRESS_MAP_START( mirax_sound_map, ADDRESS_SPACE_PROGRAM, 8 ) |
| 162 | 224 | AM_RANGE(0x0000, 0x1fff) AM_ROM |
| 163 | 225 | AM_RANGE(0x8000, 0x8fff) AM_RAM |
| 164 | AM_RANGE(0xa000, 0xa000) AM_READ(snd_r | |
| 226 | AM_RANGE(0xa000, 0xa000) AM_READ(soundlatch_r | |
| 165 | 227 | |
| 166 | 228 | AM_RANGE(0xe000, 0xe000) AM_DEVWRITE("ay1", ay_sel) //1st ay ? |
| 167 | 229 | AM_RANGE(0xe001, 0xe001) AM_WRITENOP |
| r4962 | r4963 | |
| 172 | 234 | AM_RANGE(0xe403, 0xe403) AM_WRITENOP |
| 173 | 235 | |
| 174 | 236 | AM_RANGE(0xf900, 0xf9ff) AM_WRITE(audio_w) |
| 175 | ||
| 176 | 237 | ADDRESS_MAP_END |
| 177 | 238 | |
| 178 | static ADDRESS_MAP_START( mirax_sound_io_map, ADDRESS_SPACE_IO, 8 ) | |
| 179 | ||
| 180 | ADDRESS_MAP_END | |
| 181 | ||
| 182 | 239 | static const gfx_layout layout16 = |
| 183 | 240 | { |
| 184 | 241 | 16,16, |
| r4962 | r4963 | |
| 206 | 263 | static GFXDECODE_START( mirax ) |
| 207 | 264 | GFXDECODE_ENTRY( "gfx1", 0, layout8, 0, 8 ) |
| 208 | 265 | GFXDECODE_ENTRY( "gfx2", 0, layout16, 0, 8 ) |
| 209 | GFXDECODE_ENTRY( "gfx3", 0, layout16, 0, 8 ) | |
| 210 | 266 | GFXDECODE_END |
| 211 | 267 | |
| 212 | 268 | static INPUT_PORTS_START( mirax ) |
| 269 | /* up/down directions are trusted according of the continue screen */ | |
| 270 | PORT_START("P1") //player-1 | |
| 271 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN ) PORT_PLAYER(1) | |
| 272 | PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START1 ) | |
| 273 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_PLAYER(1) | |
| 274 | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(1) | |
| 275 | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_PLAYER(1) | |
| 276 | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP ) PORT_PLAYER(1) | |
| 277 | PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_COIN1 ) | |
| 278 | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_COIN2 ) | |
| 213 | 279 | |
| 280 | PORT_START("P2") //player-2 | |
| 281 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN ) PORT_PLAYER(2) | |
| 282 | PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 ) | |
| 283 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_PLAYER(2) | |
| 284 | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(2) | |
| 285 | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_PLAYER(2) | |
| 286 | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP ) PORT_PLAYER(2) | |
| 287 | PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED ) | |
| 288 | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED ) | |
| 289 | ||
| 290 | PORT_START("DSW1") //dip-sw bank 1 | |
| 291 | PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coinage ) ) | |
| 292 | PORT_DIPSETTING( 0x03, DEF_STR( 2C_1C ) ) | |
| 293 | PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) ) | |
| 294 | PORT_DIPSETTING( 0x01, DEF_STR( 1C_2C ) ) | |
| 295 | PORT_DIPSETTING( 0x02, DEF_STR( 1C_3C ) ) | |
| 296 | PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) ) | |
| 297 | PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) | |
| 298 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 299 | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) ) | |
| 300 | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) | |
| 301 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 302 | PORT_DIPNAME( 0x30, 0x00, DEF_STR( Lives ) ) | |
| 303 | PORT_DIPSETTING( 0x30, "2" ) | |
| 304 | PORT_DIPSETTING( 0x00, "3" ) | |
| 305 | PORT_DIPSETTING( 0x10, "4" ) | |
| 306 | PORT_DIPSETTING( 0x20, "5" ) | |
| 307 | PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) ) | |
| 308 | PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) | |
| 309 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 310 | PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) ) | |
| 311 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) | |
| 312 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 313 | ||
| 314 | PORT_START("DSW2") //dip-sw bank 2 | |
| 315 | PORT_DIPNAME( 0x01, 0x01, "DSW_BANK2" ) | |
| 316 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) | |
| 317 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 318 | PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) ) | |
| 319 | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) | |
| 320 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 321 | PORT_DIPNAME( 0x04, 0x04, DEF_STR( Demo_Sounds ) ) | |
| 322 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) | |
| 323 | PORT_DIPSETTING( 0x04, DEF_STR( On ) ) | |
| 324 | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Allow_Continue ) ) | |
| 325 | PORT_DIPSETTING( 0x00, DEF_STR( No ) ) | |
| 326 | PORT_DIPSETTING( 0x08, DEF_STR( Yes ) ) | |
| 327 | /* this dip makes the game to behave like attract mode, even if you insert a coin */ | |
| 328 | PORT_DIPNAME( 0x10, 0x00, "Auto-Play Mode (Debug)" ) | |
| 329 | PORT_DIPSETTING( 0x00, DEF_STR( No ) ) | |
| 330 | PORT_DIPSETTING( 0x10, DEF_STR( Yes ) ) | |
| 331 | PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) ) | |
| 332 | PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) | |
| 333 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 334 | PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) ) | |
| 335 | PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) | |
| 336 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 337 | PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) ) | |
| 338 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) | |
| 339 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 214 | 340 | INPUT_PORTS_END |
| 215 | 341 | |
| 216 | 342 | |
| 217 | PALETTE_INIT( mirax ) | |
| 343 | static PALETTE_INIT( mirax ) | |
| 218 | 344 | { |
| 219 | 345 | int i; |
| 220 | 346 | |
| r4962 | r4963 | |
| 233 | 359 | bit2 = (color_prom[i] >> 5) & 0x01; |
| 234 | 360 | g = 0x21 * bit0 + 0x47 * bit1 + 0x97 * bit2; |
| 235 | 361 | /* blue component */ |
| 236 | bit0 = 0; | |
| 237 | bit1 = (color_prom[i] >> 6) & 0x01; | |
| 238 | bit2 = (color_prom[i] >> 7) & 0x01; | |
| 239 | b = 0x21 * bit0 + 0x47 * bit1 + 0x97 * bit2; | |
| 362 | bit0 = (color_prom[i] >> 6) & 0x01; | |
| 363 | bit1 = (color_prom[i] >> 7) & 0x01; | |
| 364 | b = 0x4f * bit0 + 0xa8 * bit1; | |
| 240 | 365 | |
| 241 | 366 | palette_set_color(machine,i,MAKE_RGB(r,g,b)); |
| 242 | 367 | } |
| 243 | 368 | } |
| 244 | 369 | |
| 370 | static INTERRUPT_GEN( mirax_vblank_irq ) | |
| 371 | { | |
| 372 | if(nmi_mask) | |
| 373 | cpu_set_input_line(device, INPUT_LINE_NMI, PULSE_LINE); | |
| 374 | } | |
| 375 | ||
| 245 | 376 | static MACHINE_DRIVER_START( mirax ) |
| 246 | MDRV_CPU_ADD("maincpu", Z80, 12000000) // ceramic potted module, encrypted z80 | |
| 377 | MDRV_CPU_ADD("maincpu", Z80, 12000000/2) // ceramic potted module, encrypted z80 | |
| 247 | 378 | MDRV_CPU_PROGRAM_MAP(mirax_main_map) |
| 248 | MDRV_CPU_IO_MAP(mirax_io_map) | |
| 249 | //MDRV_CPU_VBLANK_INT("screen",nmi_line_pulse) | |
| 379 | MDRV_CPU_VBLANK_INT("screen",mirax_vblank_irq) | |
| 250 | 380 | |
| 251 | MDRV_CPU_ADD("audiocpu", Z80, 12000000) // audio cpu ? | |
| 381 | MDRV_CPU_ADD("audiocpu", Z80, 12000000/2) // audio cpu ? | |
| 252 | 382 | MDRV_CPU_PROGRAM_MAP(mirax_sound_map) |
| 253 | MDRV_CPU_IO_MAP(mirax_sound_io_map) | |
| 254 | 383 | MDRV_CPU_VBLANK_INT_HACK(irq0_line_hold, 2) |
| 255 | 384 | |
| 256 | 385 | /* video hardware */ |
| r4962 | r4963 | |
| 259 | 388 | MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */) |
| 260 | 389 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) |
| 261 | 390 | MDRV_SCREEN_SIZE(256, 256) |
| 262 | MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, | |
| 391 | MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 1*8, 31*8-1) | |
| 263 | 392 | |
| 264 | 393 | MDRV_PALETTE_LENGTH(0x40) |
| 265 | 394 | MDRV_PALETTE_INIT(mirax) |
| r4962 | r4963 | |
| 274 | 403 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80) |
| 275 | 404 | MDRV_SOUND_ADD("ay2", AY8910, 12000000/6 /* guess */) |
| 276 | 405 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80) |
| 277 | ||
| 278 | 406 | MACHINE_DRIVER_END |
| 279 | 407 | |
| 408 | ||
| 280 | 409 | ROM_START( mirax ) |
| 281 | ROM_REGION( 0xc000, "maincpu", 0 ) // encrypted code | |
| 410 | ROM_REGION( 0xc000, "maincpu", ROMREGION_ERASE00 ) // put decrypted code there | |
| 411 | ||
| 412 | ROM_REGION( 0xc000, "data_code", 0 ) // encrypted code for the main cpu | |
| 282 | 413 | ROM_LOAD( "mxp5-42.rom", 0x0000, 0x4000, CRC(716410a0) SHA1(55171376e1e164b1d5e728789da6e04a3a33c172) ) |
| 283 | 414 | ROM_LOAD( "mxr5-4v.rom", 0x4000, 0x4000, CRC(c9484fc3) SHA1(101c5e4b9d49d2424ad80970eb3bdb87949a9966) ) |
| 284 | 415 | ROM_LOAD( "mxs5-4v.rom", 0x8000, 0x4000, CRC(e0085f91) SHA1(cf143b94048e1ebb5c899b94b500e193dfd42e18) ) |
| r4962 | r4963 | |
| 291 | 422 | ROM_LOAD( "mxh3-4v.rom", 0x4000, 0x4000, CRC(58221502) SHA1(daf5c508939b44616ca76308fc33f94d364ed587) ) |
| 292 | 423 | ROM_LOAD( "mxk3-4v.rom", 0x8000, 0x4000, CRC(6dbc2961) SHA1(5880c28f1ef704fee2d625a42682c7d65613acc8) ) |
| 293 | 424 | |
| 294 | ROM_REGION( 0xc000, "gfx2", ROMREGION_DISPOSE ) | |
| 295 | ROM_LOAD( "mxe2-4v.rom", 0x0000, 0x4000, CRC(2cf5d8b7) SHA1(f66bce4d413a48f6ae07974870dc0f31eefa68e9) ) | |
| 296 | ROM_LOAD( "mxf2-4v.rom", 0x4000, 0x4000, CRC(1f42c7fa) SHA1(33e56c6ddf7676a12f57de87ec740c6b6eb1cc8c) ) | |
| 297 | ROM_LOAD( "mxh2-4v.rom", 0x8000, 0x4000, CRC(cbaff4c6) SHA1(2dc4a1f51b28e98be0cfb5ab7576047c748b6728) ) | |
| 425 | ROM_REGION( 0x18000, "gfx2", ROMREGION_DISPOSE ) | |
| 426 | ROM_LOAD( "mxe2-4v.rom", 0x04000, 0x4000, CRC(2cf5d8b7) SHA1(f66bce4d413a48f6ae07974870dc0f31eefa68e9) ) | |
| 427 | ROM_LOAD( "mxf2-4v.rom", 0x0c000, 0x4000, CRC(1f42c7fa) SHA1(33e56c6ddf7676a12f57de87ec740c6b6eb1cc8c) ) | |
| 428 | ROM_LOAD( "mxh2-4v.rom", 0x14000, 0x4000, CRC(cbaff4c6) SHA1(2dc4a1f51b28e98be0cfb5ab7576047c748b6728) ) | |
| 429 | ROM_LOAD( "mxf3-4v.rom", 0x00000, 0x4000, CRC(14b1ca85) SHA1(775a4c81a81b78490d45095af31e24c16886f0a2) ) | |
| 430 | ROM_LOAD( "mxi3-4v.rom", 0x08000, 0x4000, CRC(20fb2099) SHA1(da6bbd5d2218ba49b8ef98e7affdcab912f84ade) ) | |
| 431 | ROM_LOAD( "mxl3-4v.rom", 0x10000, 0x4000, CRC(918487aa) SHA1(47ba6914722a253f65c733b5edff4d15e73ea6c2) ) | |
| 298 | 432 | |
| 299 | ROM_REGION( 0xc000, "gfx3", ROMREGION_DISPOSE ) | |
| 300 | ROM_LOAD( "mxf3-4v.rom", 0x0000, 0x4000, CRC(14b1ca85) SHA1(775a4c81a81b78490d45095af31e24c16886f0a2) ) | |
| 301 | ROM_LOAD( "mxi3-4v.rom", 0x4000, 0x4000, CRC(20fb2099) SHA1(da6bbd5d2218ba49b8ef98e7affdcab912f84ade) ) | |
| 302 | ROM_LOAD( "mxl3-4v.rom", 0x8000, 0x4000, CRC(918487aa) SHA1(47ba6914722a253f65c733b5edff4d15e73ea6c2) ) | |
| 303 | ||
| 304 | 433 | ROM_REGION( 0x0060, "proms", 0 ) // data ? encrypted roms for cpu1 ? |
| 305 | 434 | ROM_LOAD( "mra3.prm", 0x0000, 0x0020, CRC(ae7e1a63) SHA1(f5596db77c1e352ef7845465db3e54e19cd5df9e) ) |
| 306 | 435 | ROM_LOAD( "mrb3.prm", 0x0020, 0x0020, CRC(e3f3d0f5) SHA1(182b06c9db5bec1e3030f705247763bd2380ba83) ) |
| r4962 | r4963 | |
| 310 | 439 | |
| 311 | 440 | static DRIVER_INIT( mirax ) |
| 312 | 441 | { |
| 442 | UINT8 *DATA = memory_region(machine, "data_code"); | |
| 313 | 443 | UINT8 *ROM = memory_region(machine, "maincpu"); |
| 314 | 444 | int i; |
| 315 | 445 | |
| 316 | for(i=0;i<0xc000;i++) | |
| 317 | ROM[i] = BITSWAP8(ROM[i], 1, 3, 7, 0, 5, 6, 4, 2) ^ 0xff; | |
| 446 | for(i=0x0000;i<0x4000;i++) | |
| 447 | ROM[BITSWAP16(i, 15,14,13,12,11,10,9, 5,7,6,8, 4,3,2,1,0)] = (BITSWAP8(DATA[i], 1, 3, 7, 0, 5, 6, 4, 2) ^ 0xff); | |
| 448 | ||
| 449 | for(i=0x4000;i<0x8000;i++) | |
| 450 | ROM[BITSWAP16(i, 15,14,13,12,11,10,9, 5,7,6,8, 4,3,2,1,0)] = (BITSWAP8(DATA[i], 2, 1, 0, 6, 7, 5, 3, 4) ^ 0xff); | |
| 451 | ||
| 452 | for(i=0x8000;i<0xc000;i++) | |
| 453 | ROM[BITSWAP16(i, 15,14,13,12,11,10,9, 5,7,6,8, 4,3,2,1,0)] = (BITSWAP8(DATA[i], 1, 3, 7, 0, 5, 6, 4, 2) ^ 0xff); | |
| 454 | ||
| 318 | 455 | } |
| 319 | 456 | |
| 320 | GAME( 1985, mirax, 0, mirax, mirax, mirax, ROT90, "Current Technologies", "Mirax", GAME_ | |
| 457 | GAME( 1985, mirax, 0, mirax, mirax, mirax, ROT90, "Current Technologies", "Mirax", GAME_IMPERFECT_SOU |
| r4962 | r4963 | |
|---|---|---|
| 707 | 707 | GAME( 2004, vs4, triforce, triforcegd, triforce, 0, ROT0, "Sega", "Virtua Striker 4 (Export) (GDT-0015)", GAME_NO_SOUND|GAME_NOT_WORKING ) |
| 708 | 708 | GAME( 2004, avalon20, triforce, triforcegd, triforce, 0, ROT0, "Sega", "The Key Of Avalon 2.0 - Eutaxy and Commandment - Client (GDT-0017B) (V3.001)", GAME_NO_SOUND|GAME_NOT_WORKING ) |
| 709 | 709 | GAME( 2006, vs42006, triforce, triforcegd, triforce, 0, ROT0, "Sega", "Virtua Striker 4 ver. 2006 (Rev D) (Japan) (GDT-0020D)", GAME_NO_SOUND|GAME_NOT_WORKING ) |
| 710 | ||
| 711 |
| r4962 | r4963 | |
|---|---|---|
| 3270 | 3270 | MDRV_IMPORT_FROM(system16b) |
| 3271 | 3271 | |
| 3272 | 3272 | /* basic machine hardware */ |
| 3273 | MDRV_C | |
| 3273 | MDRV_DEVICE | |
| 3274 | 3274 | MDRV_MACHINE_RESET(atomicp) |
| 3275 | 3275 | |
| 3276 | 3276 | /* sound hardware */ |
| 3277 | 3277 | MDRV_SOUND_REPLACE("ym", YM2413, 5000000) /* 20MHz OSC divided by 4 */ |
| 3278 | 3278 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) |
| 3279 | 3279 | |
| 3280 | MDRV_ | |
| 3280 | MDRV_ | |
| 3281 | 3281 | MACHINE_DRIVER_END |
| 3282 | 3282 | |
| 3283 | 3283 |
| r4962 | r4963 | |
|---|---|---|
| 392 | 392 | static int ninjaw_pandata[4]; |
| 393 | 393 | static WRITE8_HANDLER( ninjaw_pancontrol ) |
| 394 | 394 | { |
| 395 | static const char *fltname[] = { "2610.1.l", "2610.1.r", "2610.2.l", "2610.2.r" }; | |
| 395 | static const char *const fltname[] = { "2610.1.l", "2610.1.r", "2610.2.l", "2610.2.r" }; | |
| 396 | 396 | offset = offset&3; |
| 397 | 397 | ninjaw_pandata[offset] = (float)data * (100.f / 255.0f); |
| 398 | 398 | //popmessage(" pan %02x %02x %02x %02x", ninjaw_pandata[0], ninjaw_pandata[1], ninjaw_pandata[2], ninjaw_pandata[3] ); |
| r4962 | r4963 | |
|---|---|---|
| 802 | 802 | MDRV_CPU_MODIFY("maincpu") |
| 803 | 803 | MDRV_CPU_PROGRAM_MAP(bootleg_map) |
| 804 | 804 | |
| 805 | MDRV_C | |
| 805 | MDRV_DEVICE | |
| 806 | 806 | MACHINE_DRIVER_END |
| 807 | 807 | |
| 808 | 808 |
| r4962 | r4963 | |
|---|---|---|
| 3335 | 3335 | /* basic machine hardware */ |
| 3336 | 3336 | MDRV_IMPORT_FROM(pacman) |
| 3337 | 3337 | |
| 3338 | MDRV_C | |
| 3338 | MDRV_DEVICE | |
| 3339 | 3339 | MDRV_CPU_ADD("maincpu", S2650, MASTER_CLOCK/6/2) /* 2H */ |
| 3340 | 3340 | MDRV_CPU_PROGRAM_MAP(s2650games_map) |
| 3341 | 3341 | MDRV_CPU_VBLANK_INT("screen", s2650_interrupt) |
| r4962 | r4963 | |
|---|---|---|
| 1676 | 1676 | |
| 1677 | 1677 | /* basic machine hardware */ |
| 1678 | 1678 | MDRV_IMPORT_FROM(williams2) |
| 1679 | MDRV_ | |
| 1679 | MDRV_D | |
| 1680 | 1680 | MDRV_IMPORT_FROM(williams_cvsd_sound) |
| 1681 | 1681 | |
| 1682 | 1682 | MDRV_MACHINE_START(joust2) |
| r4962 | r4963 | |
|---|---|---|
| 3384 | 3384 | ROM_LOAD( "82s123.prm", 0x00, 0x20, CRC(d3007282) SHA1(e4d863ab193e49208ed0f59dcddb1da0492314f6) ) |
| 3385 | 3385 | ROM_END |
| 3386 | 3386 | |
| 3387 | ROM_START( janputer ) | |
| 3388 | ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF ) | |
| 3389 | ROM_LOAD( "1.bin", 0x0000, 0x2000, CRC(f36f4222) SHA1(ce18c273a59f86cb17ea6ba8a3daefc3d750df1e) ) | |
| 3390 | ROM_LOAD( "2.bin", 0x2000, 0x2000, CRC(7d57cb48) SHA1(38b97c5d02e3ab6187e5e0f86c06b8a3747b51a8) ) | |
| 3391 | ROM_LOAD( "3.bin", 0x4000, 0x2000, CRC(fb481d9a) SHA1(122e2b0d11fe1fe8cf219da9c8f96fe5a1016bb6) ) | |
| 3392 | ROM_LOAD( "7.bin", 0x6000, 0x1000, NO_DUMP ) // reads from here for the gfx data. | |
| 3393 | ||
| 3394 | ROM_REGION( 0x20, "proms", 0 ) | |
| 3395 | /* taken from Royal Mahjong, might or might not be the same. */ | |
| 3396 | ROM_LOAD( "82s123.prm", 0x00, 0x20, BAD_DUMP CRC(d3007282) SHA1(e4d863ab193e49208ed0f59dcddb1da0492314f6) ) | |
| 3397 | ROM_END | |
| 3398 | ||
| 3387 | 3399 | /*************************************************************************** |
| 3388 | 3400 | Janyou Part II |
| 3389 | 3401 | (c)1984 Cosmo Denshi |
| r4962 | r4963 | |
| 4611 | 4623 | GAME( 1981?, openmj, royalmj, royalmah, royalmah, 0, ROT0, "Sapporo Mechanic", "Open Mahjong [BET] (Japan)", 0 ) |
| 4612 | 4624 | GAME( 1982, royalmah, royalmj, royalmah, royalmah, 0, ROT0, "bootleg", "Royal Mahjong (Falcon bootleg, v1.01)", 0 ) |
| 4613 | 4625 | GAME( 1983, janyoup2, royalmj, ippatsu, janyoup2, 0, ROT0, "Cosmo Denshi", "Janyou Part II (ver 7.03, July 1 1983)",0 ) |
| 4626 | GAME( 1981, janputer, 0, royalmah, royalmah, 0, ROT0, "Taito Corporation", "Janputer (Japan)", GAME_NOT_WORKING ) | |
| 4614 | 4627 | GAME( 1984, janoh, 0, royalmah, royalmah, 0, ROT0, "Toaplan", "Jan Oh (set 1)", GAME_NOT_WORKING ) |
| 4615 | 4628 | GAME( 1984, janoha, janoh, janoh, royalmah, 0, ROT0, "Toaplan", "Jan Oh (set 2)", GAME_NOT_WORKING ) // this one is complete? |
| 4616 | 4629 | GAME( 1985, jansou, 0, jansou, jansou, 0, ROT180, "Dyna", "Jansou (set 1)", GAME_NOT_WORKING|GAME_NO_SOUND ) |
| r4962 | r4963 | |
|---|---|---|
| 1040 | 1040 | ROM_END |
| 1041 | 1041 | |
| 1042 | 1042 | GAME( 1979, andromed, 0, m11, skychut, andromed, ROT270, "Irem", "Andromeda (Japan?)", GAME_NO_COCKTAIL | GAME_NO_SOUND | GAME_IMPERFECT_COLORS | GAME_NOT_WORKING ) |
| 1043 | GAME( 1979?,ipminvad, 0, m10, ipminvad, 0, ROT270, "Irem", "I P M Invader", GAME_NO_COCKTAIL | GAME_IMPERFECT_COLORS ) | |
| 1044 | GAME( ????, ipminva1, 0, m10, ipminvad, ipminva1, ROT270, "Irem", "I P M Invader (Incomplete Dump)", GAME_NOT_WORKING ) | |
| 1043 | GAME( 1979, ipminvad, 0, m10, ipminvad, 0, ROT270, "Irem", "I P M Invader", GAME_NO_COCKTAIL | GAME_IMPERFECT_COLORS ) | |
| 1044 | GAME( 1979, ipminva1, 0, m10, ipminvad, ipminva1, ROT270, "Irem", "I P M Invader (Incomplete Dump)", GAME_NOT_WORKING ) | |
| 1045 | 1045 | GAME( 1980, skychut, 0, m11, skychut, 0, ROT270, "Irem", "Sky Chuter", GAME_NO_COCKTAIL | GAME_NO_SOUND | GAME_IMPERFECT_COLORS ) |
| 1046 | 1046 | GAME( 1979, spacbeam, 0, m15, spacbeam, 0, ROT270, "Irem", "Space Beam", GAME_NO_COCKTAIL | GAME_NO_SOUND | GAME_IMPERFECT_COLORS ) |
| 1047 | GAME( 1979 | |
| 1047 | GAME( 1979 | |
| 1048 | 1048 | GAME( 1980, greenber, 0, m15, spacbeam, 0, ROT270, "Irem", "Green Beret (Irem)", GAME_NO_COCKTAIL | GAME_NO_SOUND | GAME_IMPERFECT_COLORS | GAME_NOT_WORKING ) |
| r4962 | r4963 | |
|---|---|---|
| 73 | 73 | void CreateManufacturerFolders(int parent_index); |
| 74 | 74 | void CreateYearFolders(int parent_index); |
| 75 | 75 | void CreateSourceFolders(int parent_index); |
| 76 | void CreateScreenFolders(int parent_index); | |
| 76 | 77 | void CreateCPUFolders(int parent_index); |
| 77 | 78 | void CreateSoundFolders(int parent_index); |
| 78 | 79 | void CreateOrientationFolders(int parent_index); |
| r4962 | r4963 | |
| 115 | 116 | FOLDER_BIOS, |
| 116 | 117 | FOLDER_HORIZONTAL, |
| 117 | 118 | FOLDER_VERTICAL, |
| 119 | FOLDER_SCREENS, | |
| 118 | 120 | #ifdef MESS |
| 119 | 121 | FOLDER_CONSOLE, |
| 120 | 122 | FOLDER_COMPUTER, |
| r4962 | r4963 | |
|---|---|---|
| 445 | 445 | #define ID_FOLDER_VECTORPROPERTIES 40097 |
| 446 | 446 | #define ID_ARRANGE_ICONS 40098 |
| 447 | 447 | #define ID_OPTIONS_CHEAT 40099 |
| 448 | #define ID_OPTIONS_MAMEINFO 40101 | |
| 449 | #define ID_OPTIONS_HISTORY 40102 | |
| 448 | #define ID_OPTIONS_MAMEINFO 40100 | |
| 449 | #define ID_OPTIONS_HISTORY 40101 | |
| 450 | 450 | #define IDC_STATIC -1 |
| 451 | 451 | |
| 452 | 452 | // Next default values for new objects |
| r4962 | r4963 | |
| 456 | 456 | #define _APS_NO_MFC 1 |
| 457 | 457 | #define _APS_3D_CONTROLS 1 |
| 458 | 458 | #define _APS_NEXT_RESOURCE_VALUE 189 |
| 459 | #define _APS_NEXT_COMMAND_VALUE 4010 | |
| 459 | #define _APS_NEXT_COMMAND_VALUE 40102 | |
| 460 | 460 | #define _APS_NEXT_CONTROL_VALUE 1254 |
| 461 | 461 | #define _APS_NEXT_SYMED_VALUE 93 |
| 462 | 462 | #endif |
| r4962 | r4963 | |
|---|---|---|
| 24 | 24 | #undef APSTUDIO_READONLY_SYMBOLS |
| 25 | 25 | |
| 26 | 26 | ///////////////////////////////////////////////////////////////////////////// |
| 27 | // English (U | |
| 27 | // Englisch (U | |
| 28 | 28 | |
| 29 | 29 | #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) |
| 30 | 30 | #ifdef _WIN32 |
| r4962 | r4963 | |
| 409 | 409 | END |
| 410 | 410 | |
| 411 | 411 | IDD_AUDIT DIALOG 0, 0, 283, 188 |
| 412 | STYLE DS_ | |
| 412 | STYLE DS_ | |
| 413 | 413 | CAPTION "File Audit" |
| 414 | 414 | FONT 8, "MS Shell Dlg" |
| 415 | 415 | BEGIN |
| r4962 | r4963 | |
| 418 | 418 | GROUPBOX "ROMs",IDC_STATIC,6,4,132,65 |
| 419 | 419 | LTEXT "Correct:",IDC_STATIC,51,28,32,8 |
| 420 | 420 | CONTROL "Progress1",IDC_ROMS_PROGRESS,"msctls_progress32", |
| 421 | WS_BORDER | |
| 421 | PBS_SMOOTH | WS_BORDER | |
| 422 | 422 | LTEXT "Incorrect:",IDC_STATIC,51,42,32,8 |
| 423 | 423 | LTEXT "Total:",IDC_STATIC,51,56,32,8 |
| 424 | 424 | LTEXT "0",IDC_ROMS_CORRECT,87,28,20,8 |
| r4962 | r4963 | |
| 426 | 426 | LTEXT "0",IDC_ROMS_TOTAL,87,56,20,8 |
| 427 | 427 | GROUPBOX "Samples",IDC_STATIC,145,4,132,65 |
| 428 | 428 | CONTROL "Progress1",IDC_SAMPLES_PROGRESS,"msctls_progress32", |
| 429 | WS_BORDER | |
| 429 | PBS_SMOOTH | WS_BORDER | |
| 430 | 430 | LTEXT "Correct:",IDC_STATIC,191,28,33,8 |
| 431 | 431 | LTEXT "Incorrect:",IDC_STATIC,191,42,33,8 |
| 432 | 432 | LTEXT "Total:",IDC_STATIC,191,56,33,8 |
| r4962 | r4963 | |
| 440 | 440 | END |
| 441 | 441 | |
| 442 | 442 | IDD_DIRECTORIES DIALOG 0, 0, 230, 107 |
| 443 | STYLE DS_ | |
| 443 | STYLE DS_ | |
| 444 | 444 | CAPTION "Directories" |
| 445 | 445 | FONT 8, "MS Shell Dlg" |
| 446 | 446 | BEGIN |
| r4962 | r4963 | |
| 460 | 460 | END |
| 461 | 461 | |
| 462 | 462 | IDD_COLUMNS DIALOG 0, 0, 302, 145 |
| 463 | STYLE DS_ | |
| 463 | STYLE DS_ | |
| 464 | 464 | CAPTION "Customize Fields" |
| 465 | 465 | FONT 8, "MS Shell Dlg" |
| 466 | 466 | BEGIN |
| r4962 | r4963 | |
| 483 | 483 | END |
| 484 | 484 | |
| 485 | 485 | IDD_PROP_CONTROLLER DIALOGEX 0, 0, 220, 240 |
| 486 | STYLE DS_ | |
| 486 | STYLE DS_ | |
| 487 | 487 | CAPTION "Controller Mapping" |
| 488 | 488 | FONT 8, "MS Shell Dlg", 0, 0, 0x1 |
| 489 | 489 | BEGIN |
| r4962 | r4963 | |
| 520 | 520 | END |
| 521 | 521 | |
| 522 | 522 | IDD_PROP_SCREEN DIALOGEX 0, 0, 220, 240 |
| 523 | STYLE | |
| 523 | STYLE | |
| 524 | 524 | CAPTION "Screen" |
| 525 | 525 | FONT 8, "MS Shell Dlg", 0, 0, 0x1 |
| 526 | 526 | BEGIN |
| r4962 | r4963 | |
| 567 | 567 | 0,0,HIDC_USE_DEFAULT |
| 568 | 568 | END |
| 569 | 569 | |
| 570 | IDD_PROP_GAME DIALOG 0, 0, 220, 240 | |
| 571 | STYLE DS_SETFONT | WS_CHILD | WS_CAPTION | |
| 570 | IDD_PROP_GAME DIALOG 0, 0, 220, 276 | |
| 571 | STYLE WS_CHILD | WS_CAPTION | |
| 572 | 572 | CAPTION "General" |
| 573 | 573 | FONT 8, "MS Shell Dlg" |
| 574 | 574 | BEGIN |
| 575 | ICON IDI_MAMEUI_ICON,IDC_GAME_ICON,20,10,2 | |
| 575 | ICON IDI_MAMEUI_ICON,IDC_GAME_ICON,20,10,21,20 | |
| 576 | 576 | LTEXT "Title\nDirectory\nExtra",IDC_PROP_TITLE,52,9,161,25, |
| 577 | 577 | SS_NOPREFIX |
| 578 | 578 | CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,20,38,178,1 |
| r4962 | r4963 | |
| 590 | 590 | 75,135,139,45 |
| 591 | 591 | CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,18,181,178,1 |
| 592 | 592 | LTEXT "Screen:",IDC_STATIC,18,188,47,8 |
| 593 | LTEXT "Static",IDC_PROP_SCREEN,75,188,139,8 | |
| 594 | LTEXT "Colors:",IDC_STATIC,18,198,47,8 | |
| 595 | LTEXT "Static",IDC_PROP_COLORS,75,198,139,8 | |
| 596 | LTEXT "Clone of:",IDC_PROP_CLONEOF_TEXT,18,218,50,8 | |
| 597 | LTEXT "Static",IDC_PROP_CLONEOF,75,218,130,18 | |
| 598 | LTEXT "Source:",IDC_STATIC,18,208,47,8 | |
| 599 | LTEXT "Static",IDC_PROP_SOURCE,75,208,139,8 | |
| 593 | LTEXT "Static\nStatic\nStatic",IDC_PROP_SCREEN,75,188,139,27 | |
| 594 | LTEXT "Colors:",IDC_STATIC,16,228,47,8 | |
| 595 | LTEXT "Static",IDC_PROP_COLORS,73,228,139,8 | |
| 596 | LTEXT "Clone of:",IDC_PROP_CLONEOF_TEXT,16,249,50,8 | |
| 597 | LTEXT "Static",IDC_PROP_CLONEOF,74,249,130,11 | |
| 598 | LTEXT "Source:",IDC_STATIC,16,238,47,8 | |
| 599 | LTEXT "Static",IDC_PROP_SOURCE,73,238,139,8 | |
| 600 | CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,19,218,177,1 | |
| 600 | 601 | END |
| 601 | 602 | |
| 602 | 603 | IDD_PROP_AUDIT DIALOG 0, 0, 220, 240 |
| 603 | STYLE | |
| 604 | STYLE | |
| 604 | 605 | CAPTION "Audit" |
| 605 | 606 | FONT 8, "MS Shell Dlg" |
| 606 | 607 | BEGIN |
| r4962 | r4963 | |
| 618 | 619 | END |
| 619 | 620 | |
| 620 | 621 | IDD_PROP_DISPLAY DIALOGEX 0, 0, 220, 240 |
| 621 | STYLE | |
| 622 | STYLE | |
| 622 | 623 | CAPTION "Display" |
| 623 | 624 | FONT 8, "MS Shell Dlg", 0, 0, 0x1 |
| 624 | 625 | BEGIN |
| r4962 | r4963 | |
| 687 | 688 | END |
| 688 | 689 | |
| 689 | 690 | IDD_PROP_SOUND DIALOGEX 0, 0, 220, 240 |
| 690 | STYLE | |
| 691 | STYLE | |
| 691 | 692 | CAPTION "Sound" |
| 692 | 693 | FONT 8, "MS Shell Dlg", 0, 0, 0x1 |
| 693 | 694 | BEGIN |
| r4962 | r4963 | |
| 719 | 720 | END |
| 720 | 721 | |
| 721 | 722 | IDD_PROP_ADVANCED DIALOGEX 0, 0, 220, 255 |
| 722 | STYLE DS_ | |
| 723 | STYLE DS_ | |
| 723 | 724 | CAPTION "Advanced" |
| 724 | 725 | FONT 8, "MS Shell Dlg", 0, 0, 0x1 |
| 725 | 726 | BEGIN |
| r4962 | r4963 | |
| 783 | 784 | END |
| 784 | 785 | |
| 785 | 786 | IDD_PROP_DEBUG DIALOGEX 0, 0, 220, 255 |
| 786 | STYLE DS_ | |
| 787 | STYLE DS_ | |
| 787 | 788 | CAPTION "Debug" |
| 788 | 789 | FONT 8, "MS Shell Dlg", 0, 0, 0x1 |
| 789 | 790 | BEGIN |
| r4962 | r4963 | |
| 814 | 815 | END |
| 815 | 816 | |
| 816 | 817 | IDD_PROP_INPUT DIALOGEX 0, 0, 220, 240 |
| 817 | STYLE DS_ | |
| 818 | STYLE DS_ | |
| 818 | 819 | CAPTION "Controllers" |
| 819 | 820 | FONT 8, "MS Shell Dlg", 0, 0, 0x1 |
| 820 | 821 | BEGIN |
| r4962 | r4963 | |
| 871 | 872 | END |
| 872 | 873 | |
| 873 | 874 | IDD_PROP_MISC DIALOGEX 0, 0, 220, 240 |
| 874 | STYLE DS_ | |
| 875 | STYLE DS_ | |
| 875 | 876 | CAPTION "Miscellaneous" |
| 876 | 877 | FONT 8, "MS Shell Dlg", 0, 0, 0x1 |
| 877 | 878 | BEGIN |
| r4962 | r4963 | |
| 952 | 953 | END |
| 953 | 954 | |
| 954 | 955 | IDD_PROP_VECTOR DIALOGEX 0, 0, 220, 240 |
| 955 | STYLE | |
| 956 | STYLE | |
| 956 | 957 | CAPTION "Vector" |
| 957 | 958 | FONT 8, "MS Shell Dlg", 0, 0, 0x1 |
| 958 | 959 | BEGIN |
| r4962 | r4963 | |
| 981 | 982 | #else |
| 982 | 983 | IDD_MAIN DIALOGEX 0, 0, 304, 206 |
| 983 | 984 | #endif |
| 984 | STYLE DS_SETFONT | DS_3DLOOK | DS_NOFAILCREATE | WS_MINIMIZEBOX | | |
| 985 | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | |
| 985 | STYLE DS_3DLOOK | DS_NOFAILCREATE | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | | |
| 986 | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | |
| 986 | 987 | EXSTYLE WS_EX_CONTROLPARENT |
| 987 | 988 | CAPTION "MAMEUI - overwritten at runtime" |
| 988 | 989 | CLASS "MainClass" |
| r4962 | r4963 | |
| 1096 | 1097 | END |
| 1097 | 1098 | |
| 1098 | 1099 | IDD_RESET DIALOGEX 0, 0, 190, 122 |
| 1099 | STYLE DS_SETFONT | DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_CAPTION | | |
| 1100 | WS_SYSMENU | |
| 1100 | STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_CAPTION | WS_SYSMENU | |
| 1101 | 1101 | EXSTYLE WS_EX_CONTEXTHELP |
| 1102 | 1102 | CAPTION "Reset Options" |
| 1103 | 1103 | FONT 8, "MS Shell Dlg", 0, 0, 0x1 |
| r4962 | r4963 | |
| 1127 | 1127 | END |
| 1128 | 1128 | |
| 1129 | 1129 | IDD_LOAD_PROGRESS DIALOGEX 0, 0, 260, 187 |
| 1130 | STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | | |
| 1131 | WS_SYSMENU | |
| 1130 | STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU | |
| 1132 | 1131 | EXSTYLE WS_EX_CONTROLPARENT |
| 1133 | 1132 | FONT 8, "MS Shell Dlg", 0, 0, 0x1 |
| 1134 | 1133 | BEGIN |
| 1135 | 1134 | CONTROL "Progress1",IDC_LOAD_PROGRESS,"msctls_progress32", |
| 1136 | WS_BORDER | |
| 1135 | PBS_SMOOTH | WS_BORDER | |
| 1137 | 1136 | CTEXT "",IDC_LOAD_ROMNAME,6,21,248,10,SS_CENTERIMAGE | NOT |
| 1138 | 1137 | WS_GROUP |
| 1139 | 1138 | EDITTEXT IDC_LOAD_STATUS,6,32,248,116,ES_MULTILINE | ES_READONLY | |
| r4962 | r4963 | |
| 1145 | 1144 | END |
| 1146 | 1145 | |
| 1147 | 1146 | IDD_INTERFACE_OPTIONS DIALOGEX 0, 0, 378, 225 |
| 1148 | STYLE DS_SETFONT | DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_CAPTION | | |
| 1149 | WS_SYSMENU | |
| 1147 | STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_CAPTION | WS_SYSMENU | |
| 1150 | 1148 | EXSTYLE WS_EX_CONTEXTHELP |
| 1151 | 1149 | CAPTION "Interface Options" |
| 1152 | 1150 | FONT 8, "MS Shell Dlg", 0, 0, 0x1 |
| r4962 | r4963 | |
| 1216 | 1214 | END |
| 1217 | 1215 | |
| 1218 | 1216 | IDD_LANGUAGE DIALOGEX 0, 0, 190, 66 |
| 1219 | STYLE DS_SETFONT | DS_MODALFRAME | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | | |
| 1220 | WS_SYSMENU | |
| 1217 | STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU | |
| 1221 | 1218 | EXSTYLE WS_EX_CONTEXTHELP |
| 1222 | 1219 | CAPTION "Language" |
| 1223 | 1220 | FONT 8, "MS Shell Dlg", 0, 0, 0x1 |
| r4962 | r4963 | |
| 1234 | 1231 | END |
| 1235 | 1232 | |
| 1236 | 1233 | IDD_CUSTOM_FILE DIALOG 0, 0, 190, 135 |
| 1237 | STYLE DS_ | |
| 1234 | STYLE DS_ | |
| 1238 | 1235 | CAPTION "Add Game To Custom Folder" |
| 1239 | 1236 | FONT 8, "MS Shell Dlg" |
| 1240 | 1237 | BEGIN |
| r4962 | r4963 | |
| 1254 | 1251 | // Accelerator |
| 1255 | 1252 | // |
| 1256 | 1253 | |
| 1257 | IDA_TAB_KEYS ACCELERATORS | |
| 1254 | IDA_TAB_KEYS ACCELERATORS MOVEABLE PURE | |
| 1258 | 1255 | BEGIN |
| 1259 | 1256 | "1", ID_VIEW_TAB_SCREENSHOT, VIRTKEY, ALT, NOINVERT |
| 1260 | 1257 | "2", ID_VIEW_TAB_FLYER, VIRTKEY, ALT, NOINVERT |
| r4962 | r4963 | |
| 1289 | 1286 | // |
| 1290 | 1287 | |
| 1291 | 1288 | #ifdef APSTUDIO_INVOKED |
| 1292 | GUIDELINES DESIGNINFO | |
| 1289 | GUIDELINES DESIGNINFO MOVEABLE PURE | |
| 1293 | 1290 | BEGIN |
| 1294 | 1291 | IDD_ABOUT, DIALOG |
| 1295 | 1292 | BEGIN |
| r4962 | r4963 | |
| 1355 | 1352 | VERTGUIDE, 66 |
| 1356 | 1353 | VERTGUIDE, 74 |
| 1357 | 1354 | VERTGUIDE, 201 |
| 1358 | BOTTOMMARGIN, 2 | |
| 1355 | BOTTOMMARGIN, 268 | |
| 1359 | 1356 | END |
| 1360 | 1357 | |
| 1361 | 1358 | IDD_PROP_AUDIT, DIALOG |
| r4962 | r4963 | |
| 1667 | 1664 | ID_FOLDER_VECTORPROPERTIES "Display properties for all vector based games" |
| 1668 | 1665 | END |
| 1669 | 1666 | |
| 1670 | #endif // English (U | |
| 1667 | #endif // Englisch (U | |
| 1671 | 1668 | ///////////////////////////////////////////////////////////////////////////// |
| 1672 | 1669 | |
| 1673 | 1670 |
| r4962 | r4963 | |
|---|---|---|
| 289 | 289 | |
| 290 | 290 | { NULL, NULL, OPTION_HEADER, "INTERFACE OPTIONS" }, |
| 291 | 291 | { MUIOPTION_LANGUAGE, "english", 0, NULL }, |
| 292 | { MUIOPTION_CHECK_GAME, " | |
| 292 | { MUIOPTION_CHECK_GAME, "0", OPTION_BOOLEAN, NULL }, | |
| 293 | 293 | { MUIOPTION_JOYSTICK_IN_INTERFACE, "1", OPTION_BOOLEAN, NULL }, |
| 294 | 294 | { MUIOPTION_KEYBOARD_IN_INTERFACE, "0", OPTION_BOOLEAN, NULL }, |
| 295 | 295 | { MUIOPTION_RANDOM_BACKGROUND, "0", OPTION_BOOLEAN, NULL }, |
| r4962 | r4963 | |
| 1388 | 1388 | options_set_string(global, OPTION_FONTPATH, paths, OPTION_PRIORITY_CMDLINE); |
| 1389 | 1389 | } |
| 1390 | 1390 | |
| 1391 | const char* GetCrosshairDir(void) | |
| 1392 | { | |
| 1393 | return options_get_string(global, OPTION_CRSSHAIRPATH); | |
| 1394 | } | |
| 1395 | ||
| 1396 | void SetCrosshairDir(const char* paths) | |
| 1397 | { | |
| 1398 | options_set_string(global, OPTION_CRSSHAIRPATH, paths, OPTION_PRIORITY_CMDLINE); | |
| 1399 | } | |
| 1400 | ||
| 1391 | 1401 | const char* GetFlyerDir(void) |
| 1392 | 1402 | { |
| 1393 | 1403 | return options_get_string(settings, MUIOPTION_FLYER_DIRECTORY); |
| r4962 | r4963 | |
| 1562 | 1572 | |
| 1563 | 1573 | /* finally vector.ini */ |
| 1564 | 1574 | save_options(OPTIONS_VECTOR, NULL, 0); |
| 1575 | /* finally horizont.ini */ | |
| 1576 | save_options(OPTIONS_HORIZONTAL, NULL, 0); | |
| 1577 | /* finally vertical.ini */ | |
| 1578 | save_options(OPTIONS_VERTICAL, NULL, 0); | |
| 1565 | 1579 | } |
| 1566 | 1580 | |
| 1567 | 1581 | static void GetDriverOptionName(int driver_index, const char *option_name, char *buffer, size_t buffer_len) |
| r4962 | r4963 | |
| 2727 | 2741 | { |
| 2728 | 2742 | ui_parse_ini_file(opts, "vector"); |
| 2729 | 2743 | } |
| 2730 | ||
| 2731 | machine_config_free(config); | |
| 2732 | ||
| 2733 | 2744 | if (opt_type == OPTIONS_VECTOR) |
| 2734 | 2745 | { |
| 2735 | 2746 | return opts; |
| 2736 | 2747 | } |
| 2748 | /* parse "horizont.ini" for horizontal games */ | |
| 2749 | if (!DriverIsVertical(game_num)) | |
| 2750 | { | |
| 2751 | ui_parse_ini_file(opts, "horizont"); | |
| 2752 | } | |
| 2753 | if (opt_type == OPTIONS_HORIZONTAL) | |
| 2754 | { | |
| 2755 | return opts; | |
| 2756 | } | |
| 2757 | /* parse "vertical.ini" for vertical games */ | |
| 2758 | if (DriverIsVertical(game_num)) | |
| 2759 | { | |
| 2760 | ui_parse_ini_file(opts, "vertical"); | |
| 2761 | } | |
| 2762 | if (opt_type == OPTIONS_VERTICAL) | |
| 2763 | { | |
| 2764 | return opts; | |
| 2765 | } | |
| 2766 | machine_config_free(config); | |
| 2737 | 2767 | |
| 2768 | ||
| 2738 | 2769 | /* then parse "<sourcefile>.ini" */ |
| 2739 | 2770 | basename = core_filename_extract_base(astring_alloc(), driver->source_file, TRUE); |
| 2740 | 2771 | srcname = astring_assemble_3(astring_alloc(), "source", PATH_SEPARATOR, astring_c(basename)); |
| r4962 | r4963 | |
| 2773 | 2804 | |
| 2774 | 2805 | /* |
| 2775 | 2806 | * Save ini file based on game_num and passed in opt_type. If opts are |
| 2776 | * NULL, the ini wi | |
| 2807 | * NULL, the ini will be removed. | |
| 2777 | 2808 | * |
| 2778 | 2809 | * game_num must be valid or the driver cannot be expanded and anything |
| 2779 | 2810 | * with a higher priority than OPTIONS_VECTOR will not be saved. |
| r4962 | r4963 | |
| 2786 | 2817 | |
| 2787 | 2818 | if (OPTIONS_GLOBAL != opt_type && NULL != opts && !options_equal(opts, global)) |
| 2788 | 2819 | { |
| 2789 | baseopts = load_options(opt_type - 1, game_num); | |
| 2820 | if (OPTIONS_VERTICAL == opt_type) { | |
| 2821 | //since VERTICAL and HORIZONTAL are equally ranked | |
| 2822 | //we need to subtract 2 from vertical to also get to global | |
| 2823 | baseopts = load_options(opt_type - 2, game_num); | |
| 2824 | } | |
| 2825 | else { | |
| 2826 | baseopts = load_options(opt_type - 1, game_num); | |
| 2827 | } | |
| 2790 | 2828 | } |
| 2791 | 2829 | |
| 2792 | 2830 | if (game_num >= 0) |
| r4962 | r4963 | |
| 2804 | 2842 | } else if (opt_type == OPTIONS_VECTOR) |
| 2805 | 2843 | { |
| 2806 | 2844 | filename = astring_cpyc(astring_alloc(), "vector"); |
| 2845 | } else if (opt_type == OPTIONS_VERTICAL) | |
| 2846 | { | |
| 2847 | filename = astring_cpyc(astring_alloc(), "vertical"); | |
| 2848 | } else if (opt_type == OPTIONS_HORIZONTAL) | |
| 2849 | { | |
| 2850 | filename = astring_cpyc(astring_alloc(), "horizont"); | |
| 2807 | 2851 | } else if (driver != NULL) |
| 2808 | 2852 | { |
| 2809 | 2853 | astring *basename, *srcname; |
| r4962 | r4963 | |
|---|---|---|
| 27 | 27 | // Various levels of ini's we can edit. |
| 28 | 28 | typedef enum { |
| 29 | 29 | OPTIONS_GLOBAL = 0, |
| 30 | OPTIONS_HORIZONTAL, | |
| 31 | OPTIONS_VERTICAL, | |
| 30 | 32 | OPTIONS_VECTOR, |
| 31 | 33 | OPTIONS_SOURCE, |
| 32 | 34 | OPTIONS_PARENT, |
| r4962 | r4963 | |
| 347 | 349 | const char* GetFontDir(void); |
| 348 | 350 | void SetFontDir(const char* paths); |
| 349 | 351 | |
| 352 | const char* GetCrosshairDir(void); | |
| 353 | void SetCrosshairDir(const char* paths); | |
| 354 | ||
| 350 | 355 | const char* GetCheatDir(void); |
| 351 | 356 | void SetCheatDir(const char* path); |
| 352 | 357 |
| r4962 | r4963 | |
|---|---|---|
| 1 | +|koroleva "Snezhnaja Koroleva" | |
| 2 | +|oscarj2 "Psycho-Nics Oscar (Japan revision 2)" | |
| 3 | +|oscaru "Psycho-Nics Oscar (US)" | |
| 4 | c|oscar "Psycho-Nics Oscar (US)" | |
| 5 | C|oscar "Psycho-Nics Oscar (World revision 0)" | |
| 6 | c|oscarj "Psycho-Nics Oscar (Japan revision 2)" | |
| 7 | c|oscarj0 "Psycho-Nics Oscar (Japan revision 0)" | |
| 8 | C|speedatk "Speed Attack! (Japan)" | |
| 9 | c|speedatk "Speed Attack!" | |
| 1 | -|bayrtbl1 "Bay Route (bootleg set 1)" | |
| 2 | -|bayrtbl2 "Bay Route (bootleg set 2)" | |
| 3 | -|boomrana "Boomer Rang'r / Genesis (set 2)" | |
| 4 | -|goldnab2 "Golden Axe (bootleg)" | |
| 5 | -|goldnabl "Golden Axe (bootleg, encrypted)" | |
| 6 | -|liberatb "Liberation (bootleg)" | |
| 7 | +|alpinr2a "Alpine Racer 2 (Rev. ARS2 Ver.A)" | |
| 8 | +|aquajet "Aqua Jet (Rev. AJ2 Ver.B)" | |
| 9 | +|bayrouteb1 "Bay Route (encrypted, protected bootleg)" | |
| 10 | +|bayrouteb2 "Bay Route (Datsu bootleg)" | |
| 11 | +|bldyroar "Bloody Roar (JAPAN)" | |
| 12 | +|bmiidx4 "beatmania IIDX 4th style (GCA03 JA)" | |
| 13 | +|bmiidx6 "beatmania IIDX 6th style (GCB4U JA)" | |
| 14 | +|bmiidx7 "beatmania IIDX 7th style (GCB44 JA)" | |
| 15 | +|bmiidx8 "beatmania IIDX 8th style (GCC44 JA)" | |
| 16 | +|bmiidxc "beatmania IIDX with DDR 2nd Club Version (896 JAB)" | |
| 17 | +|bmiidxc2 "beatmania IIDX Substream 2 with DDR 2nd Club Version (984 A01 BM)" | |
| 18 | +|bmiidxca "beatmania IIDX with DDR 2nd Club Version (896 JAA)" | |
| 19 | +|boomranga "Boomer Rang'r / Genesis (set 2)" | |
| 20 | +|cb3b "Cherry Bonus III (alt)" | |
| 21 | +|ehrgeizj "Ehrgeiz (Japan, EG1/VER.A)" | |
| 22 | +|enchfrst "Enchanted Forest (E - 23/06/95, Local)" | |
| 23 | +|ftimpactj "Fighters' Impact (Ver 2.02J)" | |
| 24 | +|goldnaxeb1 "Golden Axe (encrypted bootleg)" | |
| 25 | +|goldnaxeb2 "Golden Axe (bootleg)" | |
| 26 | +|goldprmd "Golden Pyramids (B - 13-05-97, USA)" | |
| 27 | +|gq863 "Twinkle System" | |
| 28 | +|hiimpac4 "High Impact Football (rev LA4 02/04/91)" | |
| 29 | +|intruder "Intruder" | |
| 30 | +|liberateb "Liberation (bootleg)" | |
| 31 | +|micrombc "Microman Battle Charge (J 990326 V1.000)" | |
| 32 | +|mustangb2 "US AAF Mustang (TAB Austria bootleg)" | |
| 33 | +|prosporta "Pro. Sports (alternate)" | |
| 34 | +|qotn "Queen of the Nile (B - 13-05-97, NSW/ACT)" | |
| 35 | +|techbowl "Technical Bowling (J 971212 V1.000)" | |
| 36 | +|tokyowar "Tokyo Wars (Rev. TW2 Ver.A)" | |
| 37 | +|unkch1 "Super Cherry Master / New Cherry Gold '99 (set 1)" | |
| 38 | +|unkch2 "Super Cherry Master / Super Cherry Gold" | |
| 39 | +|unkch3 "Super Cherry Master / New Cherry Gold '99 (set 2)" | |
| 40 | +|unkch4 "Super Cherry Master / Grand Cherry Master" | |
| 41 | c|chaoshea "Chaos Heat (V2.08J)" | |
| 42 | C|chaoshea "Chaos Heat (V2.09O)" | |
| 43 | C|chaoshej "Chaos Heat (V2.08J)" | |
| 44 | c|forgott1 "Forgotten Worlds (World?)" | |
| 45 | c|forgottn "Forgotten Worlds (US)" | |
| 46 | C|forgottn "Forgotten Worlds (World)" | |
| 47 | C|forgottu "Forgotten Worlds (US)" | |
| 48 | c|hiimpact "High Impact Football (rev LA4 02/04/91)" | |
| 49 | C|hiimpact "High Impact Football (rev LA5 02/15/91)" | |
| 50 | c|propcycl "Prop Cycle (Rev PR2 Ver.A)" | |
| 51 | C|propcycl "Prop Cycle (Rev. PR2 Ver.A)" | |
| 52 | c|scin "Special Criminal Investigation (Negro Torino hack)" | |
| 53 | C|scin "Super Special Criminal Investigation (Negro Torino hack)" | |
| 54 | c|sqix "Super Qix (set 1)" | |
| 55 | C|sqix "Super Qix (World, Rev 2)" | |
| 56 | c|sqixa "Super Qix (set 2)" | |
| 57 | C|sqixb1 "Super Qix (bootleg set 1)" | |
| 58 | C|sqixb2 "Super Qix (bootleg set 2)" | |
| 59 | c|sqixbl "Super Qix (bootleg)" | |
| 60 | C|sqixr1 "Super Qix (World, Rev 1)" | |
| 61 | C|wc90b1 "Euro League (Italian hack of Tecmo World Cup '90)" | |
| 62 | c|wc90b1 "Euro League" | |
| 63 | C|wizdfire "Wizard Fire (Over Sea v2.1)" | |
| 64 | c|wizdfire "Wizard Fire (US v1.1)" | |
| 65 | C|wizdfiru "Wizard Fire (US v1.1)" | |
| 66 | c|yellowcb "Yellow Cab (bootleg)" | |
| 67 | C|yellowcbb "Yellow Cab (bootleg)" | |
| 68 | C|yellowcbj "Yellow Cab (Japan)" | |
| 69 | c|yellowcj "Yellow Cab (Japan)" |
| r4962 | r4963 | |
|---|---|---|
| 1 | 0.1 | |
| 1 | 0.131u3 | |
| 2 | 2 | ------- |
| 3 | 3 | |
| 4 | IMPORTANT NOTICE: This update represents the first part of a | |
| 5 | monumental internal change within MAME in the way CPU cores are | |
| 6 | managed and how memory is addressed. There are two ways you can help | |
| 7 | get these changes sorted out. | |
| 8 | 4 | |
| 9 | 1. Test the games you are familiar with, and some you are not. Report | |
| 10 | bugs at http://mametesters.org/mantis for anything out of the | |
| 11 | ordinary. | |
| 12 | ||
| 13 | 2. If you are up to coding, help us by submitting patches that remove | |
| 14 | the use of [Mm]achine->activecpu and/or cpunum_get_active(). You | |
| 15 | should be able to derive which CPU you are referencing through other | |
| 16 | means. To avoid duplication of effort, either send these quickly in | |
| 17 | small bunches, or better yet, send a message to the submission address | |
| 18 | announcing your intention to work on a certain class of drivers. | |
| 19 | ||
| 20 | ||
| 21 | ||
| 22 | 5 | MAMETesters Bugs Fixed |
| 23 | 6 | ---------------------- |
| 24 | - 02668: [DIP/Input] vendetta + clones: NVRAM being corrupted | |
| 25 | (Mamesick) | |
| 26 | - 02656: [Crash/Freeze] elevator: Elevator Action freezes after coin | |
| 27 | insert with "8" (David Haywood) | |
| 28 | - 02660: [Crash/Freeze] All sets in decocass.c: Games freeze when the | |
| 29 | count reach 15, 14 or 13. (couriersud) | |
| 30 | - 02654: [Crash/Freeze] timecris, timecrsa: Unable to start game due | |
| 31 | to improper initialization (robiza) | |
| 32 | - 02667: [Sound] bbmanwj: No sound since 0.123u2. (robiza) | |
| 33 | - 02655: [Misc.] Some games using MC6845: A message reading "Mode | |
| 34 | Control 88 is not supported!!!" is displayed (couriersud) | |
| 35 | - 02092: [Graphics] spinlbrk and clones: Priorities issues (robiza) | |
| 36 | - 02641: [Graphics] strider and clones: Problem with graphics layer | |
| 37 | (Nicola Salmoria) | |
| 38 | - 02196: [DIP/Input] scross: Five Player 2 buttons are mapped twice | |
| 39 | (Luigi30) | |
| 7 | - 03101: [Sound] jantotsu: Game gives incorrect calls (Angelo Salese) | |
| 8 | - 03196: [DIP/Input] daisyari: Game resets itself after full strip of | |
| 9 | girl (Tafoid) | |
| 10 | - 02329: [Graphics] iganinju, plusalph and others: Very bad sprite lag | |
| 11 | (Angelo Salese) | |
| 12 | - 03190: [Documentation] 86lions: 'Wrong' colours seem fixed when you | |
| 13 | swap R/B values (Angelo Salese) | |
| 14 | - 03149: [Crash/Freeze] All sets in cps3.c: Access Violation | |
| 15 | (Aaron Giles) | |
| 16 | - 03187: [Documentation] scin: Game title is different as shown in | |
| 17 | picture (Fabio Priuli) | |
| 18 | - 03176: [Graphics] cheekyms: Graphic Regression (Pierpaolo Prazzoli) | |
| 19 | - 03182: [Sound] Many sets in system1.c: Missing Sound (Aaron Giles) | |
| 20 | - 03178: [DIP/Input] dragngun: Unable to move Crosshair (Fabio Priuli) | |
| 40 | 21 | |
| 41 | 22 | |
| 42 | 23 | |
| 43 | 24 | Source Changes |
| 44 | 25 | -------------- |
| 45 | UPI-41/42 (still I8x41.c) changes: [couriersud] | |
| 46 | * cpu/i8x41 should be renamed to UPI-4x, since UPI-41/42 was an | |
| 47 | intel chip family postponed for now until core moved to pointers. | |
| 48 | * removed I8041 definition from mcs48 | |
| 49 | * removed I8x41 cpu definition and config struct | |
| 50 | * added I8041, I8741, I8042, I8242 and I8742 cpus to i8x41.c | |
| 51 | * added internal memory maps | |
| 52 | * internal ram now uses DATA memory space | |
| 53 | * updated drivers | |
| 54 | * increased interleave to 70 in decocass. This fixes decocass hanging | |
| 55 | in countdown around 13. No idea when this bug was introduced. | |
| 56 | * converted i8x41 to use pointers for state access | |
| 57 | * separated opcodes into i8x41ops.c | |
| 26 | Fixed Oki banking in Grand Cross. [Angelo Salese] | |
| 58 | 27 | |
| 59 | Populated tag and static_config parts of fake CPU device. Removed | |
| 60 | 'config' parameter from CPU_INIT. Modified CPU cores to pull config | |
| 61 | from the device static_config. [Aaron Giles] | |
| 28 | Added basic ADPCM support to Grand Cross [Angelo Salese] | |
| 62 | 29 | |
| 63 | ||
| 30 | Fix | |
| 64 | 31 | |
| 65 | Clean-ups in the ST-V driver and corrected protection number seeds | |
| 66 | for elandore. [Angelo Salese] | |
| 32 | Fixed sound mute for system 2 games. [Aaron Giles] | |
| 67 | 33 | |
| 68 | Video emulation fixes to the Ghost Eolith HW (not yet working). | |
| 69 | [Angelo Salese] | |
| 34 | The logic for detecting merged roms did not check all the rom sources | |
| 35 | in the parent, leading to cases where roms from devices aren't | |
| 36 | detected as merged (e.g. ldv1000 in superdqs). This fixes it. | |
| 37 | [Atari Ace] | |
| 70 | 38 | |
| 71 | ||
| 39 | Added save s | |
| 72 | 40 | |
| 73 | Major cpuintrf changes: [Aaron Giles] | |
| 74 | * added a set of cpu_* calls which accept a CPU device object; | |
| 75 | these are now the preferred means of manipulating a CPU | |
| 76 | * removed the cpunum_* calls; added an array of cpu[] to the | |
| 77 | running_machine object; converted all existing cpunum_* calls | |
| 78 | to cpu_* calls, pulling the CPU device object from the new | |
| 79 | array in the running_machine | |
| 80 | * removed the activecpu_* calls; added an activecpu member to | |
| 81 | the running_machine object; converted all existing activecpu_* | |
| 82 | calls to cpu_* calls, pulling the active CPU device object | |
| 83 | from the running_machine | |
| 84 | * changed cpuintrf_push_context() to cpu_push_context(), taking | |
| 85 | a CPU object pointer; changed cpuintrf_pop_context() to | |
| 86 | cpu_pop_context(); eventually these will go away | |
| 87 | * many other similar changes moving toward a model where all CPU | |
| 88 | references are done by the CPU object and not by index | |
| 89 | * added CPU device parameters to all CPU callbacks except for the | |
| 90 | context ones (which are going away), and the validity check. | |
| 41 | Added newly-dumped PROMs to Robocop. [Irongiant] | |
| 91 | 42 | |
| 92 | ||
| 43 | Add | |
| 93 | 44 | |
| 94 | Fixed Dip Switches for 'lkage' and clones. Fixed bootlegs visible | |
| 95 | area to match original sets. [stephh] | |
| 45 | Added missing coin lockout to lottofun. [Luigi30] | |
| 96 | 46 | |
| 97 | Fixed Dip Switches for 'magmax'. [stephh] | |
| 47 | Improved lamp output in MPU4.c. Redrawing now only occurs on the peaks | |
| 48 | of the 50Hz AC Power. [AGEMAME] | |
| 98 | 49 | |
| 99 | Fixed Dip Switches for all games in mermaid.c driver. [stephh] | |
| 50 | Updated the megatech.c parts list with info from more carts and | |
| 51 | fixed some errors in the notes for the rom definitions, and arranged | |
| 52 | them in correct order. [Smitdogg] | |
| 100 | 53 | |
| 101 | peplus.c updates: [couriersud] | |
| 102 | * changed the 6845 type to R6545_1 (Rockwell as mentioned in the | |
| 103 | driver). | |
| 104 | * use transparent addressing | |
| 105 | * lightpen code now generates a "lightpen_assert" at the right screen | |
| 106 | position. | |
| 107 | * Completely hooked up 6545 without wrappers. | |
| 54 | Added LSHIFT and RSHIFT as alises to << and >> for cheat files. | |
| 55 | [Pugsy] | |
| 108 | 56 | |
| 109 | abc_step and abc_reset now declared as DISCRETE_STEP( abc ) and | |
| 110 | DISCRETE_RESET( abc ). [couriersud] | |
| 57 | Added Guru-readme(TM) for Triforce. [Guru] | |
| 111 | 58 | |
| 112 | ||
| 59 | Added Guru-r | |
| 113 | 60 | |
| 114 | Fixed Dip Switches for 'joyfulr' and clone. [stephh] | |
| 61 | Moved the configuration of m6502-family callbacks to the cpu | |
| 62 | configuration. [Wilbert Pol] | |
| 115 | 63 | |
| 116 | Fix state save in discrete sound: [couriersud] | |
| 117 | * sndindex now considered as well in state save | |
| 118 | * expose discrete_sound_n_r(void *chip, ...) to enable accessing | |
| 119 | multiple discrete sound cores | |
| 64 | Split Naomi video ram access into 32-bit / 64-bit areas pending more | |
| 65 | information on how they actually mirror (it's not a straight mirror). | |
| 66 | [David Haywood] | |
| 120 | 67 | |
| 121 | Kaneko changes: [David Haywood, Andreas Naive] | |
| 122 | * Added Simulation of Toybox external data rom decryption | |
| 123 | * Converted Blood Warrior, Bonk's Adventure, Great 1000 Miles Rally | |
| 124 | 1+2 to use the new code. | |
| 125 | * Updated suprnova rendering to allow 2 sprite chips. | |
| 126 | * Started work on Jackie Chan & Gals Panic 3 | |
| 68 | psattack CF card redump and ID metadata added to create a CHD. [Guru] | |
| 127 | 69 | |
| 128 | Massive API cleanup/change: [Aaron Giles] | |
| 70 | H8 series MCU updates: [R. Belmont] | |
| 71 | - Implemented 8-bit timers and free-running counter for H8/3334 | |
| 72 | - Added bld #imm, @Rd instruction | |
| 73 | - Improvements to interrupts and the serial ports | |
| 129 | 74 | |
| 130 | The primary goal is that all CPU-related APIs now take a device | |
| 131 | pointer instead of an index. All functions that take a CPU device | |
| 132 | are prefixed with cpu_*. All functions that are globally related to | |
| 133 | cpu execution are prefixed with cpuexec_*. Below is a list of some | |
| 134 | of the mappings: | |
| 135 | ||
| 136 | cpu_boost_interleave -> cpuexec_boost_interleave | |
| 137 | cpunum_suspend -> cpu_suspend | |
| 138 | cpunum_resume -> cpu_resume | |
| 139 | cpunum_is_suspended -> cpu_is_suspended | |
| 140 | cpunum_get_clock -> cpu_get_clock | |
| 141 | cpunum_set_clock -> cpu_set_clock | |
| 142 | cpunum_get_clockscale -> cpu_get_clockscale | |
| 143 | cpunum_set_clockscale -> cpu_set_clockscale | |
| 144 | cpunum_get_localtime -> cpu_get_local_time | |
| 145 | cpunum_gettotalcycles -> cpu_get_total_cycles | |
| 146 | activecpu_eat_cycles -> cpu_eat_cycles | |
| 147 | activecpu_adjust_icount -> cpu_adjust_icount | |
| 148 | cpu_trigger -> cpuexec_trigger | |
| 149 | cpu_triggertime -> cpuexec_triggertime | |
| 150 | cpunum_set_input_line -> cpu_set_input_line | |
| 151 | cpunum_set_irq_callback -> cpu_set_irq_callback | |
| 152 | ||
| 153 | In addition, a number of functions retain the same name but now | |
| 154 | require a specific CPU parameter to be passed in: | |
| 155 | ||
| 156 | cpu_yield | |
| 157 | cpu_spin | |
| 158 | cpu_spinuntil_time | |
| 159 | cpu_spinuntil_int | |
| 160 | cpu_spinuntil_trigger | |
| 161 | cpu_triggerint | |
| 162 | ||
| 163 | Merged cpuint.c into cpuexec.c. One side-effect of this change is | |
| 164 | that driver reset callbacks are called AFTER the CPUs and devices | |
| 165 | are reset. This means that if you make changes to the CPU state and | |
| 166 | expect the reset vectors to recognize the changes in your reset | |
| 167 | routine, you will need to manually reset the CPU after making the | |
| 168 | change (since it has already been reset). | |
| 169 | ||
| 170 | Added a number of inline helper functions to cpuintrf.h for | |
| 171 | managing addresses. | |
| 172 | ||
| 173 | Removed cpu_gettotalcpu(). This information is rarely needed | |
| 174 | outside of the core and can be obtained by looking at the | |
| 175 | machine->cpu[] array. | |
| 176 | ||
| 177 | Changed CPU interrupt acknowledge callbacks to pass a CPU | |
| 178 | device instead of machine/cpunum pair. | |
| 75 | Namco System 23 update: [R. Belmont] | |
| 76 | - Changes and documentation added on how the I/O board is hooked up. | |
| 77 | The H8/3334 based TSS-I/O board sometimes handshakes successfully in | |
| 78 | Time Crisis 2 now but timing-related problems remain. | |
| 179 | 79 | |
| 180 | Changed VBLANK and periodic timer callbacks to pass a CPU | |
| 181 | device instead of machine/cpunum pair. | |
| 182 | ||
| 183 | Renamed all information getters from cpu_* to cpu_get_* and | |
| 184 | from cputype_* to cputype_get_*. | |
| 80 | Namco System Super 22 update: [R. Belmont] | |
| 81 | - Reimplemented SPOT RAM - Tokyo Wars relied on some details not | |
| 82 | previously seen | |
| 83 | - Fixed uninitialized RAM area that caused random sprite colors | |
| 84 | since 0.120 (thanks to Phil Bennett for debugging the problem) | |
| 85 | - Updated Guru Readme(tm) | |
| 185 | 86 | |
| 186 | Defined macros for standard sound core functions and updated all sound | |
| 187 | cores to use them. [Atari Ace] | |
| 87 | Fixed Aliens P2 inputs. [stephh] | |
| 188 | 88 | |
| 189 | Replaced the Machine parameter where an running_machine * is | |
| 190 | available and removes the deprecat.h where unnecessary. | |
| 191 | [Atari Ace, Oliver Stoeneberg] | |
| 89 | Gladiator coinage fix. [Tafoid] | |
| 192 | 90 | |
| 193 | Cleaned up use of running_machine in the Windows debugger code. | |
| 194 | [Oliver Stoeneberg] | |
| 91 | Fixed regressed sound in wc90b.c. Also fixed nested NMIs, improving | |
| 92 | msm sound, and converted memory maps to current standards. | |
| 93 | [Angelo Salese] | |
| 195 | 94 | |
| 196 | Fixed Dip Switches and Inputs for 'jchan' and clone. [stephh] | |
| 95 | Corrected the 202 entry in the LFO Frequency Table (and comments for | |
| 96 | it) for the YMF271 based on a formula by Olivier Galibert. | |
| 97 | [Brian Troha, Roman Scherzer] | |
| 197 | 98 | |
| 198 | Documented the CPS2 Phoenix sets, and what happens to a dead CPS2 | |
| 199 | board. [MAMEPlus] | |
| 99 | Added PCB rom locations to Dog Fight (Thunderbolt) romdef as well as | |
| 100 | the bprom type. [Brian Troha] | |
| 200 | 101 | |
| 201 | Pointer-ified the 6800, 6809 and hd6309 cpu cores: [couriersud] | |
| 202 | * temporarily named the state var m68_state in the 68xx cores | |
| 203 | * reorganized some code for simpler comparison of 68xx cores | |
| 102 | Fixed ROM filename for Battle Zone. [Andrew Welburn] | |
| 204 | 103 | |
| 205 | Pre-irq rewrite submission in ST-V driver: [Angelo Salese] | |
| 206 | * Better management of hblank/vblank bits; | |
| 207 | * Makes dynamic resolutions to be called with a timer instead of | |
| 208 | run-time; | |
| 209 | * Makes dynamic resolutions to not be changed at every frame but | |
| 210 | only when there's an actual change; | |
| 211 | * Fixed Final Arch broken Test Mode; | |
| 212 | * Demoted Super Major League / Final Arch as GAME_NOT_WORKING, they | |
| 213 | hangs randomly due of SH-2 master/slave communication RAM issues | |
| 214 | * Removed GAME_NOT_WORKING flag to Fighting Dragoon Legend Elan | |
| 215 | Doree, because protection affects only in-game graphics and not | |
| 216 | gameplay | |
| 217 | * Removed all the read/write handler speed-up hacks, they aren't | |
| 218 | needed anymore and they were doing more damage than being useful. | |
| 219 | This fixes Golden Axe: the Duel gameplay speed at the cost of breaking | |
| 220 | up Groove on Fight coin counter at start-up. | |
| 104 | Added basic MSM support for Super Crowns Golf, and fixed NMI | |
| 105 | generation. Also found & hooked up the flip screen bit, and cleaned | |
| 106 | up the memory maps. [Angelo Salese] | |
| 221 | 107 | |
| 222 | Major memory system change: [Aaron Giles, couriersud, smf, R. Belmont] | |
| 223 | ||
| 224 | Changed READ/WRITE handlers to accept an address_space * instead of | |
| 225 | a machine *. The address_space object was enhanced to contain a | |
| 226 | machine and a pointer to the relevant CPU object. | |
| 227 | ||
| 228 | Added new function cpu_get_address_space() to fetch the address | |
| 229 | space for calling in manually to these functions. In some instances, | |
| 230 | code which should eventually be converted to a device is hard-coding | |
| 231 | fetching the program space of CPU #0 in order to have something | |
| 232 | valid to pass. | |
| 233 | ||
| 234 | Converted cultures driver to have separated color tables for each | |
| 235 | plane. [Angelo Salese] | |
| 236 | ||
| 237 | Significantly pared down the 68k core. Merged outer MAME shell into | |
| 238 | the core proper and removed unused macros. Changed all external | |
| 239 | interfaces to pass the CPU device. Enabled 64-bit operations by | |
| 240 | default. Re-derived the interface functions to cascade and share code | |
| 241 | more aggressively. These changes also seem to have cured the taito_f3 | |
| 242 | issues as far as I can tell (at least pbobble3 seems right now). | |
| 243 | [Aaron Giles] | |
| 244 | ||
| 245 | Disentangled the 68000 core, converting it to be much simpler and less | |
| 246 | overly abstracted. Hard-coded it for the options that are relevant | |
| 247 | and never going to change. Removed old unused CPS2 encryption junk. | |
| 248 | Changed encryption interfaces to pass the CPU core object. | |
| 249 | [Aaron Giles] | |
| 250 | ||
| 251 | Updated CPS1 documentation. [Nicola Salmoria] | |
| 252 | ||
| 253 | Added m6809 config option to control where opcodes 10 and 11 fetch | |
| 254 | the second byte. [Nicola Salmoria] | |
| 255 | ||
| 256 | Changed kram3 to use a partially understood decryption algorithm and | |
| 257 | removed external tables. [Nicola Salmoria] | |
| 258 | ||
| 259 | Fixed Dip Switches for 'scotrsht'. [stephh] | |
| 260 | ||
| 261 | Naomi improvements: [Samuele Zannoli] | |
| 262 | * This patch implements a "plug-in board" device for the Naomi. | |
| 263 | It represents the rom boards for the various games and the dimm | |
| 264 | board for the gdrom. | |
| 265 | * Now the dimm board part contains only a routine to load the "rom | |
| 266 | file" from the gdrom chd, but in the future it will be fully | |
| 267 | implemented with its own sh4 processor, security chip and so on. | |
| 268 | * Extracted .rom files are no longer needed, rom file is extracted | |
| 269 | in code from the CHD. | |
| 270 | ||
| 271 | Added "tag" parameter to state_save_register_item_* calls. Removed | |
| 272 | state_save_combine_module_and_tag() function in favor of passing | |
| 273 | the tag when registering. Revisited all save state item registrations | |
| 274 | and changed them to use the tag where appropriate. [Aaron Giles] | |
| 275 | ||
| 276 | Changed 6809 disassembler to work with kram3. [Nicola Salmoria] | |
| 277 | ||
| 278 | Added template support to regrep. Changed output to not color the | |
| 279 | entire background of each cell. Switched to astrings and core_files | |
| 280 | internally. [Aaron Giles] | |
| 281 | ||
| 282 | ST-V IRQ rewrite and that removes several global hacks/game specific | |
| 283 | hacks. (SMPC irq bit/introdon irq register hack/pblbeach framebuffer | |
| 284 | hack plus some more). Note: some games have issues with it, but | |
| 285 | they'll be hopefully fixed on the next couple of updates. | |
| 108 | Hooked up sprite buffering in the Jaleco Mega System 1 driver. | |
| 286 | 109 | [Angelo Salese] |
| 287 | 110 | |
| 288 | Generalized the concept of opbase access into "direct" access. | |
| 289 | Removed opbase globals to the address_space structure. Cleaned up | |
| 290 | names of pointers (decrypted and raw versus rom and ram). Added inline | |
| 291 | functions to read/write data via any address space. Added macros for | |
| 292 | existing functions to point them to the new functions. Other related | |
| 293 | cleanups. [Aaron Giles] | |
| 111 | Corrected Euro League clock speeds. [Mike Coates] | |
| 294 | 112 | |
| 295 | Pointerized the CDP1802 CPU core. [Curt Coder] | |
| 113 | Fixed ADPCM stop flag in Jantotsu, and cleaned up some routines in the | |
| 114 | driver. Added an heuristic table for the msm samples. Fixed MSM | |
| 115 | frequency. [Angelo Salese] | |
| 296 | 116 | |
| 297 | Tweaked gun handling in beast busters a bit.. by halving the | |
| 298 | precision of the guns to 7-bit they can be calibrated more easily, | |
| 299 | maybe the originals were like this. I've also added a default | |
| 300 | eeprom with them calibrated in a 'reasonable' way for MAME. Sound | |
| 301 | is pretty awful on this, maybe the sound ROMs should be checked? | |
| 302 | [David Haywood] | |
| 117 | Hooked up sound in Super Shanghai Dragon's Eye. [Angelo Salese] | |
| 303 | 118 | |
| 304 | Cleaned up macro mess in the Z80 core. Switched to using generic | |
| 305 | memory calls instead of program_* and io_*. [Aaron Giles] | |
| 119 | Fixed some dip-switches quirks in the Mexico 86 driver and enabled the | |
| 120 | single board 4 players mode. [Angelo Salese] | |
| 306 | 121 | |
| 307 | Pointer-ified the ASAP core. [Aaron Giles] | |
| 122 | Improved timing of communication between the main and sound cpus in | |
| 123 | the megadriv driver. [Wilbert Pol] | |
| 308 | 124 | |
| 309 | Pointerized the COP400 CPU cores. [Curt Coder] | |
| 125 | Fixed flickering in Super Shanghai Dragon's Eye on girl presentation | |
| 126 | screens. Split memory maps for the different sshangha version, and | |
| 127 | fixed sound in the parent set. [Angelo Salese] | |
| 310 | 128 | |
| 311 | ||
| 129 | Add | |
| 312 | 130 | |
| 313 | Documented alt Ajax rom board [Phil Morris] | |
| 131 | Fixed sqix/sqixa bootleg MCU bad dump by comparison with the original. | |
| 132 | [Nicola Salmoria] | |
| 314 | 133 | |
| 315 | Fixed basic controls in 2 Minutes Drill & added preliminary shutter/ | |
| 316 | defender sensors. Still need proper ball hit/run sensors to get this | |
| 317 | working however. [Angelo Salese] | |
| 134 | Fixed coin lockout in Tetris (Arkanoid HW) and removed the | |
| 135 | GAME_WRONG_COLORS flag since the colors are correct. [Angelo Salese] | |
| 318 | 136 | |
| 319 | Big H8 update: [R. Belmont] | |
| 320 | - Added support for 8-bit H8 family MCUs, starting with the H8/3344 | |
| 321 | - Pointer-ified all H8 cores | |
| 322 | - Some cleanup and renames toward additional future work | |
| 137 | Added MSM hook-up for Ganbare Chinsan Ooshoubu. [Angelo Salese] | |
| 323 | 138 | |
| 324 | System 23: [R. Belmont] | |
| 325 | - Added extremely preliminary support for I/O boards with the H8/3344 | |
| 139 | Fixed background colors in Tryout and cleaned-up the NMI firings on | |
| 140 | coin insertion. [Angelo Salese] | |
| 326 | 141 | |
| 327 | Removed the change_pc() macro. Changed memory_set_direct_region() to | |
| 328 | return a boolean indicating whether the given address was successfully | |
| 329 | located in a bank. Change raw/decrypted access to look at this result, | |
| 330 | and if the given address is not in a bank, calls through to the | |
| 331 | standard read handlers. This should prevent most crashes when | |
| 332 | accessing opcodes. [Aaron Giles] | |
| 142 | Cleaned-up the Mazer Blazer driver. [Angelo Salese] | |
| 333 | 143 | |
| 334 | Fixed address space mapping handlers to invalidate direct access | |
| 335 | regions if a change is made to the mapping. This is needed to prevent | |
| 336 | the Sega dynamic memory mapping chips from falling over. [Aaron Giles] | |
| 144 | Fixed foreground color offsets in Tryout, game colors should now be | |
| 145 | 100% accurate. Also fixed flip X on the sprites, fixed scrolling | |
| 146 | issues, and added screen disable flag. [Angelo Salese] | |
| 337 | 147 | |
| 338 | Refactored the CDP1802 and COP400 CPU cores to use the new memory | |
| 339 | functions. [Curt Coder] | |
| 148 | Disabled unused variables in the project that were only assigned to | |
| 149 | but never used. [Oliver Stoeneberg] | |
| 340 | 150 | |
| 341 | Switched m6809 and hd6309 to new memory functions: [couriersud] | |
| 342 | * cleaned up some macros | |
| 343 | * aligned code a bit more | |
| 344 | * interrupts now checked in cpu_execute instead of set_context | |
| 151 | Removed the pulse input on the touchscreen for the touchmaster | |
| 152 | drivers, making centipede returns (tm4k), breakout3k (tm3k), | |
| 153 | wordsearch (tm8k) and possibly other games playable do to the need for | |
| 154 | "dragging" the screen. An example of this is the word search game | |
| 155 | where it is necessary to drag from the start letter to the end to | |
| 156 | highlight the selection, which is not possible with a pulse input. | |
| 157 | [Mike Green] | |
| 345 | 158 | |
| 346 | Pointerified the psx cpu core & switched it to the new memory | |
| 347 | functions. Changed some MIPS_* to PSXCPU_*. [smf] | |
| 159 | Corrected the clock speed for Pirate Ship Higemaru. [Stefan Lindberg] | |
| 348 | 160 | |
| 349 | ||
| 161 | Hand-tuned bgm OKI sou | |
| 350 | 162 | |
| 351 | Another significant memory system change: [Aaron Giles] | |
| 163 | Added readmes to Jail Break, Ninja Warriors, Operation Wolf and | |
| 164 | Rainbow Islands. [Guru] | |
| 352 | 165 | |
| 353 | Moved memory global state into a struct hanging off of the machine. | |
| 354 | Updated almost all memory APIs to take an address_space * where | |
| 355 | appropriate, and updated all callers. Changed memory internals to | |
| 356 | use address spaces where appropriate. Changed accessors to point | |
| 357 | to the memory_* functions instead of the address space-specific | |
| 358 | functions. Improved internal handling of watchpoints. | |
| 359 | ||
| 360 | Added cputag_* functions: cputag_reset(), cputag_get_index(), | |
| 361 | cputag_get_address_space(). These just expand via macros to an | |
| 362 | initial fetch of the CPU via cputag_get_cpu() followed by the | |
| 363 | standard CPU call. | |
| 364 | ||
| 365 | Added debugger_interrupt_hook() and debugger_exception_hook() calls | |
| 366 | which intelligently look at the debugger flags before calling. | |
| 166 | Fixed sound banking and priorities in Mirage Youjuu Mahjongden. | |
| 167 | [Angelo Salese] | |
| 367 | 168 | |
| 368 | Memory banking now requires a machine object. This makes the memory | |
| 369 | system fully global-free. | |
| 169 | Decoded color proms and fixed bitplanes in Mirax. [Angelo Salese] | |
| 370 | 170 | |
| 371 | Pointer-ified the jaguar CPU core. [Aaron Giles] | |
| 171 | CPUs actually take some time to reset. Changed the 68000/68010 to | |
| 172 | eat an appropriate number of cycles after a reset. [Aaron Giles] | |
| 372 | 173 | |
| 373 | Pointer-ified the TMS32031 core. [Aaron Giles] | |
| 174 | Sega System 16A changes: [Aaron Giles, Dr. Decapitator] | |
| 175 | * Added MCU dumps to quart21 and bodyslam | |
| 176 | * Hooked up MCU in these games | |
| 177 | * Marked games using simulated MCU as "unemulated protection" | |
| 178 | as the MCUs clearly do more than what we are simulating | |
| 374 | 179 | |
| 375 | Replaced parent crkdown image with one containing valid settings data | |
| 376 | (prevents game booting with 0 seconds and invalid highscore data | |
| 377 | which it can't restore correctly). [David Haywood] | |
| 180 | Eliminated SMH_* usage in all memory maps in drivers beginning with | |
| 181 | A and B. [MooglyGuy] | |
| 378 | 182 | |
| 379 | Converted H8 CPUs to the new memory functions. [R. Belmont] | |
| 183 | Added some security custom info to the Sega drivers | |
| 184 | (from http://www.higenekodo.jp/sega_n.htm). [Yasuhiro Ogawa] | |
| 380 | 185 | |
| 381 | Debugger interfaces cleanup. Added callback parameters to the | |
| 382 | expression engine. Improved CPU parsing so you can use a CPU tag or | |
| 383 | index in most commands that take one. Switched to passing CPU and | |
| 384 | address space objects around where appropriate. Symbol tables now have | |
| 385 | a global ref as well as a per-symbol ref. Debugcpu is now clear of | |
| 386 | active CPU references and global Machine references. Lots of other | |
| 387 | minor tweaks. [Aaron Giles] | |
| 186 | Converted the Namco 50xx, 51xx, 52xx, 53xx, 54xx, and 06xx into | |
| 187 | proper devices. [Aaron Giles] | |
| 388 | 188 | |
| 389 | Pointer-ified cpu/nec (V30). [couriersud] | |
| 189 | Added DERIVED_CLOCK() macro which can be used by sub-devices to | |
| 190 | derive their clock from the parent device. [Aaron Giles] | |
| 390 | 191 | |
| 391 | Switched adsp21xx to new memory functions. [couriersud] | |
| 192 | Tweaked some of the laserdisc interfaces to use ROM_NAME() and | |
| 193 | MACHINE_DRIVER_NAME() macros. [Aaron Giles] | |
| 392 | 194 | |
| 393 | Fixed several protection issues with Double Wings, improved video | |
| 394 | and sound. [Angelo Salese] | |
| 195 | Changed the Namco 52xx and 53xx devices to run the actual MCU instead | |
| 196 | of simulating the behavior. Hooked them up properly in bosco, digdug, | |
| 197 | and polepos. [Aaron Giles] | |
| 395 | 198 | |
| 396 | Converted ssp1601 to pointers (still works, tested virtua racing | |
| 397 | genesis). [Curt Coder] | |
| 199 | Fixed Bronx regression. [Angelo Salese] | |
| 398 | 200 | |
| 399 | Pointer work on se3208 (although I haven't touched the disassembler..) | |
| 400 | [David Haywood] | |
| 201 | Guessed ADPCM PAL shuffling in Idol Janshi Suchie-Pai Special, it | |
| 202 | sounds better but I'm not sure if it's 100% accurate (I need a | |
| 203 | side-by-side test). [Angelo Salese] | |
| 401 | 204 | |
| 402 | Ad | |
| 205 | Add | |
| 403 | 206 | |
| 404 | MC6845: Hsync needs to toggle on every scanline. [Curt Coder] | |
| 207 | DIP switch changes: [kanikani] | |
| 208 | - added DIPLOCATION to scontra and thunderx | |
| 209 | - added some DEF_STRs (Difficult, Very Difficult, etc.) and modified | |
| 210 | drivers using them | |
| 405 | 211 | |
| 406 | Converted remaining CPU cores over to new memory functions. | |
| 407 | [Aaron Giles] | |
| 212 | Added internal memory maps and internal clock divider to the MB88xx | |
| 213 | CPUs. Removed now-redundant memory maps from drivers and removed | |
| 214 | explicitly-specified clock dividers. [Aaron Giles] | |
| 408 | 215 | |
| 409 | Un-deprecat'ed the H8. [R. Belmont] | |
| 216 | Continued changing CPU references from numbers to tags in drivers. | |
| 217 | [Fabio Priuli] | |
| 410 | 218 | |
| 411 | Removed cpu_read_byte/cpu_write_byte. Thesea are replaced with | |
| 412 | memory_read_byte/memory_write_byte. [Aaron Giles] | |
| 219 | Preliminary work on beatmania iidx, still lots to do. [smf] | |
| 413 | 220 | |
| 414 | Pointer-ified the M377xx. [R. Belmont] | |
| 221 | Several MB88xx changes/fixes: [Aaron Giles] | |
| 222 | - internal timer support now works; prescaler is guessed based | |
| 223 | on Pole Position sample playback frequency | |
| 224 | - external counter support works | |
| 225 | - a basic mechanism for reading serial input has been added; it | |
| 226 | is not sufficient for a full implementation, but good enough | |
| 227 | to sample the SI pin at startup | |
| 228 | - fixed TSTS/TSTV to clear their respective flags | |
| 229 | - fixed CI and CYI to compute imm-reg instead of reg-imm | |
| 230 | - added masking of the PA register upon RTI/RTS to prevent bogus | |
| 231 | PC values | |
| 415 | 232 | |
| 416 | Removed all direct memory accesses via program_read/write_* from | |
| 417 | game drivers. All drivers now use the memory_read/write_* and pass in | |
| 418 | an address space. [Aaron Giles] | |
| 233 | Fixes compilation with ARM7_DEBUG_CORE enabled. | |
| 234 | [Reijo Tomperi, Oliver Stoeneberg] | |
| 419 | 235 | |
| 420 | Removed ROM banking kludges from bublbobl, ninjakd2, tnzs, lsasquad, | |
| 421 | missb2, and other drivers. [Nicola Salmoria, David Haywood] | |
| 236 | Added support for parsing horizont.ini or vertical.ini based on the | |
| 237 | game's orientation. [Krick] | |
| 422 | 238 | |
| 423 | Pointer-"ified" the s2650 core. [couriersud] | |
| 239 | Made a pass at shuffling/improving the system 16 and 18 bootlegs. | |
| 240 | Some games are probably more broken now, but they are better | |
| 241 | structured for future improvements. [David Haywood] | |
| 424 | 242 | |
| 425 | Removed memory context switch. All memory accesses now specify an | |
| 426 | address space explicitly. There is no longer any concept of a | |
| 427 | "current" memory context. [Aaron Giles] | |
| 243 | Fixed a few potential memory leaks detected by cppcheck and also added | |
| 244 | an errormessage to verinfo. [Oliver Stoeneberg] | |
| 428 | 245 | |
| 429 | Enhanced the runtest.cmd to use all available processors. | |
| 430 | [Aaron Giles] | |
| 246 | Added Guru-readme(TM) for TWINKLE hardware. [Guru] | |
| 431 | 247 | |
| 432 | Removed cpu_num info from SH2 in favor of just keeping the device | |
| 433 | object. [Aaron Giles] | |
| 434 | 248 | |
| 435 | Better fix for vendetta eeprom. [Mamesick, Fabio Priuli] | |
| 436 | 249 | |
| 437 | Removed all vestiges of the old change_pc macro, which is no longer | |
| 438 | needed with the banking improvements. [Aaron Giles] | |
| 439 | ||
| 440 | Added the latest "what we know" to the plygonet driver. [Phil Bennett] | |
| 441 | ||
| 442 | More accurately describes the aux board behavior for Ms. Pac-Man. | |
| 443 | There is a thorough description of how the board works. mspacman is a | |
| 444 | more faithful emulation. In particular you can now enter service mode | |
| 445 | (F2) at anytime during game play. [Steve Golson] | |
| 446 | ||
| 447 | Derived clocks from crystals in in ace.c, asteroid.c, avalnche.c, | |
| 448 | blockade.c, boxer.c, bzone.c, cosmic.c, firetrk.c, galaga.c, | |
| 449 | lazercmd.c, meadows.c, missile.c, orbit.c, skydiver.c, sprint2.c, | |
| 450 | warpwarp.c, williams.c. [Luigi30] | |
| 451 | ||
| 452 | Added diplocations to meadows.c, mugsmash.c, orbit.c. [Luigi30] | |
| 453 | ||
| 454 | Unified sprint2.c memory map. [Luigi30] | |
| 455 | ||
| 456 | Unified galaga.c CPU4 memory maps. [Luigi30] | |
| 457 | ||
| 458 | Changed flyball CPU clock to a #defined crystal. Added dip locations. | |
| 459 | [Luigi30] | |
| 460 | ||
| 461 | Added new sound core for the Oki MSM6258. [Barry Rodewald] | |
| 462 | ||
| 463 | Added dates to Tron revisions. Swapped tron/tron2 now that we know | |
| 464 | tron2 is the later version. [Tim Lindquist] | |
| 465 | ||
| 466 | ||
| 467 | ||
| 468 | 250 | New games added or promoted from NOT_WORKING status |
| 469 | 251 | --------------------------------------------------- |
| 470 | Filetto [Angelo Salese] | |
| 471 | Jackie Chan - The Kung-Fu Master | |
| 472 | [David Haywood, Andreas Naive, stephh, Angelo Salese] | |
| 473 | Firefox [Aaron Giles, smf] | |
| 252 | Aqua Jet (Rev. AJ2 Ver.B) [Guru, R. Belmont, Phil Bennett] | |
| 474 | 253 | |
| 475 | 254 | |
| 476 | 255 | |
| 477 | 256 | New clones added |
| 478 | 257 | ---------------- |
| 479 | Beast Busters (US, Version 2) [Brian Hargrove] | |
| 480 | Puzzle Bobble 2 (Ver 2.3O 1995/07/31) [Ross Myers] | |
| 481 | Street Fighter II' - Champion Edition (Rainbow set 3, bootleg) | |
| 482 | [Bill DeLeo] | |
| 483 | Violent Storm (ver UAC) [Bill DeLeo] | |
| 484 | Daitoride (YMF278B version) [Stefan Lindberg] | |
| 485 | Soldam (World?) [Gerald] | |
| 258 | Wizard Fire (Over Sea v2.1) [Irongiant] | |
| 259 | US AAF Mustang (TAB Austria bootleg) [Klaus Sommer] | |
| 260 | Chaos Heat (World) [Tormod / Brian Troha] | |
| 261 | Bloody Roar (Japan) [D. Alves, Smitdogg, Dumping Union] | |
| 262 | Fighters' Impact (Japan) [TH60] | |
| 263 | Ehrgeiz (Japan) [Uki] | |
| 264 | Super Qix (World, Rev 2) [Stefan Lindberg] | |
| 265 | High Impact Football (rev LA5 02/15/91) | |
| 266 | [Tormod, Smitdogg, Dumping Union] | |
| 267 | Intruder [Smitdogg, jmurjr, ranger_lennier] | |
| 268 | Pro. Sports (alternate) [Smitdogg] -- not working | |
| 269 | Forgotten Worlds (World) [Corrado Tomaselli] | |
| 270 | Cherry Bonus III (alt) [David Haywood] | |
| 486 | 271 | |
| 487 | 272 | |
| 488 | 273 | |
| 489 | 274 | New games marked as GAME_NOT_WORKING |
| 490 | 275 | ------------------------------------ |
| 491 | Motocross Go! (MG3 Ver. A) [Guru] | |
| 276 | Alpine Racer 2 (Rev. ARS2 Ver.A) [Guru] | |
| 277 | Tokyo Wars (Rev. TW2 Ver.A) [Guru, R. Belmont, Phil Bennett] | |
| 278 | Microman Battle Charge [Guru] | |
| 279 | Technical Bowling [Guru] | |
| 280 | Enchanted Forest (E - 23/06/95, Local) [AGEMAME] | |
| 281 | Golden Pyramids (B - 13-05-97, USA) [AGEMAME] | |
| 282 | Queen of the Nile (B - 13-05-97, NSW/ACT) [AGEMAME] | |
| 283 | Super Cherry Master / New Cherry Gold '99 [David Haywood] | |
| 284 | Super Cherry Master / Super Cherry Gold [David Haywood] | |
| 285 | Super Cherry Master / Grand Cherry Master [David Haywood] |
| r4962 | r4963 | |
|---|---|---|
| 62 | 62 | {"Sound", "sound", FOLDER_SND, IDI_SOUND, 0, 0, CreateSoundFolders }, |
| 63 | 63 | {"Imperfect", "imperfect", FOLDER_DEFICIENCY, IDI_FOLDER, 0, 0, CreateDeficiencyFolders }, |
| 64 | 64 | {"Dumping Status", "dumping", FOLDER_DUMPING, IDI_FOLDER, 0, 0, CreateDumpingFolders }, |
| 65 | {"Screens", "screens", FOLDER_SCREENS, IDI_FOLDER, 0, 0, CreateScreenFolders }, | |
| 65 | 66 | {"Working", "working", FOLDER_WORKING, IDI_WORKING, F_WORKING, F_NONWORKING, NULL, DriverIsBroken, FALSE }, |
| 66 | 67 | {"Not Working", "nonworking", FOLDER_NONWORKING, IDI_NONWORKING, F_NONWORKING, F_WORKING, NULL, DriverIsBroken, TRUE }, |
| 67 | 68 | {"Originals", "originals", FOLDER_ORIGINAL, IDI_FOLDER, F_ORIGINALS, F_CLONES, NULL, DriverIsClone, FALSE }, |
| r4962 | r4963 | |
| 119 | 120 | { "Background Images", GetBgDir, SetBgDir, FALSE, 0 }, |
| 120 | 121 | { "Comment Files", GetCommentDir, SetCommentDir, FALSE, DIRDLG_COMMENT }, |
| 121 | 122 | { "Fonts", GetFontDir, SetFontDir, FALSE, 0 }, |
| 123 | { "Crosshairs", GetCrosshairDir, SetCrosshairDir, FALSE, 0 }, | |
| 122 | 124 | { NULL } |
| 123 | 125 | }; |
| 124 | 126 |
| r4962 | r4963 | |
|---|---|---|
| 34 | 34 | # uncomment next line to enable a Unicode build |
| 35 | 35 | # UNICODE = 1 |
| 36 | 36 | |
| 37 | # set this to the minimum Direct3D version to support (8 or 9) | |
| 38 | ifndef DIRECT3D | |
| 39 | DIRECT3D = 8 | |
| 40 | endif | |
| 37 | 41 | |
| 42 | # set this to the minimum DirectInput version to support (7 or 8) | |
| 43 | ifndef DIRECTINPUT | |
| 44 | DIRECTINPUT = 7 | |
| 45 | endif | |
| 46 | ||
| 38 | 47 | |
| 48 | ||
| 39 | 49 | ########################################################################### |
| 40 | 50 | ################## END USER-CONFIGURABLE OPTIONS ###################### |
| 41 | 51 | ########################################################################### |
| r4962 | r4963 | |
| 135 | 145 | endif |
| 136 | 146 | |
| 137 | 147 | # add some VC++-specific defines |
| 138 | DEFS += -D_CRT_SECURE_NO_DEPRECATE -DXML_STATIC -D__inline__=__inline -Dsnprintf=_snprintf | |
| 148 | DEFS += -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DXML_STATIC -D__inline__=__inline -Dsnprintf=_snprintf | |
| 139 | 149 | |
| 140 | 150 | # make msvcprep into a pre-build step |
| 141 | 151 | # OSPREBUILD = $(VCONV) |
| r4962 | r4963 | |
| 193 | 203 | ifdef WIN95_MULTIMON |
| 194 | 204 | CFLAGS += -DWIN95_MULTIMON |
| 195 | 205 | endif |
| 206 | ||
| 196 | 207 | |
| 197 | 208 | # add the windows libaries, 3 additional libs at the end for UI |
| 198 | 209 | LIBS += \ |
| r4962 | r4963 | |
| 200 | 211 | -lgdi32 \ |
| 201 | 212 | -lddraw \ |
| 202 | 213 | -ldsound \ |
| 203 | -ldinput \ | |
| 204 | 214 | -ldxguid \ |
| 205 | 215 | -lwinmm \ |
| 206 | 216 | -ladvapi32 \ |
| 207 | 217 | -lcomctl32 \ |
| 208 | 218 | -lshlwapi \ |
| 209 | 219 | |
| 220 | ||
| 221 | ifeq ($(DIRECTINPUT),7) | |
| 222 | LIBS += -ldinput | |
| 223 | CFLAGS += -DDIRECTINPUT_VERSION=0x0700 | |
| 224 | else | |
| 225 | LIBS += -ldinput8 | |
| 226 | CFLAGS += -DDIRECTINPUT_VERSION=0x0800 | |
| 227 | endif | |
| 228 | ||
| 210 | 229 | # add -mwindows for UI |
| 211 | 230 | LDFLAGSEMULATOR += \ |
| 212 | 231 | -mwindows \ |
| r4962 | r4963 | |
| 252 | 271 | #------------------------------------------------- |
| 253 | 272 | |
| 254 | 273 | OSDOBJS = \ |
| 255 | $(WINOBJ)/d3d8intf.o \ | |
| 256 | 274 | $(WINOBJ)/d3d9intf.o \ |
| 257 | 275 | $(WINOBJ)/drawd3d.o \ |
| 258 | 276 | $(WINOBJ)/drawdd.o \ |
| r4962 | r4963 | |
| 266 | 284 | $(WINOBJ)/winmain.o \ |
| 267 | 285 | |
| 268 | 286 | |
| 287 | ifeq ($(DIRECT3D),8) | |
| 288 | OSDOBJS += $(WINOBJ)/d3d8intf.o | |
| 289 | else | |
| 290 | CFLAGS += -DDIRECT3D_VERSION=0x0900 | |
| 291 | endif | |
| 292 | ||
| 293 | ||
| 269 | 294 | # add UI objs |
| 270 | 295 | OSDOBJS += \ |
| 271 | 296 | $(UIOBJ)/mui_util.o \ |
| r4962 | r4963 | |
|---|---|---|
| 57 | 57 | BOOL isHarddisk; |
| 58 | 58 | BOOL hasOptionalBIOS; |
| 59 | 59 | BOOL isStereo; |
| 60 | | |
| 60 | | |
| 61 | 61 | BOOL isVector; |
| 62 | 62 | BOOL usesRoms; |
| 63 | 63 | BOOL usesSamples; |
| r4962 | r4963 | |
| 334 | 334 | return FALSE; |
| 335 | 335 | } |
| 336 | 336 | |
| 337 | int numberOfScreens(const machine_config *config) | |
| 338 | { | |
| 339 | const device_config *screen = video_screen_first(config); | |
| 340 | int i=0; | |
| 341 | for (; screen != NULL; screen = video_screen_next(screen)) { | |
| 342 | i++; | |
| 343 | } | |
| 344 | return i; | |
| 345 | } | |
| 346 | ||
| 347 | ||
| 348 | ||
| 337 | 349 | int numberOfSpeakers(const machine_config *config) |
| 338 | 350 | { |
| 339 | 351 | int speakers = speaker_output_count(config); |
| r4962 | r4963 | |
| 388 | 400 | num_speakers = numberOfSpeakers(config); |
| 389 | 401 | |
| 390 | 402 | gameinfo->isStereo = (num_speakers > 1); |
| 391 | //gameinfo->isMultiMon = ((drv.video_attributes & VIDEO_DUAL_MONITOR) != 0); | |
| 392 | // Was removed from Core | |
| 393 | gameinfo->isMultiMon = 0; | |
| 403 | gameinfo->screenCount = numberOfScreens(config); | |
| 394 | 404 | gameinfo->isVector = isDriverVector(config); // ((drv.video_attributes & VIDEO_TYPE_VECTOR) != 0); |
| 395 | 405 | gameinfo->usesRoms = FALSE; |
| 396 | 406 | for (source = rom_first_source(gamedrv, config); source != NULL; source = rom_next_source(gamedrv, config, source)) |
| r4962 | r4963 | |
| 420 | 430 | samplenames = ((const samples_interface *)sound->static_config)->samplenames; |
| 421 | 431 | #endif |
| 422 | 432 | } |
| 423 | } | |
| 424 | 433 | |
| 425 | if (samplenames != 0 && samplenames[0] != 0) | |
| 426 | { | |
| 427 | gameinfo->usesSamples = TRUE; | |
| 428 | break; | |
| 434 | if (samplenames != 0 && samplenames[0] != 0) | |
| 435 | { | |
| 436 | gameinfo->usesSamples = TRUE; | |
| 437 | break; | |
| 438 | } | |
| 429 | 439 | } |
| 430 | 440 | } |
| 431 | 441 | /* Free the structure */ |
| r4962 | r4963 | |
| 497 | 507 | { |
| 498 | 508 | return GetDriversInfo(driver_index)->isStereo; |
| 499 | 509 | } |
| 500 | BOOL DriverIsMultiMon(int driver_index) | |
| 510 | ||
| 511 | int DriverNumScreens(int driver_index) | |
| 501 | 512 | { |
| 502 | return GetDriversInfo(driver_index)-> | |
| 513 | return GetDriversInfo(driver_index)-> | |
| 503 | 514 | } |
| 504 | 515 | |
| 505 | 516 | BOOL DriverIsVector(int driver_index) |
| r4962 | r4963 | |
|---|---|---|
| 489 | 489 | SetNumOptionFolders(k-1); |
| 490 | 490 | } |
| 491 | 491 | |
| 492 | void CreateScreenFolders(int parent_index) | |
| 493 | { | |
| 494 | int i,jj, k=0; | |
| 495 | int nGames = driver_list_get_count(drivers); | |
| 496 | int start_folder = numFolders; | |
| 497 | LPTREEFOLDER lpFolder = treeFolders[parent_index]; | |
| 498 | ||
| 499 | // no games in top level folder | |
| 500 | SetAllBits(lpFolder->m_lpGameBits,FALSE); | |
| 501 | for (jj = 0; jj < nGames; jj++) | |
| 502 | { | |
| 503 | int screens = DriverNumScreens(jj); | |
| 504 | char s[2]; | |
| 505 | itoa(screens, s, 10); | |
| 506 | ||
| 507 | // look for an existant screens treefolder for this game | |
| 508 | // (likely to be the previous one, so start at the end) | |
| 509 | for (i=numFolders-1;i>=start_folder;i--) | |
| 510 | { | |
| 511 | if (strcmp(treeFolders[i]->m_lpTitle,s) == 0) | |
| 512 | { | |
| 513 | AddGame(treeFolders[i],jj); | |
| 514 | break; | |
| 515 | } | |
| 516 | } | |
| 517 | if (i == start_folder-1) | |
| 518 | { | |
| 519 | // nope, it's a screen file we haven't seen before, make it. | |
| 520 | LPTREEFOLDER lpTemp; | |
| 521 | lpTemp = NewFolder(s, next_folder_id, parent_index, IDI_FOLDER, | |
| 522 | GetFolderFlags(numFolders)); | |
| 523 | ExtraFolderData[next_folder_id] = malloc(sizeof(EXFOLDERDATA) ); | |
| 524 | memset(ExtraFolderData[next_folder_id], 0, sizeof(EXFOLDERDATA)); | |
| 525 | ||
| 526 | ExtraFolderData[next_folder_id]->m_nFolderId = next_folder_id; | |
| 527 | ExtraFolderData[next_folder_id]->m_nIconId = IDI_SOURCE; | |
| 528 | ExtraFolderData[next_folder_id]->m_nParent = lpFolder->m_nFolderId; | |
| 529 | ExtraFolderData[next_folder_id]->m_nSubIconId = -1; | |
| 530 | strcpy( ExtraFolderData[next_folder_id]->m_szTitle, s ); | |
| 531 | ExtraFolderData[next_folder_id]->m_dwFlags = 0; | |
| 532 | ||
| 533 | // Increment next_folder_id here in case code is added above | |
| 534 | next_folder_id++; | |
| 535 | ||
| 536 | AddFolder(lpTemp); | |
| 537 | AddGame(lpTemp,jj); | |
| 538 | } | |
| 539 | } | |
| 540 | SetNumOptionFolders(k-1); | |
| 541 | } | |
| 542 | ||
| 543 | ||
| 492 | 544 | void CreateManufacturerFolders(int parent_index) |
| 493 | 545 | { |
| 494 | 546 | int i,jj; |
| r4962 | r4963 | |
| 1427 | 1479 | * of FOLDER_SOURCE. |
| 1428 | 1480 | */ |
| 1429 | 1481 | static BOOL FolderHasIni(LPTREEFOLDER lpFolder) { |
| 1430 | if (FOLDER_VECTOR == lpFolder->m_nFolderId) { | |
| 1482 | if (FOLDER_VECTOR == lpFolder->m_nFolderId || | |
| 1483 | FOLDER_VERTICAL == lpFolder->m_nFolderId || | |
| 1484 | FOLDER_HORIZONTAL == lpFolder->m_nFolderId) { | |
| 1431 | 1485 | return TRUE; |
| 1432 | 1486 | } |
| 1433 | 1487 | if (lpFolder->m_nParent != -1 |
| r4962 | r4963 | |
|---|---|---|
| 42 | 42 | BOOL DriverIsHarddisk(int driver_index); |
| 43 | 43 | BOOL DriverHasOptionalBIOS(int driver_index); |
| 44 | 44 | BOOL DriverIsStereo(int driver_index); |
| 45 | BOOL DriverIsMultiMon(int driver_index); | |
| 46 | 45 | BOOL DriverIsVector(int driver_index); |
| 46 | int DriverNumScreens(int driver_index); | |
| 47 | 47 | BOOL DriverIsBios(int driver_index); |
| 48 | 48 | BOOL DriverUsesRoms(int driver_index); |
| 49 | 49 | BOOL DriverUsesSamples(int driver_index); |
| r4962 | r4963 | |
| 55 | 55 | |
| 56 | 56 | int isDriverVector(const machine_config *config); |
| 57 | 57 | int numberOfSpeakers(const machine_config *config); |
| 58 | int numberOfScreens(const machine_config *config); | |
| 58 | 59 | |
| 59 | 60 | void FlushFileCaches(void); |
| 60 | 61 |
| r4962 | r4963 | |
|---|---|---|
| 35 | 35 | program ini (executable root filename ini) |
| 36 | 36 | debug ini (if running a debug build) |
| 37 | 37 | vector ini (really is vector.ini!) |
| 38 | vertical ini (really is vertical.ini!) | |
| 39 | horizont ini (really is horizont.ini!) | |
| 38 | 40 | driver ini (source code root filename in which this driver is found) |
| 39 | granparent ini (grandparent, not sure these exist, but it is possible) | |
| 41 | grandparent ini (grandparent, not sure these exist, but it is possible) | |
| 40 | 42 | parent ini (where parent is the name of the parent driver) |
| 41 | 43 | game ini (where game is the driver name for this game) |
| 42 | 44 | |
| r4962 | r4963 | |
| 250 | 252 | #define HIGHLIGHT_COLOR RGB(0,196,0) |
| 251 | 253 | static HBRUSH highlight_brush = NULL; |
| 252 | 254 | static HBRUSH background_brush = NULL; |
| 255 | ||
| 256 | #define ORIENTATION_COLOR RGB( 190, 128, 0) //LIGHT BROWN | |
| 253 | 257 | #define VECTOR_COLOR RGB( 190, 0, 0) //DARK RED |
| 254 | 258 | #define FOLDER_COLOR RGB( 0, 128, 0 ) // DARK GREEN |
| 255 | 259 | #define PARENT_COLOR RGB( 190, 128, 192 ) // PURPLE |
| r4962 | r4963 | |
| 515 | 519 | if (opt_type > OPTIONS_GLOBAL) |
| 516 | 520 | { |
| 517 | 521 | default_type -= 1; |
| 522 | if (OPTIONS_VERTICAL == opt_type) { | |
| 523 | //since VERTICAL and HORIZONTAL are equally ranked | |
| 524 | //we need to subtract 2 from vertical to also get to correct default | |
| 525 | default_type -= 1; | |
| 526 | } | |
| 527 | ||
| 518 | 528 | } |
| 519 | 529 | pDefaultOpts = load_options(default_type, game_num); |
| 520 | 530 | |
| r4962 | r4963 | |
| 562 | 572 | t_description = tstring_from_utf8(ModifyThe(drivers[g_nGame]->description)); |
| 563 | 573 | break; |
| 564 | 574 | case OPTIONS_VECTOR: |
| 575 | case OPTIONS_VERTICAL: | |
| 576 | case OPTIONS_HORIZONTAL: | |
| 565 | 577 | case OPTIONS_SOURCE: |
| 566 | 578 | t_description = tstring_from_utf8(GetFolderNameByID(g_nFolder)); |
| 567 | 579 | break; |
| r4962 | r4963 | |
| 708 | 720 | { |
| 709 | 721 | static char buf[1024]; |
| 710 | 722 | machine_config *config = machine_config_alloc(drivers[nIndex]->machine_config); |
| 723 | memset(buf, '\0', 1024); | |
| 711 | 724 | |
| 712 | 725 | if (isDriverVector(config)) |
| 713 | 726 | { |
| r4962 | r4963 | |
| 716 | 729 | else |
| 717 | 730 | { |
| 718 | 731 | const device_config *screen = video_screen_first(config); |
| 732 | if (screen == NULL) { | |
| 733 | strcpy(buf, "Screenless Game"); | |
| 734 | } | |
| 735 | else { | |
| 736 | for (; screen != NULL; screen = video_screen_next(screen)) { | |
| 737 | const screen_config *scrconfig = screen->inline_config; | |
| 738 | char tmpbuf[256]; | |
| 719 | 739 | |
| 720 | if (screen != NULL) | |
| 721 | { | |
| 722 | const screen_config *scrconfig = screen->inline_config; | |
| 723 | ||
| 724 | if (drivers[nIndex]->flags & ORIENTATION_SWAP_XY) | |
| 725 | { | |
| 726 | sprintf(buf,"%d x %d (V) %f Hz", | |
| 727 | scrconfig->visarea.max_y - scrconfig->visarea.min_y + 1, | |
| 728 | scrconfig->visarea.max_x - scrconfig->visarea.min_x + 1, | |
| 729 | ATTOSECONDS_TO_HZ(scrconfig->refresh)); | |
| 730 | } | |
| 731 | else | |
| 732 | { | |
| 733 | sprintf(buf,"%d x %d (H) %f Hz", | |
| 734 | scrconfig->visarea.max_x - scrconfig->visarea.min_x + 1, | |
| 740 | if (drivers[nIndex]->flags & ORIENTATION_SWAP_XY) | |
| 741 | { | |
| 742 | sprintf(tmpbuf,"%d x %d (V) %f Hz\n", | |
| 735 | 743 | scrconfig->visarea.max_y - scrconfig->visarea.min_y + 1, |
| 736 | ATTOSECONDS_TO_HZ(scrconfig->refresh)); | |
| 744 | scrconfig->visarea.max_x - scrconfig->visarea.min_x + 1, | |
| 745 | ATTOSECONDS_TO_HZ(scrconfig->refresh)); | |
| 746 | } else { | |
| 747 | sprintf(tmpbuf,"%d x %d (H) %f Hz\n", | |
| 748 | scrconfig->visarea.max_x - scrconfig->visarea.min_x + 1, | |
| 749 | scrconfig->visarea.max_y - scrconfig->visarea.min_y + 1, | |
| 750 | ATTOSECONDS_TO_HZ(scrconfig->refresh)); | |
| 751 | } | |
| 752 | strcat(buf, tmpbuf); | |
| 737 | 753 | } |
| 738 | 754 | } |
| 739 | 755 | } |
| r4962 | r4963 | |
| 948 | 964 | |
| 949 | 965 | if (OPTIONS_GLOBAL == opt_type) |
| 950 | 966 | strcpy(buf, "Global game options\nDefault options used by all games"); |
| 951 | else if (OPTIONS_SOURCE == opt_type || OPTIONS_VECTOR == opt_type) | |
| 967 | else if (OPTIONS_SOURCE == opt_type || OPTIONS_VECTOR == opt_type || | |
| 968 | OPTIONS_VERTICAL == opt_type || OPTIONS_HORIZONTAL == opt_type) | |
| 952 | 969 | strcpy(buf, "Global folder options\nDefault options used by all games in the folder"); |
| 953 | 970 | else |
| 954 | 971 | sprintf(buf, "%s\n\"%s\"", ModifyThe(drivers[nIndex]->description), drivers[nIndex]->name); |
| r4962 | r4963 | |
| 1334 | 1351 | } |
| 1335 | 1352 | } |
| 1336 | 1353 | break; |
| 1354 | ||
| 1337 | 1355 | #if 0 |
| 1338 | /* FIXME - Not sure what to do here. */ | |
| 1356 | /* FIXME | |
| 1357 | * We need to figure out in which ini of our hierarchy the current value is set, then apply the corresponding colouring. | |
| 1358 | * Is there an easy way to figure this out? | |
| 1359 | * The actual colour coding should still work | |
| 1360 | */ | |
| 1339 | 1361 | case WM_CTLCOLORSTATIC : |
| 1340 | 1362 | case WM_CTLCOLOREDIT : |
| 1341 | ||
| 1342 | if( g_nGame >= 0 ) | |
| 1343 | 1363 | { |
| 1344 | if( DriverIsClone(g_nGame) ) | |
| 1364 | int nParentIndex = 0; | |
| 1365 | if( g_nGame >= 0 ) | |
| 1345 | 1366 | { |
| 1346 | nParentIndex = GetParentIndex( drivers[g_nGame] ); | |
| 1367 | if( DriverIsClone(g_nGame) ) | |
| 1368 | { | |
| 1369 | nParentIndex = GetParentIndex( drivers[g_nGame] ); | |
| 1370 | } | |
| 1347 | 1371 | } |
| 1348 | } | |
| 1349 | //Set the Coloring of the elements | |
| 1350 | if (GetWindowLong((HWND)lParam, GWL_ID) < 0) | |
| 1351 | break; | |
| 1352 | if (IsControlOptionValue(hDlg,(HWND)lParam, GetDefaultOptions( -1, FALSE) ) ) | |
| 1353 | { | |
| 1354 | //Normal Black case | |
| 1355 | SetTextColor((HDC)wParam,COLOR_WINDOWTEXT); | |
| 1356 | } | |
| 1357 | else if (IsControlOptionValue(hDlg,(HWND)lParam, GetVectorOptions() ) && DriverIsVector(g_nFolderGame) ) | |
| 1358 | { | |
| 1359 | SetTextColor((HDC)wParam,VECTOR_COLOR); | |
| 1360 | } | |
| 1361 | else if (IsControlOptionValue(hDlg,(HWND)lParam, GetSourceOptions(g_nFolderGame ) ) ) | |
| 1362 | { | |
| 1363 | SetTextColor((HDC)wParam,FOLDER_COLOR); | |
| 1364 | } | |
| 1365 | else if ((nParentIndex >=0) && (IsControlOptionValue(hDlg,(HWND)lParam, GetGameOptions(nParentIndex, g_nFolder ) ) ) ) | |
| 1366 | { | |
| 1367 | SetTextColor((HDC)wParam,PARENT_COLOR); | |
| 1368 | } | |
| 1369 | // else if ( (g_nGame >= 0) && (IsControlOptionValue(hDlg,(HWND)lParam, GetGameOptions(g_nGame, g_nFolder) ) ) ) | |
| 1370 | else if ( (g_nGame >= 0) && (IsControlOptionValue(hDlg,(HWND)lParam, pOrigOpts ) ) ) | |
| 1371 | { | |
| 1372 | SetTextColor((HDC)wParam,GAME_COLOR); | |
| 1373 | } | |
| 1374 | else | |
| 1375 | { | |
| 1376 | switch ( g_nPropertyMode ) | |
| 1372 | //Set the Coloring of the elements | |
| 1373 | if (GetWindowLong((HWND)lParam, GWL_ID) < 0) { | |
| 1374 | break; | |
| 1375 | } | |
| 1376 | if (IsControlOptionValue(hDlg,(HWND)lParam, GetDefaultOptions( -1, FALSE) ) ) | |
| 1377 | 1377 | { |
| 1378 | case OPTIONS_GAME: | |
| 1379 | SetTextColor((HDC)wParam,GAME_COLOR); | |
| 1380 | break; | |
| 1381 | case OPTIONS_SOURCE: | |
| 1382 | SetTextColor((HDC)wParam,FOLDER_COLOR); | |
| 1383 | break; | |
| 1384 | case OPTIONS_VECTOR: | |
| 1385 | SetTextColor((HDC)wParam,VECTOR_COLOR); | |
| 1386 | break; | |
| 1387 | default: | |
| 1388 | case OPTIONS_GLOBAL: | |
| 1389 | SetTextColor((HDC)wParam,COLOR_WINDOWTEXT); | |
| 1390 | break; | |
| 1378 | //Normal Black case | |
| 1379 | SetTextColor((HDC)wParam,COLOR_WINDOWTEXT); | |
| 1391 | 1380 | } |
| 1392 | } | |
| 1393 | if( Msg == WM_CTLCOLORSTATIC ) | |
| 1394 | { | |
| 1395 | if (SafeIsAppThemed()) | |
| 1381 | else if (IsControlOptionValue(hDlg,(HWND)lParam, GetHorizontalOptions() ) && !DriverIsVertical(g_nFolderGame) ) | |
| 1396 | 1382 | { |
| 1397 | HWND hWnd = PropSheet_GetTabControl(GetParent(hDlg)); | |
| 1398 | // Set the background mode to transparent | |
| 1399 | SetBkMode((HDC)wParam, TRANSPARENT); | |
| 1383 | SetTextColor((HDC)wParam,ORIENTATION_COLOR); | |
| 1384 | } | |
| 1385 | else if (IsControlOptionValue(hDlg,(HWND)lParam, GetVerticalOptions() ) && DriverIsVertical(g_nFolderGame) ) | |
| 1386 | { | |
| 1387 | SetTextColor((HDC)wParam,ORIENTATION_COLOR); | |
| 1388 | } | |
| 1389 | else if (IsControlOptionValue(hDlg,(HWND)lParam, GetVectorOptions() ) && DriverIsVector(g_nFolderGame) ) | |
| 1390 | { | |
| 1391 | SetTextColor((HDC)wParam,VECTOR_COLOR); | |
| 1392 | } | |
| 1393 | else if (IsControlOptionValue(hDlg,(HWND)lParam, GetSourceOptions(g_nFolderGame ) ) ) | |
| 1394 | { | |
| 1395 | SetTextColor((HDC)wParam,FOLDER_COLOR); | |
| 1396 | } | |
| 1397 | else if ((nParentIndex >=0) && (IsControlOptionValue(hDlg,(HWND)lParam, GetGameOptions(nParentIndex, g_nFolder ) ) ) ) | |
| 1398 | { | |
| 1399 | SetTextColor((HDC)wParam,PARENT_COLOR); | |
| 1400 | } | |
| 1401 | else if ( (g_nGame >= 0) && (IsControlOptionValue(hDlg,(HWND)lParam, pOrigOpts ) ) ) | |
| 1402 | { | |
| 1403 | SetTextColor((HDC)wParam,GAME_COLOR); | |
| 1404 | } | |
| 1405 | else | |
| 1406 | { | |
| 1407 | switch ( g_nPropertyMode ) | |
| 1408 | { | |
| 1409 | case OPTIONS_GAME: | |
| 1410 | SetTextColor((HDC)wParam,GAME_COLOR); | |
| 1411 | break; | |
| 1412 | case OPTIONS_SOURCE: | |
| 1413 | SetTextColor((HDC)wParam,FOLDER_COLOR); | |
| 1414 | break; | |
| 1415 | case OPTIONS_VECTOR: | |
| 1416 | SetTextColor((HDC)wParam,VECTOR_COLOR); | |
| 1417 | break; | |
| 1418 | case OPTIONS_HORIZONTAL: | |
| 1419 | SetTextColor((HDC)wParam,ORIENTATION_COLOR); | |
| 1420 | break; | |
| 1421 | case OPTIONS_VERTICAL: | |
| 1422 | SetTextColor((HDC)wParam,ORIENTATION_COLOR); | |
| 1423 | break; | |
| 1424 | default: | |
| 1425 | case OPTIONS_GLOBAL: | |
| 1426 | SetTextColor((HDC)wParam,COLOR_WINDOWTEXT); | |
| 1427 | break; | |
| 1428 | } | |
| 1429 | } | |
| 1430 | if( Msg == WM_CTLCOLORSTATIC ) | |
| 1431 | { | |
| 1432 | if (SafeIsAppThemed()) | |
| 1433 | { | |
| 1434 | RECT rc; | |
| 1435 | HWND hWnd = PropSheet_GetTabControl(GetParent(hDlg)); | |
| 1436 | // Set the background mode to transparent | |
| 1437 | SetBkMode((HDC)wParam, TRANSPARENT); | |
| 1400 | 1438 | |
| 1401 | // Get the controls window dimensions | |
| 1402 | GetWindowRect((HWND)lParam, &rc); | |
| 1439 | // Get the controls window dimensions | |
| 1440 | GetWindowRect((HWND)lParam, &rc); | |
| 1403 | 1441 | |
| 1404 | // Map the coordinates to coordinates with the upper left corner of dialog control as base | |
| 1405 | MapWindowPoints(NULL, hWnd, (LPPOINT)(&rc), 2); | |
| 1442 | // Map the coordinates to coordinates with the upper left corner of dialog control as base | |
| 1443 | MapWindowPoints(NULL, hWnd, (LPPOINT)(&rc), 2); | |
| 1406 | 1444 | |
| 1407 | // Adjust the position of the brush for this control (else we see the top left of the brush as background) | |
| 1408 | SetBrushOrgEx((HDC)wParam, -rc.left, -rc.top, NULL); | |
| 1445 | // Adjust the position of the brush for this control (else we see the top left of the brush as background) | |
| 1446 | SetBrushOrgEx((HDC)wParam, -rc.left, -rc.top, NULL); | |
| 1409 | 1447 | |
| 1410 | // Return the brush | |
| 1411 | return (INT_PTR)(hBkBrush); | |
| 1448 | // Return the brush | |
| 1449 | return (INT_PTR)(hBkBrush); | |
| 1450 | } | |
| 1451 | else | |
| 1452 | { | |
| 1453 | SetBkColor((HDC) wParam,GetSysColor(COLOR_3DFACE) ); | |
| 1454 | } | |
| 1412 | 1455 | } |
| 1413 | else | |
| 1414 | { | |
| 1415 | SetBkColor((HDC) wParam,GetSysColor(COLOR_3DFACE) ); | |
| 1456 | else { | |
| 1457 | SetBkColor((HDC)wParam,RGB(255,255,255) ); | |
| 1416 | 1458 | } |
| 1459 | UnrealizeObject(background_brush); | |
| 1460 | return (DWORD)background_brush; | |
| 1417 | 1461 | } |
| 1418 | else | |
| 1419 | SetBkColor((HDC)wParam,RGB(255,255,255) ); | |
| 1420 | UnrealizeObject(background_brush); | |
| 1421 | return (DWORD)background_brush; | |
| 1422 | 1462 | break; |
| 1423 | #endif | |
| 1463 | #endif | |
| 1424 | 1464 | |
| 1425 | 1465 | case WM_HELP: |
| 1426 | 1466 | /* User clicked the ? from the upper right on a control */ |
| r4962 | r4963 | |
| 2605 | 2645 | if (hCtrl) |
| 2606 | 2646 | { |
| 2607 | 2647 | const device_config *sound; |
| 2608 | f | |
| 2648 | if | |
| 2609 | 2649 | { |
| 2610 | if (sound_get_type(sound) == SOUND_SAMPLES | |
| 2650 | for (sound = sound_first(config); sound != NULL; sound = sound_next(sound)) | |
| 2651 | { | |
| 2652 | if (sound_get_type(sound) == SOUND_SAMPLES | |
| 2611 | 2653 | #if HAS_VLM5030 |
| 2612 | || sound_get_type(sound) == SOUND_VLM5030 | |
| 2654 | || sound_get_type(sound) == SOUND_VLM5030 | |
| 2613 | 2655 | #endif |
| 2614 | ) | |
| 2615 | { | |
| 2616 | enabled = TRUE; | |
| 2656 | ) | |
| 2657 | { | |
| 2658 | enabled = TRUE; | |
| 2659 | } | |
| 2617 | 2660 | } |
| 2618 | 2661 | } |
| 2619 | 2662 |
| r4962 | r4963 | |
|---|---|---|
| 398 | 398 | // peripherals |
| 399 | 399 | static void recalc_8bit_timer(h83xx_state *h8, int t) |
| 400 | 400 | { |
| 401 | static INT32 dividers[8] = { 0, 0, 8, 2, 64, 32, 1024, 256 }; | |
| 401 | static const INT32 dividers[8] = { 0, 0, 8, 2, 64, 32, 1024, 256 }; | |
| 402 | 402 | int div; |
| 403 | 403 | INT32 time; |
| 404 | 404 | |
| r4962 | r4963 | |
| 428 | 428 | // IRQs: timer 0: 19 A 20 B 21 OV timer1: 22 A 23 B 24 OV |
| 429 | 429 | static void timer_8bit_expire(h83xx_state *h8, int t, int sel) |
| 430 | 430 | { |
| 431 | static int irqbase[2] = { 19, 22 }; | |
| 431 | static const int irqbase[2] = { 19, 22 }; | |
| 432 | 432 | |
| 433 | 433 | timer_adjust_oneshot(h8->timer[(t*2)+sel], attotime_never, 0); |
| 434 | 434 | |
| r4962 | r4963 | |
| 512 | 512 | UINT8 val; |
| 513 | 513 | UINT8 reg; |
| 514 | 514 | UINT64 frc; |
| 515 | static UINT64 divider[4] = { 2, 8, 32, 1 }; | |
| 515 | static const UINT64 divider[4] = { 2, 8, 32, 1 }; | |
| 516 | 516 | h83xx_state *h8 = (h83xx_state *)space->cpu->token; |
| 517 | 517 | |
| 518 | 518 | reg = (offset + 0x88) & 0xff; |
| r4962 | r4963 | |
|---|---|---|
| 303 | 303 | } |
| 304 | 304 | } |
| 305 | 305 | |
| 306 | static void m37710_recalc_timer(m37710i_cpu_struct *cpustate, | |
| 306 | static void m37710_recalc_timer(m37710i_cpu_struct *cpustate, | |
| 307 | 307 | { |
| 308 | 308 | int tval; |
| 309 | 309 | static const int tcr[8] = { 0x56, 0x57, 0x58, 0x59, 0x5a, 0x5b, 0x5c, 0x5d }; |
| r4962 | r4963 | |
| 505 | 505 | if ((data & (1<<i)) && !(cpustate->m37710_regs[offset] & (1<<i))) |
| 506 | 506 | { |
| 507 | 507 | cpustate->m37710_regs[offset] |= (1<<i); |
| 508 | m37710_recalc_timer(cpustate, | |
| 508 | m37710_recalc_timer(cpustate, | |
| 509 | 509 | } |
| 510 | 510 | } |
| 511 | 511 |
| r4962 | r4963 | |
|---|---|---|
| 51 | 51 | int ppos[4]; |
| 52 | 52 | } pinf; |
| 53 | 53 | |
| 54 | ||
| 54 | ||
| 55 | 55 | { "a", 0, PA }, |
| 56 | 56 | { "c", 0, PC }, |
| 57 | 57 | { "d", 0, PD }, |
| r4962 | r4963 | |
| 82 | 82 | |
| 83 | 83 | enum { IxCMODE, IxDMODE, IxSFAI, IxCRM, IxDBP, IxSFAO, IxSFMO, IxRND, IxMOVM, IxSFMA, IxCOUNT }; |
| 84 | 84 | |
| 85 | static vinfo vinf[] = { | |
| 85 | static const vinfo vinf[] = { | |
| 86 | 86 | { I_CMODE, 3, "cmode", "xmode(opcode, 'c')" }, |
| 87 | 87 | { I_DMODE, 3, "dmode", "xmode(opcode, 'd')" }, |
| 88 | 88 | { I_SFAI, 2, "sfai", "sfai(s->st1)" }, |
| r4962 | r4963 | |
| 96 | 96 | { 0 } |
| 97 | 97 | }; |
| 98 | 98 | |
| 99 | static char *xstrdup(const char *str) | |
| 100 | { | |
| 101 | char *cpy = NULL; | |
| 102 | if (str != NULL) { | |
| 103 | cpy = (char *)malloc(strlen(str) + 1); | |
| 104 | if (cpy != NULL) | |
| 105 | strcpy(cpy, str); | |
| 106 | } | |
| 107 | return cpy; | |
| 108 | } | |
| 109 | ||
| 99 | 110 | static char *sconcat(char *dest, const char *src) |
| 100 | 111 | { |
| 101 | 112 | char *r; |
| r4962 | r4963 | |
| 156 | 167 | p = buf; |
| 157 | 168 | while(*p == ' ' || *p == '\t') |
| 158 | 169 | p++; |
| 159 | i->dasm = strdup(p); | |
| 170 | i->dasm = xstrdup(p); | |
| 160 | 171 | } |
| 161 | 172 | } else { |
| 162 | 173 | char *name=0, *cat=0, *id=0, *cyc=0, *rep=0, *type=0; |
| r4962 | r4963 | |
| 224 | 235 | exit(1); |
| 225 | 236 | } |
| 226 | 237 | |
| 227 | i->name = strdup(name); | |
| 238 | i->name = xstrdup(name); | |
| 228 | 239 | i->line = line; |
| 229 | 240 | i->cycles = strtol(cyc, 0, 10); |
| 230 | 241 | i->flags = flags; |
| r4962 | r4963 | |
| 399 | 410 | |
| 400 | 411 | static void save_dasm_cat(FILE *f, const char *def, instr *il, int count) |
| 401 | 412 | { |
| 402 | | |
| 413 | | |
| 403 | 414 | { "c", 0, PC }, |
| 404 | 415 | { "d", 0, PD }, |
| 405 | 416 | { "i", 0, PI }, |
| r4962 | r4963 | |
|---|---|---|
| 610 | 610 | |
| 611 | 611 | /* These two functions are exposed to the outside world */ |
| 612 | 612 | /* They represent the host side of the dsp56k's host interface */ |
| 613 | void dsp56k_host_interface_write(device_config* device, UINT8 offset, UINT8 data) | |
| 613 | void dsp56k_host_interface_write(const device_config* device, UINT8 offset, UINT8 data) | |
| 614 | 614 | { |
| 615 | 615 | dsp56k_core* cpustate = get_safe_token(device); |
| 616 | 616 | |
| r4962 | r4963 | |
| 706 | 706 | } |
| 707 | 707 | } |
| 708 | 708 | |
| 709 | UINT8 dsp56k_host_interface_read(device_config* device, UINT8 offset) | |
| 709 | UINT8 dsp56k_host_interface_read(const device_config* device, UINT8 offset) | |
| 710 | 710 | { |
| 711 | 711 | dsp56k_core* cpustate = get_safe_token(device); |
| 712 | 712 | |
| r4962 | r4963 | |
| 934 | 934 | |
| 935 | 935 | |
| 936 | 936 | /* MISC*/ |
| 937 | UINT16 dsp56k_get_peripheral_memory(device_config* device, UINT16 addr) | |
| 937 | UINT16 dsp56k_get_peripheral_memory(const device_config* device, UINT16 addr) | |
| 938 | 938 | { |
| 939 | 939 | // TODO // THIS COMES BACK dsp56k_core* cpustate = get_safe_token(device); |
| 940 | 940 | return dsp56k_peripheral_ram[A2O(addr)]; |
| r4962 | r4963 | |
|---|---|---|
| 243 | 243 | PUBLIC FUNCTIONS |
| 244 | 244 | ***************************************************************************/ |
| 245 | 245 | |
| 246 | void dsp56k_host_interface_write(device_config* device, UINT8 offset, UINT8 data); | |
| 247 | UINT8 dsp56k_host_interface_read(device_config* device, UINT8 offset); | |
| 246 | void dsp56k_host_interface_write(const device_config* device, UINT8 offset, UINT8 data); | |
| 247 | UINT8 dsp56k_host_interface_read(const device_config* device, UINT8 offset); | |
| 248 | 248 | |
| 249 | UINT16 dsp56k_get_peripheral_memory(device_config* device, UINT16 addr); | |
| 249 | UINT16 dsp56k_get_peripheral_memory(const device_config* device, UINT16 addr); | |
| 250 | 250 | |
| 251 | 251 | #endif /* __DSP56K_H__ */ |
| r4962 | r4963 | |
|---|---|---|
| 107 | 107 | //static void SE_bit_set(dsp56k_core* cpustate, UINT8 value) {}; |
| 108 | 108 | |
| 109 | 109 | |
| 110 | UINT8 dsp56k_operating_mode(dsp56k_core* cpustate) | |
| 110 | static UINT8 dsp56k_operating_mode(dsp56k_core* cpustate) | |
| 111 | 111 | { |
| 112 | 112 | return ((MB_bit(cpustate) << 1) | MA_bit(cpustate)); |
| 113 | 113 | } |
| r4962 | r4963 | |
|---|---|---|
| 2961 | 2961 | So we only represent the PFAM table and use a special flag on any entry |
| 2962 | 2962 | where the PFMAM table would use the M pipe rather than the A pipe. |
| 2963 | 2963 | Also, entry 16 is not valid for PFMAM. */ |
| 2964 | static struct | |
| 2964 | static const struct | |
| 2965 | 2965 | { |
| 2966 | 2966 | int M_unit_op1; |
| 2967 | 2967 | int M_unit_op2; |
| r4962 | r4963 | |
| 4083 | 4083 | |
| 4084 | 4084 | |
| 4085 | 4085 | /* First-level decode table (i.e., for the 6 primary opcode bits). */ |
| 4086 | static decode_tbl_t decode_tbl[64] = { | |
| 4086 | static const decode_tbl_t decode_tbl[64] = { | |
| 4087 | 4087 | /* A slight bit of decoding for loads and stores is done in the |
| 4088 | 4088 | execution routines (operand size and addressing mode), which |
| 4089 | 4089 | is why their respective entries are identical. */ |
| r4962 | r4963 | |
| 4155 | 4155 | |
| 4156 | 4156 | |
| 4157 | 4157 | /* Second-level decode table (i.e., for the 3 core escape opcode bits). */ |
| 4158 | static decode_tbl_t core_esc_decode_tbl[8] = { | |
| 4158 | static const decode_tbl_t core_esc_decode_tbl[8] = { | |
| 4159 | 4159 | { 0, 0}, |
| 4160 | 4160 | { 0, 0}, /* lock (FIXME: unimplemented). */ |
| 4161 | 4161 | { insn_calli, DEC_DECODED}, /* calli isrc1ni. */ |
| r4962 | r4963 | |
| 4168 | 4168 | |
| 4169 | 4169 | |
| 4170 | 4170 | /* Second-level decode table (i.e., for the 7 FP extended opcode bits). */ |
| 4171 | static decode_tbl_t fp_decode_tbl[128] = { | |
| 4171 | static const decode_tbl_t fp_decode_tbl[128] = { | |
| 4172 | 4172 | /* Floating point instructions. The least significant 7 bits are |
| 4173 | 4173 | the (extended) opcode and bits 10:7 are P,D,S,R respectively |
| 4174 | 4174 | ([p]ipelined, [d]ual, [s]ource prec., [r]esult prec.). |
| r4962 | r4963 | |
|---|---|---|
| 388 | 388 | |
| 389 | 389 | |
| 390 | 390 | /* First-level decode table (i.e., for the 6 primary opcode bits). */ |
| 391 | static decode_tbl_t decode_tbl[64] = | |
| 391 | static const decode_tbl_t decode_tbl[64] = | |
| 392 | 392 | { |
| 393 | 393 | /* A slight bit of decoding for loads and stores is done in the |
| 394 | 394 | execution routines (operand size and addressing mode), which |
| r4962 | r4963 | |
| 461 | 461 | |
| 462 | 462 | |
| 463 | 463 | /* Second-level decode table (i.e., for the 3 core escape opcode bits). */ |
| 464 | static decode_tbl_t core_esc_decode_tbl[8] = | |
| 464 | static const decode_tbl_t core_esc_decode_tbl[8] = | |
| 465 | 465 | { |
| 466 | 466 | { 0, 0 , 0 }, |
| 467 | 467 | { int_0, DEC_DECODED, "lock" }, /* lock. */ |
| r4962 | r4963 | |
| 475 | 475 | |
| 476 | 476 | |
| 477 | 477 | /* Second-level decode table (i.e., for the 7 FP extended opcode bits). */ |
| 478 | static decode_tbl_t fp_decode_tbl[128] = | |
| 478 | static const decode_tbl_t fp_decode_tbl[128] = | |
| 479 | 479 | { |
| 480 | 480 | /* Floating point instructions. The least significant 7 bits are |
| 481 | 481 | the (extended) opcode and bits 10:7 are P,D,S,R respectively |
| r4962 | r4963 | |
|---|---|---|
| 35 | 35 | }; |
| 36 | 36 | |
| 37 | 37 | |
| 38 | static const char *s_mnemonic[] = | |
| 38 | static const char *const s_mnemonic[] = | |
| 39 | 39 | { |
| 40 | 40 | "adc", "add", "and", "andcf", "bit", "bs1b", |
| 41 | 41 | "bs1f", "call", "calr", "ccf", "chg", "cp", |
| r4962 | r4963 | |
| 1358 | 1358 | |
| 1359 | 1359 | |
| 1360 | 1360 | |
| 1361 | static const char *s_reg8[8] = { "W", "A", "B", "C", "D", "E", "H", "L" }; | |
| 1362 | static const char *s_reg16[8] = { "WA", "BC", "DE", "HL", "IX", "IY", "IZ", "SP" }; | |
| 1363 | static const char *s_reg32[8] = { "XWA", "XBC", "XDE", "XHL", "XIX", "XIY", "XIZ", "XSP" }; | |
| 1364 | static const char *s_mulreg16[8] = { "??", "WA", "??", "BC", "??", "DE", "??", "HL" }; | |
| 1365 | static const char *s_allreg8[256] = | |
| 1361 | static const char *const s_reg8[8] = { "W", "A", "B", "C", "D", "E", "H", "L" }; | |
| 1362 | static const char *const s_reg16[8] = { "WA", "BC", "DE", "HL", "IX", "IY", "IZ", "SP" }; | |
| 1363 | static const char *const s_reg32[8] = { "XWA", "XBC", "XDE", "XHL", "XIX", "XIY", "XIZ", "XSP" }; | |
| 1364 | static const char *const s_mulreg16[8] = { "??", "WA", "??", "BC", "??", "DE", "??", "HL" }; | |
| 1365 | static const char *const s_allreg8[256] = | |
| 1366 | 1366 | { |
| 1367 | 1367 | "RA0" ,"RW0" ,"QA0" ,"QW0" ,"RC0" ,"RB0" ,"QC0" ,"QB0" ,"RE0" ,"RD0" ,"QE0" ,"QD0" ,"RL0" ,"RH0" ,"QL0" ,"QH0" , |
| 1368 | 1368 | "RA1" ,"RW1" ,"QA1" ,"QW1" ,"RC1" ,"RB1" ,"QC1" ,"QB1" ,"RE1" ,"RD1" ,"QE1" ,"QD1" ,"RL1" ,"RH1" ,"QL1" ,"QH1" , |
| r4962 | r4963 | |
| 1383 | 1383 | }; |
| 1384 | 1384 | |
| 1385 | 1385 | |
| 1386 | static const char *s_allreg16[256] = | |
| 1386 | static const char *const s_allreg16[256] = | |
| 1387 | 1387 | { |
| 1388 | 1388 | "RWA0","r01W","QWA0","r03W","RBC0","r05W","QBC0","r07W","RDE0","r09W","QDE0","r0BW","RHL0","r0DW","QHL0","r0FW", |
| 1389 | 1389 | "RWA1","r11W","QWA1","r13W","RBC1","r15W","QBC1","r17W","RDE1","r19W","QDE1","r1BW","RHL1","r1DW","QHL1","r1FW", |
| r4962 | r4963 | |
| 1404 | 1404 | }; |
| 1405 | 1405 | |
| 1406 | 1406 | |
| 1407 | static const char *s_allreg32[256] = | |
| 1407 | static const char *const s_allreg32[256] = | |
| 1408 | 1408 | { |
| 1409 | 1409 | "XWA0","XWA0","XWA0","r03L","XBC0","XBC0","XBC0","r07L","XDE0","XDE0","XDE0","r0BL","XHL0","XHL0","XHL0","r0FL", |
| 1410 | 1410 | "XWA1","XWA1","XWA1","r13L","XBC1","XBC1","XBC1","r17L","XDE1","XDE1","XDE1","r1BL","XHL1","XHL1","XHL1","r1FL", |
| r4962 | r4963 | |
| 1425 | 1425 | }; |
| 1426 | 1426 | |
| 1427 | 1427 | |
| 1428 | static const char *s_cond[16] = | |
| 1428 | static const char *const s_cond[16] = | |
| 1429 | 1429 | { |
| 1430 | 1430 | "F","LT","LE","ULE","PE/OV","M/MI","Z","C","T","GE","GT","UGT","PO/NOV","P/PL","NZ","NC" |
| 1431 | 1431 | }; |
| r4962 | r4963 | |
|---|---|---|
| 82 | 82 | fprintf(dasm, "%02X: %08X %s\n", i, opcode, string); |
| 83 | 83 | } |
| 84 | 84 | |
| 85 | fclose(dasm); | |
| 85 | fclose(disasm); | |
| 86 | 86 | } |
| 87 | 87 | } |
| 88 | 88 | #endif |
| r4962 | r4963 | |
| 186 | 186 | } |
| 187 | 187 | else |
| 188 | 188 | { |
| 189 | op = | |
| 189 | op = 0x0000e000; | |
| 190 | 190 | } |
| 191 | 191 | |
| 192 | 192 | switch (INSTR) |
| r4962 | r4963 | |
|---|---|---|
| 330 | 330 | static const UINT8 cc_xy[0x100] = { |
| 331 | 331 | 4, 4, 4, 4, 4, 4, 4, 4, 4,15, 4, 4, 4, 4, 4, 4, |
| 332 | 332 | 4, 4, 4, 4, 4, 4, 4, 4, 4,15, 4, 4, 4, 4, 4, 4, |
| 333 | 4,14,20,10, 9, 9, | |
| 333 | 4,14,20,10, 9, 9,11, 4, 4,15,20,10, 9, 9,11, 4, | |
| 334 | 334 | 4, 4, 4, 4,23,23,19, 4, 4,15, 4, 4, 4, 4, 4, 4, |
| 335 | 335 | 4, 4, 4, 4, 9, 9,19, 4, 4, 4, 4, 4, 9, 9,19, 4, |
| 336 | 336 | 4, 4, 4, 4, 9, 9,19, 4, 4, 4, 4, 4, 9, 9,19, 4, |
| r4962 | r4963 | |
| 3324 | 3324 | PUSH(z80, pc); |
| 3325 | 3325 | z80->PCD = irq_vector & 0x0038; |
| 3326 | 3326 | /* RST $xx + 2 cycles */ |
| 3327 | z80->icount -= z80->cc_op[ | |
| 3327 | z80->icount -= z80->cc_op[ | |
| 3328 | 3328 | break; |
| 3329 | 3329 | } |
| 3330 | 3330 | } |
| r4962 | r4963 | |
|---|---|---|
| 368 | 368 | return (val >> sel) & 1; |
| 369 | 369 | } |
| 370 | 370 | |
| 371 | INLINE int check_jmp(esrip_state *cpustate, | |
| 371 | INLINE int check_jmp(esrip_state *cpustate, | |
| 372 | 372 | { |
| 373 | 373 | int ret = 0; |
| 374 | 374 | |
| r4962 | r4963 | |
| 382 | 382 | /* T3 */ case 6: ret = BIT(cpustate->t, 2); break; |
| 383 | 383 | /* T4 */ case 1: ret = BIT(cpustate->t, 3); break; |
| 384 | 384 | /* /LBRM */ case 5: ret = !get_lbrm(cpustate); break; |
| 385 | /* /HBLANK */ case 3: ret = !get_hblank(machine); break; | |
| 385 | /* /HBLANK */ case 3: ret = !get_hblank(cpustate->device->machine); break; | |
| 386 | 386 | /* JMP */ case 7: ret = 0; break; |
| 387 | 387 | } |
| 388 | 388 | |
| r4962 | r4963 | |
| 1762 | 1762 | |
| 1763 | 1763 | if ((((cpustate->l5 >> 3) & 0x1f) & 0x18) != 0x18) |
| 1764 | 1764 | { |
| 1765 | if ( check_jmp(cpustate, | |
| 1765 | if ( check_jmp(cpustate, | |
| 1766 | 1766 | next_pc = cpustate->l1; |
| 1767 | 1767 | else |
| 1768 | 1768 | next_pc = cpustate->pc + 1; |
| r4962 | r4963 | |
|---|---|---|
| 127 | 127 | ; |
| 128 | 128 | } |
| 129 | 129 | |
| 130 | static void tx0_init_common( | |
| 130 | static void tx0_init_common( | |
| 131 | 131 | { |
| 132 | 132 | tx0_state *cpustate = get_safe_token(device); |
| 133 | 133 | |
| r4962 | r4963 | |
| 143 | 143 | |
| 144 | 144 | static CPU_INIT( tx0_64kw ) |
| 145 | 145 | { |
| 146 | tx0_init_common( | |
| 146 | tx0_init_common( | |
| 147 | 147 | } |
| 148 | 148 | |
| 149 | 149 | static CPU_INIT( tx0_8kw) |
| 150 | 150 | { |
| 151 | tx0_init_common( | |
| 151 | tx0_init_common( | |
| 152 | 152 | } |
| 153 | 153 | |
| 154 | 154 | static CPU_RESET( tx0 ) |
| r4962 | r4963 | |
|---|---|---|
| 507 | 507 | ***************************************************************************/ |
| 508 | 508 | |
| 509 | 509 | // CPU INIT |
| 510 | static void arm7_core_init(const | |
| 510 | static void arm7_core_init(const | |
| 511 | 511 | { |
| 512 | 512 | arm_state *cpustate = get_safe_token(device); |
| 513 | 513 |
| r4962 | r4963 | |
|---|---|---|
| 86 | 86 | arm_state *cpustate = get_safe_token(device); |
| 87 | 87 | |
| 88 | 88 | // must call core |
| 89 | arm7_core_init( | |
| 89 | arm7_core_init( | |
| 90 | 90 | |
| 91 | 91 | cpustate->irq_callback = irqcallback; |
| 92 | 92 | cpustate->device = device; |
| r4962 | r4963 | |
|---|---|---|
| 11 | 11 | |
| 12 | 12 | Typical usage is as follows: |
| 13 | 13 | |
| 14 | static const char | |
| 14 | static const char | |
| 15 | 15 | |
| 16 | 16 | // for a primary device.... |
| 17 | 17 | #define DEVTEMPLATE_ID(p,s) p##devicenameprefix##s |
| r4962 | r4963 | |
| 75 | 75 | #define DT_HAS_ROM_REGION 0x0080 |
| 76 | 76 | #define DT_HAS_MACHINE_CONFIG 0x0100 |
| 77 | 77 | #define DT_HAS_INLINE_CONFIG 0x0200 |
| 78 | #define DT_HAS_CONTRACT_LIST 0x0400 | |
| 78 | 79 | |
| 79 | 80 | |
| 80 | 81 | /* verify core stuff is specified */ |
| r4962 | r4963 | |
| 168 | 169 | #if ((DEVTEMPLATE_FEATURES) & DT_HAS_MACHINE_CONFIG) |
| 169 | 170 | case DEVINFO_PTR_MACHINE_CONFIG: info->machine_config = DEVTEMPLATE_ID(machine_config_,); break; |
| 170 | 171 | #endif |
| 172 | #if ((DEVTEMPLATE_FEATURES) & DT_HAS_CONTRACT_LIST) | |
| 173 | case DEVINFO_PTR_CONTRACT_LIST: info->contract_list = DEVTEMPLATE_ID(device_contract_list_,); break; | |
| 174 | #endif | |
| 171 | 175 | |
| 172 | 176 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 173 | 177 | #if ((DEVTEMPLATE_FEATURES) & DT_HAS_START) |
| r4962 | r4963 | |
| 240 | 244 | #if ((DEVTEMPLATE_DERIVED_FEATURES) & DT_HAS_MACHINE_CONFIG) |
| 241 | 245 | case DEVINFO_PTR_MACHINE_CONFIG: info->machine_config = DEVTEMPLATE_DERIVED_ID(machine_config_,); break; |
| 242 | 246 | #endif |
| 247 | #if ((DEVTEMPLATE_DERIVED_FEATURES) & DT_HAS_CONTRACT_LIST) | |
| 248 | case DEVINFO_PTR_CONTRACT_LIST: info->contract_list = DEVTEMPLATE_DERIVED_ID(contract_list_,); break; | |
| 249 | #endif | |
| 243 | 250 | |
| 244 | 251 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 245 | 252 | #if ((DEVTEMPLATE_DERIVED_FEATURES) & DT_HAS_START) |
| r4962 | r4963 | |
|---|---|---|
| 100 | 100 | /* |
| 101 | 101 | ** Forward declarations of internal functions. |
| 102 | 102 | */ |
| 103 | static void draw_mode0 (running_machine *machine, bitmap_t *bitmap, const rectangle *cliprect); | |
| 104 | static void draw_mode1 (running_machine *machine, bitmap_t *bitmap, const rectangle *cliprect); | |
| 105 | static void draw_mode2 (running_machine *machine, bitmap_t *bitmap, const rectangle *cliprect); | |
| 106 | static void draw_mode12 (running_machine *machine, bitmap_t *bitmap, const rectangle *cliprect); | |
| 107 | static void draw_mode3 (running_machine *machine, bitmap_t *bitmap, const rectangle *cliprect); | |
| 108 | static void draw_mode23 (running_machine *machine, bitmap_t *bitmap, const rectangle *cliprect); | |
| 109 | static void draw_modebogus (running_machine *machine, bitmap_t *bitmap, const rectangle *cliprect); | |
| 110 | static void draw_sprites (running_machine *machine, bitmap_t *bitmap, const rectangle *cliprect); | |
| 103 | static void draw_mode0 (const device_config *screen, bitmap_t *bitmap, const rectangle *cliprect); | |
| 104 | static void draw_mode1 (const device_config *screen, bitmap_t *bitmap, const rectangle *cliprect); | |
| 105 | static void draw_mode2 (const device_config *screen, bitmap_t *bitmap, const rectangle *cliprect); | |
| 106 | static void draw_mode12 (const device_config *screen, bitmap_t *bitmap, const rectangle *cliprect); | |
| 107 | static void draw_mode3 (const device_config *screen, bitmap_t *bitmap, const rectangle *cliprect); | |
| 108 | static void draw_mode23 (const device_config *screen, bitmap_t *bitmap, const rectangle *cliprect); | |
| 109 | static void draw_modebogus (const device_config *screen, bitmap_t *bitmap, const rectangle *cliprect); | |
| 110 | static void draw_sprites (const device_config *screen, bitmap_t *bitmap, const rectangle *cliprect); | |
| 111 | 111 | static void change_register (running_machine *machine, int reg, UINT8 data); |
| 112 | 112 | |
| 113 | static void (*const ModeHandlers[])( | |
| 113 | static void (*const ModeHandlers[])(const device_ | |
| 114 | 114 | draw_mode0, draw_mode1, draw_mode2, draw_mode12, |
| 115 | 115 | draw_mode3, draw_modebogus, draw_mode23, |
| 116 | 116 | draw_modebogus }; |
| r4962 | r4963 | |
| 403 | 403 | bitmap_fill(bitmap, cliprect, screen->machine->pens[BackColour]); |
| 404 | 404 | else |
| 405 | 405 | { |
| 406 | (*ModeHandlers[TMS_MODE])(screen | |
| 406 | (*ModeHandlers[TMS_MODE])(screen | |
| 407 | 407 | |
| 408 | 408 | copybitmap(bitmap, tms.tmpbmp, 0, 0, LEFT_BORDER, TOP_BORDER, cliprect); |
| 409 | 409 | { |
| r4962 | r4963 | |
| 421 | 421 | bitmap_fill (bitmap, &rt, BackColour); |
| 422 | 422 | rt.min_x = LEFT_BORDER+256; rt.max_x = LEFT_BORDER+256+RIGHT_BORDER-1; |
| 423 | 423 | bitmap_fill (bitmap, &rt, BackColour); |
| 424 | ||
| 424 | } | |
| 425 | 425 | if (TMS_SPRITES_ENABLED) |
| 426 | draw_sprites(screen | |
| 426 | draw_sprites(screen | |
| 427 | 427 | } |
| 428 | 428 | |
| 429 | 429 | return 0; |
| r4962 | r4963 | |
| 449 | 449 | return b; |
| 450 | 450 | } |
| 451 | 451 | |
| 452 | static void draw_mode1 ( | |
| 452 | static void draw_mode1 (const device_ | |
| 453 | 453 | int pattern,x,y,yy,xx,name,charcode; |
| 454 | 454 | UINT8 fg,bg,*patternptr; |
| 455 | rectangle rt; | |
| 455 | rectangle rt; | |
| 456 | const pen_t *pens; | |
| 456 | 457 | |
| 457 | fg = machine->pens[tms.Regs[7] / 16]; | |
| 458 | bg = machine->pens[tms.Regs[7] & 15]; | |
| 458 | pens = screen->machine->pens; | |
| 459 | fg = pens[tms.Regs[7] / 16]; | |
| 460 | bg = pens[tms.Regs[7] & 15]; | |
| 459 | 461 | |
| 460 | 462 | /* colours at sides must be reset */ |
| 461 | 463 | rt.min_y = 0; rt.max_y = 191; |
| r4962 | r4963 | |
| 482 | 484 | } |
| 483 | 485 | } |
| 484 | 486 | |
| 485 | static void draw_mode12 ( | |
| 487 | static void draw_mode12 (const device_ | |
| 486 | 488 | int pattern,x,y,yy,xx,name,charcode; |
| 487 | 489 | UINT8 fg,bg,*patternptr; |
| 488 | rectangle rt; | |
| 490 | const pen_t *pens; | |
| 491 | rectangle rt; | |
| 489 | 492 | |
| 490 | fg = machine->pens[tms.Regs[7] / 16]; | |
| 491 | bg = machine->pens[tms.Regs[7] & 15]; | |
| 493 | pens = screen->machine->pens; | |
| 494 | fg = pens[tms.Regs[7] / 16]; | |
| 495 | bg = pens[tms.Regs[7] & 15]; | |
| 492 | 496 | |
| 493 | 497 | /* colours at sides must be reset */ |
| 494 | 498 | rt.min_y = 0; rt.max_y = 191; |
| r4962 | r4963 | |
| 515 | 519 | } |
| 516 | 520 | } |
| 517 | 521 | |
| 518 | static void draw_mode0 ( | |
| 522 | static void draw_mode0 (const device_ | |
| 519 | 523 | int pattern,x,y,yy,xx,name,charcode,colour; |
| 520 | 524 | UINT8 fg,bg,*patternptr; |
| 525 | const pen_t *pens; | |
| 521 | 526 | |
| 527 | pens = screen->machine->pens; | |
| 522 | 528 | name = 0; |
| 523 | 529 | for (y=0;y<24;y++) { |
| 524 | 530 | for (x=0;x<32;x++) { |
| r4962 | r4963 | |
| 526 | 532 | name++; |
| 527 | 533 | patternptr = tms.vMem + tms.pattern + charcode*8; |
| 528 | 534 | colour = tms.vMem[tms.colour+charcode/8]; |
| 529 | fg = machine->pens[colour / 16]; | |
| 530 | bg = machine->pens[colour & 15]; | |
| 535 | fg = pens[colour / 16]; | |
| 536 | bg = pens[colour & 15]; | |
| 531 | 537 | for (yy=0;yy<8;yy++) { |
| 532 | 538 | pattern=*patternptr++; |
| 533 | 539 | for (xx=0;xx<8;xx++) { |
| r4962 | r4963 | |
| 539 | 545 | } |
| 540 | 546 | } |
| 541 | 547 | |
| 542 | static void draw_mode2 ( | |
| 548 | static void draw_mode2 (const device_ | |
| 543 | 549 | int colour,name,x,y,yy,pattern,xx,charcode; |
| 544 | 550 | UINT8 fg,bg; |
| 551 | const pen_t *pens; | |
| 545 | 552 | UINT8 *colourptr,*patternptr; |
| 546 | 553 | |
| 554 | pens = screen->machine->pens; | |
| 547 | 555 | name = 0; |
| 548 | 556 | for (y=0;y<24;y++) { |
| 549 | 557 | for (x=0;x<32;x++) { |
| r4962 | r4963 | |
| 556 | 564 | for (yy=0;yy<8;yy++) { |
| 557 | 565 | pattern = *patternptr++; |
| 558 | 566 | colour = *colourptr++; |
| 559 | fg = machine->pens[colour / 16]; | |
| 560 | bg = machine->pens[colour & 15]; | |
| 567 | fg = pens[colour / 16]; | |
| 568 | bg = pens[colour & 15]; | |
| 561 | 569 | for (xx=0;xx<8;xx++) { |
| 562 | 570 | *BITMAP_ADDR16(bitmap, y*8+yy, x*8+xx) = (pattern & 0x80) ? fg : bg; |
| 563 | 571 | pattern *= 2; |
| r4962 | r4963 | |
| 567 | 575 | } |
| 568 | 576 | } |
| 569 | 577 | |
| 570 | static void draw_mode3 ( | |
| 578 | static void draw_mode3 (const device_ | |
| 571 | 579 | int x,y,yy,yyy,name,charcode; |
| 572 | 580 | UINT8 fg,bg,*patternptr; |
| 581 | const pen_t *pens; | |
| 573 | 582 | |
| 583 | pens = screen->machine->pens; | |
| 574 | 584 | name = 0; |
| 575 | 585 | for (y=0;y<24;y++) { |
| 576 | 586 | for (x=0;x<32;x++) { |
| r4962 | r4963 | |
| 578 | 588 | name++; |
| 579 | 589 | patternptr = tms.vMem+tms.pattern+charcode*8+(y&3)*2; |
| 580 | 590 | for (yy=0;yy<2;yy++) { |
| 581 | fg = machine->pens[(*patternptr / 16)]; | |
| 582 | bg = machine->pens[((*patternptr++) & 15)]; | |
| 591 | fg = pens[(*patternptr / 16)]; | |
| 592 | bg = pens[((*patternptr++) & 15)]; | |
| 583 | 593 | for (yyy=0;yyy<4;yyy++) { |
| 584 | 594 | *BITMAP_ADDR16(bitmap, y*8+yy*4+yyy, x*8+0) = fg; |
| 585 | 595 | *BITMAP_ADDR16(bitmap, y*8+yy*4+yyy, x*8+1) = fg; |
| r4962 | r4963 | |
| 595 | 605 | } |
| 596 | 606 | } |
| 597 | 607 | |
| 598 | static void draw_mode23 ( | |
| 608 | static void draw_mode23 (const device_ | |
| 599 | 609 | int x,y,yy,yyy,name,charcode; |
| 600 | 610 | UINT8 fg,bg,*patternptr; |
| 611 | const pen_t *pens; | |
| 601 | 612 | |
| 613 | pens = screen->machine->pens; | |
| 602 | 614 | name = 0; |
| 603 | 615 | for (y=0;y<24;y++) { |
| 604 | 616 | for (x=0;x<32;x++) { |
| r4962 | r4963 | |
| 607 | 619 | patternptr = tms.vMem + tms.pattern + |
| 608 | 620 | ((charcode+(y&3)*2+(y/8)*256)&tms.patternmask)*8; |
| 609 | 621 | for (yy=0;yy<2;yy++) { |
| 610 | fg = machine->pens[(*patternptr / 16)]; | |
| 611 | bg = machine->pens[((*patternptr++) & 15)]; | |
| 622 | fg = pens[(*patternptr / 16)]; | |
| 623 | bg = pens[((*patternptr++) & 15)]; | |
| 612 | 624 | for (yyy=0;yyy<4;yyy++) { |
| 613 | 625 | *BITMAP_ADDR16(bitmap, y*8+yy*4+yyy, x*8+0) = fg; |
| 614 | 626 | *BITMAP_ADDR16(bitmap, y*8+yy*4+yyy, x*8+1) = fg; |
| r4962 | r4963 | |
| 624 | 636 | } |
| 625 | 637 | } |
| 626 | 638 | |
| 627 | static void draw_modebogus ( | |
| 639 | static void draw_modebogus (const device_ | |
| 628 | 640 | UINT8 fg,bg; |
| 629 | 641 | int x,y,n,xx; |
| 642 | const pen_t *pens; | |
| 630 | 643 | |
| 631 | fg = machine->pens[tms.Regs[7] / 16]; | |
| 632 | bg = machine->pens[tms.Regs[7] & 15]; | |
| 644 | pens = screen->machine->pens; | |
| 645 | fg = pens[tms.Regs[7] / 16]; | |
| 646 | bg = pens[tms.Regs[7] & 15]; | |
| 633 | 647 | |
| 634 | 648 | for (y=0;y<192;y++) { |
| 635 | 649 | xx=0; |
| r4962 | r4963 | |
| 651 | 665 | ** |
| 652 | 666 | ** This code should be optimized. One day. |
| 653 | 667 | */ |
| 654 | static void draw_sprites ( | |
| 668 | static void draw_sprites (const device_ | |
| 655 | 669 | UINT8 *attributeptr,*patternptr,c; |
| 656 | 670 | int p,x,y,size,i,j,large,yy,xx,limit[192], |
| 657 | 671 | illegalsprite,illegalspriteline; |
| 658 | 672 | UINT16 line,line2; |
| 673 | const pen_t *pens; | |
| 659 | 674 | |
| 675 | pens = screen->machine->pens; | |
| 660 | 676 | attributeptr = tms.vMem + tms.spriteattribute; |
| 661 | 677 | size = (tms.Regs[1] & 2) ? 16 : 8; |
| 662 | 678 | large = (int)(tms.Regs[1] & 1); |
| r4962 | r4963 | |
| 710 | 726 | } |
| 711 | 727 | if (c && ! (tms.dBackMem[yy*256+xx] & 0x02)) |
| 712 | 728 | { |
| 713 | tms.dBackMem[yy*256+xx] |= 0x02; | |
| 714 | if (bitmap) | |
| 715 | *BITMAP_ADDR16(bitmap, TOP_BORDER+yy, LEFT_BORDER+xx) = machine->pens[c]; | |
| 716 | } | |
| 729 | tms.dBackMem[yy*256+xx] |= 0x02; | |
| 730 | if (bitmap) | |
| 731 | *BITMAP_ADDR16(bitmap, TOP_BORDER+yy, LEFT_BORDER+xx) = pens[c]; | |
| 732 | } | |
| 717 | 733 | } |
| 718 | 734 | } |
| 719 | 735 | line *= 2; |
| r4962 | r4963 | |
| 747 | 763 | } else { |
| 748 | 764 | tms.dBackMem[yy*256+xx] = 0x01; |
| 749 | 765 | } |
| 750 | if (c && ! (tms.dBackMem[yy*256+xx] & 0x02)) | |
| 751 | { | |
| 752 | tms.dBackMem[yy*256+xx] |= 0x02; | |
| 766 | if (c && ! (tms.dBackMem[yy*256+xx] & 0x02)) | |
| 767 | { | |
| 768 | tms.dBackMem[yy*256+xx] |= 0x02; | |
| 753 | 769 | if (bitmap) |
| 754 | *BITMAP_ADDR16(bitmap, TOP_BORDER+yy, LEFT_BORDER+xx) = machine->pens[c]; | |
| 755 | } | |
| 770 | *BITMAP_ADDR16(bitmap, TOP_BORDER+yy, LEFT_BORDER+xx) = pens[c]; | |
| 771 | } | |
| 756 | 772 | } |
| 757 | 773 | if (((xx+1) >=0) && ((xx+1) < 256)) { |
| 758 | 774 | if (tms.dBackMem[yy*256+xx+1]) { |
| r4962 | r4963 | |
| 760 | 776 | } else { |
| 761 | 777 | tms.dBackMem[yy*256+xx+1] = 0x01; |
| 762 | 778 | } |
| 763 | if (c && ! (tms.dBackMem[yy*256+xx+1] & 0x02)) | |
| 764 | { | |
| 765 | tms.dBackMem[yy*256+xx+1] |= 0x02; | |
| 779 | if (c && ! (tms.dBackMem[yy*256+xx+1] & 0x02)) | |
| 780 | { | |
| 781 | tms.dBackMem[yy*256+xx+1] |= 0x02; | |
| 766 | 782 | if (bitmap) |
| 767 | *BITMAP_ADDR16(bitmap, TOP_BORDER+yy, LEFT_BORDER+xx+1) = machine->pens[c]; | |
| 768 | } | |
| 783 | *BITMAP_ADDR16(bitmap, TOP_BORDER+yy, LEFT_BORDER+xx+1) = pens[c]; | |
| 784 | } | |
| 769 | 785 | } |
| 770 | 786 | } |
| 771 | 787 | line *= 2; |
| r4962 | r4963 | |
|---|---|---|
| 26 | 26 | MDRV_DEVICE_CLOCK(_clock) \ |
| 27 | 27 | MDRV_DEVICE_CONFIG(_config) |
| 28 | 28 | |
| 29 | #define MDRV_TMS9927_REMOVE(_tag) \ | |
| 30 | MDRV_DEVICE_REMOVE(_tag) | |
| 31 | 29 | |
| 32 | 30 | |
| 33 | ||
| 34 | 31 | /* interface */ |
| 35 | 32 | typedef struct _tms9927_interface tms9927_interface; |
| 36 | 33 | struct _tms9927_interface |
| r4962 | r4963 | |
|---|---|---|
| 4659 | 4659 | } |
| 4660 | 4660 | } |
| 4661 | 4661 | |
| 4662 | static const char | |
| 4662 | static const char | |
| 4663 | 4663 | |
| 4664 | 4664 | #define DEVTEMPLATE_ID(p,s) p##voodoo##s |
| 4665 | 4665 | #define DEVTEMPLATE_FEATURES DT_HAS_START | DT_HAS_RESET | DT_HAS_STOP | DT_HAS_INLINE_CONFIG |
| r4962 | r4963 | |
|---|---|---|
| 88 | 88 | #define MDRV_3DFX_VOODOO_MODIFY(_tag) \ |
| 89 | 89 | MDRV_DEVICE_MODIFY(_tag) |
| 90 | 90 | |
| 91 | #define MDRV_3DFX_VOODOO_REMOVE(_tag) \ | |
| 92 | MDRV_DEVICE_REMOVE(_tag) | |
| 93 | 91 | |
| 94 | 92 | |
| 95 | ||
| 96 | 93 | /*************************************************************************** |
| 97 | 94 | FUNCTION PROTOTYPES |
| 98 | 95 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 24 | 24 | MDRV_DEVICE_ADD(_tag, _variant, _clock) \ |
| 25 | 25 | MDRV_DEVICE_CONFIG(_config) |
| 26 | 26 | |
| 27 | #define MDRV_MC6845_REMOVE(_tag) \ | |
| 28 | MDRV_DEVICE_REMOVE(_tag) | |
| 29 | 27 | |
| 30 | 28 | |
| 31 | ||
| 32 | 29 | /* callback definitions */ |
| 33 | 30 | typedef void * (*mc6845_begin_update_func)(const device_config *device, bitmap_t *bitmap, const rectangle *cliprect); |
| 34 | 31 | #define MC6845_BEGIN_UPDATE(name) void *name(const device_config *device, bitmap_t *bitmap, const rectangle *cliprect) |
| r4962 | r4963 | |
|---|---|---|
| 1 | 1 | /*************************************************************************** |
| 2 | 2 | |
| 3 | watchdog. | |
| 3 | watchdog.c | |
| 4 | 4 | |
| 5 | 5 | Watchdog handling |
| 6 | 6 | |
| r4962 | r4963 | |
| 13 | 13 | |
| 14 | 14 | |
| 15 | 15 | |
| 16 | ||
| 17 | 16 | /*************************************************************************** |
| 18 | 17 | GLOBAL VARIABLES |
| 19 | 18 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 1343 | 1343 | static TIMER_CALLBACK( vblank_begin_callback ) |
| 1344 | 1344 | { |
| 1345 | 1345 | int i; |
| 1346 | device_config *screen = (device_config *)ptr; | |
| 1346 | const device_config *screen = (const device_config *)ptr; | |
| 1347 | 1347 | screen_state *state = get_safe_token(screen); |
| 1348 | 1348 | |
| 1349 | 1349 | /* reset the starting VBLANK time */ |
| r4962 | r4963 | |
| 1363 | 1363 | |
| 1364 | 1364 | /* if no VBLANK period, call the VBLANK end callback immedietely, otherwise reset the timer */ |
| 1365 | 1365 | if (state->vblank_period == 0) |
| 1366 | vblank_end_callback(machine, | |
| 1366 | vblank_end_callback(machine, ptr | |
| 1367 | 1367 | else |
| 1368 | 1368 | timer_adjust_oneshot(state->vblank_end_timer, video_screen_get_time_until_vblank_end(screen), 0); |
| 1369 | 1369 | } |
| r4962 | r4963 | |
|---|---|---|
| 99 | 99 | MDRV_DEVICE_ADD(_tag, VIDEO_SCREEN, 0) \ |
| 100 | 100 | MDRV_DEVICE_CONFIG_DATA32(screen_config, type, SCREEN_TYPE_##_type) |
| 101 | 101 | |
| 102 | #define MDRV_SCREEN_REMOVE(_tag) \ | |
| 103 | MDRV_DEVICE_REMOVE(_tag) | |
| 104 | ||
| 105 | 102 | #define MDRV_SCREEN_MODIFY(_tag) \ |
| 106 | 103 | MDRV_DEVICE_MODIFY(_tag) |
| 107 | 104 |
| r4962 | r4963 | |
|---|---|---|
| 246 | 246 | } |
| 247 | 247 | |
| 248 | 248 | |
| 249 | /*------------------------------------------------- | |
| 250 | device_get_contract - find a given contract | |
| 251 | on a device | |
| 252 | -------------------------------------------------*/ | |
| 249 | 253 | |
| 254 | const device_contract *device_get_contract(const device_config *device, const char *name) | |
| 255 | { | |
| 256 | const device_contract *contract = (const device_contract *)device_get_info_ptr(device, DEVINFO_PTR_CONTRACT_LIST); | |
| 257 | ||
| 258 | /* if no contracts, obviously we don't have it */ | |
| 259 | if (contract == NULL) | |
| 260 | return NULL; | |
| 261 | ||
| 262 | /* scan forward through the array looking for a match */ | |
| 263 | for ( ; contract->name != NULL; contract++) | |
| 264 | if (strcmp(name, contract->name) == 0) | |
| 265 | return contract; | |
| 266 | ||
| 267 | return NULL; | |
| 268 | } | |
| 269 | ||
| 270 | ||
| 271 | ||
| 250 | 272 | /*************************************************************************** |
| 251 | 273 | TYPE-BASED DEVICE ACCESS |
| 252 | 274 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 24 | 24 | #define MDRV_M48T02_ADD(_tag) \ |
| 25 | 25 | MDRV_DEVICE_ADD(_tag, M48T02, 0) |
| 26 | 26 | |
| 27 | #define MDRV_M48T02_REMOVE(_tag) \ | |
| 28 | MDRV_DEVICE_REMOVE(_tag) | |
| 29 | 27 | |
| 30 | ||
| 31 | 28 | #define M48T35 DEVICE_GET_INFO_NAME(m48t35) |
| 32 | 29 | DEVICE_GET_INFO(m48t35); |
| 33 | 30 | |
| 34 | 31 | #define MDRV_M48T35_ADD(_tag) \ |
| 35 | 32 | MDRV_DEVICE_ADD(_tag, M48T35, 0) |
| 36 | 33 | |
| 37 | #define MDRV_M48T35_REMOVE(_tag) \ | |
| 38 | MDRV_DEVICE_REMOVE(_tag) | |
| 39 | 34 | |
| 40 | ||
| 41 | 35 | #define M48T58 DEVICE_GET_INFO_NAME(m48t58) |
| 42 | 36 | DEVICE_GET_INFO(m48t58); |
| 43 | 37 | |
| 44 | 38 | #define MDRV_M48T58_ADD(_tag) \ |
| 45 | 39 | MDRV_DEVICE_ADD(_tag, M48T58, 0) |
| 46 | 40 | |
| 47 | #define MDRV_M48T58_REMOVE(_tag) \ | |
| 48 | MDRV_DEVICE_REMOVE(_tag) | |
| 49 | 41 | |
| 50 | ||
| 51 | 42 | #define MK48T08 DEVICE_GET_INFO_NAME(mk48t08) |
| 52 | 43 | DEVICE_GET_INFO(mk48t08); |
| 53 | 44 | |
| 54 | 45 | #define MDRV_MK48T08_ADD(_tag) \ |
| 55 | 46 | MDRV_DEVICE_ADD(_tag, MK48T08, 0) |
| 56 | 47 | |
| 57 | #define MDRV_MK48T08_REMOVE(_tag) \ | |
| 58 | MDRV_DEVICE_REMOVE(_tag) | |
| 59 | 48 | |
| 60 | ||
| 61 | 49 | /* memory handlers */ |
| 62 | 50 | |
| 63 | 51 | WRITE8_DEVICE_HANDLER( timekeeper_w ); |
| r4962 | r4963 | |
|---|---|---|
| 25 | 25 | MDRV_DEVICE_ADD(_tag, _variant, _clock) \ |
| 26 | 26 | MDRV_DEVICE_CONFIG(_config) |
| 27 | 27 | |
| 28 | #define MDRV_CIA6526_REMOVE(_tag) \ | |
| 29 | MDRV_DEVICE_REMOVE(_tag) | |
| 30 | ||
| 31 | 28 | #define MDRV_CIA8520_ADD(_tag, _clock, _config) \ |
| 32 | 29 | MDRV_DEVICE_ADD(_tag, CIA8520, _clock) \ |
| 33 | 30 | MDRV_DEVICE_CONFIG(_config) |
| 34 | 31 | |
| 35 | #define MDRV_CIA8520_REMOVE(_tag) \ | |
| 36 | MDRV_DEVICE_REMOVE(_tag) | |
| 37 | 32 | |
| 38 | 33 | |
| 39 | ||
| 40 | 34 | /*************************************************************************** |
| 41 | 35 | TYPE DEFINITIONS |
| 42 | 36 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 52 | 52 | MDRV_DEVICE_ADD(_tag, TTL74123, 0) \ |
| 53 | 53 | MDRV_DEVICE_CONFIG(_config) |
| 54 | 54 | |
| 55 | #define MDRV_TTL74123_REMOVE(_tag) \ | |
| 56 | MDRV_DEVICE_REMOVE(_tag) | |
| 57 | 55 | |
| 58 | ||
| 59 | 56 | /* constants for the different ways the cap/res can be connected. |
| 60 | 57 | This determines the formula for calculating the pulse width */ |
| 61 | 58 | #define TTL74123_NOT_GROUNDED_NO_DIODE (1) |
| r4962 | r4963 | |
|---|---|---|
| 354 | 354 | device definition |
| 355 | 355 | -------------------------------------------------*/ |
| 356 | 356 | |
| 357 | static const char | |
| 357 | static const char | |
| 358 | 358 | |
| 359 | 359 | #define DEVTEMPLATE_ID(p,s) p##adc12138##s |
| 360 | 360 | #define DEVTEMPLATE_FEATURES DT_HAS_START | DT_HAS_RESET |
| r4962 | r4963 | |
|---|---|---|
| 1322 | 1322 | device definition |
| 1323 | 1323 | -------------------------------------------------*/ |
| 1324 | 1324 | |
| 1325 | static const char | |
| 1325 | static const char | |
| 1326 | 1326 | |
| 1327 | 1327 | #define DEVTEMPLATE_ID(p,s) p##pia6821##s |
| 1328 | 1328 | #define DEVTEMPLATE_FEATURES DT_HAS_START | DT_HAS_RESET |
| r4962 | r4963 | |
|---|---|---|
| 49 | 49 | MDRV_DEVICE_CONFIG_DATAPTR(ide_config, bmcpu, _cpu) \ |
| 50 | 50 | MDRV_DEVICE_CONFIG_DATA32(ide_config, bmspace, ADDRESS_SPACE_##_space) |
| 51 | 51 | |
| 52 | #define MDRV_IDE_CONTROLLER_REMOVE(_tag) \ | |
| 53 | MDRV_DEVICE_REMOVE(_tag) | |
| 54 | 52 | |
| 55 | 53 | |
| 56 | ||
| 57 | 54 | /*************************************************************************** |
| 58 | 55 | FUNCTION PROTOTYPES |
| 59 | 56 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 24 | 24 | MDRV_DEVICE_ADD(_tag, ADC12130, 0) \ |
| 25 | 25 | MDRV_DEVICE_CONFIG(_config) |
| 26 | 26 | |
| 27 | #define MDRV_ADC12130_REMOVE(_tag) \ | |
| 28 | MDRV_DEVICE_REMOVE(_tag) | |
| 29 | ||
| 30 | 27 | #define MDRV_ADC12132_ADD(_tag, _config) \ |
| 31 | 28 | MDRV_DEVICE_ADD(_tag, ADC12132, 0) \ |
| 32 | 29 | MDRV_DEVICE_CONFIG(_config) |
| 33 | 30 | |
| 34 | #define MDRV_ADC12132_REMOVE(_tag) \ | |
| 35 | MDRV_DEVICE_REMOVE(_tag) | |
| 36 | ||
| 37 | 31 | #define MDRV_ADC12138_ADD(_tag, _config) \ |
| 38 | 32 | MDRV_DEVICE_ADD(_tag, ADC12138, 0) \ |
| 39 | 33 | MDRV_DEVICE_CONFIG(_config) |
| 40 | 34 | |
| 41 | #define MDRV_ADC12138_REMOVE(_tag) \ | |
| 42 | MDRV_DEVICE_REMOVE(_tag) | |
| 43 | 35 | |
| 44 | ||
| 45 | 36 | /*************************************************************************** |
| 46 | 37 | TYPE DEFINITIONS |
| 47 | 38 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 114 | 114 | MDRV_DEVICE_MODIFY(_tag) \ |
| 115 | 115 | MDRV_DEVICE_CONFIG(_intrf) |
| 116 | 116 | |
| 117 | #define MDRV_PIA6821_REMOVE(_tag) \ | |
| 118 | MDRV_DEVICE_REMOVE(_tag) | |
| 119 | ||
| 120 | 117 | #define MDRV_PIA6822_ADD(_tag, _intrf) \ |
| 121 | 118 | MDRV_DEVICE_ADD(_tag, PIA6822, 0) \ |
| 122 | 119 | MDRV_DEVICE_CONFIG(_intrf) |
| r4962 | r4963 | |
| 125 | 122 | MDRV_DEVICE_MODIFY(_tag) \ |
| 126 | 123 | MDRV_DEVICE_CONFIG(_intrf) |
| 127 | 124 | |
| 128 | #define MDRV_PIA6822_REMOVE(_tag) \ | |
| 129 | MDRV_DEVICE_REMOVE(_tag) | |
| 130 | ||
| 131 | 125 | #endif /* __6821NEW_H__ */ |
| r4962 | r4963 | |
|---|---|---|
| 17 | 17 | MDRV_DEVICE_ADD(_tag, DUART68681, _clock) \ |
| 18 | 18 | MDRV_DEVICE_CONFIG(_config) |
| 19 | 19 | |
| 20 | #define MDRV_DUART_68681_REMOVE(_tag) \ | |
| 21 | MDRV_DEVICE_REMOVE(_tag) | |
| 22 | 20 | |
| 23 | ||
| 24 | 21 | READ8_DEVICE_HANDLER(duart68681_r); |
| 25 | 22 | WRITE8_DEVICE_HANDLER(duart68681_w); |
| 26 | 23 |
| r4962 | r4963 | |
|---|---|---|
| 37 | 37 | MDRV_DEVICE_ADD(_tag, RIOT6532, _clock) \ |
| 38 | 38 | MDRV_DEVICE_CONFIG(_intrf) |
| 39 | 39 | |
| 40 | #define MDRV_RIOT6532_REMOVE(_tag) \ | |
| 41 | MDRV_DEVICE_REMOVE(_tag) | |
| 42 | 40 | |
| 43 | 41 | |
| 44 | ||
| 45 | 42 | /*************************************************************************** |
| 46 | 43 | FUNCTION PROTOTYPES |
| 47 | 44 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 27 | 27 | MDRV_DEVICE_ADD(_tag, VIA6522, _clock) \ |
| 28 | 28 | MDRV_DEVICE_CONFIG(_intrf) |
| 29 | 29 | |
| 30 | #define MDRV_VIA6522_REMOVE(_tag) \ | |
| 31 | MDRV_DEVICE_REMOVE(_tag) | |
| 32 | ||
| 33 | 30 | #define VIA_PB 0 |
| 34 | 31 | #define VIA_PA 1 |
| 35 | 32 | #define VIA_DDRB 2 |
| r4962 | r4963 | |
| 80 | 77 | READ8_DEVICE_HANDLER(via_r); |
| 81 | 78 | WRITE8_DEVICE_HANDLER(via_w); |
| 82 | 79 | |
| 83 | READ8_DEVICE_HANDLER(via_porta_r); | |
| 84 | 80 | WRITE8_DEVICE_HANDLER(via_porta_w); |
| 85 | 81 | |
| 86 | 82 | READ8_DEVICE_HANDLER(via_portb_r); |
| r4962 | r4963 | |
|---|---|---|
| 839 | 839 | device definition |
| 840 | 840 | -------------------------------------------------*/ |
| 841 | 841 | |
| 842 | static const char | |
| 842 | static const char | |
| 843 | 843 | |
| 844 | 844 | #define DEVTEMPLATE_ID(p,s) p##ptm6840##s |
| 845 | 845 | #define DEVTEMPLATE_FEATURES DT_HAS_START | DT_HAS_RESET |
| r4962 | r4963 | |
|---|---|---|
| 21 | 21 | MDRV_DEVICE_ADD(_tag, PTM6840, 0) \ |
| 22 | 22 | MDRV_DEVICE_CONFIG(_config) |
| 23 | 23 | |
| 24 | #define MDRV_PTM6840_REMOVE(_tag) \ | |
| 25 | MDRV_DEVICE_REMOVE(_tag) | |
| 26 | 24 | |
| 27 | 25 | /*************************************************************************** |
| 28 | 26 | TYPE DEFINITIONS |
| r4962 | r4963 | |
|---|---|---|
| 104 | 104 | upd4990a_increment_month |
| 105 | 105 | -------------------------------------------------*/ |
| 106 | 106 | |
| 107 | void upd4990a_increment_month( const device_config *device ) | |
| 107 | static void upd4990a_increment_month( const device_config *device ) | |
| 108 | 108 | { |
| 109 | 109 | upd4990a_state *upd4990a = get_safe_token(device); |
| 110 | 110 | |
| r4962 | r4963 | |
| 127 | 127 | upd4990a_increment_day |
| 128 | 128 | -------------------------------------------------*/ |
| 129 | 129 | |
| 130 | void upd4990a_increment_day( const device_config *device ) | |
| 130 | static void upd4990a_increment_day( const device_config *device ) | |
| 131 | 131 | { |
| 132 | 132 | upd4990a_state *upd4990a = get_safe_token(device); |
| 133 | 133 | int real_year; |
| r4962 | r4963 | |
| 526 | 526 | device definition |
| 527 | 527 | -------------------------------------------------*/ |
| 528 | 528 | |
| 529 | static const char | |
| 529 | static const char | |
| 530 | 530 | |
| 531 | 531 | #define DEVTEMPLATE_ID(p,s) p##upd4990a##s |
| 532 | 532 | #define DEVTEMPLATE_FEATURES DT_HAS_START | DT_HAS_RESET |
| r4962 | r4963 | |
|---|---|---|
| 19 | 19 | #define MDRV_UPD4990A_ADD(_tag) \ |
| 20 | 20 | MDRV_DEVICE_ADD(_tag, UPD4990A, 0) |
| 21 | 21 | |
| 22 | #define MDRV_UPD4990A_REMOVE(_tag) \ | |
| 23 | MDRV_DEVICE_REMOVE(_tag) | |
| 24 | 22 | |
| 25 | ||
| 26 | 23 | /*************************************************************************** |
| 27 | 24 | PROTOTYPES |
| 28 | 25 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 13 | 13 | MDRV_DEVICE_ADD(_tag, Z80DMA, _clock) \ |
| 14 | 14 | MDRV_DEVICE_CONFIG(_config) |
| 15 | 15 | |
| 16 | #define MDRV_Z80DMA_REMOVE(_tag) \ | |
| 17 | MDRV_DEVICE_REMOVE(_tag) | |
| 18 | ||
| 19 | 16 | typedef struct _z80dma_interface z80dma_interface; |
| 20 | 17 | struct _z80dma_interface |
| 21 | 18 | { |
| r4962 | r4963 | |
|---|---|---|
| 219 | 219 | DEVICE_GET_INFO( ds1302 ) |
| 220 | 220 | -------------------------------------------------*/ |
| 221 | 221 | |
| 222 | static const char | |
| 222 | static const char | |
| 223 | 223 | |
| 224 | 224 | #define DEVTEMPLATE_ID(p,s) p##ds1302##s |
| 225 | 225 | #define DEVTEMPLATE_FEATURES DT_HAS_START | DT_HAS_RESET |
| r4962 | r4963 | |
|---|---|---|
| 211 | 211 | device definition |
| 212 | 212 | -------------------------------------------------*/ |
| 213 | 213 | |
| 214 | static const char | |
| 214 | static const char | |
| 215 | 215 | |
| 216 | 216 | #define DEVTEMPLATE_ID(p,s) p##rp5h01##s |
| 217 | 217 | #define DEVTEMPLATE_FEATURES DT_HAS_START | DT_HAS_RESET |
| r4962 | r4963 | |
|---|---|---|
| 43 | 43 | MDRV_DEVICE_MODIFY(_tag) \ |
| 44 | 44 | MDRV_DEVICE_CONFIG(_intrf) |
| 45 | 45 | |
| 46 | #define MDRV_PPI8255_REMOVE(_tag) \ | |
| 47 | MDRV_DEVICE_REMOVE(_tag) | |
| 48 | 46 | |
| 49 | 47 | |
| 50 | ||
| 51 | 48 | /* device interface */ |
| 52 | 49 | DEVICE_GET_INFO(ppi8255); |
| 53 | 50 |
| r4962 | r4963 | |
|---|---|---|
| 18 | 18 | #define MDRV_DS1302_ADD(_tag) \ |
| 19 | 19 | MDRV_DEVICE_ADD(_tag, DS1302, 0) |
| 20 | 20 | |
| 21 | #define MDRV_DS1302_REMOVE(_tag) \ | |
| 22 | MDRV_DEVICE_REMOVE(_tag) | |
| 23 | 21 | |
| 24 | ||
| 25 | 22 | /*************************************************************************** |
| 26 | 23 | PROTOTYPES |
| 27 | 24 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 18 | 18 | MDRV_DEVICE_ADD(_tag, RP5H01, 0) \ |
| 19 | 19 | MDRV_DEVICE_CONFIG(_config) |
| 20 | 20 | |
| 21 | #define MDRV_RP5H01_REMOVE(_tag) \ | |
| 22 | MDRV_DEVICE_REMOVE(_tag) | |
| 23 | 21 | |
| 24 | ||
| 25 | 22 | /*************************************************************************** |
| 26 | 23 | TYPE DEFINITIONS |
| 27 | 24 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 37 | 37 | MDRV_DEVICE_ADD(_tag, SMC91C96, 0) \ |
| 38 | 38 | MDRV_DEVICE_CONFIG_DATAPTR(smc91c9x_config, interrupt, _callback) |
| 39 | 39 | |
| 40 | #define MDRV_SMC91C94_REMOVE(_tag) \ | |
| 41 | MDRV_DEVICE_REMOVE(_tag) | |
| 42 | 40 | |
| 43 | #define MDRV_SMC91C96_REMOVE(_tag) \ | |
| 44 | MDRV_DEVICE_REMOVE(_tag) | |
| 45 | 41 | |
| 46 | ||
| 47 | ||
| 48 | 42 | /*************************************************************************** |
| 49 | 43 | FUNCTION PROTOTYPES |
| 50 | 44 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 13 | 13 | MDRV_DEVICE_ADD(_tag, DMA8257, _clock) \ |
| 14 | 14 | MDRV_DEVICE_CONFIG(_config) |
| 15 | 15 | |
| 16 | #define MDRV_DMA8257_REMOVE(_tag) \ | |
| 17 | MDRV_DEVICE_REMOVE(_tag) | |
| 18 | 16 | |
| 19 | ||
| 20 | 17 | #define DMA8257_STATUS_UPDATE 0x10 |
| 21 | 18 | #define DMA8257_STATUS_TC_CH3 0x08 |
| 22 | 19 | #define DMA8257_STATUS_TC_CH2 0x04 |
| r4962 | r4963 | |
|---|---|---|
| 62 | 62 | MDRV_DEVICE_ADD(_tag, Z80PIO, 0) \ |
| 63 | 63 | MDRV_DEVICE_CONFIG(_intrf) |
| 64 | 64 | |
| 65 | #define MDRV_Z80PIO_REMOVE(_tag) \ | |
| 66 | MDRV_DEVICE_REMOVE(_tag) | |
| 67 | 65 | |
| 68 | 66 | |
| 69 | ||
| 70 | 67 | /*************************************************************************** |
| 71 | 68 | CONTROL REGISTER READ/WRITE |
| 72 | 69 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 492 | 492 | device definition |
| 493 | 493 | -------------------------------------------------*/ |
| 494 | 494 | |
| 495 | static const char | |
| 495 | static const char | |
| 496 | 496 | |
| 497 | 497 | #define DEVTEMPLATE_ID(p,s) p##adc0831##s |
| 498 | 498 | #define DEVTEMPLATE_FEATURES DT_HAS_START | DT_HAS_RESET |
| r4962 | r4963 | |
|---|---|---|
| 406 | 406 | return 0; |
| 407 | 407 | } |
| 408 | 408 | |
| 409 | static void nvram_handler_i2cmem( | |
| 409 | static void nvram_handler_i2cmem( | |
| 410 | 410 | { |
| 411 | 411 | struct i2cmem_chip *c; |
| 412 | 412 | |
| r4962 | r4963 | |
| 428 | 428 | } |
| 429 | 429 | } |
| 430 | 430 | |
| 431 | NVRAM_HANDLER( i2cmem_0 ) { nvram_handler_i2cmem( | |
| 431 | NVRAM_HANDLER( i2cmem_0 ) { nvram_handler_i2cmem( |
| r4962 | r4963 | |
|---|---|---|
| 40 | 40 | MDRV_DEVICE_ADD(_tag, ADC0831, 0) \ |
| 41 | 41 | MDRV_DEVICE_CONFIG(_config) |
| 42 | 42 | |
| 43 | #define MDRV_ADC0831_REMOVE(_tag) \ | |
| 44 | MDRV_DEVICE_REMOVE(_tag) | |
| 45 | ||
| 46 | 43 | #define MDRV_ADC0832_ADD(_tag, _config) \ |
| 47 | 44 | MDRV_DEVICE_ADD(_tag, ADC0832, 0) \ |
| 48 | 45 | MDRV_DEVICE_CONFIG(_config) |
| 49 | 46 | |
| 50 | #define MDRV_ADC0832_REMOVE(_tag) \ | |
| 51 | MDRV_DEVICE_REMOVE(_tag) | |
| 52 | ||
| 53 | 47 | #define MDRV_ADC0834_ADD(_tag, _config) \ |
| 54 | 48 | MDRV_DEVICE_ADD(_tag, ADC0834, 0) \ |
| 55 | 49 | MDRV_DEVICE_CONFIG(_config) |
| 56 | 50 | |
| 57 | #define MDRV_ADC0834_REMOVE(_tag) \ | |
| 58 | MDRV_DEVICE_REMOVE(_tag) | |
| 59 | ||
| 60 | 51 | #define MDRV_ADC0838_ADD(_tag, _config) \ |
| 61 | 52 | MDRV_DEVICE_ADD(_tag, ADC0838, 0) \ |
| 62 | 53 | MDRV_DEVICE_CONFIG(_config) |
| 63 | 54 | |
| 64 | #define MDRV_ADC0838_REMOVE(_tag) \ | |
| 65 | MDRV_DEVICE_REMOVE(_tag) | |
| 66 | 55 | |
| 67 | ||
| 68 | 56 | /*************************************************************************** |
| 69 | 57 | TYPE DEFINITIONS |
| 70 | 58 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 53 | 53 | MDRV_DEVICE_CONFIG_DATAPTR(eeprom_config, default_data, &_data) \ |
| 54 | 54 | MDRV_DEVICE_CONFIG_DATA32(eeprom_config, default_data_size, _size) |
| 55 | 55 | |
| 56 | #define MDRV_EEPROM_REMOVE(_tag) \ | |
| 57 | MDRV_DEVICE_REMOVE(_tag, EEPROM) | |
| 58 | 56 | |
| 59 | ||
| 60 | 57 | void eepromdev_write_bit( const device_config *device, int bit ); |
| 61 | 58 | int eepromdev_read_bit( const device_config *device ); |
| 62 | 59 | //CUSTOM_INPUT( eeprom_bit_r ); |
| r4962 | r4963 | |
|---|---|---|
| 42 | 42 | MDRV_DEVICE_CONFIG_DATAPTR(i8243_config, readhandler, _read) \ |
| 43 | 43 | MDRV_DEVICE_CONFIG_DATAPTR(i8243_config, writehandler, _write) |
| 44 | 44 | |
| 45 | #define MDRV_I8243_REMOVE(_tag) \ | |
| 46 | MDRV_DEVICE_REMOVE(_tag) | |
| 47 | 45 | |
| 48 | 46 | |
| 49 | ||
| 50 | 47 | /*************************************************************************** |
| 51 | 48 | FUNCTION PROTOTYPES |
| 52 | 49 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 18 | 18 | #define MDRV_MSM6242_ADD(_tag) \ |
| 19 | 19 | MDRV_DEVICE_ADD(_tag, MSM6242, 0) |
| 20 | 20 | |
| 21 | #define MDRV_MSM6242_REMOVE(_tag) \ | |
| 22 | MDRV_DEVICE_REMOVE(_tag) | |
| 23 | 21 | |
| 24 | ||
| 25 | 22 | /* device interface */ |
| 26 | 23 | DEVICE_GET_INFO( msm6242 ); |
| 27 | 24 |
| r4962 | r4963 | |
|---|---|---|
| 106 | 106 | DEVICE_GET_INFO( mb3773 ) |
| 107 | 107 | -------------------------------------------------*/ |
| 108 | 108 | |
| 109 | static const char | |
| 109 | static const char | |
| 110 | 110 | |
| 111 | 111 | #define DEVTEMPLATE_ID(p,s) p##mb3773##s |
| 112 | 112 | #define DEVTEMPLATE_FEATURES DT_HAS_START | DT_HAS_RESET |
| r4962 | r4963 | |
|---|---|---|
| 30 | 30 | MDRV_DEVICE_ADD(_tag, ACIA6850, 0) \ |
| 31 | 31 | MDRV_DEVICE_CONFIG(_config) |
| 32 | 32 | |
| 33 | #define MDRV_ACIA6850_REMOVE(_tag) \ | |
| 34 | MDRV_DEVICE_REMOVE(_tag) | |
| 35 | ||
| 36 | 33 | #define ACIA6850_INTERFACE(_name) \ |
| 37 | 34 | const acia6850_interface(_name) = |
| 38 | 35 | |
| 36 | ||
| 39 | 37 | /*************************************************************************** |
| 40 | 38 | TYPE DEFINITIONS |
| 41 | 39 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 19 | 19 | #define MDRV_MB3773_ADD(_tag) \ |
| 20 | 20 | MDRV_DEVICE_ADD(_tag, MB3773, 0) |
| 21 | 21 | |
| 22 | #define MDRV_MB3773_REMOVE(_tag) \ | |
| 23 | MDRV_DEVICE_REMOVE(_tag) | |
| 24 | 22 | |
| 25 | ||
| 26 | 23 | /*************************************************************************** |
| 27 | 24 | PROTOTYPES |
| 28 | 25 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 306 | 306 | device definition |
| 307 | 307 | -------------------------------------------------*/ |
| 308 | 308 | |
| 309 | static const char | |
| 309 | static const char | |
| 310 | 310 | |
| 311 | 311 | #define DEVTEMPLATE_ID(p,s) p##upd4701##s |
| 312 | 312 | #define DEVTEMPLATE_FEATURES DT_HAS_START | DT_HAS_RESET |
| r4962 | r4963 | |
|---|---|---|
| 122 | 122 | MDRV_DEVICE_CONFIG_DATAFP32(laserdisc_config, overscalex, _scalex, 24) \ |
| 123 | 123 | MDRV_DEVICE_CONFIG_DATAFP32(laserdisc_config, overscaley, _scaley, 24) |
| 124 | 124 | |
| 125 | #define MDRV_LASERDISC_REMOVE(_tag) \ | |
| 126 | MDRV_DEVICE_REMOVE(_tag) | |
| 127 | 125 | |
| 128 | ||
| 129 | 126 | /* use these to add laserdisc screens with proper video update parameters */ |
| 130 | 127 | #define MDRV_LASERDISC_SCREEN_ADD_NTSC(_tag, _overlayformat) \ |
| 131 | 128 | MDRV_VIDEO_ATTRIBUTES(VIDEO_SELF_RENDER) \ |
| r4962 | r4963 | |
|---|---|---|
| 18 | 18 | #define MDRV_UPD4701_ADD(_tag) \ |
| 19 | 19 | MDRV_DEVICE_ADD(_tag, UPD4701, 0) |
| 20 | 20 | |
| 21 | #define MDRV_UPD4701_REMOVE(_tag) \ | |
| 22 | MDRV_DEVICE_REMOVE(_tag) | |
| 23 | 21 | |
| 24 | ||
| 25 | 22 | /*************************************************************************** |
| 26 | 23 | PROTOTYPES |
| 27 | 24 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 20 | 20 | #define MDRV_X2212_ADD(_tag) \ |
| 21 | 21 | MDRV_DEVICE_ADD(_tag, X2212, 0) |
| 22 | 22 | |
| 23 | #define MDRV_X2212_REMOVE(_tag) \ | |
| 24 | MDRV_DEVICE_REMOVE(_tag) | |
| 25 | 23 | |
| 26 | ||
| 27 | 24 | extern void x2212_write( const device_config *device, int offset, int data ); |
| 28 | 25 | extern int x2212_read( const device_config *device, int offset ); |
| 29 | 26 | extern void x2212_store( const device_config *device, int store ); |
| r4962 | r4963 | |
|---|---|---|
| 21 | 21 | MDRV_DEVICE_ADD(_tag, AT28C16, 0) \ |
| 22 | 22 | MDRV_DEVICE_CONFIG_DATAPTR(at28c16_config, id, _id) |
| 23 | 23 | |
| 24 | #define MDRV_AT28C16_REMOVE(_tag) \ | |
| 25 | MDRV_DEVICE_REMOVE(_tag) | |
| 26 | 24 | |
| 27 | ||
| 28 | 25 | extern void at28c16_a9_12v( const device_config *device, int a9_12v ); |
| 29 | 26 | extern void at28c16_oe_12v( const device_config *device, int a9_12v ); |
| 30 | 27 |
| r4962 | r4963 | |
|---|---|---|
| 79 | 79 | MDRV_DEVICE_CONFIG_DATA32_ARRAY_MEMBER(latch8_config, devread, _bit, latch8_devread, from_bit, _from_bit) \ |
| 80 | 80 | MDRV_DEVICE_CONFIG_DATAPTR_ARRAY_MEMBER(latch8_config, devread, _bit, latch8_devread, read_handler, _handler) \ |
| 81 | 81 | |
| 82 | /* remove device */ | |
| 83 | #define MDRV_LATCH8_REMOVE(_tag) \ | |
| 84 | MDRV_DEVICE_REMOVE(_tag) | |
| 85 | ||
| 86 | 82 | /* Accessor macros */ |
| 87 | 83 | |
| 88 | 84 | #define AM_LATCH8_READ(_tag) \ |
| r4962 | r4963 | |
|---|---|---|
| 39 | 39 | MDRV_DEVICE_ADD(_tag, CDP1852, _clock) \ |
| 40 | 40 | MDRV_DEVICE_CONFIG(_config) |
| 41 | 41 | |
| 42 | #define MDRV_CDP1852_REMOVE(_tag) \ | |
| 43 | MDRV_DEVICE_REMOVE(_tag) | |
| 44 | ||
| 45 | 42 | #define CDP1852_INTERFACE(_name) \ |
| 46 | 43 | const cdp1852_interface (_name)= |
| 47 | 44 |
| r4962 | r4963 | |
|---|---|---|
| 36 | 36 | MDRV_DEVICE_ADD(_tag, Z80SIO, _clock) \ |
| 37 | 37 | MDRV_DEVICE_CONFIG(_intrf) |
| 38 | 38 | |
| 39 | #define MDRV_Z80SIO_REMOVE(_tag) \ | |
| 40 | MDRV_DEVICE_REMOVE(_tag) | |
| 41 | 39 | |
| 42 | 40 | |
| 43 | ||
| 44 | 41 | /*************************************************************************** |
| 45 | 42 | CONTROL REGISTER READ/WRITE |
| 46 | 43 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 35 | 35 | MDRV_DEVICE_CONFIG_DATA32(i2cmem_config, data_size, _data_size) \ |
| 36 | 36 | MDRV_DEVICE_CONFIG_DATAPTR(i2cmem_config, data, _data) |
| 37 | 37 | |
| 38 | #define MDRV_I2CMEM_REMOVE(_tag) \ | |
| 39 | MDRV_DEVICE_REMOVE(_tag, I2CMEM) | |
| 40 | 38 | |
| 41 | ||
| 42 | 39 | void i2cmemdev_write( const device_config *device, int line, int data ); |
| 43 | 40 | int i2cmemdev_read( const device_config *device, int line ); |
| 44 | 41 | void i2cmemdev_set_read_mode( const device_config *device, int mode ); |
| r4962 | r4963 | |
|---|---|---|
| 46 | 46 | MDRV_DEVICE_ADD(_tag, Z80CTC, _clock) \ |
| 47 | 47 | MDRV_DEVICE_CONFIG(_intrf) |
| 48 | 48 | |
| 49 | #define MDRV_Z80CTC_REMOVE(_tag) \ | |
| 50 | MDRV_DEVICE_REMOVE(_tag) | |
| 51 | 49 | |
| 52 | 50 | |
| 53 | ||
| 54 | 51 | /*************************************************************************** |
| 55 | 52 | INITIALIZATION/CONFIGURATION |
| 56 | 53 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 60 | 60 | |
| 61 | 61 | DEVINFO_PTR_ROM_REGION = DEVINFO_PTR_FIRST, /* R/O: pointer to device-specific ROM region */ |
| 62 | 62 | DEVINFO_PTR_MACHINE_CONFIG, /* R/O: pointer to device-specific machine config */ |
| 63 | DEVINFO_PTR_CONTRACT_LIST, /* R/O: pointer to list of supported device contracts */ | |
| 63 | 64 | |
| 64 | 65 | DEVINFO_PTR_CLASS_SPECIFIC = 0x14000, /* R/W: device-specific values start here */ |
| 65 | 66 | DEVINFO_PTR_DEVICE_SPECIFIC = 0x18000, /* R/W: device-specific values start here */ |
| r4962 | r4963 | |
| 126 | 127 | |
| 127 | 128 | #define DEVICE_VALIDITY_CHECK_NAME(name) device_validity_check_##name |
| 128 | 129 | #define DEVICE_VALIDITY_CHECK(name) int DEVICE_VALIDITY_CHECK_NAME(name)(const game_driver *driver, const device_config *device) |
| 129 | #define DEVICE_VALIDITY_CHECK_CALL(name) DEVICE_VALIDITY_CHECK(name)(driver, device) | |
| 130 | #define DEVICE_VALIDITY_CHECK_CALL(name) DEVICE_VALIDITY_CHECK_NAME(name)(driver, device) | |
| 130 | 131 | |
| 131 | 132 | #define DEVICE_CUSTOM_CONFIG_NAME(name) device_custom_config_##name |
| 132 | 133 | #define DEVICE_CUSTOM_CONFIG(name) const union _machine_config_token *DEVICE_CUSTOM_CONFIG_NAME(name)(const device_config *device, UINT32 entrytype, const union _machine_config_token *tokens) |
| 133 | #define DEVICE_CUSTOM_CONFIG_CALL(name) DEVICE_CUSTOM_CONFIG(name)(device, entrytype, tokens) | |
| 134 | #define DEVICE_CUSTOM_CONFIG_CALL(name) DEVICE_CUSTOM_CONFIG_NAME(name)(device, entrytype, tokens) | |
| 134 | 135 | |
| 135 | 136 | |
| 137 | /* device contract lists */ | |
| 138 | #define DEVICE_CONTRACT_LIST_NAME(name) device_contract_list_##name | |
| 139 | ||
| 140 | #define DEVICE_CONTRACT_LIST_START(name) static const device_contract DEVICE_CONTRACT_LIST_NAME(name)[] = { | |
| 141 | #define DEVICE_CONTRACT_ENTRY(type, var) { type, sizeof(var), &(var) }, | |
| 142 | #define DEVICE_CONTRACT_LIST_END { NULL, 0, NULL } }; | |
| 143 | ||
| 144 | ||
| 145 | /* macro for specifying a clock derived from an owning device */ | |
| 136 | 146 | #define DERIVED_CLOCK(num, den) (0xff000000 | ((num) << 12) | ((den) << 0)) |
| 137 | 147 | |
| 138 | 148 | |
| r4962 | r4963 | |
| 181 | 191 | typedef struct _device_config device_config; |
| 182 | 192 | |
| 183 | 193 | |
| 194 | /* a device contract */ | |
| 195 | typedef struct _device_contract device_contract; | |
| 196 | struct _device_contract | |
| 197 | { | |
| 198 | const char * name; /* name of this contract */ | |
| 199 | UINT32 size; /* size of this contract in bytes */ | |
| 200 | const void * contract; /* pointer to the contract struct itself */ | |
| 201 | }; | |
| 202 | ||
| 203 | ||
| 184 | 204 | /* device interface function types */ |
| 185 | 205 | typedef void (*device_get_info_func)(const device_config *device, UINT32 state, deviceinfo *info); |
| 186 | 206 | typedef void (*device_start_func)(const device_config *device); |
| r4962 | r4963 | |
| 213 | 233 | device_nvram_func nvram; /* DEVINFO_FCT_NVRAM */ |
| 214 | 234 | const rom_entry * romregion; /* DEVINFO_PTR_ROM_REGION */ |
| 215 | 235 | const union _machine_config_token *machine_config;/* DEVINFO_PTR_MACHINE_CONFIG */ |
| 236 | const device_contract * contract_list; /* DEVINFO_PTR_CONTRACT_LIST */ | |
| 216 | 237 | }; |
| 217 | 238 | |
| 218 | 239 | |
| r4962 | r4963 | |
| 270 | 291 | /* build a tag with the same device prefix as the source tag*/ |
| 271 | 292 | const char *device_inherit_tag(astring *dest, const char *sourcetag, const char *tag); |
| 272 | 293 | |
| 294 | /* find a given contract on a device */ | |
| 295 | const device_contract *device_get_contract(const device_config *device, const char *name); | |
| 273 | 296 | |
| 274 | 297 | |
| 298 | ||
| 275 | 299 | /* ----- type-based device access ----- */ |
| 276 | 300 | |
| 277 | 301 | /* return the number of items of a given type; DEVICE_TYPE_WILDCARD is allowed */ |
| r4962 | r4963 | |
|---|---|---|
| 91 | 91 | MDRV_DEVICE_ADD(_tag, CPU, _clock) \ |
| 92 | 92 | MDRV_DEVICE_CONFIG_DATAPTR(cpu_config, type, CPU_##_type) |
| 93 | 93 | |
| 94 | #define MDRV_CPU_REMOVE(_tag) \ | |
| 95 | MDRV_DEVICE_REMOVE(_tag) | |
| 96 | ||
| 97 | 94 | #define MDRV_CPU_MODIFY(_tag) \ |
| 98 | 95 | MDRV_DEVICE_MODIFY(_tag) |
| 99 | 96 |
| r4962 | r4963 | |
|---|---|---|
| 92 | 92 | MDRV_DEVICE_CONFIG_DATAPTR(sound_config, type, SOUND_CDP1869) \ |
| 93 | 93 | MDRV_DEVICE_CONFIG(_config) |
| 94 | 94 | |
| 95 | #define MDRV_CDP1869_REMOVE(_tag) \ | |
| 96 | MDRV_DEVICE_REMOVE(_tag) | |
| 97 | ||
| 98 | 95 | #define CDP1869_INTERFACE(_name) const cdp1869_interface (_name) = |
| 99 | 96 | |
| 100 | 97 | #define CDP1869_CHAR_RAM_READ(name) UINT8 name(const device_config *device, UINT16 pma, UINT8 cma) |
| r4962 | r4963 | |
|---|---|---|
| 946 | 946 | |
| 947 | 947 | READ8_HANDLER( quad_pokey_r ) |
| 948 | 948 | { |
| 949 | static const char *devname[4] = { "pokey1", "pokey2", "pokey3", "pokey4" }; | |
| 949 | static const char *const devname[4] = { "pokey1", "pokey2", "pokey3", "pokey4" }; | |
| 950 | 950 | int pokey_num = (offset >> 3) & ~0x04; |
| 951 | 951 | int control = (offset & 0x20) >> 2; |
| 952 | 952 | int pokey_reg = (offset % 8) | control; |
| r4962 | r4963 | |
| 1332 | 1332 | |
| 1333 | 1333 | WRITE8_HANDLER( quad_pokey_w ) |
| 1334 | 1334 | { |
| 1335 | static const char *devname[4] = { "pokey1", "pokey2", "pokey3", "pokey4" }; | |
| 1335 | static const char *const devname[4] = { "pokey1", "pokey2", "pokey3", "pokey4" }; | |
| 1336 | 1336 | int pokey_num = (offset >> 3) & ~0x04; |
| 1337 | 1337 | int control = (offset & 0x20) >> 2; |
| 1338 | 1338 | int pokey_reg = (offset % 8) | control; |
| r4962 | r4963 | |
|---|---|---|
| 53 | 53 | |
| 54 | 54 | /* volume lookup table. Upon configuration, the number of ST pulses determine how much |
| 55 | 55 | attenuation to apply to the sound signal. */ |
| 56 | static int volume_table[4] = | |
| 56 | static const int volume_table[4] = | |
| 57 | 57 | { |
| 58 | 58 | 0x20, // 0 dB |
| 59 | 59 | 0x10, // -6.0 dB |
| r4962 | r4963 | |
|---|---|---|
| 29 | 29 | int okim6258_get_vclk(const device_config *device); |
| 30 | 30 | |
| 31 | 31 | READ8_DEVICE_HANDLER( okim6258_status_r ); |
| 32 | READ8_DEVICE_HANDLER( okim6258_data_r ); | |
| 33 | 32 | WRITE8_DEVICE_HANDLER( okim6258_data_w ); |
| 34 | 33 | WRITE8_DEVICE_HANDLER( okim6258_ctrl_w ); |
| 35 | 34 |
| r4962 | r4963 | |
|---|---|---|
| 64 | 64 | /* draws crosshair(s) in a given screen, if neccessary */ |
| 65 | 65 | void crosshair_render(const device_config *screen); |
| 66 | 66 | |
| 67 | /* toggles crosshair visibility */ | |
| 68 | void crosshair_toggle(running_machine *machine); | |
| 69 | ||
| 70 | 67 | /* sets the screen(s) for a given player's crosshair */ |
| 71 | 68 | void crosshair_set_screen(running_machine *machine, int player, const device_config *screen); |
| 72 | 69 |
| r4962 | r4963 | |
|---|---|---|
| 90 | 90 | MDRV_DEVICE_ADD(_tag, SOUND, _clock) \ |
| 91 | 91 | MDRV_DEVICE_CONFIG_DATAPTR(sound_config, type, SOUND_##_type) |
| 92 | 92 | |
| 93 | #define MDRV_SOUND_REMOVE(_tag) \ | |
| 94 | MDRV_DEVICE_REMOVE(_tag) | |
| 95 | ||
| 96 | 93 | #define MDRV_SOUND_MODIFY(_tag) \ |
| 97 | 94 | MDRV_DEVICE_MODIFY(_tag) |
| 98 | 95 | |
| r4962 | r4963 | |
| 132 | 129 | MDRV_DEVICE_CONFIG_DATAFP32(speaker_config, y, _y, 24) \ |
| 133 | 130 | MDRV_DEVICE_CONFIG_DATAFP32(speaker_config, z, _z, 24) |
| 134 | 131 | |
| 135 | #define MDRV_SPEAKER_REMOVE(_tag) \ | |
| 136 | MDRV_DEVICE_REMOVE(_tag) | |
| 137 | ||
| 138 | 132 | #define MDRV_SPEAKER_STANDARD_MONO(_tag) \ |
| 139 | 133 | MDRV_SPEAKER_ADD(_tag, 0.0, 0.0, 1.0) |
| 140 | 134 |
| r4962 | r4963 | |
|---|---|---|
| 131 | 131 | MDRV_DEVICE_CONFIG_DATA32(timer_config, first_vpos, _first_vpos) \ |
| 132 | 132 | MDRV_DEVICE_CONFIG_DATA32(timer_config, increment, _increment) |
| 133 | 133 | |
| 134 | #define MDRV_TIMER_REMOVE(_tag) \ | |
| 135 | MDRV_DEVICE_REMOVE(_tag) | |
| 136 | ||
| 137 | 134 | #define MDRV_TIMER_MODIFY(_tag) \ |
| 138 | 135 | MDRV_DEVICE_MODIFY(_tag) |
| 139 | 136 |
| r4962 | r4963 | |
|---|---|---|
| 9 | 9 | |
| 10 | 10 | ***************************************************************************/ |
| 11 | 11 | |
| 12 | const char build_version[] = "0.13 | |
| 12 | const char build_version[] = "0.132 |
| r4962 | r4963 | |
|---|---|---|
| 28 | 28 | MDRV_DEVICE_ADD(_tag, MEA8000, 0) \ |
| 29 | 29 | MDRV_DEVICE_CONFIG(_intrf) |
| 30 | 30 | |
| 31 | #define MDRV_MEA8000_REMOVE(_tag) \ | |
| 32 | MDRV_DEVICE_REMOVE(_tag) | |
| 33 | 31 | |
| 34 | ||
| 35 | 32 | /* ---------- functions ------------ */ |
| 36 | 33 | |
| 37 | 34 | DEVICE_GET_INFO(mea8000); |
| r4962 | r4963 | |
|---|---|---|
| 19 | 19 | #define MDRV_CBM_IEEEBUS_ADD(_tag) \ |
| 20 | 20 | MDRV_DEVICE_ADD(_tag, CBM_IEEEBUS, 0) |
| 21 | 21 | |
| 22 | #define MDRV_CBM_IEEEBUS_REMOVE(_tag) \ | |
| 23 | MDRV_DEVICE_REMOVE(_tag) | |
| 24 | ||
| 25 | 22 | /*************************************************************************** |
| 26 | 23 | PROTOTYPES |
| 27 | 24 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 21 | 21 | MDRV_DEVICE_ADD(_tag, CBM_SERBUS, 0) \ |
| 22 | 22 | MDRV_DEVICE_CONFIG(_config) |
| 23 | 23 | |
| 24 | #define MDRV_CBM_SERBUS_REMOVE(_tag) \ | |
| 25 | MDRV_DEVICE_REMOVE(_tag) | |
| 26 | ||
| 27 | 24 | /*************************************************************************** |
| 28 | 25 | TYPE DEFINITIONS |
| 29 | 26 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 81 | 81 | #define MDRV_APPLEFDC_MODIFY(_tag, _intrf) \ |
| 82 | 82 | MDRV_DEVICE_MODIFY(_tag) \ |
| 83 | 83 | MDRV_DEVICE_CONFIG(_intrf) |
| 84 | ||
| 85 | #define MDRV_APPLEFDC_REMOVE(_tag) \ | |
| 86 | MDRV_DEVICE_REMOVE(_tag) | |
| 87 | 84 | |
| 88 | 85 | #define MDRV_IWM_ADD(_tag, _intrf) \ |
| 89 | 86 | MDRV_DEVICE_ADD(_tag, IWM, 0) \ |
| r4962 | r4963 | |
| 92 | 89 | #define MDRV_IWM_MODIFY(_tag, _intrf) \ |
| 93 | 90 | MDRV_DEVICE_MODIFY(_tag) \ |
| 94 | 91 | MDRV_DEVICE_CONFIG(_intrf) |
| 95 | ||
| 96 | #define MDRV_IWM_REMOVE(_tag) \ | |
| 97 | MDRV_DEVICE_REMOVE(_tag) | |
| 98 | 92 | |
| 99 | 93 | #define MDRV_SWIM_ADD(_tag, _intrf) \ |
| 100 | 94 | MDRV_DEVICE_ADD(_tag, SWIM, 0) \ |
| r4962 | r4963 | |
| 103 | 97 | #define MDRV_SWIM_MODIFY(_tag, _intrf) \ |
| 104 | 98 | MDRV_DEVICE_MODIFY(_tag) \ |
| 105 | 99 | MDRV_DEVICE_CONFIG(_intrf) |
| 106 | ||
| 107 | #define MDRV_SWIM_REMOVE(_tag) \ | |
| 108 | MDRV_DEVICE_REMOVE(_tag) | |
| 109 | 100 | |
| 110 | 101 | |
| 111 | 102 | #endif /* __APPLEFDC_H__ */ |
| r4962 | r4963 | |
|---|---|---|
| 25 | 25 | #define MDRV_AT45DB041_ADD(_tag) \ |
| 26 | 26 | MDRV_DEVICE_ADD(_tag, AT45DB041, 0) \ |
| 27 | 27 | |
| 28 | #define MDRV_AT45DB041_REMOVE(_tag) \ | |
| 29 | MDRV_DEVICE_REMOVE(_tag) | |
| 30 | ||
| 31 | 28 | #define AT45DB081 DEVICE_GET_INFO_NAME(at45db081) |
| 32 | 29 | |
| 33 | 30 | #define MDRV_AT45DB081_ADD(_tag) \ |
| 34 | 31 | MDRV_DEVICE_ADD(_tag, AT45DB081, 0) \ |
| 35 | 32 | |
| 36 | #define MDRV_AT45DB081_REMOVE(_tag) \ | |
| 37 | MDRV_DEVICE_REMOVE(_tag) | |
| 38 | ||
| 39 | 33 | #define AT45DB161 DEVICE_GET_INFO_NAME(at45db161) |
| 40 | 34 | |
| 41 | 35 | #define MDRV_AT45DB161_ADD(_tag) \ |
| 42 | 36 | MDRV_DEVICE_ADD(_tag, AT45DB161, 0) \ |
| 43 | 37 | |
| 44 | #define MDRV_AT45DB161_REMOVE(_tag) \ | |
| 45 | MDRV_DEVICE_REMOVE(_tag) | |
| 46 | 38 | |
| 47 | ||
| 48 | 39 | /*************************************************************************** |
| 49 | 40 | FUNCTION PROTOTYPES |
| 50 | 41 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 45 | 45 | MDRV_DEVICE_ADD(_tag, CDP1871, _clock) \ |
| 46 | 46 | MDRV_DEVICE_CONFIG(_intrf) |
| 47 | 47 | |
| 48 | #define MDRV_CDP1871_REMOVE(_tag) \ | |
| 49 | MDRV_DEVICE_REMOVE(_tag) | |
| 50 | ||
| 51 | 48 | #define CDP1871_INTERFACE(name) \ |
| 52 | 49 | const cdp1871_interface (name)= |
| 53 | 50 |
| r4962 | r4963 | |
|---|---|---|
| 35 | 35 | MDRV_DEVICE_ADD(_tag, MIOT6530, _clock) \ |
| 36 | 36 | MDRV_DEVICE_CONFIG(_intrf) |
| 37 | 37 | |
| 38 | #define MDRV_MIOT6530_REMOVE(_tag) \ | |
| 39 | MDRV_DEVICE_REMOVE(_tag) | |
| 40 | 38 | |
| 41 | 39 | |
| 42 | ||
| 43 | 40 | /*************************************************************************** |
| 44 | 41 | FUNCTION PROTOTYPES |
| 45 | 42 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 67 | 67 | MDRV_DEVICE_ADD(_tag, CENTRONICS, 0) \ |
| 68 | 68 | MDRV_DEVICE_CONFIG(_intf) |
| 69 | 69 | |
| 70 | #define MDRV_CENTRONICS_REMOVE(_tag) \ | |
| 71 | MDRV_DEVICE_REMOVE(_tag) | |
| 72 | 70 | |
| 73 | ||
| 74 | 71 | /*************************************************************************** |
| 75 | 72 | DEFAULT INTERFACES |
| 76 | 73 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 46 | 46 | MDRV_DEVICE_ADD(_tag, ADC0808, _clock) \ |
| 47 | 47 | MDRV_DEVICE_CONFIG(_intrf) |
| 48 | 48 | |
| 49 | #define MDRV_ADC0808_REMOVE(_tag) \ | |
| 50 | MDRV_DEVICE_REMOVE(_tag) | |
| 51 | ||
| 52 | 49 | #define MDRV_ADC0809_ADD(_tag, _clock, _intrf) \ |
| 53 | 50 | MDRV_DEVICE_ADD(_tag, ADC0809, _clock) \ |
| 54 | 51 | MDRV_DEVICE_CONFIG(_intrf) |
| 55 | 52 | |
| 56 | #define MDRV_ADC0809_REMOVE(_tag) \ | |
| 57 | MDRV_DEVICE_REMOVE(_tag) | |
| 58 | 53 | |
| 59 | ||
| 60 | 54 | /* interface */ |
| 61 | 55 | typedef struct _adc080x_interface adc080x_interface; |
| 62 | 56 | struct _adc080x_interface |
| r4962 | r4963 | |
|---|---|---|
| 69 | 69 | MDRV_DEVICE_ADD(_tag, AY31015, 0) \ |
| 70 | 70 | MDRV_DEVICE_CONFIG(_config) |
| 71 | 71 | |
| 72 | #define MDRV_AY31015_REMOVE(_tag) \ | |
| 73 | MDRV_DEVICE_REMOVE(_tag) | |
| 74 | 72 | |
| 75 | ||
| 76 | 73 | /*************************************************************************** |
| 77 | 74 | FUNCTION PROTOTYPES |
| 78 | 75 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 34 | 34 | MDRV_DEVICE_ADD(_tag, COM8116, _clock) \ |
| 35 | 35 | MDRV_DEVICE_CONFIG(_config) |
| 36 | 36 | |
| 37 | #define MDRV_COM8116_REMOVE(_tag) \ | |
| 38 | MDRV_DEVICE_REMOVE(_tag) | |
| 39 | ||
| 40 | 37 | #define COM8116_INTERFACE(name) \ |
| 41 | 38 | const com8116_interface (name)= |
| 42 | 39 |
| r4962 | r4963 | |
|---|---|---|
| 59 | 59 | MDRV_DEVICE_ADD(_tag, TPI6525, 0) \ |
| 60 | 60 | MDRV_DEVICE_CONFIG(_intrf) |
| 61 | 61 | |
| 62 | #define MDRV_TPI6525_REMOVE(_tag) \ | |
| 63 | MDRV_DEVICE_REMOVE(_tag) | |
| 64 | 62 | |
| 65 | ||
| 66 | 63 | /*************************************************************************** |
| 67 | 64 | FUNCTION PROTOTYPES |
| 68 | 65 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 58 | 58 | MDRV_DEVICE_ADD(_tag, INS8250, 0) \ |
| 59 | 59 | MDRV_DEVICE_CONFIG(_intrf) |
| 60 | 60 | |
| 61 | #define MDRV_INS8250_REMOVE(_tag) \ | |
| 62 | MDRV_DEVICE_REMOVE(_tag) | |
| 63 | 61 | |
| 64 | ||
| 65 | 62 | #define MDRV_NS16450_ADD(_tag, _intrf) \ |
| 66 | 63 | MDRV_DEVICE_ADD(_tag, NS16450, 0) \ |
| 67 | 64 | MDRV_DEVICE_CONFIG(_intrf) |
| 68 | 65 | |
| 69 | #define MDRV_NS16450_REMOVE(_tag) \ | |
| 70 | MDRV_DEVICE_REMOVE(_tag) | |
| 71 | 66 | |
| 72 | ||
| 73 | 67 | #define MDRV_NS16550_ADD(_tag, _intrf) \ |
| 74 | 68 | MDRV_DEVICE_ADD(_tag, NS16550, 0) \ |
| 75 | 69 | MDRV_DEVICE_CONFIG(_intrf) |
| 76 | 70 | |
| 77 | #define MDRV_NS16550_REMOVE(_tag) \ | |
| 78 | MDRV_DEVICE_REMOVE(_tag) | |
| 79 | 71 | |
| 80 | ||
| 81 | 72 | /*************************************************************************** |
| 82 | 73 | FUNCTION PROTOTYPES |
| 83 | 74 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 346 | 346 | $(MESSOBJ)/sharp.a \ |
| 347 | 347 | $(MESSOBJ)/sinclair.a \ |
| 348 | 348 | $(MESSOBJ)/skeleton.a \ |
| 349 | $(MESSOBJ)/snk.a \ | |
| 349 | 350 | $(MESSOBJ)/sony.a \ |
| 350 | 351 | $(MESSOBJ)/sord.a \ |
| 351 | 352 | $(MESSOBJ)/special.a \ |
| r4962 | r4963 | |
| 375 | 376 | $(MESSOBJ)/xerox.a \ |
| 376 | 377 | $(MESSOBJ)/z80ne.a \ |
| 377 | 378 | $(MESSOBJ)/shared.a \ |
| 378 | $(MESSOBJ)/snk.a \ | |
| 379 | 379 | |
| 380 | 380 | |
| 381 | 381 |
| r4962 | r4963 | |
|---|---|---|
| 80 | 80 | MDRV_DEVICE_CONFIG_DATA64(snapquick_config, delay_seconds, (seconds_t) (_delay)) \ |
| 81 | 81 | MDRV_DEVICE_CONFIG_DATA64(snapquick_config, delay_attoseconds, (attoseconds_t) (((_delay) - (int)(_delay)) * ATTOSECONDS_PER_SECOND)) \ |
| 82 | 82 | |
| 83 | #define MDRV_QUICKLOAD_REMOVE(_tag) \ | |
| 84 | MDRV_DEVICE_REMOVE(_tag) | |
| 85 | 83 | |
| 86 | 84 | |
| 87 | ||
| 88 | 85 | /*************************************************************************** |
| 89 | 86 | FUNCTION PROTOTYPES |
| 90 | 87 | ***************************************************************************/ |
| r4962 | r4963 | |
|---|---|---|
| 75 | 75 | MDRV_DEVICE_ADD(_tag, CASSETTE, 0) \ |
| 76 | 76 | MDRV_DEVICE_CONFIG(_config) |
| 77 | 77 | |
| 78 | #define MDRV_CASSETTE_REMOVE(_tag) \ | |
| 79 | MDRV_DEVICE_REMOVE(_tag) | |
| 80 | ||
| 81 | 78 | #define MDRV_CASSETTE_MODIFY(_tag, _config) \ |
| 82 | 79 | MDRV_DEVICE_MODIFY(_tag) \ |
| 83 | 80 | MDRV_DEVICE_CONFIG(_config) |
| r4962 | r4963 | |
|---|---|---|
| 27 | 27 | MDRV_DEVICE_ADD(_tag, XMODEM, 0) \ |
| 28 | 28 | MDRV_DEVICE_CONFIG(_intrf) |
| 29 | 29 | |
| 30 | #define MDRV_XMODEM_REMOVE(_tag) \ | |
| 31 | MDRV_DEVICE_REMOVE(_tag) | |
| 32 | 30 | |
| 33 | ||
| 34 | 31 | extern DEVICE_GET_INFO( xmodem ); |
| 35 | 32 | |
| 36 | 33 |
| r4962 | r4963 | |
|---|---|---|
| 27 | 27 | MDRV_DEVICE_ADD(_tag, KERMIT, 0) \ |
| 28 | 28 | MDRV_DEVICE_CONFIG(_intrf) |
| 29 | 29 | |
| 30 | #define MDRV_KERMIT_REMOVE(_tag) \ | |
| 31 | MDRV_DEVICE_REMOVE(_tag) | |
| 32 | 30 | |
| 33 | ||
| 34 | 31 | extern DEVICE_GET_INFO( kermit ); |
| 35 | 32 | |
| 36 | 33 |
| r4962 | r4963 | |
|---|---|---|
| 86 | 86 | #define MDRV_CARTSLOT_ADD(_tag) \ |
| 87 | 87 | MDRV_DEVICE_ADD(_tag, CARTSLOT, 0) \ |
| 88 | 88 | |
| 89 | #define MDRV_CARTSLOT_REMOVE(_tag) \ | |
| 90 | MDRV_DEVICE_REMOVE(_tag) | |
| 91 | ||
| 92 | 89 | #define MDRV_CARTSLOT_MODIFY(_tag) \ |
| 93 | 90 | MDRV_DEVICE_MODIFY(_tag) \ |
| 94 | 91 |
| r4962 | r4963 | |
|---|---|---|
| 264 | 264 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.50) |
| 265 | 265 | |
| 266 | 266 | /* cia */ |
| 267 | MDRV_CIA6526_REMOVE("cia_0") | |
| 268 | MDRV_CIA6526_REMOVE("cia_1") | |
| 267 | MDRV_DEVICE_REMOVE("cia_0") | |
| 268 | MDRV_DEVICE_REMOVE("cia_1") | |
| 269 | 269 | MDRV_CIA6526_ADD("cia_0", CIA6526R1, 3500000, c65_pal_cia0) |
| 270 | 270 | MDRV_CIA6526_ADD("cia_1", CIA6526R1, 3500000, c65_pal_cia1) |
| 271 | 271 | MACHINE_DRIVER_END |
| r4962 | r4963 | |
|---|---|---|
| 400 | 400 | MDRV_SCREEN_VISIBLE_AREA(0, 720 - 1, 0, 350 - 1) |
| 401 | 401 | MDRV_GFXDECODE( cbm700 ) |
| 402 | 402 | |
| 403 | MDRV_ | |
| 403 | MDRV_DEVICE | |
| 404 | 404 | MDRV_MC6845_ADD("crtc", MC6845, XTAL_18MHz / 8 /*? I do not know if this is correct, please verify */, cbm700_crtc) |
| 405 | 405 | |
| 406 | 406 | MDRV_VIDEO_START( cbm700 ) |
| r4962 | r4963 | |
|---|---|---|
| 1110 | 1110 | |
| 1111 | 1111 | MDRV_CASSETTE_MODIFY( "cassette", mo5_cassette_config ) |
| 1112 | 1112 | |
| 1113 | MDRV_ | |
| 1113 | MDRV_DEVICE | |
| 1114 | 1114 | |
| 1115 | 1115 | MDRV_PIA6821_MODIFY( THOM_PIA_SYS, mo5_pia6821_sys ) |
| 1116 | 1116 | |
| r4962 | r4963 | |
| 1456 | 1456 | MDRV_CPU_PROGRAM_MAP ( to9) |
| 1457 | 1457 | |
| 1458 | 1458 | MDRV_PIA6821_MODIFY( THOM_PIA_SYS, to9_pia6821_sys ) |
| 1459 | MDRV_ | |
| 1459 | MDRV_DEVICE | |
| 1460 | 1460 | |
| 1461 | MDRV_ | |
| 1461 | MDRV_DEV | |
| 1462 | 1462 | MDRV_CENTRONICS_ADD("centronics", standard_centronics) |
| 1463 | 1463 | |
| 1464 | 1464 | MDRV_MC6846_MODIFY( "mc6846", to9_timer ) |
| r4962 | r4963 | |
| 1684 | 1684 | MDRV_CPU_PROGRAM_MAP ( to8) |
| 1685 | 1685 | |
| 1686 | 1686 | MDRV_PIA6821_MODIFY( THOM_PIA_SYS, to8_pia6821_sys ) |
| 1687 | MDRV_ | |
| 1687 | MDRV_DEVICE | |
| 1688 | 1688 | |
| 1689 | MDRV_ | |
| 1689 | MDRV_DEV | |
| 1690 | 1690 | MDRV_CENTRONICS_ADD("centronics", standard_centronics) |
| 1691 | 1691 | |
| 1692 | 1692 | MDRV_MC6846_MODIFY( "mc6846", to8_timer ) |
| r4962 | r4963 | |
| 1839 | 1839 | MDRV_CPU_PROGRAM_MAP ( to9p) |
| 1840 | 1840 | |
| 1841 | 1841 | MDRV_PIA6821_MODIFY( THOM_PIA_SYS, to9p_pia6821_sys ) |
| 1842 | MDRV_ | |
| 1842 | MDRV_DEVICE | |
| 1843 | 1843 | |
| 1844 | MDRV_ | |
| 1844 | MDRV_DEV | |
| 1845 | 1845 | MDRV_CENTRONICS_ADD("centronics", standard_centronics) |
| 1846 | 1846 | |
| 1847 | 1847 | MDRV_MC6846_MODIFY( "mc6846", to9p_timer ) |
| r4962 | r4963 | |
| 2178 | 2178 | MDRV_CPU_MODIFY( "maincpu" ) |
| 2179 | 2179 | MDRV_CPU_PROGRAM_MAP ( mo6) |
| 2180 | 2180 | |
| 2181 | MDRV_ | |
| 2181 | MDRV_DEVICE | |
| 2182 | 2182 | |
| 2183 | 2183 | MDRV_PIA6821_MODIFY( THOM_PIA_SYS, mo6_pia6821_sys ) |
| 2184 | MDRV_ | |
| 2184 | MDRV_DEVICE | |
| 2185 | 2185 | MDRV_PIA6821_MODIFY( THOM_PIA_GAME, mo6_pia6821_game ) |
| 2186 | 2186 | |
| 2187 | MDRV_ | |
| 2187 | MDRV_DEV | |
| 2188 | 2188 | MDRV_CENTRONICS_ADD("centronics", mo6_centronics_config) |
| 2189 | 2189 | |
| 2190 | 2190 | MDRV_CARTSLOT_MODIFY("cart") |
| r4962 | r4963 | |
| 2410 | 2410 | MDRV_CPU_MODIFY( "maincpu" ) |
| 2411 | 2411 | MDRV_CPU_PROGRAM_MAP ( mo5nr) |
| 2412 | 2412 | |
| 2413 | MDRV_ | |
| 2413 | MDRV_DEVICE | |
| 2414 | 2414 | |
| 2415 | 2415 | MDRV_PIA6821_MODIFY( THOM_PIA_SYS, mo5nr_pia6821_sys ) |
| 2416 | MDRV_ | |
| 2416 | MDRV_DEVICE | |
| 2417 | 2417 | MDRV_PIA6821_MODIFY( THOM_PIA_GAME, mo5nr_pia6821_game ) |
| 2418 | 2418 | |
| 2419 | MDRV_ | |
| 2419 | MDRV_DEV | |
| 2420 | 2420 | MDRV_CENTRONICS_ADD("centronics", standard_centronics) |
| 2421 | 2421 | |
| 2422 | 2422 | MDRV_CARTSLOT_MODIFY("cart") |
| r4962 | r4963 | |
|---|---|---|
| 623 | 623 | MDRV_PPI8255_ADD( "ppi8255_0", mato_ppi8255_interface ) |
| 624 | 624 | |
| 625 | 625 | /* no uart */ |
| 626 | MDRV_ | |
| 626 | MDRV_DEVICE | |
| 627 | 627 | MACHINE_DRIVER_END |
| 628 | 628 | |
| 629 | 629 | static MACHINE_DRIVER_START( c2717 ) |
| r4962 | r4963 | |
|---|---|---|
| 183 | 183 | |
| 184 | 184 | /* devices config */ |
| 185 | 185 | #include "includes/cbm.h" |
| 186 | #include "includes/cbmserb.h" | |
| 186 | #include "includes/cbmserb.h" | |
| 187 | 187 | #include "includes/cbmdrive.h" |
| 188 | 188 | #include "includes/vc1541.h" |
| 189 | 189 | |
| r4962 | r4963 | |
| 645 | 645 | static MACHINE_DRIVER_START( c128d ) |
| 646 | 646 | MDRV_IMPORT_FROM( c128 ) |
| 647 | 647 | |
| 648 | MDRV_C | |
| 648 | MDRV_DEVIC | |
| 649 | 649 | MDRV_IMPORT_FROM( cpu_c1571 ) |
| 650 | 650 | MACHINE_DRIVER_END |
| 651 | 651 | |
| 652 | 652 | static MACHINE_DRIVER_START( c128dcr ) |
| 653 | 653 | MDRV_IMPORT_FROM( c128 ) |
| 654 | 654 | |
| 655 | MDRV_C | |
| 655 | MDRV_DEVIC | |
| 656 | 656 | MDRV_IMPORT_FROM( cpu_c1571cr ) |
| 657 | 657 | MACHINE_DRIVER_END |
| 658 | 658 | |
| 659 | 659 | static MACHINE_DRIVER_START( c128d81 ) |
| 660 | 660 | MDRV_IMPORT_FROM( c128 ) |
| 661 | 661 | |
| 662 | MDRV_C | |
| 662 | MDRV_DEVIC | |
| 663 | 663 | MDRV_IMPORT_FROM( cpu_c1581 ) |
| 664 | 664 | MACHINE_DRIVER_END |
| 665 | 665 | |
| r4962 | r4963 | |
| 679 | 679 | MDRV_SOUND_CONFIG(c128_sound_interface) |
| 680 | 680 | |
| 681 | 681 | /* cia */ |
| 682 | MDRV_CIA6526_REMOVE("cia_0") | |
| 683 | MDRV_CIA6526_REMOVE("cia_1") | |
| 682 | MDRV_DEVICE_REMOVE("cia_0") | |
| 683 | MDRV_DEVICE_REMOVE("cia_1") | |
| 684 | 684 | MDRV_CIA6526_ADD("cia_0", CIA6526R1, VIC6569_CLOCK, c128_pal_cia0) |
| 685 | 685 | MDRV_CIA6526_ADD("cia_1", CIA6526R1, VIC6569_CLOCK, c128_pal_cia1) |
| 686 | 686 | MACHINE_DRIVER_END |
| r4962 | r4963 | |
| 688 | 688 | static MACHINE_DRIVER_START( c128dpal ) |
| 689 | 689 | MDRV_IMPORT_FROM( c128pal ) |
| 690 | 690 | |
| 691 | MDRV_C | |
| 691 | MDRV_DEVIC | |
| 692 | 692 | MDRV_IMPORT_FROM( cpu_c1571 ) |
| 693 | 693 | MACHINE_DRIVER_END |
| 694 | 694 | |
| 695 | 695 | static MACHINE_DRIVER_START( c128dcrp ) |
| 696 | 696 | MDRV_IMPORT_FROM( c128pal ) |
| 697 | 697 | |
| 698 | MDRV_C | |
| 698 | MDRV_DEVIC | |
| 699 | 699 | MDRV_IMPORT_FROM( cpu_c1571cr ) |
| 700 | 700 | MACHINE_DRIVER_END |
| 701 | 701 |
| r4962 | r4963 | |
|---|---|---|
| 129 | 129 | /* devices config */ |
| 130 | 130 | #include "includes/cbm.h" |
| 131 | 131 | #include "includes/cbmdrive.h" |
| 132 | #include "includes/cbmserb.h" | |
| 132 | #include "includes/cbmserb.h" | |
| 133 | 133 | |
| 134 | 134 | #include "includes/c16.h" |
| 135 | 135 | |
| r4962 | r4963 | |
| 464 | 464 | |
| 465 | 465 | /* c16c uses 'real' floppy drive emulation from machine/vc1541.c... |
| 466 | 466 | still in progress, atm */ |
| 467 | MDRV_ | |
| 467 | MDRV_DEVICE | |
| 468 | 468 | MDRV_TPI6525_ADD("tpi6535_tpi_2", c16_tpi6525_tpi_2_c1551_intf) |
| 469 | 469 | |
| 470 | 470 | /* emulation code currently supports only one drive */ |
| 471 | MDRV_ | |
| 471 | MDRV_DEVICE | |
| 472 | 472 | |
| 473 | MDRV_C | |
| 473 | MDRV_DEVIC | |
| 474 | 474 | MDRV_IMPORT_FROM( cpu_c1551 ) |
| 475 | 475 | #ifdef CPU_SYNC |
| 476 | 476 | MDRV_QUANTUM_TIME(HZ(60)) |
| r4962 | r4963 | |
| 483 | 483 | static MACHINE_DRIVER_START( c16v ) |
| 484 | 484 | MDRV_IMPORT_FROM( c16 ) |
| 485 | 485 | |
| 486 | MDRV_C | |
| 486 | MDRV_DEVIC | |
| 487 | 487 | MDRV_IMPORT_FROM( cpu_vc1541 ) |
| 488 | 488 | #ifdef CPU_SYNC |
| 489 | 489 | MDRV_QUANTUM_TIME(HZ(60)) |
| r4962 | r4963 | |
| 492 | 492 | #endif |
| 493 | 493 | |
| 494 | 494 | /* no c1551 in this driver */ |
| 495 | MDRV_TPI6525_REMOVE("tpi6535_tpi_2") | |
| 496 | MDRV_TPI6525_REMOVE("tpi6535_tpi_3") | |
| 495 | MDRV_DEVICE_REMOVE("tpi6535_tpi_2") | |
| 496 | MDRV_DEVICE_REMOVE("tpi6535_tpi_3") | |
| 497 | 497 | MACHINE_DRIVER_END |
| 498 | 498 | |
| 499 | 499 | |
| r4962 | r4963 | |
| 514 | 514 | |
| 515 | 515 | /* plus4c uses 'real' floppy drive emulation from machine/vc1541.c... |
| 516 | 516 | still in progress, atm */ |
| 517 | MDRV_ | |
| 517 | MDRV_DEVICE | |
| 518 | 518 | MDRV_TPI6525_ADD("tpi6535_tpi_2", c16_tpi6525_tpi_2_c1551_intf) |
| 519 | 519 | |
| 520 | 520 | /* emulation code currently supports only one drive */ |
| 521 | MDRV_CBM_SERBUS_REMOVE("serial_bus") // in the current code, serial bus device is tied to the floppy drive | |
| 522 | MDRV_TPI6525_REMOVE("tpi6535_tpi_3") | |
| 521 | MDRV_DEVICE_REMOVE("serial_bus") // in the current code, serial bus device is tied to the floppy drive | |
| 522 | MDRV_DEVICE_REMOVE("tpi6535_tpi_3") | |
| 523 | 523 | |
| 524 | 524 | MDRV_IMPORT_FROM( cpu_c1551 ) |
| 525 | 525 | |
| r4962 | r4963 | |
| 536 | 536 | static MACHINE_DRIVER_START( plus4v ) |
| 537 | 537 | MDRV_IMPORT_FROM( plus4 ) |
| 538 | 538 | |
| 539 | MDRV_C | |
| 539 | MDRV_DEVIC | |
| 540 | 540 | MDRV_IMPORT_FROM( cpu_vc1541 ) |
| 541 | 541 | |
| 542 | 542 | MDRV_SCREEN_MODIFY("screen") |
| r4962 | r4963 | |
| 548 | 548 | #endif |
| 549 | 549 | |
| 550 | 550 | /* no c1551 in this driver */ |
| 551 | MDRV_TPI6525_REMOVE("tpi6535_tpi_2") | |
| 552 | MDRV_TPI6525_REMOVE("tpi6535_tpi_3") | |
| 551 | MDRV_DEVICE_REMOVE("tpi6535_tpi_2") | |
| 552 | MDRV_DEVICE_REMOVE("tpi6535_tpi_3") | |
| 553 | 553 | MACHINE_DRIVER_END |
| 554 | 554 | |
| 555 | 555 |
| r4962 | r4963 | |
|---|---|---|
| 666 | 666 | MDRV_CPU_ADD(I8051_TAG, I8051, X4) |
| 667 | 667 | MDRV_CPU_IO_MAP(ipc_io_map) |
| 668 | 668 | |
| 669 | MDRV_C | |
| 669 | MDRV_DEVICE | |
| 670 | 670 | MACHINE_DRIVER_END |
| 671 | 671 | |
| 672 | 672 | static MACHINE_DRIVER_START( ql_ntsc ) |
| r4962 | r4963 | |
|---|---|---|
| 421 | 421 | MDRV_CPU_REPLACE("maincpu", M68000, CDTV_CLOCK_X1 / 4) |
| 422 | 422 | MDRV_CPU_PROGRAM_MAP(cdtv_mem) |
| 423 | 423 | |
| 424 | MDRV_C | |
| 424 | MDRV_DEVICE | |
| 425 | 425 | |
| 426 | 426 | MDRV_CPU_ADD("rcmcu", M6502, XTAL_1MHz) /* 1 MHz? */ |
| 427 | 427 | MDRV_CPU_PROGRAM_MAP(cdtv_rcmcu_mem) |
| r4962 | r4963 | |
| 443 | 443 | MDRV_TPI6525_ADD("tpi6525", cdtv_tpi_intf) |
| 444 | 444 | |
| 445 | 445 | /* cia */ |
| 446 | MDRV_CIA8520_REMOVE("cia_0") | |
| 447 | MDRV_CIA8520_REMOVE("cia_1") | |
| 446 | MDRV_DEVICE_REMOVE("cia_0") | |
| 447 | MDRV_DEVICE_REMOVE("cia_1") | |
| 448 | 448 | MDRV_CIA8520_ADD("cia_0", CDTV_CLOCK_X1 / 40, cia_0_cdtv_intf) |
| 449 | 449 | MDRV_CIA8520_ADD("cia_1", CDTV_CLOCK_X1 / 4, cia_1_cdtv_intf) |
| 450 | 450 | MACHINE_DRIVER_END |
| r4962 | r4963 | |
| 462 | 462 | MDRV_SCREEN_VISIBLE_AREA(214, (228*4)-1, 34, 312-1) |
| 463 | 463 | |
| 464 | 464 | /* cia */ |
| 465 | MDRV_ | |
| 465 | MDRV_DEVICE | |
| 466 | 466 | MDRV_CIA8520_ADD("cia_0", AMIGA_68000_PAL_CLOCK / 10, cia_0_pal_intf) |
| 467 | 467 | MACHINE_DRIVER_END |
| 468 | 468 |
| r4962 | r4963 | |
|---|---|---|
| 308 | 308 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00) |
| 309 | 309 | |
| 310 | 310 | /* devices */ |
| 311 | MDRV_ | |
| 311 | MDRV_DEVICE | |
| 312 | 312 | MDRV_RIOT6532_ADD("riot", 3546894/3, a7800_r6532_interface) |
| 313 | 313 | MACHINE_DRIVER_END |
| 314 | 314 |
| r4962 | r4963 | |
|---|---|---|
| 177 | 177 | |
| 178 | 178 | static MACHINE_DRIVER_START( z1013k76 ) |
| 179 | 179 | MDRV_IMPORT_FROM(z1013) |
| 180 | MDRV_ | |
| 180 | MDRV_DEV | |
| 181 | 181 | MDRV_Z80PIO_ADD("z80pio", z1013k7659_z80pio_intf) |
| 182 | 182 | MACHINE_DRIVER_END |
| 183 | 183 |
| r4962 | r4963 | |
|---|---|---|
| 428 | 428 | MDRV_NVRAM_HANDLER(qsound) |
| 429 | 429 | |
| 430 | 430 | /* sound hardware */ |
| 431 | MDRV_ | |
| 431 | MDRV_D | |
| 432 | 432 | MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 433 | 433 | |
| 434 | MDRV_SOUND_REMOVE("2151") | |
| 435 | MDRV_SOUND_REMOVE("oki") | |
| 434 | MDRV_DEVICE_REMOVE("2151") | |
| 435 | MDRV_DEVICE_REMOVE("oki") | |
| 436 | 436 | |
| 437 | 437 | MDRV_SOUND_ADD("qsound", QSOUND, QSOUND_CLOCK) |
| 438 | 438 | MDRV_SOUND_ROUTE(0, "lspeaker", 1.0) |
| r4962 | r4963 | |
|---|---|---|
| 471 | 471 | MDRV_SCREEN_REFRESH_RATE(50) |
| 472 | 472 | |
| 473 | 473 | /* cia */ |
| 474 | MDRV_CIA8520_REMOVE("cia_0") | |
| 475 | MDRV_CIA8520_REMOVE("cia_1") | |
| 474 | MDRV_DEVICE_REMOVE("cia_0") | |
| 475 | MDRV_DEVICE_REMOVE("cia_1") | |
| 476 | 476 | MDRV_CIA8520_ADD("cia_0", AMIGA_68EC020_PAL_CLOCK / 10, a1200_cia_0_intf) |
| 477 | 477 | MDRV_CIA8520_ADD("cia_1", AMIGA_68EC020_PAL_CLOCK / 10, a1200_cia_1_intf) |
| 478 | 478 | MACHINE_DRIVER_END |
| r4962 | r4963 | |
|---|---|---|
| 177 | 177 | MDRV_SOUND_ROUTE(1, "rspeaker", 1.0) |
| 178 | 178 | |
| 179 | 179 | /* replace the old-style FDC with an IWM */ |
| 180 | MDRV_ | |
| 180 | MDRV_ | |
| 181 | 181 | MDRV_IWM_ADD("fdc", apple2_fdc_interface) |
| 182 | 182 | /* SCC */ |
| 183 | 183 | MDRV_SCC8530_ADD("scc") |
| r4962 | r4963 | |
|---|---|---|
| 1691 | 1691 | MDRV_DEFAULT_LAYOUT(layout_nc200) |
| 1692 | 1692 | |
| 1693 | 1693 | /* printer */ |
| 1694 | MDRV_ | |
| 1694 | MDRV_DEV | |
| 1695 | 1695 | MDRV_CENTRONICS_ADD("centronics", nc200_centronics_config) |
| 1696 | 1696 | |
| 1697 | 1697 | /* uart */ |
| 1698 | MDRV_ | |
| 1698 | MDRV_DEVICE | |
| 1699 | 1699 | MDRV_MSM8251_ADD("uart", nc200_uart_interface) |
| 1700 | 1700 | |
| 1701 | 1701 | /* no rtc */ |
| 1702 | MDRV_ | |
| 1702 | MDRV_DEVICE | |
| 1703 | 1703 | |
| 1704 | 1704 | MDRV_NEC765A_ADD("nec765", nc200_nec765_interface) |
| 1705 | 1705 | MACHINE_DRIVER_END |
| r4962 | r4963 | |
|---|---|---|
| 187 | 187 | static MACHINE_DRIVER_START( macse ) |
| 188 | 188 | MDRV_IMPORT_FROM( macplus ) |
| 189 | 189 | |
| 190 | MDRV_VI | |
| 190 | MDRV_DEVICE | |
| 191 | 191 | MDRV_VIA6522_ADD("via6522_0", 1000000, mac_via6522_adb_intf) |
| 192 | 192 | MACHINE_DRIVER_END |
| 193 | 193 | |
| r4962 | r4963 | |
| 197 | 197 | MDRV_CPU_REPLACE("maincpu", M68020, 7833600*2) |
| 198 | 198 | MDRV_CPU_PROGRAM_MAP(maclc_map) |
| 199 | 199 | |
| 200 | MDRV_VI | |
| 200 | MDRV_DEVICE | |
| 201 | 201 | MDRV_VIA6522_ADD("via6522_0", 1000000, mac_via6522_adb_intf) |
| 202 | 202 | MDRV_VIA6522_ADD("via6522_1", 1000000, mac_via6522_2_intf) |
| 203 | 203 | MACHINE_DRIVER_END |
| r4962 | r4963 | |
|---|---|---|
| 206 | 206 | MDRV_VIDEO_START(raaspec) |
| 207 | 207 | |
| 208 | 208 | /* via */ |
| 209 | MDRV_VI | |
| 209 | MDRV_DEVICE | |
| 210 | 210 | MDRV_VIA6522_ADD("via6522_0", 0, spectrum1_via6522_interface) |
| 211 | 211 | |
| 212 | MDRV_C | |
| 212 | MDRV_DEVICE | |
| 213 | 213 | MACHINE_DRIVER_END |
| 214 | 214 | |
| 215 | 215 | ROM_START(raaspec) |
| r4962 | r4963 | |
|---|---|---|
| 140 | 140 | MDRV_IWM_MODIFY("fdc", lisa210_fdc_interface) |
| 141 | 141 | |
| 142 | 142 | /* via */ |
| 143 | MDRV_VIA6522_REMOVE("via6522_0") | |
| 144 | MDRV_VIA6522_REMOVE("via6522_1") | |
| 143 | MDRV_DEVICE_REMOVE("via6522_0") | |
| 144 | MDRV_DEVICE_REMOVE("via6522_1") | |
| 145 | 145 | MDRV_VIA6522_ADD("via6522_0", 1250000, lisa_via6522_0_intf) |
| 146 | 146 | MDRV_VIA6522_ADD("via6522_1", 1250000, lisa_via6522_1_intf) |
| 147 | 147 | MACHINE_DRIVER_END |
| r4962 | r4963 | |
|---|---|---|
| 100 | 100 | MDRV_IMPORT_FROM( lynx ) |
| 101 | 101 | |
| 102 | 102 | /* sound hardware */ |
| 103 | MDRV_ | |
| 103 | MDRV_D | |
| 104 | 104 | MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 105 | MDRV_ | |
| 105 | MDRV_ | |
| 106 | 106 | MDRV_SOUND_ADD("lynx2", LYNX2, 0) |
| 107 | 107 | MDRV_SOUND_ROUTE(0, "lspeaker", 0.50) |
| 108 | 108 | MDRV_SOUND_ROUTE(1, "rspeaker", 0.50) |
| r4962 | r4963 | |
|---|---|---|
| 637 | 637 | MDRV_CARTSLOT_LOAD(timex_cart) |
| 638 | 638 | MDRV_CARTSLOT_UNLOAD(timex_cart) |
| 639 | 639 | |
| 640 | MDRV_ | |
| 640 | MDRV_ | |
| 641 | 641 | MACHINE_DRIVER_END |
| 642 | 642 | |
| 643 | 643 |
| r4962 | r4963 | |
|---|---|---|
| 658 | 658 | MDRV_CPU_MODIFY( "maincpu" ) |
| 659 | 659 | MDRV_CPU_PROGRAM_MAP( apf_m1000_map) |
| 660 | 660 | |
| 661 | MDRV_ | |
| 661 | MDRV_DEVICE | |
| 662 | 662 | |
| 663 | MDRV_ | |
| 663 | MDRV_D | |
| 664 | 664 | MDRV_CARTSLOT_ADD("cart") |
| 665 | 665 | MACHINE_DRIVER_END |
| 666 | 666 |
| r4962 | r4963 | |
|---|---|---|
| 92 | 92 | |
| 93 | 93 | /* devices config */ |
| 94 | 94 | #include "includes/cbm.h" |
| 95 | #include "includes/cbmserb.h" // needed for MDRV_C | |
| 95 | #include "includes/cbmserb.h" // needed for MDRV_DEVIC | |
| 96 | 96 | #include "includes/cbmdrive.h" |
| 97 | 97 | #include "includes/vc1541.h" |
| 98 | 98 | #include "includes/cbmieeeb.h" |
| r4962 | r4963 | |
| 308 | 308 | static MACHINE_DRIVER_START( vic20v ) |
| 309 | 309 | MDRV_IMPORT_FROM( vic20 ) |
| 310 | 310 | |
| 311 | MDRV_C | |
| 311 | MDRV_DEVIC | |
| 312 | 312 | MDRV_IMPORT_FROM( cpu_vc1540 ) |
| 313 | 313 | #ifdef CPU_SYNC |
| 314 | 314 | MDRV_QUANTUM_TIME(HZ(60)) |
| r4962 | r4963 | |
| 348 | 348 | static MACHINE_DRIVER_START( vc20v ) |
| 349 | 349 | MDRV_IMPORT_FROM( vc20 ) |
| 350 | 350 | |
| 351 | MDRV_C | |
| 351 | MDRV_DEVIC | |
| 352 | 352 | MDRV_IMPORT_FROM( cpu_vc1540 ) |
| 353 | 353 | #ifdef CPU_SYNC |
| 354 | 354 | MDRV_QUANTUM_TIME(HZ(60)) |
| r4962 | r4963 | |
|---|---|---|
| 433 | 433 | MDRV_VIDEO_UPDATE(intvkbd) |
| 434 | 434 | |
| 435 | 435 | /* cartridge */ |
| 436 | MDRV_C | |
| 436 | MDRV_DEVICE | |
| 437 | 437 | MDRV_CARTSLOT_ADD("cart1") |
| 438 | 438 | MDRV_CARTSLOT_EXTENSION_LIST("int,rom,bin,itv") |
| 439 | 439 | MDRV_CARTSLOT_NOT_MANDATORY |
| r4962 | r4963 | |
|---|---|---|
| 290 | 290 | MDRV_CPU_PROGRAM_MAP(cybikoxt_mem ) |
| 291 | 291 | MDRV_CPU_IO_MAP(cybikoxt_io ) |
| 292 | 292 | // sound |
| 293 | MDRV_SPEAKER_REMOVE("mono") | |
| 294 | MDRV_SOUND_REMOVE("speaker") | |
| 293 | MDRV_DEVICE_REMOVE("mono") | |
| 294 | MDRV_DEVICE_REMOVE("speaker") | |
| 295 | 295 | // machine |
| 296 | 296 | MDRV_MACHINE_START(cybikoxt) |
| 297 | 297 | MDRV_MACHINE_RESET(cybikoxt) |
| 298 | 298 | // non-volatile ram |
| 299 | 299 | // MDRV_NVRAM_HANDLER(cybikoxt) |
| 300 | MDRV_ | |
| 300 | MDRV_ | |
| 301 | 301 | MDRV_SST39VF020_ADD("flash2", 16, ENDIANNESS_BIG) |
| 302 | 302 | MACHINE_DRIVER_END |
| 303 | 303 |
| r4962 | r4963 | |
|---|---|---|
| 333 | 333 | |
| 334 | 334 | /* devices config */ |
| 335 | 335 | #include "includes/cbm.h" |
| 336 | #include "includes/cbmserb.h" // needed for MDRV_C | |
| 336 | #include "includes/cbmserb.h" // needed for MDRV_DEVIC | |
| 337 | 337 | #include "includes/cbmdrive.h" |
| 338 | 338 | #include "includes/vc1541.h" |
| 339 | 339 | |
| r4962 | r4963 | |
| 578 | 578 | MDRV_SOUND_CONFIG(c64_sound_interface) |
| 579 | 579 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00) |
| 580 | 580 | |
| 581 | MDRV_CBM_SERBUS_REMOVE("serial_bus") // in the current code, serial bus device is tied to the floppy drive | |
| 582 | MDRV_CARTSLOT_REMOVE("cart1") | |
| 583 | MDRV_CARTSLOT_REMOVE("cart2") | |
| 581 | MDRV_DEVICE_REMOVE("serial_bus") // in the current code, serial bus device is tied to the floppy drive | |
| 582 | MDRV_DEVICE_REMOVE("cart1") | |
| 583 | MDRV_DEVICE_REMOVE("cart2") | |
| 584 | 584 | |
| 585 | 585 | MDRV_IMPORT_FROM(ultimax_cartslot) |
| 586 | 586 | MACHINE_DRIVER_END |
| r4962 | r4963 | |
| 593 | 593 | |
| 594 | 594 | static MACHINE_DRIVER_START( c64gs ) |
| 595 | 595 | MDRV_IMPORT_FROM( c64pal ) |
| 596 | MDRV_SOUND_REMOVE( "dac" ) | |
| 597 | MDRV_CASSETTE_REMOVE( "cassette" ) | |
| 598 | MDRV_QUICKLOAD_REMOVE( "quickload" ) | |
| 596 | MDRV_DEVICE_REMOVE( "dac" ) | |
| 597 | MDRV_DEVICE_REMOVE( "cassette" ) | |
| 598 | MDRV_DEVICE_REMOVE( "quickload" ) | |
| 599 | 599 | MACHINE_DRIVER_END |
| 600 | 600 | |
| 601 | 601 | |
| 602 | 602 | static MACHINE_DRIVER_START( sx64 ) |
| 603 | 603 | MDRV_IMPORT_FROM( c64pal ) |
| 604 | 604 | |
| 605 | MDRV_C | |
| 605 | MDRV_DEVIC | |
| 606 | 606 | MDRV_IMPORT_FROM( cpu_vc1541 ) // so we need to remove the one from MDRV_IMPORT_FROM(simulated_drive)! |
| 607 | 607 | |
| 608 | MDRV_SOUND_REMOVE( "dac" ) | |
| 609 | MDRV_CASSETTE_REMOVE( "cassette" ) | |
| 608 | MDRV_DEVICE_REMOVE( "dac" ) | |
| 609 | MDRV_DEVICE_REMOVE( "cassette" ) | |
| 610 | 610 | #ifdef CPU_SYNC |
| 611 | 611 | MDRV_QUANTUM_TIME(HZ(60)) |
| 612 | 612 | #else |
| r4962 | r4963 | |
|---|---|---|
| 728 | 728 | MDRV_CPU_MODIFY("maincpu") |
| 729 | 729 | MDRV_CPU_PROGRAM_MAP(_pico_mem) |
| 730 | 730 | |
| 731 | MDRV_C | |
| 731 | MDRV_DEVICE | |
| 732 | 732 | |
| 733 | 733 | MDRV_MACHINE_RESET( ms_megadriv ) |
| 734 | 734 | |
| r4962 | r4963 | |
| 741 | 741 | MDRV_CPU_MODIFY("maincpu") |
| 742 | 742 | MDRV_CPU_PROGRAM_MAP(_pico_mem) |
| 743 | 743 | |
| 744 | MDRV_C | |
| 744 | MDRV_DEVICE | |
| 745 | 745 | |
| 746 | 746 | MDRV_MACHINE_RESET( ms_megadriv ) |
| 747 | 747 |
| r4962 | r4963 | |
|---|---|---|
| 1 | 0.13 | |
| 1 | 0.132 | |
| 2 | 2 | |
| 3 | 3 | New System Drivers Supported (in no particular order): |
| 4 | 4 | ------------------------------------------------------ |
| r4962 | r4963 | |
| 42 | 42 | - Xerox 820 [Robbbert, Curt Coder] |
| 43 | 43 | - ZX97 (not working) [Miodrag Milanovic] |
| 44 | 44 | |
| 45 | ||
| 46 | ||
| 45 | 47 | Skeleton drivers : |
| 46 | 48 | ------------------ |
| 47 | 49 | - Agat-7 |
| r4962 | r4963 | |
| 150 | 152 | - V-Tech Socrates |
| 151 | 153 | - XOR-100-12 |
| 152 | 154 | |
| 155 | ||
| 156 | ||
| 153 | 157 | System Driver Changes: |
| 154 | 158 | ---------------------- |
| 155 | 159 | - [ATARI] Added proper labels and dumps to Atari 400, 800 and XE/XL. A |
| r4962 | r4963 | |
| 191 | 195 | |
| 192 | 196 | - [TI85] Bug 1711 fixed, and TI-82 progress in emulation [Xander] |
| 193 | 197 | |
| 198 | ||
| 199 | ||
| 194 | 200 | User Interface Changes: |
| 195 | 201 | ----------------------- |
| 196 | 202 | (none) |
| r4962 | r4963 | |
| 205 | 211 | |
| 206 | 212 | Source Changes: |
| 207 | 213 | ---------------- |
| 208 | - The core is based on MAME 0.13 | |
| 214 | - The core is based on MAME 0.132 | |
| 209 | 215 | update to this core. [MAME team] |
| 210 | 216 | |
| 211 | 217 | - Converted the WAVE sound device to stereo. [Curt Coder] |
| r4962 | r4963 | |
|---|---|---|
| 1 | 0.13 | |
| 1 | 0.132 | |
| 2 | 2 | ----- |
| 3 | 3 | |
| 4 | 4 | |
| 5 | 5 | MAMETesters Bugs Fixed |
| 6 | 6 | ---------------------- |
| 7 | - 02399: [Known Issues/To-Do's] qmhayaku : Sound CPU is running at 4MHz in | |
| 8 | real machine. (Luigi30) | |
| 9 | - 03115: [Graphics] nss_smw: Tilemap issue when displaying game map | |
| 10 | (Angelo Salese) | |
| 11 | - 00767: [DIP/Input] bshark, bsharkj: Analog stick input is broken since | |
| 12 | 0.112u4. (Derrick Renaud) | |
| 13 | - 03070: [DIP/Input] harddriv, racedriv, steeltal and clones: Games map | |
| 14 | some P1 inputs to P2 controls (Fabio Priuli) | |
| 15 | - 03105: [Documentation] quizmeku: Year is listed as 1994, but title | |
| 16 | screen shows 1992. (Fabio Priuli) | |
| 7 | - 03013: [Misc.] [debug] "Error: free a non-existant block" on | |
| 8 | TMS57002 source generation (Atari Ace) | |
| 9 | - 03241: [DIP/Input] aladbl: Unable to "Press Start" (Fabio Priuli) | |
| 10 | - 03238: [Crash/Freeze] gtmr and clones: Access Violation (Tafoid) | |
| 17 | 11 | |
| 18 | 12 | |
| 19 | 13 | |
| 20 | 14 | Source Changes |
| 21 | 15 | -------------- |
| 22 | ||
| 16 | Fixe | |
| 23 | 17 | |
| 24 | Merged memory maps in the suna8, supbtime, superchs, suprnova, | |
| 25 | suprslam, subs, suna16, stepstag, stfight, strnskill drivers. | |
| 26 | [Aaron Giles] | |
| 18 | Hooked up 2nd player mahjong panel in mjkjidai. [Angelo Salese] | |
| 27 | 19 | |
| 28 | ||
| 20 | Watchdog | |
| 29 | 21 | |
| 30 | ||
| 22 | Fixe | |
| 31 | 23 | |
| 32 | Added basic implementation of the TMS9927 video controller. | |
| 33 | [Aaron Giles] | |
| 24 | Fixed address line swapping in Mirax. [Olivier Galibert] | |
| 34 | 25 | |
| 35 | Status games driver rewrite: [Aaron Giles] | |
| 36 | - Reduced multiple drivers down to a primary one with minor tweaks | |
| 37 | - Hooked up TMS9927 video generator | |
| 38 | - Fixed statriv2v character generator to be more accurate | |
| 39 | - Fixed incorrect colors | |
| 40 | - Correct video timing | |
| 26 | Fixed rom 2 decryption in Mirax. [Tomasz Slanina] | |
| 41 | 27 | |
| 42 | Miscellaneous Naomi work and improvements. Some refactoring done, | |
| 43 | new games hooked up. Moved NAOMI DRIVER_INITs to specific | |
| 44 | machine/naomi.c & includes/naomi.h files, in preparation to add | |
| 45 | per-game JVS settings. [Angelo Salese, David Haywood] | |
| 28 | Improved the video emulation in Mirax. [Angelo Salese] | |
| 46 | 29 | |
| 47 | Changed generic NVRAM behavior so that all the variants look for a | |
| 48 | memory region named "nvram". If it is found and is of the same length | |
| 49 | as the generic_nvram_size, data is copied from there instead of | |
| 50 | filling the RAM with the fallback pattern. [Aaron Giles] | |
| 30 | Fixed a minor typo in the SSEM debugging features. [MooglyGuy] | |
| 51 | 31 | |
| 52 | Fixed mouse/lightgun buttons to individually select when using | |
| 53 | -mouse/-multimouse and -lightgun. Meaning you will not receive Mouse | |
| 54 | Button 0 Gun Button 0 when selecting in the UI. [Derrick Renaud] | |
| 32 | Fixed a number of year listings known to be unknown or incorrect the | |
| 33 | current MAME source. The source for these changes come from the book: | |
| 34 | Arcade TV Game List (Edition: Domestic and Overseas, 1971 - 2005). | |
| 35 | [Tafoid, Fujix] | |
| 55 | 36 | |
| 56 | Merged memory map and attempted to add proper colors in Carrera. | |
| 57 | [Angelo Salese] | |
| 37 | Update ghosteo driver with information out of eolith.c about QS1000 | |
| 38 | and added the sample rom, with a note about it NOT being dumped from | |
| 39 | this PCB but is a common sample rom used by Eolith. [Brian Troha] | |
| 58 | 40 | |
| 59 | Fixed | |
| 41 | Fixed min | |
| 60 | 42 | |
| 61 | When using RawInput - Fixed UI selection of Gun axis so Gun 1 is not | |
| 62 | always selected with the desired gun. [Derrick Renaud] | |
| 43 | Added the concept of device contracts. A contract is a well-defined | |
| 44 | set of interfaces supported by a device, and identified by a unique | |
| 45 | string identifier. A device may support any number of contracts, | |
| 46 | described in a list via the DEVICE_CONTRACT_LIST* macros. The purpose | |
| 47 | of contracts is to provide a means for devices to expose a standard | |
| 48 | set of interfaces to other parts of the system. For example, the PCI | |
| 49 | device should expose a contract that includes functions for | |
| 50 | configuration register access, and 32-bit I/O. Then any device with | |
| 51 | a PCI interface should implement the PCI contract, so that the PCI | |
| 52 | bus device can route things appropriately. [Aaron Giles] | |
| 63 | 53 | |
| 64 | Fixed XF flag in the 8085A core. [Aaron Giles] | |
| 54 | Removed the MDRV_<devtype>_REMOVE macros. A simple DEVICE_REMOVE | |
| 55 | works now that device types are not needed. [Aaron Giles] | |
| 65 | 56 | |
| 66 | Fixed frontend messages to leave enough space for clone longer names. | |
| 67 | [Fabio Priuli] | |
| 57 | Verified clocks on Samurai Aces pcb. [Corrado Tomaselli] | |
| 68 | 58 | |
| 69 | Added Toshiba TLCS-900/H cpu core. [Wilbert Pol] | |
| 59 | Added missing static and const qualifiers throughout the source. | |
| 60 | [Atari Ace] | |
| 70 | 61 | |
| 71 | Added T6W28 sound core (SNK(?) custom sn76489a clone). [Wilbert Pol] | |
| 62 | Changed several internal interfaces to be more consistent, namely | |
| 63 | (1) passing device_config as a const always, (2) passing | |
| 64 | running_machine as a non-const always, (3) eliminating running_machine | |
| 65 | where possible, (4) passing machine/device first, and (5) preferring | |
| 66 | (screen, bitmap, cliprect) over (machine, bitmap, cliprect) when all | |
| 67 | are needed for rendering. [Atari Ace] | |
| 72 | 68 | |
| 73 | removed YM2151 from gijoe which is not present on real PCB. | |
| 74 | [Yasuhiro Ogawa] | |
| 75 | 69 | |
| 76 | Fixed P2 gun reload in Lethal Enforcers II. [Derrick Renaud] | |
| 77 | 70 | |
| 78 | Fixed bug where repeating axis values were being selected for button | |
| 79 | input in UI. [Derrick Renaud] | |
| 80 | ||
| 81 | Documented PALs from Xenophobe board. [Kevin Eshbach] | |
| 82 | ||
| 83 | Crystallized 1945kiii.c, maygay1b.c, maygayv1.c, mwarr.c, n8080.c | |
| 84 | (20.16MHz crystal confirmed with schematics), pacman.c, panicr.c, | |
| 85 | rallyx.c. [Luigi30] | |
| 86 | ||
| 87 | ||
| 88 | ||
| 89 | 71 | New games added or promoted from NOT_WORKING status |
| 90 | 72 | --------------------------------------------------- |
| 91 | Fantastic Journey [Olivier Galibert] | |
| 92 | Super Lucky Roulette [robiza] | |
| 93 | Status Blackjack [Aaron Giles] | |
| 94 | Status Fun Casino [Aaron Giles] | |
| 95 | Multi Game 2 [Mariusz Wojcieszek] | |
| 73 | Mirax [Olivier Galibert, Angelo Salese, Tomasz Slanina] | |
| 74 | Super Crowns Golf [Angelo Salese, Tomasz Slanina] | |
| 75 | Jockey Club [Andrew Welburn, Dumping Union] | |
| 96 | 76 | |
| 97 | 77 | |
| 98 | 78 | |
| 99 | 79 | New clones added |
| 100 | 80 | ---------------- |
| 101 | Asterix (Japan) [Chack'n] | |
| 102 | Ashura Blaster (World) [Tirino73] | |
| 81 | Shadow Force (Japan Version 3) [Guru] | |
| 103 | 82 | |
| 104 | 83 | |
| 105 | 84 | |
| 106 | 85 | New games marked as GAME_NOT_WORKING |
| 107 | 86 | ------------------------------------ |
| 108 | Marvel vs. Capcom 2 [Guru] | |
| 109 | Zombie Revenge [Guru] | |
| 110 | Guilty Gear X [Guru] | |
| 111 | Virtua Striker 4 (Japan) [Guru] | |
| 112 | Virtua NBA [Guru] | |
| 113 | Giant Gram Zen-Nippon Pro Wresring 2 [Guru] | |
| 114 | Dengen Tenshi Taisen Janshi Shangri-la [Guru] | |
| 115 | Virtua Striker 4 ver. 2006 (Rev D) (Japan) | |
| 116 | [Alex's Rom Dumping Project] | |
| 117 | The Key Of Avalon - The Wizard Master - Server (GDT-0005C) (V4.001) | |
| 118 | [Alex's Rom Dumping Project] | |
| 119 | Virtua Striker 2002 (GDT-0001) [Alex's Rom Dumping Project] | |
| 120 | Derby Owners Club II [Guru] | |
| 121 | Wild Riders [Guru] | |
| 122 | WWF Royal Rumble [Guru] | |
| 123 | Quiz Ah Megamisama [Guru] | |
| 124 | Dynamite Baseball Naomi [Guru] | |
| 125 | Dynamite Baseball '99 [Guru] | |
| 126 | Death Crimson OX [Guru] | |
| 127 | Tripple Draw [Aaron Giles] | |
| 128 | Casino Strip [Aaron Giles] | |
| 87 | Enchanted Forest [Palindrome] | |
| 88 | Janputer [alien_mame, Dumping Union] | |
| 89 | Dolphin Treasure [AGEMAME] | |
| 129 | 90 | |
| 130 | 91 | |
| 131 | 92 | |
| 132 | 0.130u4 | |
| 93 | ||
| 94 | 0.131u4 | |
| 133 | 95 | ------- |
| 134 | 96 | |
| 135 | 97 | |
| 136 | 98 | MAMETesters Bugs Fixed |
| 137 | 99 | ---------------------- |
| 138 | - 03106: [Sound] mouja: Sound Effects/Voice missing (Angelo Salese) | |
| 139 | - 03065: [Crash/Freeze] All sets in namcos12.c: [debug] MAME asserts | |
| 140 | during load time (Aaron Giles) | |
| 141 | - 03069: [Crash/Freeze] All sets in midzeus.c: [debug] MAME asserts | |
| 142 | during load time (Aaron Giles) | |
| 100 | - 02730: [Crash/Freeze] fiveside: Doesn't past rom check | |
| 101 | (Angelo Salese) | |
| 102 | - 03226: [Crash/Freeze] dadandrn, mmaulers: Game sits at black screen. | |
| 103 | (Tafoid) | |
| 104 | - 03222: [Sound] ctribe + clones: Music is missing (ShimaPong) | |
| 105 | - 03221: [Crash/Freeze] demonwld + clones: Game fails to start | |
| 106 | (Tafoid) | |
| 107 | - 03217: [Misc.] All sets in twinkle.c: Beatmania IIDX chds were | |
| 108 | added in chdformat < 4 (smf) | |
| 109 | - 03218: [Crash/Freeze] anteatgb: Game sits at POST screen (Tafoid) | |
| 143 | 110 | |
| 144 | 111 | |
| 145 | 112 | |
| 146 | 113 | Source Changes |
| 147 | 114 | -------------- |
| 148 | Documented the www.segaresurrection.com decrypted Ninja Kids II sound | |
| 149 | rom so it doesn't show up as newly "found" bootleg version. | |
| 150 | [Brian Troha] | |
| 115 | Fixed megadrive PAL refresh rate (for MESS). [Enik Land] | |
| 151 | 116 | |
| 152 | Converted downtown, gondo, hbarrel, midres, timesold, topgunbl to use | |
| 153 | IPT_POSITIONAL. [Derrick Renaud] | |
| 117 | Simplified megadriv.c input reading. [Fabio Priuli] | |
| 154 | 118 | |
| 155 | Fixed Analog Settings to return to default when IPT_UI_SELECT (enter) | |
| 156 | pressed. Fixed misplaced brackets, allowing upper/lower case | |
| 157 | extensions for crosshair graphics and ldplayer chd files. | |
| 158 | [Derrick Renaud] | |
| 119 | Fixed NMI firing in Goal 92 (same sound hook-up as Euro League). | |
| 120 | [Angelo Salese] | |
| 159 | 121 | |
| 160 | Naomi updates: [Angelo Salese, David Haywood] | |
| 161 | * Added H-Blank IN interrupt hook-up | |
| 162 | * Generate a few more interrupts (ISP end of render, VIDEO end of | |
| 163 | render) | |
| 164 | * Some minor improvements to the irq system | |
| 165 | * Added a bunch of Maple-DMA fixes, now moeru boots too | |
| 122 | Replaced almost all remaining cpu[num] occurrences in src/mame/ with | |
| 123 | tags. [Fabio Priuli] | |
| 166 | 124 | |
| 167 | Factored out MESS-specific code from machine/atari.c (cart init, | |
| 168 | loading & unloading) [Fabio Priuli] | |
| 125 | Converted Dallas DS1302 RTC to a device. [Fabio Priuli] | |
| 169 | 126 | |
| 170 | ||
| 127 | F | |
| 171 | 128 | |
| 172 | ||
| 129 | Updat | |
| 173 | 130 | |
| 174 | Fixed CPU_GET_INFO issues spotted by -validate in MESS debug build. | |
| 131 | Corrected some rom names & added some PCB locations to pipedrm. Added | |
| 132 | dipswitch locations. [Brian Troha] | |
| 133 | ||
| 134 | Corrected dipswitches in Konami's Wizz Quiz and added dipswitch | |
| 135 | locations. [Brian Troha] | |
| 136 | ||
| 137 | Significant improvements to the Super Crowns Golf video. Also hooked | |
| 138 | up inputs and DIP switches. [Angelo Salese, Yasuhiro Ogawa] | |
| 139 | ||
| 140 | Decrypted Mirax main program roms. [Olivier Galibert] | |
| 141 | ||
| 142 | Cleaned up Namco 5xxx docs, listing both MB88xx pin IDs and Namco | |
| 143 | custom IDs where appropriate. [Aaron Giles] | |
| 144 | ||
| 145 | Added clocks to the Namco 06xx in anticipation of improved device | |
| 146 | interconnection. [Aaron Giles] | |
| 147 | ||
| 148 | Added new file devtempl.h which can be used to generate the | |
| 149 | DEVICE_GET_INFO function. Updated all the Namco I/O devices to use | |
| 150 | this, along with the 6821pia and voodoo. [Aaron Giles] | |
| 151 | ||
| 152 | Updated galaga driver to use computed video timing. [Aaron Giles] | |
| 153 | ||
| 154 | Added configuration settings and analog adjusters to xml output (see | |
| 155 | e.g. mario or crbaloon). Also, added port categories for MESS. | |
| 175 | 156 | [Fabio Priuli] |
| 176 | 157 | |
| 177 | Added Dip Locations to jalmah.c. [Fabio Priuli] | |
| 158 | Correct BPROM names, added PCB location and documented the BPROM type | |
| 159 | for Moon Base. [Smitdogg, Dumping Union] | |
| 178 | 160 | |
| 179 | Improved test mode behaviour on the jalmah.c. [Angelo Salese] | |
| 161 | Corrected rom names for Wing Shooting Championship and added | |
| 162 | documentation of the new game features of v2.00. | |
| 163 | [Brian Troha, Dumping Union] | |
| 180 | 164 | |
| 181 | Added display of frame number to the beamx/y info in the register | |
| 182 | view in the debugger. [Aaron Giles] | |
| 165 | Converted DS1302 to use devtemplate. [Fabio Priuli] | |
| 183 | 166 | |
| 184 | munch mobile improvements: [robiza] | |
| 185 | * implemented priorities | |
| 186 | * removed unnecessary tile index check | |
| 167 | Converted ADC083x converters to be MAME devices. [Fabio Priuli] | |
| 187 | 168 | |
| 188 | ||
| 169 | C | |
| 189 | 170 | |
| 190 | Converted jangou & nightgal drivers to use resistors with the color | |
| 191 | proms. [Angelo Salese] | |
| 171 | Converted NEC uPD4701 to be a MAME device. [Fabio Priuli] | |
| 192 | 172 | |
| 193 | Reverted to older behavior for how modified input port fields are | |
| 194 | handled. The originally intended behavior is that a new field that | |
| 195 | intersected a previous field would completely wipe out the original | |
| 196 | field. Recently a change was made that changed the behavior to only | |
| 197 | remove a portion of the bits from the original field. This is actually | |
| 198 | problematic behavior, so the original behavior was restored. | |
| 199 | [Aaron Giles] | |
| 173 | Tekken Tag Tournament Japanese versions: Mark the in-practice undumped | |
| 174 | roms as NO_DUMP. The versions used in the source were from where from | |
| 175 | the export version and they're incompatible with the japanese program | |
| 176 | roms. [Olivier Galibert] | |
| 200 | 177 | |
| 201 | ||
| 178 | Converted ADC1213x converters t | |
| 202 | 179 | |
| 203 | Fixed UI when modifying the inc/dec/analog fields of an analog control | |
| 204 | in sequence. [Derrick Renaud] | |
| 180 | Converted RP5H01 to be a MAME device. [Fabio Priuli] | |
| 205 | 181 | |
| 206 | Corrected System 1 Z80 clocking: [Aaron Giles] | |
| 207 | * each opcode fetch is 2 cycles with /M1 low, so each byte of | |
| 208 | opcode fetching causes slightly longer delays than the previous | |
| 209 | tables | |
| 210 | * implemented approximate wait state timing for videoram access; | |
| 211 | further accuracy will rely on getting a dump of the PAL16R4 | |
| 212 | that controls the horizontal video timing | |
| 182 | Added DIP Locations and verified defaults for Speed Rumbler/Rush and | |
| 183 | Crash (using Speed Rumbler manual). [Tafoid] | |
| 213 | 184 | |
| 214 | Merged memory maps in taito_l.c, taito_x.c, taito_b.c, taito_f2.c, | |
| 215 | taito_f3.c, surpratk.c, system16.c, system18.c. Also removed some word | |
| 216 | handlers in favor of using READ8/WRITE8 directly in address maps. | |
| 217 | Removed some additional unnecessary handlers in favor of using | |
| 218 | AM_READ_PORT. [Aaron Giles] | |
| 185 | Fixed digitalker mode 2. [Olivier Galibert] | |
| 219 | 186 | |
| 220 | Changed the PPU2C0x implementation to be a device. [Nathan Woods] | |
| 187 | Partially converted NEC uPD4990A RTC to be a MAME device. Moved clock | |
| 188 | init to device_start. [Fabio Priuli] | |
| 221 | 189 | |
| 222 | Simplified the gun port handling in the Sammy Outdoor Shooting games. | |
| 223 | [Derrick Renaud] | |
| 190 | Added CPU core for the Manchester Small-Scale Experimental Machine | |
| 191 | (SSEM) from 1948. [MooglyGuy] | |
| 224 | 192 | |
| 225 | Small System 1 update: [Aaron Giles] | |
| 226 | * correct video timing | |
| 227 | * removed "small" video drivers for games that properly mask the | |
| 228 | scrolling areas | |
| 193 | Updated the dipswitches and listed the dipswitches in the hvyunit | |
| 194 | driver. [Brian Troha] | |
| 229 | 195 | |
| 230 | Correct sound ROM for T-Mek 4.4 [Lars Bull] | |
| 196 | Added documentation about the Galaxian bootleg hardware known as | |
| 197 | Artic Multi-System. [Brian Troha] | |
| 231 | 198 | |
| 232 | Partial fix to bug MT 3070 (harddriv & racedriv do not show anymore | |
| 233 | P2 inputs for analog controls). Still thinking about steeltal. | |
| 234 | [Fabio Priuli] | |
| 199 | Added alternate read/write handlers to the Z80 PIO implementation. | |
| 200 | [Curt Coder] | |
| 235 | 201 | |
| 202 | Converted Motorola 6840PTM to be a MAME device. [Fabio Priuli] | |
| 236 | 203 | |
| 204 | Fixed VIA address map in 86 Lions. [Palindrome] | |
| 237 | 205 | |
| 238 | New games added or promoted from NOT_WORKING status | |
| 239 | --------------------------------------------------- | |
| 240 | Tekken Tag Tournament (world versions) [Olivier Galibert] | |
| 206 | Fixed ROM filenames of CVS Hunchback and Logger. [Andrew Welburn] | |
| 241 | 207 | |
| 208 | Verified clocks and corrected 6502 cpu speed on "the deep". | |
| 209 | [Corrado Tomaselli] | |
| 242 | 210 | |
| 243 | 211 | |
| 212 | ||
| 244 | 213 | New clones added |
| 245 | 214 | ---------------- |
| 246 | Might! Pang (Euro 000925) [Corrado Tomaselli] | |
| 247 | Night Warriors: Darkstalkers' Revenge (Asia 950302?) | |
| 248 | [Smitdogg Jones, Nicola Salmoria] | |
| 249 | Trivia Master (set 4) [SoftwareThis] | |
| 250 | Wolf Fang -Kuhga 2001- (Rohga Japan Ver.) [Team Japump!!!] | |
| 251 | Mystic Warriors (JAA) [Guru] | |
| 215 | Off Road Challenge v1.63 [Tormod, Smitdogg, Dumping Union] | |
| 216 | Touchmaster 5000 (v7.10 California) [Tormod, Smitdogg, Dumping Union] | |
| 217 | Touchmaster 7000 (v8.1X Evaluation) [Incog, Smitdogg, Dumping Untion] | |
| 218 | Bucky O'Hare (ver AA) [Irongiant] | |
| 219 | Street Fighter II - The World Warrior (World 910214, TAB Austria | |
| 220 | bootleg) [TeamEurope] | |
| 252 | 221 | |
| 253 | 222 | |
| 254 | 223 | |
| 255 | New games marked as GAME_NOT_WORKING | |
| 256 | ------------------------------------ | |
| 257 | The Typing of the Dead [Alex's Rom Dumping Project] | |
| 258 | OutTrigger [Guru] | |
| 259 | Cannon Spike / Gun Spike | |
| 260 | Heavy Metal Geomatrix | |
| 261 | Super Lucky Roulette? [robiza, Angelo Salese] | |
| 262 | ||
| 263 | ||
| 264 | ||
| 265 | 0.130u3 | |
| 224 | 0.131u3 | |
| 266 | 225 | ------- |
| 267 | 226 | |
| 268 | 227 | |
| 269 | 228 | MAMETesters Bugs Fixed |
| 270 | 229 | ---------------------- |
| 271 | - 01030: [Side-by-side] starjack: "Star Jacker" side-by-side test. | |
| 230 | - 03101: [Sound] jantotsu: Game gives incorrect calls (Angelo Salese) | |
| 231 | - 03196: [DIP/Input] daisyari: Game resets itself after full strip of | |
| 232 | girl (Tafoid) | |
| 233 | - 02329: [Graphics] iganinju, plusalph and others: Very bad sprite lag | |
| 234 | (Angelo Salese) | |
| 235 | - 03190: [Documentation] 86lions: 'Wrong' colours seem fixed when you | |
| 236 | swap R/B values (Angelo Salese) | |
| 237 | - 03149: [Crash/Freeze] All sets in cps3.c: Access Violation | |
| 272 | 238 | (Aaron Giles) |
| 273 | - 00983: [Graphics] pitfall2: Once you lose your last life, any object | |
| 274 | not in the background shows up on the high score and continue | |
| 275 | screens. (Aaron Giles) | |
| 276 | - 00984: [Graphics] 4dwarrio: The game resolution changes in the 2nd | |
| 277 | players turn in the cocktail mode. (Aaron Giles) | |
| 278 | - 00257: [Graphics] wbmlb, wbmljb: When the player sprite reaches the | |
| 279 | right side of the playfield, some garbage gfx appear on the | |
| 280 | left side. (Aaron Giles) | |
| 281 | - 00303: [Graphics] regulus: In cocktail mode when it is player 2's | |
| 282 | turn graphics from the top of the screen flash at the bottom | |
| 283 | of the screen (Aaron Giles) | |
| 284 | - 00256: [Graphics] seganinj: [possible] Sprites leaving on the left | |
| 285 | side on the screen aren't clipped properly. (Aaron Giles) | |
| 286 | - 03098: [Color/Palette] all sets in mcatadv.c: Palette regression | |
| 287 | (Christophe Jaillet, Fabio Priuli) | |
| 288 | - 03087: [Graphics] daireika: Graphic artifacts on attract mode. | |
| 289 | (Angelo Salese) | |
| 290 | - 03093: [Graphics] mazinger: the boss of 4th level is black (robiza) | |
| 291 | - 03092: [Sound] spuzbobl: Some sound samples are being played | |
| 292 | indefinitely (David Haywood) | |
| 293 | - 01163: [DIP/Input] popbounc: [possible] MAME doesn't support paddle | |
| 294 | input. (Fabio Priuli) | |
| 295 | - 02187: [Documentation] All games of "Technos": Fix for manufacturer. | |
| 296 | (Fabio Priuli) | |
| 297 | - 02558: [Graphics] Graphic priority is not fully understood. | |
| 298 | (Angelo Salese) | |
| 299 | - 02557: [Graphics] All games in jalmah.c: There are square gaps | |
| 300 | during gameplay. (Angelo Salese) | |
| 301 | - 00598: [DIP/Input] popbounc: Regardless of whether the "paddle" or | |
| 302 | "joystick" option is activated in the dipswitch, the controls | |
| 303 | are broken. (Fabio Priuli) | |
| 304 | - 00947: [Graphics] batsugun: At the level 4 boss there's a sprite | |
| 305 | problem. (robiza) | |
| 306 | - 02562: [Interface] Ability to choose arbitrarily named crosshair | |
| 307 | pictures (Derrick Renaud) | |
| 239 | - 03187: [Documentation] scin: Game title is different as shown in | |
| 240 | picture (Fabio Priuli) | |
| 241 | - 03176: [Graphics] cheekyms: Graphic Regression (Pierpaolo Prazzoli) | |
| 242 | - 03182: [Sound] Many sets in system1.c: Missing Sound (Aaron Giles) | |
| 243 | - 03178: [DIP/Input] dragngun: Unable to move Crosshair (Fabio Priuli) | |
| 308 | 244 | |
| 309 | 245 | |
| 310 | 246 | |
| 311 | 247 | Source Changes |
| 312 | 248 | -------------- |
| 313 | Crosshair update: [Derrick Renaud] | |
| 314 | * Added Crosshair Options menu | |
| 315 | - ability to individually enable/disable crosshairs | |
| 316 | - ability for them to automatically disappear after a set amount | |
| 317 | of time (this is now the default) | |
| 318 | - ability to select crosshair graphic | |
| 319 | - all settings are saved in the cfg file | |
| 320 | * Removed F1 toggle for crosshairs | |
| 321 | * Added new command option -crsshairpath | |
| 322 | - store all selectable graphics here | |
| 323 | - see config.txt for further info | |
| 249 | Fixed Oki banking in Grand Cross. [Angelo Salese] | |
| 324 | 250 | |
| 325 | Merged memory maps, renamed sets in the following drivers: vendetta, | |
| 326 | videopkr, wrally, vball, unico, tsamuri, triplhnt, toypop, tnzs, | |
| 327 | topshoot, topspeed, tecmo, tecmo16, tecmosys, terracre, thoop2, | |
| 328 | tunderx, tiamc1, timelimt, taito_z. [Aaron Giles] | |
| 251 | Added basic ADPCM support to Grand Cross [Angelo Salese] | |
| 329 | 252 | |
| 330 | Added direct mode JVS command, used by the i/o for the later Naomi | |
| 331 | games [ElSemi, Angelo Salese] | |
| 253 | Fixed title screen display in Joshi Volleyball [Angelo Salese] | |
| 332 | 254 | |
| 333 | ||
| 255 | Fixed sound mute | |
| 334 | 256 | |
| 335 | Force cpu resyncs main<->protection on pgm. [David Haywood] | |
| 257 | The logic for detecting merged roms did not check all the rom sources | |
| 258 | in the parent, leading to cases where roms from devices aren't | |
| 259 | detected as merged (e.g. ldv1000 in superdqs). This fixes it. | |
| 260 | [Atari Ace] | |
| 336 | 261 | |
| 337 | trackfld cleanups: [Aaron Giles] | |
| 338 | - derived clocks where possible | |
| 339 | - complete memory maps from the schematics | |
| 340 | - hooked up proper sound command latching | |
| 341 | - reimplemented 6802-based ADPCM samples for the bootlegs | |
| 342 | - merged memory maps | |
| 343 | - extended NVRAM to the full RAM range (according to schematics) | |
| 344 | - created common include file and modified drivers to use it instead | |
| 345 | of explicit externs | |
| 262 | Added save state to artmagic.c and runaway.c. [Xander] | |
| 346 | 263 | |
| 347 | Removed msb/lsb handlers from taitosnd. Updated all drivers to | |
| 348 | call the 8-bit versions directly from the address maps. [Aaron Giles] | |
| 264 | Added newly-dumped PROMs to Robocop. [Irongiant] | |
| 349 | 265 | |
| 350 | Did bulk replace of AM_READ/WRITE(SMH_NOP) -> AM_READ/WRITENOP. | |
| 351 | [Aaron Giles] | |
| 266 | Added static qualifiers to recently-added code. [Atari Ace] | |
| 352 | 267 | |
| 353 | Reverted recent TMS32025 timing change which busted Cool Pool sound. | |
| 354 | [Olivier Galibert] | |
| 268 | Added missing coin lockout to lottofun. [Luigi30] | |
| 355 | 269 | |
| 356 | exctsccr update: [Uki] | |
| 357 | - verified clock frequency (including 4KHz NMI) | |
| 358 | - position 6A is not populated in JAPAN ver. | |
| 359 | - sound tempo is wrong in all sets (with or without this change) | |
| 360 | - clock for AY-3-8910 is 14.31818M/8 except for main melody | |
| 270 | Improved lamp output in MPU4.c. Redrawing now only occurs on the peaks | |
| 271 | of the 50Hz AC Power. [AGEMAME] | |
| 361 | 272 | |
| 362 | taito_l input updates: [Fabio Priuli] | |
| 363 | * added plgirls cheat dip-switch [found by Gatinho] | |
| 364 | * added plgirls2 coin mode B | |
| 273 | Updated the megatech.c parts list with info from more carts and | |
| 274 | fixed some errors in the notes for the rom definitions, and arranged | |
| 275 | them in correct order. [Smitdogg] | |
| 365 | 276 | |
| 366 | Fixed crshrace coinage dips. [stephh, Fabio Priuli] | |
| 277 | Added LSHIFT and RSHIFT as alises to << and >> for cheat files. | |
| 278 | [Pugsy] | |
| 367 | 279 | |
| 368 | ||
| 280 | Added Guru-re | |
| 369 | 281 | |
| 370 | ||
| 282 | A | |
| 371 | 283 | |
| 372 | Improved the Wave-DMA behaviour in Naomi, added PVR-DMA support. | |
| 373 | [Angel Salese] | |
| 284 | Moved the configuration of m6502-family callbacks to the cpu | |
| 285 | configuration. [Wilbert Pol] | |
| 374 | 286 | |
| 375 | Naomi video cleanups/reworking. [David Haywood] | |
| 287 | Split Naomi video ram access into 32-bit / 64-bit areas pending more | |
| 288 | information on how they actually mirror (it's not a straight mirror). | |
| 289 | [David Haywood] | |
| 376 | 290 | |
| 377 | DIPSW update [kanikani] | |
| 378 | - added DIP location to following drivers: djmain.c, fitfight.c, | |
| 379 | gaiden.c, hornet.c, namcos1.c, namcos86.c, nwk-tr.c, skykid.c, | |
| 380 | zr107.c | |
| 381 | - enabled some DIPSW settings | |
| 291 | psattack CF card redump and ID metadata added to create a CHD. [Guru] | |
| 382 | 292 | |
| 383 | PGM update [XingXing] | |
| 384 | - added video ram mirroring (fixes a glitch in kovsh) | |
| 385 | - corrected some set names | |
| 293 | H8 series MCU updates: [R. Belmont] | |
| 294 | - Implemented 8-bit timers and free-running counter for H8/3334 | |
| 295 | - Added bld #imm, @Rd instruction | |
| 296 | - Improvements to interrupts and the serial ports | |
| 386 | 297 | |
| 387 | neogeo fixes: [Fabio Priuli] | |
| 388 | * fixed popbounc controls bug (MT 598) | |
| 389 | * removed use of sprintf | |
| 390 | * added a note about service menu browsing when mahjong panel is ON | |
| 298 | Namco System 23 update: [R. Belmont] | |
| 299 | - Changes and documentation added on how the I/O board is hooked up. | |
| 300 | The H8/3334 based TSS-I/O board sometimes handshakes successfully in | |
| 301 | Time Crisis 2 now but timing-related problems remain. | |
| 391 | 302 | |
| 392 | Konami inputs improvements: [Fabio Priuli] | |
| 393 | * Added source file konamipt.h to unify Konami inputs where possible | |
| 394 | (e.g. most 80s-90s games were using basically the same coinage | |
| 395 | settings and joystick inputs). | |
| 396 | * While at it, verified all 0x00 coinage effects in drivers which now | |
| 397 | use konamipt.h (fixing a few mistakes: hexion, mikie, crimfgtj...) | |
| 398 | * Added finalizb service coin. Removed roadf coin4 & asterix coin3 | |
| 399 | (neither used by the games nor present in service mode). | |
| 400 | * Fixed gberetb coin inputs (they were switched). | |
| 401 | * Added port_condition to hcrash so that brake appears only when | |
| 402 | present in the chosen cabinet. | |
| 403 | * Cleaned up mystwarr.c & moo.c input handlers. | |
| 404 | * Verified 0x00 coinage settings in remaining Konami drivers (and two | |
| 405 | Banpresto ones using same coinage settings) | |
| 303 | Namco System Super 22 update: [R. Belmont] | |
| 304 | - Reimplemented SPOT RAM - Tokyo Wars relied on some details not | |
| 305 | previously seen | |
| 306 | - Fixed uninitialized RAM area that caused random sprite colors | |
| 307 | since 0.120 (thanks to Phil Bennett for debugging the problem) | |
| 308 | - Updated Guru Readme(tm) | |
| 406 | 309 | |
| 407 | Fixed | |
| 310 | Fixed Al | |
| 408 | 311 | |
| 409 | Simulate 'keyoff' in the SPU. The envelopes aren't actually emulated, | |
| 410 | but the sound is silenced after a key-off (by placing the sound in a | |
| 411 | 'release' state) This prevents audiable sound from looping forever. | |
| 412 | [David Haywood] | |
| 312 | Gladiator coinage fix. [Tafoid] | |
| 413 | 313 | |
| 414 | Build the IDE features table only when there is a CHD available. | |
| 415 | [Curt Coder] | |
| 314 | Fixed regressed sound in wc90b.c. Also fixed nested NMIs, improving | |
| 315 | msm sound, and converted memory maps to current standards. | |
| 316 | [Angelo Salese] | |
| 416 | 317 | |
| 417 | Added device-based implementations of the eeprom and i2c deevices. | |
| 418 | [Samuele Zannoli] | |
| 318 | Corrected the 202 entry in the LFO Frequency Table (and comments for | |
| 319 | it) for the YMF271 based on a formula by Olivier Galibert. | |
| 320 | [Brian Troha, Roman Scherzer] | |
| 419 | 321 | |
| 420 | Added diplocations to finalizr.c, gradius3.c, pandoras.c, rollerg.c | |
| 421 | and ultraman.c based on Guru's notes (thanks to AJG, who fwded them | |
| 422 | to me). [Fabio Priuli] | |
| 322 | Added PCB rom locations to Dog Fight (Thunderbolt) romdef as well as | |
| 323 | the bprom type. [Brian Troha] | |
| 423 | 324 | |
| 424 | ||
| 325 | Fix | |
| 425 | 326 | |
| 426 | Changed Z80 cycle table definitions to be per-device. Removed | |
| 427 | old set_info constants for the tables; they are now set up via | |
| 428 | the z80_set_cycle_tables function. [Aaron Giles] | |
| 327 | Added basic MSM support for Super Crowns Golf, and fixed NMI | |
| 328 | generation. Also found & hooked up the flip screen bit, and cleaned | |
| 329 | up the memory maps. [Angelo Salese] | |
| 429 | 330 | |
| 430 | m90: reduced volume for all games, removed wrong graphics flag and | |
| 431 | added no cocktail flag for risky challenge. [robiza] | |
| 331 | Hooked up sprite buffering in the Jaleco Mega System 1 driver. | |
| 332 | [Angelo Salese] | |
| 432 | 333 | |
| 433 | Reduced volume for bombrman, added wrong graphics flag for quizf1. | |
| 434 | [robiza] | |
| 334 | Corrected Euro League clock speeds. [Mike Coates] | |
| 435 | 335 | |
| 436 | Removed old hardcoded keyboard handling for Atari 8bit systems and | |
| 437 | used more reasonable key matrix scan. No regressions expected in MAME | |
| 438 | (tested maxaflex.c games). [Fabio Priuli] | |
| 336 | Fixed ADPCM stop flag in Jantotsu, and cleaned up some routines in the | |
| 337 | driver. Added an heuristic table for the msm samples. Fixed MSM | |
| 338 | frequency. [Angelo Salese] | |
| 439 | 339 | |
| 440 | Many Naomi tweaks and improvements, plus a number of new sets added | |
| 441 | but with no credit specified. [David Haywood] | |
| 340 | Hooked up sound in Super Shanghai Dragon's Eye. [Angelo Salese] | |
| 442 | 341 | |
| 443 | Corrected names for Champion Italian PK boards (thank f205v for | |
| 444 | spotting this). [Mirko Buffoni] | |
| 342 | Fixed some dip-switches quirks in the Mexico 86 driver and enabled the | |
| 343 | single board 4 players mode. [Angelo Salese] | |
| 445 | 344 | |
| 446 | Sega System 1/2 rewrite: [Aaron Giles] | |
| 447 | * accurate collision detection in all games | |
| 448 | * correct full memory maps | |
| 449 | * hooked up 8255 and Z80 PIO correctly | |
| 450 | * unified many hacked variants into common hardware models | |
| 451 | * proper mixing using the mixing PROM | |
| 452 | * converted to tilemaps | |
| 453 | * fixed shtngmst sprites | |
| 454 | * correct Z80 timing | |
| 455 | * proper sound interrupt signaling and feedback | |
| 456 | * full description of video hardware | |
| 457 | * proper input hookup in dakkochn | |
| 458 | * cleaned up rendering code | |
| 459 | * fixed cocktail mode in pretty much all games | |
| 460 | * fixed stuck sprites in some games | |
| 461 | * partial 8751 simulation for choplift | |
| 462 | * proper global muting (attract sound off works in older games) | |
| 463 | * yes, the Pitfall 2 title is missing; more work to be done | |
| 345 | Improved timing of communication between the main and sound cpus in | |
| 346 | the megadriv driver. [Wilbert Pol] | |
| 464 | 347 | |
| 465 | Put tables used for RGB utilities in a single object file rather | |
| 466 | than compiling them as statics in every object that uses them. | |
| 467 | [Vas Crabb] | |
| 348 | Fixed flickering in Super Shanghai Dragon's Eye on girl presentation | |
| 349 | screens. Split memory maps for the different sshangha version, and | |
| 350 | fixed sound in the parent set. [Angelo Salese] | |
| 468 | 351 | |
| 469 | Added small workaround to get Thunder Hoop 2 past the "bad | |
| 470 | coprocessor" screen, but the game still has issues. [Peter Ferrie] | |
| 352 | Added I8751 ROM to sqixu [Dr. Decapitator, Nicola Salmoria] | |
| 471 | 353 | |
| 472 | Fixed incorrect DIP location for dealer in epos.c. [Tafoid] | |
| 354 | Fixed sqix/sqixa bootleg MCU bad dump by comparison with the original. | |
| 355 | [Nicola Salmoria] | |
| 473 | 356 | |
| 357 | Fixed coin lockout in Tetris (Arkanoid HW) and removed the | |
| 358 | GAME_WRONG_COLORS flag since the colors are correct. [Angelo Salese] | |
| 474 | 359 | |
| 360 | Added MSM hook-up for Ganbare Chinsan Ooshoubu. [Angelo Salese] | |
| 475 | 361 | |
| 362 | Fixed background colors in Tryout and cleaned-up the NMI firings on | |
| 363 | coin insertion. [Angelo Salese] | |
| 364 | ||
| 365 | Cleaned-up the Mazer Blazer driver. [Angelo Salese] | |
| 366 | ||
| 367 | Fixed foreground color offsets in Tryout, game colors should now be | |
| 368 | 100% accurate. Also fixed flip X on the sprites, fixed scrolling | |
| 369 | issues, and added screen disable flag. [Angelo Salese] | |
| 370 | ||
| 371 | Disabled unused variables in the project that were only assigned to | |
| 372 | but never used. [Oliver Stoeneberg] | |
| 373 | ||
| 374 | Removed the pulse input on the touchscreen for the touchmaster | |
| 375 | drivers, making centipede returns (tm4k), breakout3k (tm3k), | |
| 376 | wordsearch (tm8k) and possibly other games playable do to the need for | |
| 377 | "dragging" the screen. An example of this is the word search game | |
| 378 | where it is necessary to drag from the start letter to the end to | |
| 379 | highlight the selection, which is not possible with a pulse input. | |
| 380 | [Mike Green] | |
| 381 | ||
| 382 | Corrected the clock speed for Pirate Ship Higemaru. [Stefan Lindberg] | |
| 383 | ||
| 384 | Hand-tuned bgm OKI sound chip frequency in mirage.c. [Angelo Salese] | |
| 385 | ||
| 386 | Added readmes to Jail Break, Ninja Warriors, Operation Wolf and | |
| 387 | Rainbow Islands. [Guru] | |
| 388 | ||
| 389 | Fixed sound banking and priorities in Mirage Youjuu Mahjongden. | |
| 390 | [Angelo Salese] | |
| 391 | ||
| 392 | Decoded color proms and fixed bitplanes in Mirax. [Angelo Salese] | |
| 393 | ||
| 394 | CPUs actually take some time to reset. Changed the 68000/68010 to | |
| 395 | eat an appropriate number of cycles after a reset. [Aaron Giles] | |
| 396 | ||
| 397 | Sega System 16A changes: [Aaron Giles, Dr. Decapitator] | |
| 398 | * Added MCU dumps to quart21 and bodyslam | |
| 399 | * Hooked up MCU in these games | |
| 400 | * Marked games using simulated MCU as "unemulated protection" | |
| 401 | as the MCUs clearly do more than what we are simulating | |
| 402 | ||
| 403 | Eliminated SMH_* usage in all memory maps in drivers beginning with | |
| 404 | A and B. [MooglyGuy] | |
| 405 | ||
| 406 | Added some security custom info to the Sega drivers | |
| 407 | (from http://www.higenekodo.jp/sega_n.htm). [Yasuhiro Ogawa] | |
| 408 | ||
| 409 | Converted the Namco 50xx, 51xx, 52xx, 53xx, 54xx, and 06xx into | |
| 410 | proper devices. [Aaron Giles] | |
| 411 | ||
| 412 | Added DERIVED_CLOCK() macro which can be used by sub-devices to | |
| 413 | derive their clock from the parent device. [Aaron Giles] | |
| 414 | ||
| 415 | Tweaked some of the laserdisc interfaces to use ROM_NAME() and | |
| 416 | MACHINE_DRIVER_NAME() macros. [Aaron Giles] | |
| 417 | ||
| 418 | Changed the Namco 52xx and 53xx devices to run the actual MCU instead | |
| 419 | of simulating the behavior. Hooked them up properly in bosco, digdug, | |
| 420 | and polepos. [Aaron Giles] | |
| 421 | ||
| 422 | Fixed Bronx regression. [Angelo Salese] | |
| 423 | ||
| 424 | Guessed ADPCM PAL shuffling in Idol Janshi Suchie-Pai Special, it | |
| 425 | sounds better but I'm not sure if it's 100% accurate (I need a | |
| 426 | side-by-side test). [Angelo Salese] | |
| 427 | ||
| 428 | Added mirrors to Pole Position memory maps. [Aaron Giles] | |
| 429 | ||
| 430 | DIP switch changes: [kanikani] | |
| 431 | - added DIPLOCATION to scontra and thunderx | |
| 432 | - added some DEF_STRs (Difficult, Very Difficult, etc.) and modified | |
| 433 | drivers using them | |
| 434 | ||
| 435 | Added internal memory maps and internal clock divider to the MB88xx | |
| 436 | CPUs. Removed now-redundant memory maps from drivers and removed | |
| 437 | explicitly-specified clock dividers. [Aaron Giles] | |
| 438 | ||
| 439 | Continued changing CPU references from numbers to tags in drivers. | |
| 440 | [Fabio Priuli] | |
| 441 | ||
| 442 | Preliminary work on beatmania iidx, still lots to do. [smf] | |
| 443 | ||
| 444 | Several MB88xx changes/fixes: [Aaron Giles] | |
| 445 | - internal timer support now works; prescaler is guessed based | |
| 446 | on Pole Position sample playback frequency | |
| 447 | - external counter support works | |
| 448 | - a basic mechanism for reading serial input has been added; it | |
| 449 | is not sufficient for a full implementation, but good enough | |
| 450 | to sample the SI pin at startup | |
| 451 | - fixed TSTS/TSTV to clear their respective flags | |
| 452 | - fixed CI and CYI to compute imm-reg instead of reg-imm | |
| 453 | - added masking of the PA register upon RTI/RTS to prevent bogus | |
| 454 | PC values | |
| 455 | ||
| 456 | Fixes compilation with ARM7_DEBUG_CORE enabled. | |
| 457 | [Reijo Tomperi, Oliver Stoeneberg] | |
| 458 | ||
| 459 | Added support for parsing horizont.ini or vertical.ini based on the | |
| 460 | game's orientation. [Krick] | |
| 461 | ||
| 462 | Made a pass at shuffling/improving the system 16 and 18 bootlegs. | |
| 463 | Some games are probably more broken now, but they are better | |
| 464 | structured for future improvements. [David Haywood] | |
| 465 | ||
| 466 | Fixed a few potential memory leaks detected by cppcheck and also added | |
| 467 | an errormessage to verinfo. [Oliver Stoeneberg] | |
| 468 | ||
| 469 | Added Guru-readme(TM) for TWINKLE hardware. [Guru] | |
| 470 | ||
| 471 | ||
| 472 | ||
| 476 | 473 | New games added or promoted from NOT_WORKING status |
| 477 | 474 | --------------------------------------------------- |
| 478 | ||
| 475 | Aqua | |
| 479 | 476 | |
| 480 | 477 | |
| 481 | 478 | |
| 482 | 479 | New clones added |
| 483 | 480 | ---------------- |
| 484 | Exciting Soccer (Japan) [Uki] | |
| 485 | Super Megatouch IV Tournament Edition | |
| 486 | (9255-51-01 ROB, Standard version) [Brian Troha] | |
| 487 | Pit Fighter (rev 7) [Smitdogg] | |
| 488 | Chase H.Q. (US) [Smitdogg] | |
| 489 | Crush Roller (bootleg?) [Tafoid, f205v] | |
| 481 | Wizard Fire (Over Sea v2.1) [Irongiant] | |
| 482 | US AAF Mustang (TAB Austria bootleg) [Klaus Sommer] | |
| 483 | Chaos Heat (World) [Tormod / Brian Troha] | |
| 484 | Bloody Roar (Japan) [D. Alves, Smitdogg, Dumping Union] | |
| 485 | Fighters' Impact (Japan) [TH60] | |
| 486 | Ehrgeiz (Japan) [Uki] | |
| 487 | Super Qix (World, Rev 2) [Stefan Lindberg] | |
| 488 | High Impact Football (rev LA5 02/15/91) | |
| 489 | [Tormod, Smitdogg, Dumping Union] | |
| 490 | Intruder [Smitdogg, jmurjr, ranger_lennier] | |
| 491 | Pro. Sports (alternate) [Smitdogg] -- not working | |
| 492 | Forgotten Worlds (World) [Corrado Tomaselli] | |
| 493 | Cherry Bonus III (alt) [David Haywood] | |
| 490 | 494 | |
| 491 | 495 | |
| 492 | 496 | |
| 493 | 497 | New games marked as GAME_NOT_WORKING |
| 494 | 498 | ------------------------------------ |
| 495 | Key of Avalon 1.30 - Client [Alex's Rom Dumping Project] | |
| 496 | Key of Avalon 2.0 - Client [Alex's Rom Dumping Project] | |
| 497 | Sega Network Taisen Mahjong MJ 2 [Alex's Rom Dumping Project] | |
| 498 | Sega Network Taisen Mahjong MJ 3 (Rev D) [Alex's Rom Dumping Project] | |
| 499 | Triforce DIMM Updater [Alex's Rom Dumping Project] | |
| 500 | Virtua Fighter 4 Final Tuned (Rev D) [Alex's Rom Dumping Project] | |
| 501 | Virtua Fighter 4 Final Tuned (Rev A) [Alex's Rom Dumping Project] | |
| 502 | Initial D : Arcade Stage Ver. 3 (Japan) (Rev B) [Alex's Rom Dumping Project] | |
| 503 | Virtua Fighter 4 Evolution (Rev A) [Alex's Rom Dumping Project] | |
| 504 | Wangan Midnight Maximum Tune 2 (Japan?) [Alex's Rom Dumping Project] | |
| 499 | Alpine Racer 2 (Rev. ARS2 Ver.A) [Guru] | |
| 500 | Tokyo Wars (Rev. TW2 Ver.A) [Guru, R. Belmont, Phil Bennett] | |
| 501 | Microman Battle Charge [Guru] | |
| 502 | Technical Bowling [Guru] | |
| 503 | Enchanted Forest (E - 23/06/95, Local) [AGEMAME] | |
| 504 | Golden Pyramids (B - 13-05-97, USA) [AGEMAME] | |
| 505 | Queen of the Nile (B - 13-05-97, NSW/ACT) [AGEMAME] | |
| 506 | Super Cherry Master / New Cherry Gold '99 [David Haywood] | |
| 507 | Super Cherry Master / Super Cherry Gold [David Haywood] | |
| 508 | Super Cherry Master / Grand Cherry Master [David Haywood] | |
| 505 | 509 | |
| 506 | 510 | |
| 507 | 511 | |
| 508 | 0.13 | |
| 512 | 0.131u2 | |
| 509 | 513 | ------- |
| 510 | 514 | |
| 511 | (Due to an oversight, credit for the new Neo Geo BIOS was incorrectly | |
| 512 | given in the previous whatsnew. Thanks to Massimiliano Macri for the | |
| 513 | donation.) | |
| 514 | 515 | |
| 515 | ||
| 516 | ||
| 517 | 516 | MAMETesters Bugs Fixed |
| 518 | 517 | ---------------------- |
| 519 | - 02382: [Graphics] peke1012: Bad ROM dump causes graphics glitches | |
| 520 | (Jim Stolis) | |
| 521 | - 02977: [Crash/Freeze] rdft2j2: Access Violation (Haze) | |
| 522 | - 03071: [Sound] tndrcade tndrcadj: music problem (Phil Bennett) | |
| 523 | - 03063: [Misc.] psyvaria, psyvarrv, usagi, nightrai, xiistag: Some | |
| 524 | G-Net cards were dumped without restoring them to defaults | |
| 525 | first (Guru) | |
| 526 | - 03068: [DIP/Input] leprechn: Lives are incorrect in Dip Settings | |
| 527 | (Tafoid) | |
| 528 | - 03024: [DIP/Input] jrpacmbl: All inputs perform wrong function in- | |
| 529 | game (Fabio Priuli) | |
| 530 | - 02972: [Documentation] shuttlei: Year is listed as 197?, confirmed | |
| 531 | as 1979. (incog) | |
| 532 | - 02978: [Documentation] suprgolf: Year is listed as 19??, confirmed | |
| 533 | as 1989. (incog) | |
| 534 | - 02970: [Documentation] sfbonus, sfbonusa, sfbonusb, sfbonusd, | |
| 535 | sfbonusv: The year is 2003 according to the attract mode. | |
| 536 | (incog) | |
| 537 | - 02968: [Documentation] parrot3: The year is 2003 according to the | |
| 538 | attract mode. (incog) | |
| 539 | - 02969: [Documentation] parrot3b: The year is 2004 according to the | |
| 540 | attract mode. (incog) | |
| 541 | - 02999: [DIP/Input] taotaida: need more 3 buttons (Fabio Priuli) | |
| 542 | - 03029: [DIP/Input] jitsupro, kazan, p47, rodland, stdragon and | |
| 543 | clones: "Demo sounds" dip-switch inverted (Fabio Priuli) | |
| 544 | - 03042: [Documentation] mjclub: Dip-Switch settings for mjclub | |
| 518 | - 03173: [Sound] Many sets using atarijsa.c: Audio samples are | |
| 519 | incorrectly pitched (Phil Bennett) | |
| 520 | - 03171: [Crash/Freeze] pang, spang, pompingw, pkladies: Ram error | |
| 521 | during the boot checking of the games. (Pierpaolo Prazzoli) | |
| 522 | - 03170: [Sound] mtrap and clones: Sound effects cycle constantly | |
| 523 | while playing (Fabio Priuli) | |
| 524 | - 03169: [Crash/Freeze] All sets in hvyunit.c: Access Violation | |
| 525 | (Angelo Salese) | |
| 526 | - 03168: [Sound] All sets in halleys.c: Audio is missing completely | |
| 545 | 527 | (Fabio Priuli) |
| 546 | - 03031: [DIP/Input] seganinj and clones: Player 1 button 3 not | |
| 547 | present (Fabio Priuli) | |
| 548 | - 03048: [Sound] equites and clone: strange noise ingame | |
| 549 | (Phil Bennett) | |
| 550 | - 03035: [Save/Restore] frogg, froggrmc: Autosave does not work | |
| 551 | correctly (couriersud) | |
| 552 | - 02172: [DIP/Input] some driving games: MAME allocates Player 2 - 4 | |
| 553 | inputs for deficient Player 1 inputs. (Fabio Priuli) | |
| 528 | - 03167: [Color/Palette] fromancr, fromanc4: Second screen has | |
| 529 | incorrect palette/colors (Fabio Priuli) | |
| 530 | - 03166: [Graphics] tattass, tattassa: Missing Graphics (Fabio Priuli) | |
| 531 | - 03153: [Crash/Freeze] penbros: Access Violation (Mamesick) | |
| 532 | - 03163: [Graphics] sailormn, sailormo: Playfield Graphics regression | |
| 533 | (Mamesick) | |
| 534 | - 03150: [Crash/Freeze] metmqstr, nmaster: Access Violation (Mamesick) | |
| 535 | - 03162: [Sound] baddudes, hbarrel, birdtry, robocop, hippodrm, | |
| 536 | ffantasa : Game has no sound at all (Angelo Salese) | |
| 537 | - 03147: [Misc.] shtngmst, shtngmst1: wrong sha1 values for shooting | |
| 538 | master ic74 (Nicola Salmoria) | |
| 539 | - 03160: [Crash/Freeze] tubepb: Access Violation (Fabio Priuli) | |
| 540 | - 03152: [Crash/Freeze] All Sets in nss.c: Access Violation | |
| 541 | (Fabio Priuli) | |
| 542 | - 03151: [Crash/Freeze] jajamaru, mightybj, topgun, vsgshoe: Access | |
| 543 | Violation (Fabio Priuli) | |
| 544 | - 03154: [Crash/Freeze] All sets in pooyan.c: Access Violation | |
| 545 | (Fabio Priuli) | |
| 546 | - 03157: [Crash/Freeze] All Sets in policetr.c: Access Violation | |
| 547 | (Fabio Priuli) | |
| 548 | - 03159: [Crash/Freeze] superchs: Access Violation (Fabio Priuli) | |
| 549 | - 03148: [Crash/Freeze] All sets in konamigx.c: Access Violation | |
| 550 | (Fabio Priuli) | |
| 551 | - 03146: [Compiling] cpu\vtlb.c 64 bit warning: 64bit vs compile | |
| 552 | warnings (smf) | |
| 554 | 553 | |
| 555 | 554 | |
| 556 | 555 | |
| 557 | 556 | Source Changes |
| 558 | 557 | -------------- |
| 559 | Added board description to Zodiack. [Guru] | |
| 558 | Added notes to several drivers indicating specifically that an MCU | |
| 559 | is needed for decapping. [Angelo Salese] | |
| 560 | 560 | |
| 561 | Demoted some games to have the GAME_NOT_WORKING flag: | |
| 562 | - Alligator Hunt (protected version); | |
| 563 | - Glass; | |
| 564 | - Great Guns; | |
| 565 | - Name Club Ver. 3; | |
| 566 | - Snow Board Championship; | |
| 567 | - Tetris Korean bootleg; | |
| 568 | - Thunder Hoop 2: TH Strikes Back; | |
| 569 | - Touryuu Densetsu Elan-Doree / Elan Doree - Legend of Dragoon; | |
| 570 | - World Grand Prix; | |
| 571 | - World Rally 2 - Twin Racing; | |
| 561 | Naomi renderer: add all 64 blending modes, and made it anal-retentive | |
| 562 | where it comes to position precision. [Olivier Galibert] | |
| 572 | 563 | |
| 573 | Some various Naomi improvements and SH4 hacks to get more Naomi games | |
| 574 | booting farther. [David Haywood, Angelo Salese] | |
| 564 | Converted Irem M14 HW to tilemaps and cleaned-up the driver. | |
| 565 | [Angelo Salese] | |
| 575 | 566 | |
| 576 | Added a PCB layout for the large single plane PCB that Incredible | |
| 577 | Technologies used for the Golden Tee 3D series (3D through Classic), | |
| 578 | Shuffleshot, World Class Bowling and World Class Bowling Deluxe. | |
| 579 | [Guru] | |
| 567 | Renamed yumefuda.c/hanaroku.c drivers to albazg.c/albazc.c (like they | |
| 568 | should be properly named). [Angelo Salese] | |
| 580 | 569 | |
| 581 | Added | |
| 570 | Added MCU n | |
| 582 | 571 | |
| 583 | WIP driver for Cubo CD32 [Mariusz Wojcieszek]: | |
| 584 | - AGA palette | |
| 585 | - AGA bitplane data fetching | |
| 586 | - support for up to 8 standard bitplanes | |
| 587 | - HAM8 mode | |
| 572 | Fixed background colors in Alien Command. [Angelo Salese] | |
| 588 | 573 | |
| 589 | Further annotated the game lists is mamedriv.c. [Yasuhiro Ogawa] | |
| 574 | Added profile markers to naomi, to see what % of cpu time things are | |
| 575 | using. [David Haywood] | |
| 590 | 576 | |
| 591 | ||
| 577 | Lowered the | |
| 592 | 578 | |
| 593 | Updated video timing in bestbest to match PCB [Guru] | |
| 579 | Some Maple fixes, now Street Fighter Zero 3 Upper should be fully | |
| 580 | playable. [Angelo Salese] | |
| 594 | 581 | |
| 595 | ejsakura fix: added ymz280b_r to memory map to prevent musics to stop | |
| 596 | while playing [Cs9ph7Rg0] | |
| 582 | Added cart info documentation update for the two resent Mega-Tech cart | |
| 583 | dumps: Shadow Dancer & Streets of Rage. [Brian Troha] | |
| 597 | 584 | |
| 598 | nemesis.c fix [Hau] | |
| 599 | - Fixed screen priority problems in Kitten Kaboodle. | |
| 600 | - Added flip screen & cocktail support. | |
| 601 | - Merged memory maps in hyprduel.c | |
| 585 | Merged memory maps in the following remaining drivers and cleaned up | |
| 586 | some comments: homedata.c, intrscti.c, inufuku.c, irobot.c, jack.c, | |
| 587 | kaneko16.c, naughtyb.c, scobra.c, scramble.c, slapfght.c, spaceg.c. | |
| 588 | [MooglyGuy] | |
| 602 | 589 | |
| 603 | CPU cores are now enabled on a per cpu core family basis instead of | |
| 604 | per cpu core variant. As a result CPUDEFS is no longer needed in the | |
| 605 | makefile. [Wilbert Pol] | |
| 590 | Fixed Naomi bug in computedilated, was causing bad portraits in | |
| 591 | shikgam2. [David Haywood] | |
| 606 | 592 | |
| 607 | TMS320C25 fixes and enhancements: [Olivier Galibert] | |
| 608 | - accept IRQs on IDLE | |
| 609 | - actually count irq processing and instruction fetching cycles | |
| 610 | - add support for external serial frame sync with internal | |
| 611 | triggering (aka TXM=1 and FSM=1). | |
| 593 | Removed second parameter from MDRV_CPU_PROGRAM_MAP, MDRV_CPU_DATA_MAP, | |
| 594 | and MDRV_CPU_IO_MAP. For the remaining drivers that used multiple | |
| 595 | address maps, converted them to use AM_IMPORT_FROM to import the base | |
| 596 | map. [Aaron Giles] | |
| 612 | 597 | |
| 613 | Updated G-Net CHDs (reset to factory default settings and clear | |
| 614 | high-score table) [Guru] | |
| 598 | Added bilinear filtering to Naomi video emulation. Textures are still | |
| 599 | a bit crawly since we're always using the lowest MIP level. | |
| 600 | [MooglyGuy, Aaron Giles] | |
| 615 | 601 | |
| 616 | Added description of G-Net card/PCB [Guru] | |
| 602 | Short-circuit the naomi rendering in non-textured cases, prevents a | |
| 603 | lot of bad graphics. [David Haywood] | |
| 617 | 604 | |
| 618 | Fixed | |
| 605 | Fixed t | |
| 619 | 606 | |
| 620 | Fixed the sprite collision code of the mcu simulation in | |
| 621 | 'machine\mexico86.c'. [Aladar] | |
| 607 | Added MC-8123 key for Gigas. Of course the game still doesn't work | |
| 608 | because the program ROM is missing. [Nicola Salmoria] | |
| 622 | 609 | |
| 623 | Improved sound banking in galpani2 driver. [Luis Faria] | |
| 610 | Applied some of the Naomi exclusive texture mode rules. | |
| 611 | [David Haywood] | |
| 624 | 612 | |
| 625 | Gameplan improvements: [Tafoid] | |
| 626 | - verified and simplified the DIPs, adding locations | |
| 627 | - adjusted clocks in Leprechaun and Pirate Treasure based on info | |
| 628 | from the manual | |
| 613 | Added a work-around for the UART FIFO read only status register on the | |
| 614 | SH-4 to make Tetris Kiwamemichi happy to boot. It crashes shortly | |
| 615 | after that like La Keyboard though (jumps to an unmapped address). | |
| 616 | [Angelo Salese] | |
| 629 | 617 | |
| 630 | Implemented model2 inputs through direct AM_READ_PORT access rather | |
| 631 | than using read handlers. The patch also fixes daytona brakes (which | |
| 632 | were previously labeled with the wrong tag). [Fabio Priuli] | |
| 618 | Hacked the Naomi YUV interrupt to fire when the base register is | |
| 619 | written. (Currently looking at implementing properly, but this | |
| 620 | prevents KuruCham and SS2005 from hanging). [David Haywood] | |
| 633 | 621 | |
| 634 | Simplified input handling in Taito F3 games. [Fabio Priuli] | |
| 622 | Converted namcos2.c, niyanpai.c and nbmj9195.c to use AM_IMPORT_FROM | |
| 623 | instead of macros. [Angelo Salese] | |
| 635 | 624 | |
| 636 | ||
| 625 | Fixed regression | |
| 637 | 626 | |
| 638 | Fixed rdft2j2 set, it was using rdft roms instead of the rdft2 ones. | |
| 639 | [David Haywood] | |
| 627 | Added MCU no-dump to Air Buster. [Angelo Salese] | |
| 640 | 628 | |
| 641 | Additional PGM improvements: [David Haywood] | |
| 642 | - Added emulation of the earlier type of ARM (ASIC27A, 5585E type) | |
| 643 | Used this for protection emulation on Photo Y2k, Knights of | |
| 644 | Valour Superheroes instead of old simulation code | |
| 645 | - Disabled protection simulation for several sets. This demotes | |
| 646 | Knights of Valour / Knights of Valour Plus to NOT working as there | |
| 647 | is no dump of the internal rom. | |
| 648 | - Photo Y2k still works because it's using the emulation added above, | |
| 649 | but You can no longer change region as this is supplied by the | |
| 650 | ASIC27A device which is now emulated. This is correct. | |
| 651 | - Added several new sets, several of which are re-releases of the | |
| 652 | games using the ASIC 27A instead of the previous protection | |
| 653 | devices. (oldss, killbldp) | |
| 654 | - Removed per-game speedup hacks, as they're no longer needed for the | |
| 655 | ARM based games to boot correctly. | |
| 629 | Commented out the ACIA irq, was causing missing bgms in Street | |
| 630 | Fighter Zero 3 Upper. [Angelo Salese] | |
| 656 | 631 | |
| 657 | Fixed core_strwildcmp by increasing the limit from 8 to 16 characters. | |
| 658 | [smf] | |
| 632 | Improved the debugging on the Naomi Wave DMA handler. [Angelo Salese] | |
| 659 | 633 | |
| 660 | Verified and simplified munchmo DIPs, and added locations. Also fixed | |
| 661 | clock speeds and AY-8910 clock to match recordings. [Tafoid] | |
| 634 | Converted DJ Boy memory maps to current standards. [Angelo Salese] | |
| 662 | 635 | |
| 663 | Verified DIPs and added locations for Road Fighter. Adjusted defaults | |
| 664 | to match the manual. [Tafoid] | |
| 636 | Fixed pipedrm tag problem. [Fabio Priuli] | |
| 665 | 637 | |
| 666 | In bublbobl, emulated CPU1 (slave) <-> AUDIOCPU communications and | |
| 667 | AUDIOCPU reset at startup, previously this was disabled. [Mamesick] | |
| 638 | Fixed ninjakd2 DIPSW and notes. [kanikani] | |
| 668 | 639 | |
| 669 | Added samples emulation to Rough Ranger (V2.0), write ports A & B of | |
| 670 | YM2203 are used. [Mamesick] | |
| 640 | Fixed a couple of bugs in cave.c and seta2.c introduced with the | |
| 641 | memory map merges. [Fabio Priuli] | |
| 671 | 642 | |
| 672 | Added game-specific kludge to get music in SD Gundam Psycho Salamander. | |
| 673 | [Mamesick] | |
| 643 | MCS-51 fixes: [Aaron Giles] | |
| 644 | * jb int0,<self> loops are now broken out of if int0 comes and is | |
| 645 | taken | |
| 646 | * externally-clocked counters only count when enabled | |
| 647 | * internal RAM no longer wraps when accessed out of bounds | |
| 674 | 648 | |
| 675 | Fixed G-NET on big-endian hosts. [R. Belmont] | |
| 649 | System 1 changes: [Aaron Giles] | |
| 650 | * hooked up 8751 properly | |
| 651 | * removed old 8751 hacks | |
| 652 | * shuffled Shooting Master sets | |
| 676 | 653 | |
| 654 | Fixed tattass regression from map merging. [Fabio Priuli] | |
| 677 | 655 | |
| 656 | Fixed P2 palette write handlers for fromancr and fromanc4. | |
| 657 | [Fabio Priuli] | |
| 678 | 658 | |
| 659 | Fixed halleys.c sound: ay8910 write handlers work on two bytes. | |
| 660 | [Fabio Priuli] | |
| 661 | ||
| 662 | Marked polystar, hellngt and totlvice CHDs as bad. Will be replaced | |
| 663 | soon. [Guru] | |
| 664 | ||
| 665 | Added missing YMZ280B ROM to evilngt/hellngt. [Guru] | |
| 666 | ||
| 667 | Fixed regression on homedata.c driver. [Angelo Salese] | |
| 668 | ||
| 669 | Fixed Legend of Makai regression. [Angelo Salese] | |
| 670 | ||
| 671 | Removed "BAD_DUMP" from the Red Baron AVG bprom, it has been verified | |
| 672 | correct (contents and label) by the Dumping Union. [Smitdogg] | |
| 673 | ||
| 674 | Improved the single board 4p mode in Kick N Run / Mexico 86. It | |
| 675 | basically works but 2p mode is broken so I still keep it as disabled | |
| 676 | by default. [Angelo Salese] | |
| 677 | ||
| 678 | Fixed Kiki Kai Kai exception. [Angelo Salese] | |
| 679 | ||
| 680 | Dumped io board rom to Dynamic Golf. [Guru] | |
| 681 | ||
| 682 | Fixed King Derby sprites wrap-around and flip x positioning. | |
| 683 | [Angelo Salese] | |
| 684 | ||
| 685 | ||
| 686 | ||
| 679 | 687 | New games added or promoted from NOT_WORKING status |
| 680 | 688 | --------------------------------------------------- |
| 681 | Hidden Catch 3 [Pierpaolo Prazzoli, Tomasz Slanina] | |
| 682 | Iron Fortress [Smitdogg Jones, Dumping Project] | |
| 683 | Mahjong Vegas (unprotected set) [Luca Elia, Uki] | |
| 684 | E-Jan Sakurasou [Cs9ph7Rg0] | |
| 685 | Kollon [Guru] | |
| 686 | Otenki Kororin [Guru] | |
| 687 | Shikigami no Shiro [Guru] | |
| 688 | Magical Error wo Sagase [Hau] | |
| 689 | Knights of Valour Superheroes [XingXing, David Haywood] | |
| 689 | PT Reach Mahjong [Angelo Salese] | |
| 690 | Otenami Haiken (V2.04J) [Joerg Hartenberger, Guru] | |
| 691 | Shanghai Sangokuhai Tougi (Ver 2.01J) [Joerg Hartenberger, Guru] | |
| 692 | Choplifter (8751 315-5151) [The Decapping Project, Aaron Giles] | |
| 693 | Shooting Master (EVG, 8751 315-5159a) | |
| 694 | [The Decapping Project, Aaron Giles] | |
| 695 | Noboranka [The Decapping Project, Aaron Giles] | |
| 690 | 696 | |
| 691 | 697 | |
| 692 | 698 | |
| 693 | 699 | New clones added |
| 694 | 700 | ---------------- |
| 695 | Super Puzzle Bobble (2.04J) [Guru] | |
| 696 | Zooo [Guru] | |
| 697 | Operation Wolf (Japan) [Guru] | |
| 698 | Puzz Loop (Asia) [Brian Troha] | |
| 701 | Samurai Nihon-ichi (set 3, harder) [f205v] | |
| 702 | Hatris (US) [Andrew Welburn] | |
| 699 | 703 | |
| 700 | 704 | |
| 701 | 705 | |
| 702 | 0.130u1 | |
| 703 | ------- | |
| 706 | New games marked as GAME_NOT_WORKING | |
| 707 | ------------------------------------ | |
| 708 | IQ Pipe [SoftwareThis] | |
| 704 | 709 | |
| 705 | IMPORTANT NOTE: The CHD format has undergone a change with this | |
| 706 | release. The main reason for this change is to include some of the | |
| 707 | key metadata into the hashes for the CHDs. This ensures that the | |
| 708 | metadata is valid and prevents abuse. | |
| 709 | 710 | |
| 710 | The first impact you will find is that all of your CHD differencing | |
| 711 | files are invalid. Just delete your "diff" directory contents | |
| 712 | entirely. | |
| 713 | 711 | |
| 714 | The second impact is that all your existing CHDs will warn you that | |
| 715 | they have incorrect hashes. This is expected. Your old CHDs should | |
| 716 | still work fine, so if you can live with the "bad ROM" warnings, you | |
| 717 | don't really need to do anything. However, if this bugs you or you | |
| 718 | want to be "clean", you can update your CHDs, using this command | |
| 719 | line: | |
| 712 | 0.131u1 | |
| 713 | ------- | |
| 720 | 714 | |
| 721 | chdman -update <chdfile> <newchdfile> | |
| 722 | ||
| 723 | for each one of your CHDs. This will take a while, but will produce | |
| 724 | CHDs that match the new checksums posted in the drivers. | |
| 725 | 715 | |
| 726 | ||
| 727 | ||
| 728 | 716 | MAMETesters Bugs Fixed |
| 729 | 717 | ---------------------- |
| 730 | - 03017: [Crash/Freeze] bmfinal: crash after cutting edge logo | |
| 731 | (Phil Bennett) | |
| 732 | - 02875: [Sound] Any Game that uses AY-3-8910: Envelope Fix causes | |
| 733 | notes tones to be played back incorrectly (couriersud) | |
| 734 | - 03026: [Graphics] retofinv, retofin1, retofin2: The remaining lives | |
| 735 | are not shown. (Pierpaolo Prazzoli) | |
| 736 | - 02981: [Cheat System] CHEAT.C: MAX_ARGUMENTS doesn't seem to work. | |
| 737 | (Pugsy) | |
| 738 | - 00827: [Graphics] wc90b1, wc90b2: On the Credit display screen, the | |
| 739 | PCB shows the upper part of the stadium. (robiza) | |
| 740 | - 00230: [Graphics] troangel: I just checked mame emulation against my | |
| 741 | pcb. (robiza) | |
| 742 | - 03018: [Sound] f1gpstr2: Sounds not playing (Phil Bennett) | |
| 718 | - 03144: [DIP/Input] piratpet: [possible] Button 2 skips level | |
| 719 | (Fabio Priuli) | |
| 720 | - 03126: [Gameplay] sbishi: When Player 2 plays alone, strange things | |
| 721 | happen. (David Haywood) | |
| 722 | - 03143: [Graphics] screwloo: screwy graphics area on one screen | |
| 723 | (Pierpaolo Prazzoli) | |
| 724 | - 03129: [DIP/Input] xmen: Directional controls re-arranged | |
| 725 | (Fabio Priuli) | |
| 726 | - 00487: [Misc.] groundfx: It has wrong default NVRAM settings, | |
| 727 | especially about the lap number (1) and the coin/credit | |
| 728 | settings (1/2). (Angelo Salese) | |
| 729 | - 03104: [Graphics] captaven and clones: No enemies appear in the | |
| 730 | second phase. (Pierpaolo Prazzoli) | |
| 743 | 731 | |
| 744 | 732 | |
| 745 | 733 | |
| 746 | 734 | Source Changes |
| 747 | 735 | -------------- |
| 748 | Fixed C140 ROM loading in winrun, winrun91 and driveyes [Phil Bennett] | |
| 736 | Deprecated device_set_info. Almost all devices had a NULL or empty | |
| 737 | function here. Remaining devices have been converted to have | |
| 738 | device-specific functions to do the same thing with proper type | |
| 739 | checking. CPUs still have a set_info function but it is CPU-specific | |
| 740 | now and no longer piggybacks on the general device function. | |
| 741 | [Aaron Giles] | |
| 749 | 742 | |
| 750 | Added Champion Italian PK blue board and promoted Champion Italian | |
| 751 | PK green board (previously citalian) and Champion Italian Cup | |
| 752 | (previously citaliana) to GAME_WORKING status | |
| 753 | [Mirko Buffoni, David Haywood] | |
| 754 | - Added cpokerpk (also known as CPK blue board for the color of the | |
| 755 | board) | |
| 756 | - Renamed citalian -> cpokerpkg (green board, can be seen in rom too) | |
| 757 | - Renamed citaliana -> citalcup | |
| 758 | - added PAL decryption, making all games playable | |
| 759 | - Updated input ports and fixed gfx layout to use 6 bitplanes like | |
| 760 | all others | |
| 761 | - Changed number10 and cpokerpk video udpate to not use transparency | |
| 743 | Changed UI to ignore selection from lightguns when off screen. This | |
| 744 | stops selection of Gun X Gun Y if you move the gun out of range. | |
| 745 | [Derrick Renaud] | |
| 762 | 746 | |
| 763 | Updated CHD format to version 4. Checksums are now computed and | |
| 764 | stored separately for raw data and metadata, and metadata is now | |
| 765 | checksummed by default. [Aaron Giles] | |
| 747 | Moved stv_vdp2_dynamic_res_change() function outside of VIDEO_UPDATE | |
| 748 | in ST-V. [Angelo Salese] | |
| 766 | 749 | |
| 767 | Updated chdman to support a generic metadata addition system: | |
| 768 | chdman -addmetatext <chdfile> <tag> [<index>] <sourcefile> | |
| 769 | chdman -addmetabin <chdfile> <tag> [<index>] <sourcefile> | |
| 770 | [Aaron Giles] | |
| 750 | Memory map merging for the NMK16 driver and cleaned-up some unneeded | |
| 751 | video code. [Angelo Salese] | |
| 771 | 752 | |
| 772 | Changed the CHD verify interfaces to pass back a structure containing | |
| 773 | all the necessary data for verification and fixing. [Aaron Giles] | |
| 753 | Made Hyper Pacman run with protection code from decapped MCU rather | |
| 754 | than simulation. [Guru, David Haywood] | |
| 774 | 755 | |
| 775 | NeoGeo update [Johnboy] | |
| 776 | - maglordh - Renamed p1 to correct chip label (MichaelNet) | |
| 777 | - Renamed maglordh to maglord (MVS) and maglord to maglordh (AES) | |
| 778 | - whp - Renamed several roms to correct chip label (MichaelNet) | |
| 779 | - kof2001 - Renamed p's to correct chip label; added note (MichaelNet) | |
| 780 | - Added mv1c bios, redump/reverification required | |
| 781 | - Updated documentation (see neogeo.c) | |
| 782 | - cyberlip - Added correct m1 (Guru/Smitdogg) | |
| 783 | - eightman - Removed BAD_DUMP from m1, is correct (Guru/Smitdogg) | |
| 756 | Added a large gfx decode using macros to allow the textures on hng64 | |
| 757 | to be viewed, handy for verifying the dumps. [David Haywood] | |
| 784 | 758 | |
| 785 | Merged Casino Winner and Royal Casino drivers [Angelo Salese] | |
| 786 | * Fixes Royal Casino colors; | |
| 787 | * Added flip screen support to the driver; | |
| 788 | * Changed Casino Winner to be a clone of Royal Casino; | |
| 789 | * Cleaned-up the driver; | |
| 759 | Audited code and added savestate support to the following drivers: | |
| 760 | [MooglyGuy] | |
| 761 | - dotrikun.c (dotrikun, dotriku2) | |
| 762 | - espial.c (espial, netwars) | |
| 763 | - zodiack.c (zodiack, dogfight, moguchan, percuss, bounty) | |
| 790 | 764 | |
| 791 | ||
| 765 | M | |
| 792 | 766 | |
| 793 | PGM updates: [Xing Xing, David Haywood] | |
| 794 | - added kov2p205, martmasc romset | |
| 795 | - fixed some descriptions | |
| 796 | - experimental video change with a view to fix priorities on kov2 | |
| 767 | Merged memory maps for the following drivers: [MooglyGuy] | |
| 768 | - battlex.c, buggychl.c, bwing.c, carjmbre.c, cbuster.c, chaknpop.c | |
| 769 | - changela.c, chqflag.c, circus.c, cischeat.c | |
| 770 | - cave.c, circusc.c, citycon.c, cninja.c, combatsc.c, compgolf.c, | |
| 771 | contra.c, cop01.c, cosmic.c, cps2.c, crimfght.c, crospang.c, | |
| 772 | crshrace.c, and cshooter.c | |
| 773 | - ssv.c | |
| 774 | - dambustr.c, darius.c, darkhors.c, darkseal.c, dassault.c, dbz.c, | |
| 775 | dcon.c, dday.c, ddenlovr.c, ddragon3.c, ddrible.c, dec0.c, dec8.c, | |
| 776 | deco32.c, deco_mlc.c, deniam.c, dietgo.c, discoboy.c, diverboy.c, | |
| 777 | dogfgt.c, dooyong.c, dragrace.c, dribling.c, drmicro.c | |
| 778 | - egghunt.c, epos.c, esd16.c, espial.c, exedexes.c, exzisus.c | |
| 779 | - f1gp.c, fastlane.c, firetrap.c, flkatck.c, flstory.c, freekick.c, | |
| 780 | fromanc2.c, fromance.c, funkybee.c, funkyjet.c, funybubl.c, | |
| 781 | fuukifg2.c, fuukifg3.c | |
| 782 | - gaelco.c, gaelco2.c, gaiden.c, galaga.c, galastrm.c, galaxold.c, | |
| 783 | galivan.c, gaplus.c, gbusters.c, gcpinbal.c, genesis.c, gijoe.c, | |
| 784 | ginganin.c, glass.c, gng.c, goal92.c, goindol.c, gomoku.c, | |
| 785 | gotcha.c, gotya.c, gridlee.c, gstriker.c, gumbo.c, gunbustr.c | |
| 786 | - halleys.c, hanaawas.c, hanaroku.c, hcastle.c, hexa.c, hexion.c, | |
| 787 | higemaru.c, hnayayoi.c, holeland.c, homedata.c, hshavoc.c, | |
| 788 | hyhoo.c, hyperspt.c | |
| 797 | 789 | |
| 798 | Modified cdrom.c to expose metadata read/write functions, and changed | |
| 799 | chdman to use them. Also changed chdman to parse old-style metadata | |
| 800 | and convert it to new-style metadata. [Aaron Giles] | |
| 790 | Merged memory map in ltcasino.c, Lemmings, quizdna.c, pushman.c, | |
| 791 | popper.c, sshangha.c. [Angelo Salese] | |
| 801 | 792 | |
| 802 | Fixed regressed sound in the deco MLC driver. [Angelo Salese] | |
| 793 | Added irq acks to the snowbros.c driver and merged memory maps on it. | |
| 794 | [Angelo Salese] | |
| 803 | 795 | |
| 804 | Preliminary protection simulation in olds100a [XingXing] | |
| 796 | TLCS-900/H cpu core fixes: [Wilbert Pol] | |
| 797 | - Reimplemented hdma | |
| 798 | - Fixed bugs in the EX (mem), R instructions. | |
| 805 | 799 | |
| 806 | Added an older Japanese neogeo bios [Corrado Tomaselli] | |
| 800 | Merged memory map and worked out some sound related stuff in Pass. | |
| 801 | [Angelo Salese] | |
| 807 | 802 | |
| 808 | Improvements to Counter Steer [Angelo Salese] | |
| 803 | Hooked up standard paletteram16_xbgr() function instead of a custom | |
| 804 | one in sshangha.c driver. [Angelo Salese] | |
| 809 | 805 | |
| 810 | Added new function core_fload() to load a file into an allocated | |
| 811 | buffer. Updated src2html, regrep, and chdman tools to use this | |
| 812 | function where appropriate. [Aaron Giles] | |
| 806 | Replaced the use of CPU numbers with tags where possible across most | |
| 807 | drivers. [Fabio Priuli] | |
| 813 | 808 | |
| 814 | Fix f1gpstr2 sound regression [Phil Bennett] | |
| 809 | hng64.c improvements / changes: [David Haywood] | |
| 810 | - Stripped out some old HNG64 code / some improvements | |
| 811 | - disabled the floor stuff in Fatal Fury Wild Ambition (looking for a | |
| 812 | cleaner implementation) | |
| 813 | - disabled zooming code for the same reasons (it was causing many | |
| 814 | issues) | |
| 815 | - understood and implemented the 'auto-animate' registers for the | |
| 816 | tilemaps (animated waterfalls etc. in Fatal Fury Wild Ambition) | |
| 817 | - reorganized graphic decoding | |
| 818 | - documented + hooked up 4bpp/8bpp select on layers. | |
| 819 | - fixed tile flipping | |
| 820 | - fixed a bug in the hng64 dma | |
| 815 | 821 | |
| 816 | Added default nvrams to sfbonus.c using rom_load_optional. This should | |
| 817 | save some time renaming and reparenting these in the future. | |
| 818 | [David Haywood] | |
| 822 | goldstar.c improvements / changes: [David Haywood] | |
| 823 | - added scroll registers for the girl when enabled in attract mode | |
| 824 | - documented how you can swap the blue/green bonus colours (but left | |
| 825 | the code disabled, I think versions with it swapped probably just | |
| 826 | have different proms) | |
| 827 | - added gfxdecode for cmasterc | |
| 819 | 828 | |
| 820 | Minor video/psx.c changes that were needed for raycrisis. | |
| 821 | [David Haywood] | |
| 829 | Memory maps merges for the following drivers: [Angelo Salese] | |
| 830 | * groundfx.c | |
| 831 | * lastduel.c | |
| 832 | * macrossp.c | |
| 833 | * madmotor.c (also cleaned-up some video variables in it) | |
| 834 | * mcatadv.c (also reduced a 1.0 clipping out volume setting) | |
| 835 | * moo.c | |
| 822 | 836 | |
| 823 | Fixed Heavy Unit main CPU bankswitch. This fixes the enemy appearing | |
| 824 | in attract mode. [Mamesick] | |
| 837 | Changed the way memory allocation is handled. Rather than allocating | |
| 838 | in terms of bytes, allocations are now done in terms of objects. This | |
| 839 | is done via new set of macros that replace the malloc_or_die() macro: | |
| 825 | 840 | |
| 826 | Added text tilemap flickering to pzletime. It allows to see the | |
| 827 | selected options. [Pierpaolo Prazzoli] | |
| 841 | alloc_or_die(t) - allocate memory for an object of type 't' | |
| 842 | alloc_array_or_die(t,c) - allocate memory for an array of 'c' objects of type 't' | |
| 843 | alloc_clear_or_die(t) - same as alloc_or_die but clears the memory | |
| 844 | alloc_array_clear_or_die(t,c) - alloc_array_or_die with clearing | |
| 828 | 845 | |
| 829 | Changed the CPU cores to use the get_safe_token() pattern like other | |
| 830 | devices. [Aaron Giles] | |
| 846 | All original callers of malloc_or_die have been updated to call these | |
| 847 | new macros. If you just need an array of bytes, you can use | |
| 848 | alloc_array_or_die(UINT8, numbytes). [Aaron Giles] | |
| 831 | 849 | |
| 832 | System16 update [kanikani] | |
| 833 | - Enabled some buttons previously marked as 'unused'. | |
| 834 | Manuals say 'No Connection', but programs read them and do | |
| 835 | something. i.e. button2 in Tetris: can rotate the piece | |
| 850 | Made a similar change to the auto_* allocation macros. In addition, | |
| 851 | added 'machine' as a required parameter to the auto-allocation macros, | |
| 852 | as the resource pools will eventually be owned by the machine object. | |
| 853 | The new macros are: | |
| 836 | 854 | |
| 837 | More Counter Steer progress. [Angelo Salese] | |
| 855 | auto_alloc(m,t) - allocate memory for an object of type 't' | |
| 856 | auto_alloc_array(m,t,c) - allocate memory for an array of 'c' objects of type 't' | |
| 857 | auto_alloc_clear(m,t) - allocate and clear | |
| 858 | auto_alloc_array_clear(m,t,c) - allocate and clear | |
| 838 | 859 | |
| 839 | Added PCB layout for Jumping Break and additional information. | |
| 840 | Corrected the sound clocks on PCBs that only have a 28MHz OSC. Only | |
| 841 | Super Lup Lup Puzzle has the 14.318180MHz OSC. Rearranged the rom | |
| 842 | def section to group the F-E1-16-0xx PCB based games in order. | |
| 843 | [Brian Troha] | |
| 860 | All original calls or auto_malloc have been updated to use the new | |
| 861 | macros. In addition, auto_realloc(), auto_strdup(), | |
| 862 | auto_astring_alloc(), and auto_bitmap_alloc() have been updated to | |
| 863 | take a machine parameter. [Aaron Giles] | |
| 844 | 864 | |
| 845 | troangel: better support of line scroll with wrap. The scroll offsets | |
| 846 | are split in LOW byte and HIGH byte. [robiza] | |
| 865 | Changed validity check allocations to not rely on auto_alloc* anymore | |
| 866 | because they are not done in the context of a machine. [Aaron Giles] | |
| 847 | 867 | |
| 848 | Add specific support for NEC VR4300/4310 CPUs. [R. Belmont] | |
| 868 | Removed of SMH_BANKn macros. Just use SMH_BANK(n) instead, which is | |
| 869 | what the previous macros mapped to anyhow. [Aaron Giles] | |
| 849 | 870 | |
| 850 | Fixed paletteram in Super Crowns Golf. Hooked up text background. | |
| 871 | Added missing casts and made other tweaks to appease some more strict | |
| 872 | settings on the compiler. [Aaron Giles] | |
| 873 | ||
| 874 | Merged memory maps in the seta.c, sf.c, nbmj8688.c, megasys1.c | |
| 875 | drivers. [Angelo Salese] | |
| 876 | ||
| 877 | Merged memory maps in the overdriv.c and demoted it tothe GNW flag. | |
| 851 | 878 | [Angelo Salese] |
| 852 | 879 | |
| 853 | ||
| 880 | A | |
| 854 | 881 | |
| 855 | Added default eeprom to skullfng, so that it appears less broken by | |
| 856 | default. (doesn't boot without one) [David Haywood] | |
| 882 | Fixed nested NMIs on Chequered Flag sound cpu, this fixes the sound | |
| 883 | loops and the music tempo. [Phil Bennett] | |
| 857 | 884 | |
| 858 | wc90b1 and wc90b2: fix fg and bg vertical scroll [robiza] | |
| 885 | Memory maps merges for the following drivers: [Angelo Salese] | |
| 886 | * metlclsh.c | |
| 887 | * mexico86.c (also added a basic hook-up for the 4p communication cpu, | |
| 888 | disabled by default) | |
| 889 | * mirage.c | |
| 890 | * mjkjidai.c | |
| 891 | * mjsister.c | |
| 892 | * mogura.c | |
| 893 | * news.c | |
| 894 | * ohmygod.c | |
| 895 | * ojankohs.c (also cleaned-up some video variables in it) | |
| 896 | * oneshot.c | |
| 897 | * opwolf.c | |
| 859 | 898 | |
| 860 | Implemented a multi-sprite bit in toaplan2 driver. [robiza] | |
| 899 | Fixed player controls in the 4 player version of tank force (thanks to | |
| 900 | tip posted by sxevious on mantis #3127) [David Haywood] | |
| 861 | 901 | |
| 862 | Changed mapping of start key in multfish.c to standard key (1) like | |
| 863 | other gambling games, added extra set. [David Haywood] | |
| 902 | Memory maps merges for the following drivers: [Angelo Salese] | |
| 903 | * mayumi.c (also cleaned-up the video routines) | |
| 904 | * mazerbla.c | |
| 905 | * momoko.c | |
| 906 | * mosaic.c | |
| 907 | * mouser.c | |
| 908 | * mrflea.c | |
| 909 | * mrjong.c (also cleaned-up the spriteram routines) | |
| 910 | * srmp2.c | |
| 911 | * shaolins.c | |
| 912 | * shisen.c | |
| 913 | * shootout.c (and cleaned-up the NMIs on coin insertions) | |
| 914 | * sidearms.c | |
| 915 | * sidepckt.c (merged the two per-game memory maps and moved the | |
| 916 | protection simulation hook-up to be called on DRIVER_INIT) | |
| 917 | * skyarmy.c | |
| 918 | * skyfox.c (and cleaned-up the NMIs on coin insertions) | |
| 919 | * skyraid.c | |
| 920 | * slapfght.c (also cleaned-up the ram sharing) | |
| 921 | * slapshot.c | |
| 922 | * spbactn.c | |
| 923 | * spcforce.c | |
| 924 | * spdodgeb.c | |
| 925 | * speedspn.c | |
| 926 | * senjyo.c | |
| 927 | * seta2.c | |
| 928 | * sfkick.c | |
| 929 | * shangha3.c | |
| 930 | * puckpkmn.c | |
| 931 | * punchout.c | |
| 932 | * qdrmfgp.c | |
| 933 | * quizpani.c | |
| 934 | * rabbit.c | |
| 935 | * rainbow.c | |
| 936 | * rcorsair.c | |
| 937 | * redclash.c (also cleaned-up the irq/nmi generation on coin | |
| 938 | insertion) | |
| 939 | * renegade.c | |
| 940 | * rmhaihai.c | |
| 941 | * rockrage.c | |
| 942 | * rocnrope.c | |
| 943 | * rollerg.c | |
| 944 | * rollrace.c | |
| 945 | * runaway.c | |
| 946 | * rungun.c | |
| 947 | * sangho.c | |
| 948 | * sauro.c (also cleaned-up a video function) | |
| 949 | * sbasketb.c | |
| 950 | * sbugger.c | |
| 951 | * scregg.c | |
| 952 | * segae.c | |
| 953 | * powerins.c | |
| 954 | * psikyo.c | |
| 955 | * psikyo4.c | |
| 956 | * psikyosh.c | |
| 957 | * rohga.c | |
| 958 | * sbugger.c | |
| 959 | * spy.c | |
| 960 | * nycaptor.c | |
| 961 | * olibochu.c | |
| 962 | * othldrby.c | |
| 963 | * pandoras.c | |
| 964 | * parodius.c | |
| 965 | * pbaction.c | |
| 966 | * pcktgal.c | |
| 967 | * pingpong.c | |
| 968 | * pirates.c | |
| 969 | * pitnrun.c | |
| 970 | * pktgaldx. | |
| 971 | * pokechmp.c | |
| 972 | * popeye.c | |
| 973 | * nbmj9195.c | |
| 974 | * niyanpai.c | |
| 975 | * ninjaw.c | |
| 976 | * metro.c | |
| 977 | * mitchell.c | |
| 978 | * ms32.c | |
| 979 | * msisaac.c | |
| 980 | * mugsmash.c | |
| 981 | * lkage.c | |
| 982 | * lsasquad.c | |
| 983 | * lwings.c | |
| 984 | * m62.c | |
| 985 | * m90.c | |
| 986 | * magmax.c | |
| 987 | * mainevt.c | |
| 988 | * marinedt.c | |
| 989 | * markham.c | |
| 990 | * mastboy.c | |
| 991 | * matmania.c | |
| 992 | * megadriv.c | |
| 993 | * megazone.c | |
| 994 | * karnov.c | |
| 995 | * kchamp.c | |
| 996 | * kingobox.c | |
| 997 | * klax.c | |
| 998 | * koikoi.c | |
| 999 | * konamigq.c | |
| 1000 | * ladyfrog.c | |
| 1001 | * liberate.c | |
| 864 | 1002 | |
| 865 | Fixed bug where chdman -extract would not truncate to the logical | |
| 866 | size. [Aaron Giles] | |
| 1003 | Modified my coin_insertion() function to use ASSERT & CLEAR instead | |
| 1004 | of PULSE_LINE in cntsteer.c & ssozumo.c. [Angelo Salese] | |
| 867 | 1005 | |
| 868 | Silenced out heavy accesses to Sound RAM expansion area for Stress | |
| 869 | Busters [Angelo Salese] | |
| 1006 | Made sure that both the RESET and BUSREQ lines are honored by the | |
| 1007 | megadriv sound cpu. [Wilbert Pol] | |
| 870 | 1008 | |
| 871 | Added better descriptions and dates to a number of drivers in the | |
| 872 | mamedriv.c file. [Yasuhiro Ogawa] | |
| 1009 | Properly hooked-up player 2 mahjong panel in mj4simai. [Angelo Salese] | |
| 873 | 1010 | |
| 874 | Minor hack to fix start countdown sound bug in the Buggy Boys. | |
| 875 | [Phil Bennett] | |
| 1011 | Moved paletteram_IIBBGGRR_w() from senjyo.c to emu/video/generic.c. | |
| 1012 | [Angelo Salese] | |
| 876 | 1013 | |
| 877 | Added idle skipping and a number of new sets to the Naomi driver. | |
| 878 | [David Haywood] | |
| 1014 | Removed deprecat.h dependancy for usgames.c. [Angelo Salese] | |
| 879 | 1015 | |
| 880 | Burger Time: Added resistor values measured on real pcb [Anoid] | |
| 1016 | Add READY line readback to the SN76496 core, cleaned up the structs a | |
| 1017 | bit, cleaned up comments, added more TODOs, Fixed some unsaved | |
| 1018 | savestate related stuff. [Lord Nightmare] | |
| 881 | 1019 | |
| 882 | Adjusted volume in the galaxian driver. [couriersud] | |
| 1020 | Added sn76496 ready line hook-up for spcforce.c, doesn't make a | |
| 1021 | difference since it's not actually used. [Angelo Salese] | |
| 883 | 1022 | |
| 884 | Adjusted Volume and removed dc component from sound in the gyruss | |
| 885 | driver. [couriersud] | |
| 1023 | Added RTC emulation for hng64 driver [Angelo Salese] | |
| 886 | 1024 | |
| 887 | AY-3-8910 improvements: [couriersud] | |
| 888 | * Fixed Gyruss audio regression | |
| 889 | * Measured RU and RD on AY-3-8910 | |
| 890 | * Modelled ZX Spectrum audio circuit in SwitcherCAD and derived | |
| 891 | resistor values for AY-3-8910 | |
| 1025 | Fixed sprite trail for mnight and robokid [kanikani] | |
| 892 | 1026 | |
| 893 | MIPS III: Update RA before executing the delay slot. [R. Belmont] | |
| 1027 | Factored out some more MESS specific code for Atari 8bit. | |
| 1028 | [Fabio Priuli] | |
| 894 | 1029 | |
| 895 | Added inputs for galaxia and astrowar. Galaxia is semi-playable. | |
| 896 | Note: After inserting a coin, it can take a few seconds to respond. | |
| 897 | [Robbbert] | |
| 1030 | Splitted Naomi / Atomiswave memory maps and improved sorting of the | |
| 1031 | driver. [Angelo Salese] | |
| 898 | 1032 | |
| 899 | Fixed build of ldplayer on OS X. Since the CUSTOM sound module no | |
| 900 | longer exists, I arbitrarily changed it to WAVE, as ar gets upset if | |
| 901 | it has no input files. I also removed the -all_load flag for ldplayer | |
| 902 | from the main makefile as it upsets the linker on OS X. [Vas Crabb] | |
| 1033 | Added sound to Pocket Gal Deluxe (bootleg) [Angelo Salese] | |
| 903 | 1034 | |
| 904 | Fix build for PPC64 Linux. (This slightly messes up static branch | |
| 905 | prediction hints on OS X and AIX, but OS X for PPC64 is dead, and | |
| 906 | no-one builds MAME for AIX, and it will still build, anyway.) | |
| 907 | [Vas Crabb] | |
| 1035 | lordgun - Fix: P1 Button2 is really P2 Button1. [Cananas] | |
| 908 | 1036 | |
| 909 | Paramaterise the arguments to check for NULL in the ATTR_NONNULL macro | |
| 910 | rather than just checking the first argument. This requires compiler | |
| 911 | support for C99 variadic macros (MSVC2005 and GCC4 have this AFAIK). | |
| 912 | [Vas Crabb] | |
| 1037 | Changed Lunar Lander thrust control to a pedal. This more accurately | |
| 1038 | emulates the control. Note: the current code uses IPT_PADDLE. This | |
| 1039 | causes the game to start with the thrust at 50%. This is not correct. | |
| 1040 | The control is really a hand operated pedal. [Derrick Renaud] | |
| 913 | 1041 | |
| 914 | Z80PIO: When outputting from a port to the hardware in pio mode 3, | |
| 915 | only those bits defined by the mask should be output. Mame currently | |
| 916 | outputs everything. [Robbbert] | |
| 1042 | Merged memory maps for nycaptor, nbmj8991, nbmj8891, mystwarr. | |
| 1043 | [Angelo Salese] | |
| 917 | 1044 | |
| 918 | Changed the One-Shot List or Selectable value cheats to display "Set" | |
| 919 | instead of "Off". Also stopped the cheat options being activated in | |
| 920 | order when you are going through the possibilities in this case. | |
| 921 | These cheats are now activated by pressing ENTER after you have | |
| 922 | chosen an option. [Pugsy] | |
| 1045 | First layer of memory map merging for namcos2.c and namcos21.c, needs | |
| 1046 | a second hand in order to remove all the SMH references (they both | |
| 1047 | are macroized to hell). [Angelo Salese] | |
| 923 | 1048 | |
| 1049 | Fixed Yellow Cab (Japan) booting, promoted to working status | |
| 1050 | [Angelo Salese] | |
| 924 | 1051 | |
| 1052 | Attempted to fix colors in Koi Koi Part 2 [Angelo Salese] | |
| 925 | 1053 | |
| 1054 | Lowered DAC volume in Karate Champ from 0.50 to 0.15, it was having | |
| 1055 | sound clipping problems since day one. [Angelo Salese] | |
| 1056 | ||
| 1057 | Cleaned-up HNG64 system ports. [Angelo Salese] | |
| 1058 | ||
| 1059 | Changed the z80_bank_addr in megadriv.c into a simple 9 bit shift | |
| 1060 | register. Fixes mantis 2817. [Enik Land] | |
| 1061 | ||
| 1062 | Improved interrupt handling for the 8/16 bit H8s. [R. Belmont] | |
| 1063 | ||
| 1064 | System 23: hooked up serial comms between subcpu and I/O board. | |
| 1065 | [R. Belmont] | |
| 1066 | ||
| 1067 | Added a driver for Irem M14 HW. [Angelo Salese] | |
| 1068 | ||
| 1069 | Removed deprecat.h dependancy for kopunch.c. [Angelo Salese] | |
| 1070 | ||
| 1071 | Naomi: hacked up 3D renderer. Still quite preliminary but allows most | |
| 1072 | games to show graphics. [Olivier Galibert, David Haywood] | |
| 1073 | ||
| 1074 | Converted the WAVE sound device to stereo (for MESS). [Curt Coder] | |
| 1075 | ||
| 1076 | Various improvements to Parent Jack driver. [Tomasz Slanina] | |
| 1077 | ||
| 1078 | Modified mahjong games in Naomi to be loaded with a specific | |
| 1079 | configuration, will add the proper JVS hook-up later. [Angelo Salese] | |
| 1080 | ||
| 1081 | Added proper MCU dump for Black Tiger. | |
| 1082 | [Dr. Decapitator, Guru, Angelo Salese] | |
| 1083 | ||
| 1084 | Fixed display of the i8085's SP register when in the debugger. | |
| 1085 | [MooglyGuy] | |
| 1086 | ||
| 1087 | Added proper MCU dump for Meikyuu Hunter G. | |
| 1088 | [Dr. Decapitator, Guru, Angelo Salese] | |
| 1089 | ||
| 1090 | Moved Taito 'skip to next level' buttons from BUTTON_2 to Q/W keys. | |
| 1091 | [Fabio Priuli] | |
| 1092 | ||
| 1093 | Fix MCS51 disassembler to work properly when there are two memory | |
| 1094 | arguments (the second would overwrite the first). [Aaron Giles] | |
| 1095 | ||
| 1096 | Added and began hooking up the 8751's for the System 1 games. Still | |
| 1097 | some work to do. [Aaron Giles] | |
| 1098 | ||
| 1099 | Added proper JVS I/O board init string for Idol Janshi Suchie-Pai 3 | |
| 1100 | to allow it to boot. [Angelo Salese] | |
| 1101 | ||
| 1102 | Corrected sauro main cpu to 5Mhz and YM3812 to 2.5Mhz as verified on | |
| 1103 | the pcb. [Corrado Tomaselli] | |
| 1104 | ||
| 1105 | Improved protection emulation in galpani2 driver: [Luis Faria] | |
| 1106 | - modified somewhat the protection handling, geeting rid of the need | |
| 1107 | to call galpani2_mcu_run from VIDEO_UPDATE, as that function is | |
| 1108 | performed by CPU2's INT7 and it now works. And added support for | |
| 1109 | command 2, making gp2se go into demo mode and allowing to go | |
| 1110 | ingame, nice skulls! ;-) Unfortunately, this set is still not | |
| 1111 | playable because of missing gals in the background and sometimes | |
| 1112 | there's an ADDRESS ERROR, causing a reset. Included in these | |
| 1113 | changes, I added support for MCU triggering by CPU2. | |
| 1114 | - changed some 8 bit writes disguised as 16 bit to AM_WRITE8 and | |
| 1115 | AM_DEVWRITE8 and some AM_WRITE(SMH_NOP)s to AM_WRITENOP. | |
| 1116 | - "crystallized" the clocks of the M68000s and OKIs, deriving the | |
| 1117 | latter from the former. | |
| 1118 | - fixed a Copy&Paste mistake I made in the previous submission, in | |
| 1119 | the sound rom mappings for galpani2/2t/2g. | |
| 1120 | - reduced the input port definition duplication by using PORT_INCLUDE | |
| 1121 | where applicable instead of defining everything again. | |
| 1122 | - reduced the CPU#2 Code region size to the effectively used size, | |
| 1123 | and expanded the CPU#2 Backgrounds Data region size to the maximum | |
| 1124 | usable size, making it the same for all sets. | |
| 1125 | ||
| 1126 | Fixed bug when setting breakpoints on Z80 CPUs at addresses A-F. | |
| 1127 | [Xander Xander] | |
| 1128 | ||
| 1129 | ||
| 1130 | ||
| 926 | 1131 | New games added or promoted from NOT_WORKING status |
| 927 | 1132 | --------------------------------------------------- |
| 928 | Buggy Boy/Speed Buggy (cockpit) [Phil Bennett] | |
| 929 | Chaos Heat [Olivier Galibert] | |
| 930 | Ray Crisis [Olivier Galibert, David Haywood] | |
| 931 | Chaos Heat [Olivier Galibert, David Haywood] | |
| 932 | Flip Maze [Olivier Galibert, David Haywood] | |
| 933 | Super Puzzle Bobble [Olivier Galibert, David Haywood] | |
| 934 | Soutenryu [Olivier Galibert, David Haywood] | |
| 935 | Shanghai Shoryu Sairin [Olivier Galibert, David Haywood] | |
| 936 | Psyvariar -Medium Unit- [Olivier Galibert, David Haywood] | |
| 937 | Psyvariar -Revision- [Olivier Galibert, David Haywood] | |
| 938 | Zoku Otenamihaiken [Olivier Galibert, David Haywood] | |
| 939 | Usagi [Olivier Galibert, David Haywood, Angelo Salese] | |
| 940 | Mahjong Oh [Olivier Galibert, David Haywood, Angelo Salese] | |
| 941 | XII Stag [Olivier Galibert, David Haywood] | |
| 942 | Jumping Break [Pierpaolo Prazzoli] | |
| 943 | Champion Super III [Mirko Buffoni, David Haywood, Angelo Salese] | |
| 944 | Champion Super 2 [Mirko Buffoni, David Haywood] | |
| 1133 | Pit Boss Supertouch 30 [Mariusz Wojcieszek] | |
| 945 | 1134 | |
| 946 | 1135 | |
| 947 | 1136 | |
| 948 | 1137 | New clones added |
| 949 | 1138 | ---------------- |
| 950 | Millennium 4000 (version 1.5) [Mirko Buffoni] | |
| 951 | American Poker II (bootleg, v4) [Mirko Buffoni] | |
| 1139 | Legend of Kage (oldest) [Uki] | |
| 1140 | Final Star Force (Japan) [Uki] | |
| 1141 | Yellow Cab (Japan) [Uki] | |
| 1142 | Zero Team (set 4) - not working [Uki] | |
| 1143 | The Combatribes (Japan) [Chack'n] | |
| 1144 | Super Xevious (Japan) [TH60] | |
| 1145 | Crazy Kong 2 (Japan) [Team Japump!!!] | |
| 1146 | Aliens (Asia) [Irongiant] | |
| 1147 | Noraut Joker Poker [Alan Griffin] | |
| 1148 | Pit Fighter (Rev 5) [Smitdogg, The Dumping Union] | |
| 1149 | Cabal (bootleg set 2) [Klaus] | |
| 1150 | Special Criminal Investigation (Negro Torino hack) [Corrado Tomaselli] | |
| 1151 | Cruis'n World v1.7 [MSN] | |
| 952 | 1152 | |
| 953 | 1153 | |
| 954 | 1154 | |
| 955 | 1155 | New games marked as GAME_NOT_WORKING |
| 956 | 1156 | ------------------------------------ |
| 957 | Go By RC [Olivier Galibert, David Haywood] | |
| 958 | Space Invaders Anniversary [Olivier Galibert, David Haywood] | |
| 959 | Night Raid [Olivier Galibert, David Haywood] | |
| 960 | Tokyo Cop (Italy) [David Haywood] | |
| 961 | California Chase [Angelo Salese] | |
| 962 | Street Games II [Guru, Angelo Salese] | |
| 963 | Street Games [Smitdogg, Angelo Salese] | |
| 964 | Bonanza [Smitdogg, Angelo Salese] | |
| 965 | Thunderbirds [AGEMAME] | |
| 966 | ||
| 1157 | Ferrari F355 Challenge [Guru] | |
| 1158 | Samurai Shodown 64 [Guru] | |
| 1159 | Dancing Stage Featuring Disney's Rave [smf/Mike DX] | |
| 1160 | Xtreme Rally / Off Beat Racer! [Guru] | |
| 1161 | Beast Busters 2nd Nightmare [Guru] | |
| 1162 | Skimaxx [Phil Bennett] | |
| 1163 | Panic Park (PNP2 Ver. A) [Guru] | |
| 1164 | Triple Star 2000 [f205v] | |
| 1165 | Super Star [f205v] | |
| 1166 | Gigas [Andy Welburn] | |
| 1167 | Shadow Dancer (Mega-Tech) | |
| 1168 | [Smitdogg, cricri_pingouin, incog, B. Sparks, ANY] | |
| 1169 | Streets of Rage (Mega-Tech) |
| Previous | 15994 Revisions | Next |