mirror of
https://github.com/holub/mame
synced 2025-07-02 08:39:21 +03:00
Cleanups and version bump.
This commit is contained in:
parent
535a84c908
commit
6b663f66a7
@ -52,14 +52,14 @@
|
|||||||
For vector instructions, replace the first space on the right of the mnemonic
|
For vector instructions, replace the first space on the right of the mnemonic
|
||||||
with a 'v'.
|
with a 'v'.
|
||||||
|
|
||||||
01-Feb-2010 (Robbbert):
|
01-Feb-2010 (Robbbert):
|
||||||
I've added the actual address, (as shown in the extreme left of the debugger
|
I've added the actual address, (as shown in the extreme left of the debugger
|
||||||
output), so that you can see much easier how the program will flow. Example:
|
output), so that you can see much easier how the program will flow. Example:
|
||||||
|
|
||||||
+C XXX(##/##) XXX(##/##)
|
+C XXX(##/##) XXX(##/##)
|
||||||
|
|
||||||
The X value shows where the data word is located, and the Y value is the
|
The X value shows where the data word is located, and the Y value is the
|
||||||
address of the next instruction.
|
address of the next instruction.
|
||||||
*/
|
*/
|
||||||
enum _format_type {branch, shiftl, shiftr, multiply, store, swap, one_address, two_address};
|
enum _format_type {branch, shiftl, shiftr, multiply, store, swap, one_address, two_address};
|
||||||
typedef enum _format_type format_type;
|
typedef enum _format_type format_type;
|
||||||
|
@ -116,8 +116,8 @@ enum
|
|||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
/* Official Intel MCS-48 parts */
|
/* Official Intel MCS-48 parts */
|
||||||
CPU_GET_INFO( i8021 ); /* 1k internal ROM, 64 bytes internal RAM */
|
CPU_GET_INFO( i8021 ); /* 1k internal ROM, 64 bytes internal RAM */
|
||||||
CPU_GET_INFO( i8022 ); /* 2k internal ROM, 128 bytes internal RAM */
|
CPU_GET_INFO( i8022 ); /* 2k internal ROM, 128 bytes internal RAM */
|
||||||
CPU_GET_INFO( i8035 ); /* external ROM, 64 bytes internal RAM */
|
CPU_GET_INFO( i8035 ); /* external ROM, 64 bytes internal RAM */
|
||||||
CPU_GET_INFO( i8048 ); /* 1k internal ROM, 64 bytes internal RAM */
|
CPU_GET_INFO( i8048 ); /* 1k internal ROM, 64 bytes internal RAM */
|
||||||
CPU_GET_INFO( i8648 ); /* 1k internal OTP ROM, 64 bytes internal RAM */
|
CPU_GET_INFO( i8648 ); /* 1k internal OTP ROM, 64 bytes internal RAM */
|
||||||
|
@ -1733,7 +1733,7 @@ static void mn10200_w(mn102_info *mn102, UINT32 adr, UINT32 data, int type)
|
|||||||
case 0x056: {
|
case 0x056: {
|
||||||
// const char *modes[4] = { "l", "h", "fall", "rise" };
|
// const char *modes[4] = { "l", "h", "fall", "rise" };
|
||||||
// log_event("MN102", "irq3=%s irq2=%s irq1=%s irq0=%s",
|
// log_event("MN102", "irq3=%s irq2=%s irq1=%s irq0=%s",
|
||||||
// modes[(data >> 6) & 3], modes[(data >> 4) & 3], modes[(data >> 2) & 3], modes[data & 3]);
|
// modes[(data >> 6) & 3], modes[(data >> 4) & 3], modes[(data >> 2) & 3], modes[data & 3]);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1754,9 +1754,9 @@ static void mn10200_w(mn102_info *mn102, UINT32 adr, UINT32 data, int type)
|
|||||||
mn102->serial[ser].ctrll = data;
|
mn102->serial[ser].ctrll = data;
|
||||||
|
|
||||||
// log_event("MN102", "Serial %d length=%c, parity=%s, stop=%c, source=%s",
|
// log_event("MN102", "Serial %d length=%c, parity=%s, stop=%c, source=%s",
|
||||||
// ser,
|
// ser,
|
||||||
// data & 0x80 ? '8' : '7', parity[(data >> 4) & 7],
|
// data & 0x80 ? '8' : '7', parity[(data >> 4) & 7],
|
||||||
// data & 8 ? '2' : '1', source[data & 3]);
|
// data & 8 ? '2' : '1', source[data & 3]);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1764,10 +1764,10 @@ static void mn10200_w(mn102_info *mn102, UINT32 adr, UINT32 data, int type)
|
|||||||
int ser = (adr-0x180) >> 4;
|
int ser = (adr-0x180) >> 4;
|
||||||
mn102->serial[ser].ctrlh = data;
|
mn102->serial[ser].ctrlh = data;
|
||||||
// log_event("MN102", "Serial %d transmit=%s, recieve=%s, break=%s, proto=%s, order=%s",
|
// log_event("MN102", "Serial %d transmit=%s, recieve=%s, break=%s, proto=%s, order=%s",
|
||||||
// ser,
|
// ser,
|
||||||
// data & 0x80 ? "on" : "off", data & 0x40 ? "on" : "off",
|
// data & 0x80 ? "on" : "off", data & 0x40 ? "on" : "off",
|
||||||
// data & 0x20 ? "on" : "off", data & 8 ? "sync" : "async",
|
// data & 0x20 ? "on" : "off", data & 8 ? "sync" : "async",
|
||||||
// data & 2 ? "msb" : "lsb");
|
// data & 2 ? "msb" : "lsb");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1822,18 +1822,18 @@ static void mn10200_w(mn102_info *mn102, UINT32 adr, UINT32 data, int type)
|
|||||||
// const char *modes[4] = { "single", "double", "ioa", "iob" };
|
// const char *modes[4] = { "single", "double", "ioa", "iob" };
|
||||||
// const char *sources[8] = { "pres.0", "pres.1", "iob", "sysclk", "*4", "*1", "6", "7" };
|
// const char *sources[8] = { "pres.0", "pres.1", "iob", "sysclk", "*4", "*1", "6", "7" };
|
||||||
// log_event("MN102", "Timer %d comp=%s on_1=%s on_match=%s phase=%s source=%s",
|
// log_event("MN102", "Timer %d comp=%s on_1=%s on_match=%s phase=%s source=%s",
|
||||||
// 10 + ((adr-0x230) >> 4),
|
// 10 + ((adr-0x230) >> 4),
|
||||||
// modes[data >> 6], data & 0x20 ? "cleared" : "not cleared", data & 0x10 ? "cleared" : "not cleared",
|
// modes[data >> 6], data & 0x20 ? "cleared" : "not cleared", data & 0x10 ? "cleared" : "not cleared",
|
||||||
// data & 8 ? "tff" : "rsff", sources[data & 7]);
|
// data & 8 ? "tff" : "rsff", sources[data & 7]);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case 0x231: case 0x241: case 0x251: {
|
case 0x231: case 0x241: case 0x251: {
|
||||||
// const char *modes[4] = { "up", "down", "up on ioa", "up on iob" };
|
// const char *modes[4] = { "up", "down", "up on ioa", "up on iob" };
|
||||||
// log_event("MN102", "Timer %d %s ff=%s op=%s ext_trig=%s %s",
|
// log_event("MN102", "Timer %d %s ff=%s op=%s ext_trig=%s %s",
|
||||||
// 10 + ((adr-0x230) >> 4),
|
// 10 + ((adr-0x230) >> 4),
|
||||||
// data & 0x80 ? "enable" : "disable", data & 0x40 ? "operate" : "clear",
|
// data & 0x80 ? "enable" : "disable", data & 0x40 ? "operate" : "clear",
|
||||||
// modes[(data >> 4) & 3], data & 2 ? "on" : "off", data & 1 ? "one-shot" : "repeat");
|
// modes[(data >> 4) & 3], data & 2 ? "on" : "off", data & 1 ? "one-shot" : "repeat");
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -1869,9 +1869,9 @@ static void mn10200_w(mn102_info *mn102, UINT32 adr, UINT32 data, int type)
|
|||||||
case 0x260: case 0x261: {
|
case 0x260: case 0x261: {
|
||||||
// const char *mode[4] = { "sysbuf", "4-phase", "4-phase 1/2", "3" };
|
// const char *mode[4] = { "sysbuf", "4-phase", "4-phase 1/2", "3" };
|
||||||
// log_event("MN102", "Sync Output %c timing=%s out=%s dir=%s mode=%s",
|
// log_event("MN102", "Sync Output %c timing=%s out=%s dir=%s mode=%s",
|
||||||
// adr == 0x261 ? 'B' : 'A',
|
// adr == 0x261 ? 'B' : 'A',
|
||||||
// data & 0x10 ? "12A" : "1", data & 8 ? "sync a" :"P13-10",
|
// data & 0x10 ? "12A" : "1", data & 8 ? "sync a" :"P13-10",
|
||||||
// data & 4 ? "ccw" : "cw", mode[data & 3]);
|
// data & 4 ? "ccw" : "cw", mode[data & 3]);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1972,14 +1972,14 @@ static void mn10200_w(mn102_info *mn102, UINT32 adr, UINT32 data, int type)
|
|||||||
int dma = (adr-0x280) >> 4;
|
int dma = (adr-0x280) >> 4;
|
||||||
mn102->dma[dma].ctrlh = data;
|
mn102->dma[dma].ctrlh = data;
|
||||||
/* log_event("MN102", "DMA %d control %s irq=%s %s %s dir=%s %s %s",
|
/* log_event("MN102", "DMA %d control %s irq=%s %s %s dir=%s %s %s",
|
||||||
dma,
|
dma,
|
||||||
data & 0x80 ? "enable" : "disable",
|
data & 0x80 ? "enable" : "disable",
|
||||||
data & 0x40 ? "off" : "on",
|
data & 0x40 ? "off" : "on",
|
||||||
data & 0x20 ? "byte" : "word",
|
data & 0x20 ? "byte" : "word",
|
||||||
data & 0x10 ? "burst" : "single",
|
data & 0x10 ? "burst" : "single",
|
||||||
data & 0x08 ? "dst" : "src",
|
data & 0x08 ? "dst" : "src",
|
||||||
data & 0x04 ? "continue" : "normal",
|
data & 0x04 ? "continue" : "normal",
|
||||||
tradr[data & 3]);*/
|
tradr[data & 3]);*/
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2063,11 +2063,11 @@ static void mn10200_w(mn102_info *mn102, UINT32 adr, UINT32 data, int type)
|
|||||||
|
|
||||||
case 0x3f3:
|
case 0x3f3:
|
||||||
/* log_event("MN102", "Port 3 bits 4=%s 3=%s 2=%s 1=%s 0=%s",
|
/* log_event("MN102", "Port 3 bits 4=%s 3=%s 2=%s 1=%s 0=%s",
|
||||||
data & 0x10 ? data & 0x40 ? "serial_1" : "tm9" : "p34",
|
data & 0x10 ? data & 0x40 ? "serial_1" : "tm9" : "p34",
|
||||||
data & 0x08 ? data & 0x20 ? "serial_0" : "tm8" : "p33",
|
data & 0x08 ? data & 0x20 ? "serial_0" : "tm8" : "p33",
|
||||||
data & 0x04 ? "tm7" : "p32",
|
data & 0x04 ? "tm7" : "p32",
|
||||||
data & 0x04 ? "tm6" : "p31",
|
data & 0x04 ? "tm6" : "p31",
|
||||||
data & 0x04 ? "tm5" : "p30");*/
|
data & 0x04 ? "tm5" : "p30");*/
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
||||||
@ -2196,7 +2196,7 @@ CPU_GET_INFO( mn10200 )
|
|||||||
|
|
||||||
case CPUINFO_INT_PC: /* intentional fallthrough */
|
case CPUINFO_INT_PC: /* intentional fallthrough */
|
||||||
case CPUINFO_INT_REGISTER + MN10200_PC: info->i = cpustate->pc; break;
|
case CPUINFO_INT_REGISTER + MN10200_PC: info->i = cpustate->pc; break;
|
||||||
case CPUINFO_INT_REGISTER + MN10200_PSW: info->i = cpustate->psw; break;
|
case CPUINFO_INT_REGISTER + MN10200_PSW: info->i = cpustate->psw; break;
|
||||||
|
|
||||||
/* --- the following bits of info are returned as pointers to data or functions --- */
|
/* --- the following bits of info are returned as pointers to data or functions --- */
|
||||||
case CPUINFO_FCT_SET_INFO: info->setinfo = CPU_SET_INFO_NAME(mn10200); break;
|
case CPUINFO_FCT_SET_INFO: info->setinfo = CPU_SET_INFO_NAME(mn10200); break;
|
||||||
|
@ -44,11 +44,11 @@ enum
|
|||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
VIEW_STATE_BUTTON = 0x01,
|
VIEW_STATE_BUTTON = 0x01,
|
||||||
VIEW_STATE_MOVING = 0x02,
|
VIEW_STATE_MOVING = 0x02,
|
||||||
VIEW_STATE_SIZING = 0x04,
|
VIEW_STATE_SIZING = 0x04,
|
||||||
VIEW_STATE_NEEDS_UPDATE = 0x08,
|
VIEW_STATE_NEEDS_UPDATE = 0x08,
|
||||||
VIEW_STATE_FOLLOW_CPU = 0x10,
|
VIEW_STATE_FOLLOW_CPU = 0x10,
|
||||||
};
|
};
|
||||||
|
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
@ -270,8 +270,8 @@ INLINE void dview_set_state(DView *dv, int state, int onoff)
|
|||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
static render_font * debug_font;
|
static render_font * debug_font;
|
||||||
static int debug_font_width;
|
static int debug_font_width;
|
||||||
static int debug_font_height;
|
static int debug_font_height;
|
||||||
static float debug_font_aspect;
|
static float debug_font_aspect;
|
||||||
static DView * list;
|
static DView * list;
|
||||||
static DView * focus_view;
|
static DView * focus_view;
|
||||||
@ -1376,7 +1376,7 @@ static void handle_menus(running_machine *machine)
|
|||||||
CreateMainMenu(machine);
|
CreateMainMenu(machine);
|
||||||
/* turn on editor if requested */
|
/* turn on editor if requested */
|
||||||
//if (ui_input_pressed(machine, IPT_UI_UP) && focus_view->editor.active)
|
//if (ui_input_pressed(machine, IPT_UI_UP) && focus_view->editor.active)
|
||||||
// cur_editor = &focus_view->editor;
|
// cur_editor = &focus_view->editor;
|
||||||
handle_editor(machine);
|
handle_editor(machine);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
#define GAME_IS_BIOS_ROOT 0x00001000 /* this driver entry is a BIOS root */
|
#define GAME_IS_BIOS_ROOT 0x00001000 /* this driver entry is a BIOS root */
|
||||||
#define GAME_NO_STANDALONE 0x00002000 /* this driver cannot stand alone */
|
#define GAME_NO_STANDALONE 0x00002000 /* this driver cannot stand alone */
|
||||||
#define GAME_REQUIRES_ARTWORK 0x00004000 /* the driver requires external artwork for key elements of the game */
|
#define GAME_REQUIRES_ARTWORK 0x00004000 /* the driver requires external artwork for key elements of the game */
|
||||||
#define GAME_UNOFFICIAL 0x00008000 /* unofficial hardware change */
|
#define GAME_UNOFFICIAL 0x00008000 /* unofficial hardware change */
|
||||||
#define GAME_NO_SOUND_HW 0x00010000 /* sound hardware not available */
|
#define GAME_NO_SOUND_HW 0x00010000 /* sound hardware not available */
|
||||||
|
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ enum
|
|||||||
XTAL_12MHz = 12000000, /* Extremely common, used on 100's of PCBs */
|
XTAL_12MHz = 12000000, /* Extremely common, used on 100's of PCBs */
|
||||||
XTAL_12_096MHz = 12096000, /* Some early 80's Atari games */
|
XTAL_12_096MHz = 12096000, /* Some early 80's Atari games */
|
||||||
XTAL_12_288MHz = 12288000, /* Sega Model 3 digital audio board */
|
XTAL_12_288MHz = 12288000, /* Sega Model 3 digital audio board */
|
||||||
XTAL_12_48MHz = 12480000, /* TRS-80 Model II */
|
XTAL_12_48MHz = 12480000, /* TRS-80 Model II */
|
||||||
XTAL_12_5MHz = 12500000, /* Red Alert audio board */
|
XTAL_12_5MHz = 12500000, /* Red Alert audio board */
|
||||||
XTAL_12_9792MHz = 12979200, /* Exidy 440 */
|
XTAL_12_9792MHz = 12979200, /* Exidy 440 */
|
||||||
XTAL_13_3MHz = 13300000, /* BMC bowling */
|
XTAL_13_3MHz = 13300000, /* BMC bowling */
|
||||||
|
@ -130,7 +130,7 @@ const options_entry mame_core_options[] =
|
|||||||
{ "joystick_deadzone;joy_deadzone;jdz", "0.3", 0, "center deadzone range for joystick where change is ignored (0.0 center, 1.0 end)" },
|
{ "joystick_deadzone;joy_deadzone;jdz", "0.3", 0, "center deadzone range for joystick where change is ignored (0.0 center, 1.0 end)" },
|
||||||
{ "joystick_saturation;joy_saturation;jsat", "0.85", 0, "end of axis saturation range for joystick where change is ignored (0.0 center, 1.0 end)" },
|
{ "joystick_saturation;joy_saturation;jsat", "0.85", 0, "end of axis saturation range for joystick where change is ignored (0.0 center, 1.0 end)" },
|
||||||
{ "natural;nat", "0", OPTION_BOOLEAN, "specifies whether to use a natural keyboard or not" },
|
{ "natural;nat", "0", OPTION_BOOLEAN, "specifies whether to use a natural keyboard or not" },
|
||||||
{ "uimodekey;umk", "auto", 0, "specifies the key used to toggle between full and partial UI mode" },
|
{ "uimodekey;umk", "auto", 0, "specifies the key used to toggle between full and partial UI mode" },
|
||||||
|
|
||||||
|
|
||||||
/* input autoenable options */
|
/* input autoenable options */
|
||||||
|
@ -77,7 +77,7 @@ INLINE zsg2_state *get_safe_token(running_device *device)
|
|||||||
|
|
||||||
static STREAM_UPDATE( update_stereo )
|
static STREAM_UPDATE( update_stereo )
|
||||||
{
|
{
|
||||||
// zsg2_state *info = (zsg2_state *)param;
|
// zsg2_state *info = (zsg2_state *)param;
|
||||||
stream_sample_t *dest1 = outputs[0];
|
stream_sample_t *dest1 = outputs[0];
|
||||||
stream_sample_t *dest2 = outputs[1];
|
stream_sample_t *dest2 = outputs[1];
|
||||||
|
|
||||||
@ -166,12 +166,12 @@ static UINT16 control_r(zsg2_state *info, int reg)
|
|||||||
{
|
{
|
||||||
UINT32 adr = (info->ahigh << 16) | info->alow;
|
UINT32 adr = (info->ahigh << 16) | info->alow;
|
||||||
UINT32 val = *(unsigned int *)(info->bank_samples+adr);
|
UINT32 val = *(unsigned int *)(info->bank_samples+adr);
|
||||||
// log_event("ZOOMCTRL", "rom read.%c %06x = %08x", reg == 0x3e ? 'h' : 'l', adr, val);
|
// log_event("ZOOMCTRL", "rom read.%c %06x = %08x", reg == 0x3e ? 'h' : 'l', adr, val);
|
||||||
return (reg == 0x3e) ? (val >> 16) : val;
|
return (reg == 0x3e) ? (val >> 16) : val;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// log_event("ZOOMCTRL", "read %02x", reg);
|
// log_event("ZOOMCTRL", "read %02x", reg);
|
||||||
|
|
||||||
return 0xffff;
|
return 0xffff;
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
ZOOM ZSG-2 custom wavetable synthesizer
|
ZOOM ZSG-2 custom wavetable synthesizer
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
@ -1535,8 +1535,8 @@ static void menu_main_populate(running_machine *machine, ui_menu *menu, void *st
|
|||||||
ui_mess_main_menu_populate(machine, menu);
|
ui_mess_main_menu_populate(machine, menu);
|
||||||
#endif /* MESS */
|
#endif /* MESS */
|
||||||
|
|
||||||
/* add keyboard mode menu */
|
/* add keyboard mode menu */
|
||||||
if (input_machine_has_keyboard(machine) && inputx_can_post(machine))
|
if (input_machine_has_keyboard(machine) && inputx_can_post(machine))
|
||||||
ui_menu_item_append(menu, "Keyboard Mode", NULL, 0, (void *)ui_menu_keyboard_mode);
|
ui_menu_item_append(menu, "Keyboard Mode", NULL, 0, (void *)ui_menu_keyboard_mode);
|
||||||
|
|
||||||
/* add sliders menu */
|
/* add sliders menu */
|
||||||
|
@ -444,17 +444,17 @@ static int validate_roms(int drivnum, const machine_config *config, region_array
|
|||||||
|
|
||||||
/* check for duplicate ROM entries */
|
/* check for duplicate ROM entries */
|
||||||
/*
|
/*
|
||||||
if (driver->rom != NULL && (driver->flags & GAME_NO_STANDALONE) == 0)
|
if (driver->rom != NULL && (driver->flags & GAME_NO_STANDALONE) == 0)
|
||||||
{
|
{
|
||||||
char romaddr[20];
|
char romaddr[20];
|
||||||
sprintf(romaddr, "%p", driver->rom);
|
sprintf(romaddr, "%p", driver->rom);
|
||||||
if (roms.add(romaddr, driver, FALSE) == TMERR_DUPLICATE)
|
if (roms.add(romaddr, driver, FALSE) == TMERR_DUPLICATE)
|
||||||
{
|
{
|
||||||
const game_driver *match = roms.find(romaddr);
|
const game_driver *match = roms.find(romaddr);
|
||||||
mame_printf_error("%s: %s uses the same ROM set as (%s, %s)\n", driver->source_file, driver->description, match->source_file, match->name);
|
mame_printf_error("%s: %s uses the same ROM set as (%s, %s)\n", driver->source_file, driver->description, match->source_file, match->name);
|
||||||
error = TRUE;
|
error = TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
/* iterate, starting with the driver's ROMs and continuing with device ROMs */
|
/* iterate, starting with the driver's ROMs and continuing with device ROMs */
|
||||||
for (const rom_source *source = rom_first_source(driver, config); source != NULL; source = rom_next_source(driver, config, source))
|
for (const rom_source *source = rom_first_source(driver, config); source != NULL; source = rom_next_source(driver, config, source))
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
ACRTC memory map:
|
ACRTC memory map:
|
||||||
|
|
||||||
00000-3ffff = RAM
|
00000-3ffff = RAM
|
||||||
40000-7ffff = ROM handled with a hack in the drivers
|
40000-7ffff = ROM handled with a hack in the drivers
|
||||||
80000-bffff = unused
|
80000-bffff = unused
|
||||||
c0000-fffff = unused
|
c0000-fffff = unused
|
||||||
|
|
||||||
|
@ -77,7 +77,7 @@
|
|||||||
/* 13 Dec 2006 - add PRELIMINARY sound support and documentation to: */
|
/* 13 Dec 2006 - add PRELIMINARY sound support and documentation to: */
|
||||||
/* rollingc, spcenctr, gunfight, m4, gmissile, */
|
/* rollingc, spcenctr, gunfight, m4, gmissile, */
|
||||||
/* schasrcv (schasercv), 280zzzap, lagunar, lupin3, phantom2, */
|
/* schasrcv (schasercv), 280zzzap, lagunar, lupin3, phantom2, */
|
||||||
/* blueshrk, desertgu, ballbomb, yosakdon/yosakdoa (yosakdona)*/
|
/* blueshrk, desertgu, ballbomb, yosakdon/yosakdoa (yosakdona)*/
|
||||||
/* shuttlei, invrvnge/invrvnga (invrvngea). */
|
/* shuttlei, invrvnge/invrvnga (invrvngea). */
|
||||||
/* Documented indianbt sound. Removed NO_SOUND flag from */
|
/* Documented indianbt sound. Removed NO_SOUND flag from */
|
||||||
/* cosmo and dogpatch as the sound was already working. */
|
/* cosmo and dogpatch as the sound was already working. */
|
||||||
|
@ -210,13 +210,13 @@ static MACHINE_START( skattv )
|
|||||||
state_save_register_global(machine, state->register_active);
|
state_save_register_global(machine, state->register_active);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
ACRTC memory:
|
ACRTC memory:
|
||||||
|
|
||||||
00000-3ffff = RAM
|
00000-3ffff = RAM
|
||||||
40000-7ffff = ROM
|
40000-7ffff = ROM
|
||||||
80000-bffff = unused
|
80000-bffff = unused
|
||||||
c0000-fffff = unused
|
c0000-fffff = unused
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// hack to handle acrt rom
|
// hack to handle acrt rom
|
||||||
{
|
{
|
||||||
@ -390,15 +390,15 @@ static READ16_HANDLER( test_r )
|
|||||||
state->mux_data++;
|
state->mux_data++;
|
||||||
state->mux_data &= 0xf;
|
state->mux_data &= 0xf;
|
||||||
/*
|
/*
|
||||||
switch (mame_rand(space->machine) & 3)
|
switch (mame_rand(space->machine) & 3)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
return 0;
|
return 0;
|
||||||
case 1:
|
case 1:
|
||||||
return 0xffff;
|
return 0xffff;
|
||||||
default:
|
default:
|
||||||
return mame_rand(space->machine) & 0xffff;
|
return mame_rand(space->machine) & 0xffff;
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
return value | (mame_rand(space->machine) & 0x0000);
|
return value | (mame_rand(space->machine) & 0x0000);
|
||||||
}
|
}
|
||||||
|
@ -199,7 +199,7 @@ static WRITE16_HANDLER( showhand_outputs_w )
|
|||||||
static WRITE16_HANDLER( skilldrp_outputs_w )
|
static WRITE16_HANDLER( skilldrp_outputs_w )
|
||||||
{
|
{
|
||||||
// key in (0001)
|
// key in (0001)
|
||||||
// coin in (0002)
|
// coin in (0002)
|
||||||
// key out (0004)
|
// key out (0004)
|
||||||
// coin out (0008)
|
// coin out (0008)
|
||||||
// hopper? (0010)
|
// hopper? (0010)
|
||||||
@ -220,7 +220,7 @@ static WRITE16_HANDLER( skilldrp_outputs_w )
|
|||||||
coin_counter_w(space->machine, 0, (data & 0x0002)); // coin in |- manual shows 1 in- and 1 out- counter
|
coin_counter_w(space->machine, 0, (data & 0x0002)); // coin in |- manual shows 1 in- and 1 out- counter
|
||||||
coin_counter_w(space->machine, 1, (data & 0x0004)); // key out |
|
coin_counter_w(space->machine, 1, (data & 0x0004)); // key out |
|
||||||
ticket_dispenser_w(devtag_get_device(space->machine, "hopper"), 0, (data & 0x0008)<<4); // hopper motor?
|
ticket_dispenser_w(devtag_get_device(space->machine, "hopper"), 0, (data & 0x0008)<<4); // hopper motor?
|
||||||
// (data & 0x0010) // hopper?
|
// (data & 0x0010) // hopper?
|
||||||
set_led_status(space->machine, 0, (data & 0x0020)); // error lamp (coin/hopper jam: "call attendant")
|
set_led_status(space->machine, 0, (data & 0x0020)); // error lamp (coin/hopper jam: "call attendant")
|
||||||
ticket_dispenser_w(devtag_get_device(space->machine, "ticket"), 0, data & 0x0080); // ticket motor?
|
ticket_dispenser_w(devtag_get_device(space->machine, "ticket"), 0, data & 0x0080); // ticket motor?
|
||||||
}
|
}
|
||||||
@ -235,7 +235,7 @@ static WRITE16_HANDLER( skilldrp_outputs_w )
|
|||||||
set_led_status(space->machine, 6, (data & 0x8000)); // ticket?
|
set_led_status(space->machine, 6, (data & 0x8000)); // ticket?
|
||||||
}
|
}
|
||||||
|
|
||||||
// popmessage("%04X",data);
|
// popmessage("%04X",data);
|
||||||
}
|
}
|
||||||
|
|
||||||
static WRITE16_HANDLER( astrocorp_enable_w )
|
static WRITE16_HANDLER( astrocorp_enable_w )
|
||||||
|
@ -5025,7 +5025,7 @@ static MACHINE_DRIVER_START( lucky8 )
|
|||||||
MDRV_CPU_PROGRAM_MAP(lucky8_map)
|
MDRV_CPU_PROGRAM_MAP(lucky8_map)
|
||||||
//MDRV_CPU_IO_MAP(goldstar_readport)
|
//MDRV_CPU_IO_MAP(goldstar_readport)
|
||||||
MDRV_CPU_VBLANK_INT("screen", nmi_line_pulse)
|
MDRV_CPU_VBLANK_INT("screen", nmi_line_pulse)
|
||||||
// MDRV_CPU_VBLANK_INT("screen", irq0_line_hold) // causes 'magical' to display 'wait' instead
|
// MDRV_CPU_VBLANK_INT("screen", irq0_line_hold) // causes 'magical' to display 'wait' instead
|
||||||
|
|
||||||
/* 3x 8255 */
|
/* 3x 8255 */
|
||||||
MDRV_PPI8255_ADD( "ppi8255_0", lucky8_ppi8255_intf[0] )
|
MDRV_PPI8255_ADD( "ppi8255_0", lucky8_ppi8255_intf[0] )
|
||||||
|
@ -783,28 +783,28 @@ static const k056230_interface thunderh_k056230_intf =
|
|||||||
|
|
||||||
static const k001604_interface gticlub_k001604_intf =
|
static const k001604_interface gticlub_k001604_intf =
|
||||||
{
|
{
|
||||||
1, 2, /* gfx index 1 & 2 */
|
1, 2, /* gfx index 1 & 2 */
|
||||||
1, 1, /* layer_size, roz_size */
|
1, 1, /* layer_size, roz_size */
|
||||||
0 /* slrasslt hack */
|
0 /* slrasslt hack */
|
||||||
};
|
};
|
||||||
|
|
||||||
static const k001604_interface slrasslt_k001604_intf =
|
static const k001604_interface slrasslt_k001604_intf =
|
||||||
{
|
{
|
||||||
1, 2, /* gfx index 1 & 2 */
|
1, 2, /* gfx index 1 & 2 */
|
||||||
0, 0, /* layer_size, roz_size */
|
0, 0, /* layer_size, roz_size */
|
||||||
1 /* slrasslt hack */
|
1 /* slrasslt hack */
|
||||||
};
|
};
|
||||||
|
|
||||||
static const k001604_interface hangplt_k001604_intf_l =
|
static const k001604_interface hangplt_k001604_intf_l =
|
||||||
{
|
{
|
||||||
1, 2, /* gfx index 1 & 2 */
|
1, 2, /* gfx index 1 & 2 */
|
||||||
0, 1, /* layer_size, roz_size */
|
0, 1, /* layer_size, roz_size */
|
||||||
0 /* slrasslt hack */
|
0 /* slrasslt hack */
|
||||||
};
|
};
|
||||||
|
|
||||||
static const k001604_interface hangplt_k001604_intf_r =
|
static const k001604_interface hangplt_k001604_intf_r =
|
||||||
{
|
{
|
||||||
3, 4, /* gfx index 1 & 2 */
|
3, 4, /* gfx index 1 & 2 */
|
||||||
0, 1, /* layer_size, roz_size */
|
0, 1, /* layer_size, roz_size */
|
||||||
0 /* slrasslt hack */
|
0 /* slrasslt hack */
|
||||||
};
|
};
|
||||||
|
@ -372,7 +372,7 @@ static DRIVER_INIT( gunpey )
|
|||||||
|
|
||||||
/* patch SLOOOOW cycle checks ... */
|
/* patch SLOOOOW cycle checks ... */
|
||||||
rom[0x848b5] = 0x7e;
|
rom[0x848b5] = 0x7e;
|
||||||
// rom[0x848b6] = 0x03;
|
// rom[0x848b6] = 0x03;
|
||||||
rom[0x89657] = 0x75;
|
rom[0x89657] = 0x75;
|
||||||
rom[0x8e628] = 0x75;
|
rom[0x8e628] = 0x75;
|
||||||
|
|
||||||
|
@ -731,7 +731,7 @@ static WRITE16_HANDLER( c76_speedup_w )
|
|||||||
|
|
||||||
static READ16_HANDLER( c76_inputs_r )
|
static READ16_HANDLER( c76_inputs_r )
|
||||||
{
|
{
|
||||||
// logerror("'c76' Read port %d @ %06X\n", offset, cpu_get_pc(space->cpu));
|
// logerror("'c76' Read port %d @ %06X\n", offset, cpu_get_pc(space->cpu));
|
||||||
|
|
||||||
switch (offset)
|
switch (offset)
|
||||||
{
|
{
|
||||||
@ -831,7 +831,7 @@ INTERRUPT_GEN( c76_interrupt )
|
|||||||
switch (cpu_getiloops(device))
|
switch (cpu_getiloops(device))
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
cpu_set_input_line(device, M37710_LINE_IRQ0, HOLD_LINE);
|
cpu_set_input_line(device, M37710_LINE_IRQ0, HOLD_LINE);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
|
@ -3067,7 +3067,7 @@ ROM_START( gram2000 )
|
|||||||
ROM_REGION( 0xb000000, "user1", ROMREGION_ERASEFF)
|
ROM_REGION( 0xb000000, "user1", ROMREGION_ERASEFF)
|
||||||
ROM_LOAD("epr-23377.ic11", 0x0000000, 0x0400000, CRC(4ca3149c) SHA1(9d25fc659658b416202b033754669be2f3abcdbe) )
|
ROM_LOAD("epr-23377.ic11", 0x0000000, 0x0400000, CRC(4ca3149c) SHA1(9d25fc659658b416202b033754669be2f3abcdbe) )
|
||||||
/* Test mode returns IC1 as bad dump, it looks like that is data provided by the Actel A54SX32 FPGA present on board
|
/* Test mode returns IC1 as bad dump, it looks like that is data provided by the Actel A54SX32 FPGA present on board
|
||||||
and mirrored there. Provided as documentation until we know more about it. */
|
and mirrored there. Provided as documentation until we know more about it. */
|
||||||
ROM_LOAD("gram2000.ic1", 0x0800000, 0x0800000, CRC(4a86556a) SHA1(61100dc84c95dd47d9f61c7cc52ea25579b90632) )
|
ROM_LOAD("gram2000.ic1", 0x0800000, 0x0800000, CRC(4a86556a) SHA1(61100dc84c95dd47d9f61c7cc52ea25579b90632) )
|
||||||
ROM_LOAD32_WORD("mpr-23357.ic17", 0x1000000, 0x0800000, CRC(eaf77487) SHA1(bdfc4666a6724441c11b31d89fa30c4bd11cbdd1) ) //ic 2
|
ROM_LOAD32_WORD("mpr-23357.ic17", 0x1000000, 0x0800000, CRC(eaf77487) SHA1(bdfc4666a6724441c11b31d89fa30c4bd11cbdd1) ) //ic 2
|
||||||
ROM_LOAD32_WORD("mpr-23358.ic18", 0x1000002, 0x0800000, CRC(96819a5b) SHA1(e28c9d7b0579ab5d6116401b49f30dc8e4961618) ) //ic 3
|
ROM_LOAD32_WORD("mpr-23358.ic18", 0x1000002, 0x0800000, CRC(96819a5b) SHA1(e28c9d7b0579ab5d6116401b49f30dc8e4961618) ) //ic 3
|
||||||
|
@ -63,7 +63,7 @@ static const gfx_layout charlayout =
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
static GFXDECODE_START( neptunp2 )
|
static GFXDECODE_START( neptunp2 )
|
||||||
// GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 8 )
|
// GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 8 )
|
||||||
GFXDECODE_END
|
GFXDECODE_END
|
||||||
|
|
||||||
static MACHINE_DRIVER_START( neptunp2 )
|
static MACHINE_DRIVER_START( neptunp2 )
|
||||||
@ -72,7 +72,7 @@ static MACHINE_DRIVER_START( neptunp2 )
|
|||||||
MDRV_CPU_ADD("maincpu",I80188,20000000) // N80C188-20 AMD
|
MDRV_CPU_ADD("maincpu",I80188,20000000) // N80C188-20 AMD
|
||||||
MDRV_CPU_PROGRAM_MAP(neptunp2_map)
|
MDRV_CPU_PROGRAM_MAP(neptunp2_map)
|
||||||
MDRV_CPU_IO_MAP(neptunp2_io)
|
MDRV_CPU_IO_MAP(neptunp2_io)
|
||||||
// MDRV_CPU_VBLANK_INT("screen",irq0_line_hold)
|
// MDRV_CPU_VBLANK_INT("screen",irq0_line_hold)
|
||||||
|
|
||||||
/* video hardware */
|
/* video hardware */
|
||||||
MDRV_SCREEN_ADD("screen", RASTER)
|
MDRV_SCREEN_ADD("screen", RASTER)
|
||||||
|
@ -635,14 +635,14 @@ static const k033906_interface nwktr_k033906_interface =
|
|||||||
|
|
||||||
static const k001604_interface racingj_k001604_intf =
|
static const k001604_interface racingj_k001604_intf =
|
||||||
{
|
{
|
||||||
0, 1, /* gfx index 1 & 2 */
|
0, 1, /* gfx index 1 & 2 */
|
||||||
0, 1, /* layer_size, roz_size */
|
0, 1, /* layer_size, roz_size */
|
||||||
0 /* slrasslt hack */
|
0 /* slrasslt hack */
|
||||||
};
|
};
|
||||||
|
|
||||||
static const k001604_interface thrilld_k001604_intf =
|
static const k001604_interface thrilld_k001604_intf =
|
||||||
{
|
{
|
||||||
0, 1, /* gfx index 1 & 2 */
|
0, 1, /* gfx index 1 & 2 */
|
||||||
1, 1, /* layer_size, roz_size */
|
1, 1, /* layer_size, roz_size */
|
||||||
0 /* slrasslt hack */
|
0 /* slrasslt hack */
|
||||||
};
|
};
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
- Final Fight 2
|
- Final Fight 2
|
||||||
- Sonic Blast Man 2
|
- Sonic Blast Man 2
|
||||||
- Iron (bootleg of Iron Commando)
|
- Iron (bootleg of Iron Commando)
|
||||||
- Ghost Chaser Densei
|
- Ghost Chaser Densei
|
||||||
|
|
||||||
Not dumped:
|
Not dumped:
|
||||||
- Final Fight 3
|
- Final Fight 3
|
||||||
|
@ -734,7 +734,7 @@ static ADDRESS_MAP_START( tisub_map, ADDRESS_SPACE_PROGRAM, 8 )
|
|||||||
|
|
||||||
AM_RANGE( 0x09016, 0x09017 ) AM_DEVWRITE( "ymsnd", ym3812_w )
|
AM_RANGE( 0x09016, 0x09017 ) AM_DEVWRITE( "ymsnd", ym3812_w )
|
||||||
|
|
||||||
// AM_RANGE( 0x0900c, 0x0900c ) AM_DEVWRITE( "oki", okim6295_w )
|
// AM_RANGE( 0x0900c, 0x0900c ) AM_DEVWRITE( "oki", okim6295_w )
|
||||||
|
|
||||||
AM_RANGE( 0x0901b, 0x0901b ) AM_WRITE( subsino_tiles_offset_w )
|
AM_RANGE( 0x0901b, 0x0901b ) AM_WRITE( subsino_tiles_offset_w )
|
||||||
|
|
||||||
|
@ -2336,7 +2336,7 @@ MACHINE_DRIVER_END
|
|||||||
*************************************/
|
*************************************/
|
||||||
|
|
||||||
/******************************
|
/******************************
|
||||||
System 16A Bootlegs
|
System 16A Bootlegs
|
||||||
******************************/
|
******************************/
|
||||||
|
|
||||||
/* Shinobi bootleg by 'Datsu' - Sound hardware is different */
|
/* Shinobi bootleg by 'Datsu' - Sound hardware is different */
|
||||||
@ -2445,7 +2445,7 @@ ROM_END
|
|||||||
|
|
||||||
|
|
||||||
/******************************
|
/******************************
|
||||||
System 16B Bootlegs
|
System 16B Bootlegs
|
||||||
******************************/
|
******************************/
|
||||||
|
|
||||||
// protected + encrypted bootleg
|
// protected + encrypted bootleg
|
||||||
@ -2539,65 +2539,65 @@ ROM_END
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
this is a more complete dump of the old encrypted bootleg set
|
this is a more complete dump of the old encrypted bootleg set
|
||||||
|
|
||||||
Golden Axe (different HW bottleg)
|
Golden Axe (different HW bottleg)
|
||||||
|
|
||||||
Anno 1989
|
Anno 1989
|
||||||
Produttore
|
Produttore
|
||||||
N.revisione
|
N.revisione
|
||||||
|
|
||||||
CPU:
|
CPU:
|
||||||
main PCB:
|
main PCB:
|
||||||
1x 68000 (main)(missing)
|
1x 68000 (main)(missing)
|
||||||
1x LH0080B-Z80B-CPU (sound)
|
1x LH0080B-Z80B-CPU (sound)
|
||||||
1x D7759C (sound)
|
1x D7759C (sound)
|
||||||
1x YM2151 (sound)
|
1x YM2151 (sound)
|
||||||
1x YM3012 (sound)
|
1x YM3012 (sound)
|
||||||
1x UPC1241H (sound)
|
1x UPC1241H (sound)
|
||||||
1x oscillator 20.000 (close to main)
|
1x oscillator 20.000 (close to main)
|
||||||
1x oscillator 24.000MHz (close to sound)
|
1x oscillator 24.000MHz (close to sound)
|
||||||
1x blue resonator 655K (close to sound)
|
1x blue resonator 655K (close to sound)
|
||||||
|
|
||||||
ROMs:
|
ROMs:
|
||||||
main PCB:
|
main PCB:
|
||||||
2x NMC27C512 (1,3)
|
2x NMC27C512 (1,3)
|
||||||
2x NMC27C256 (2,12)
|
2x NMC27C256 (2,12)
|
||||||
8x TMS27PC512 (4,5,6,7,8,9,10,11)
|
8x TMS27PC512 (4,5,6,7,8,9,10,11)
|
||||||
|
|
||||||
roms PCB:
|
roms PCB:
|
||||||
29x Am27C512 (13-32,34-42)
|
29x Am27C512 (13-32,34-42)
|
||||||
1x NMC27C512 (33)
|
1x NMC27C512 (33)
|
||||||
1x PROM N82S129N
|
1x PROM N82S129N
|
||||||
|
|
||||||
|
|
||||||
RAMs:
|
RAMs:
|
||||||
main PCB:
|
main PCB:
|
||||||
1x GM76C28
|
1x GM76C28
|
||||||
2x GM76C88
|
2x GM76C88
|
||||||
2x HM6116K
|
2x HM6116K
|
||||||
|
|
||||||
roms PCB:
|
roms PCB:
|
||||||
8x LC3517BS
|
8x LC3517BS
|
||||||
2x 256K S BGD-A
|
2x 256K S BGD-A
|
||||||
|
|
||||||
|
|
||||||
PLDs:
|
PLDs:
|
||||||
main PCB:
|
main PCB:
|
||||||
3x PAL16L8ACN (not dumped)
|
3x PAL16L8ACN (not dumped)
|
||||||
|
|
||||||
roms PCB:
|
roms PCB:
|
||||||
1x PEEL18CV8P (not dumped)
|
1x PEEL18CV8P (not dumped)
|
||||||
|
|
||||||
Note
|
Note
|
||||||
main PCB:
|
main PCB:
|
||||||
1x JAMMA edge connector
|
1x JAMMA edge connector
|
||||||
2x 50 pins flat cable connector to roms PCB
|
2x 50 pins flat cable connector to roms PCB
|
||||||
1x trimmer (volume)
|
1x trimmer (volume)
|
||||||
2x 8x2 switches dip
|
2x 8x2 switches dip
|
||||||
|
|
||||||
roms PCB:
|
roms PCB:
|
||||||
2x 50 pins flat cable connector to roms PCB
|
2x 50 pins flat cable connector to roms PCB
|
||||||
*/
|
*/
|
||||||
|
|
||||||
ROM_START( goldnaxeb1 )
|
ROM_START( goldnaxeb1 )
|
||||||
@ -2668,23 +2668,23 @@ ROM_START( goldnaxeb1 )
|
|||||||
ROM_END
|
ROM_END
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Golden Axe (bootleg) made in Italy?
|
Golden Axe (bootleg) made in Italy?
|
||||||
PCB: GENSYS-1/I
|
PCB: GENSYS-1/I
|
||||||
|
|
||||||
CPUs
|
CPUs
|
||||||
1x SCN68000CAN64-KGQ7551-8931KE (main - upper board)(IC40)
|
1x SCN68000CAN64-KGQ7551-8931KE (main - upper board)(IC40)
|
||||||
1x oscillator 20.000MHz (upper board - near main CPU)(XL2)
|
1x oscillator 20.000MHz (upper board - near main CPU)(XL2)
|
||||||
1x STZ8400BB1-Z80BCPU-28911 (sound - upper board)(IC44)
|
1x STZ8400BB1-Z80BCPU-28911 (sound - upper board)(IC44)
|
||||||
2x YAMAHA YM2203C (sound - upper board)IC27, IC28)
|
2x YAMAHA YM2203C (sound - upper board)IC27, IC28)
|
||||||
1x OKI M5205 (sound - upper board)(IC16)
|
1x OKI M5205 (sound - upper board)(IC16)
|
||||||
2x YAMAHA Y3014B (DAC - sound - upper board)(IC19, IC20)
|
2x YAMAHA Y3014B (DAC - sound - upper board)(IC19, IC20)
|
||||||
1x crystal resonator CSB398P (upper board - near sound CPUs)(XL1)
|
1x crystal resonator CSB398P (upper board - near sound CPUs)(XL1)
|
||||||
1x oscillator 24MHz (lower board near connectors to upper board)(XL1)
|
1x oscillator 24MHz (lower board near connectors to upper board)(XL1)
|
||||||
|
|
||||||
ROMs
|
ROMs
|
||||||
8x TMS27C512-20JL (from 1 to 8 - upper board) (CPU)
|
8x TMS27C512-20JL (from 1 to 8 - upper board) (CPU)
|
||||||
26x ST M27512FI (from 9 to 34 - upper board) (Sound + Tilemap)
|
26x ST M27512FI (from 9 to 34 - upper board) (Sound + Tilemap)
|
||||||
6x ST M27512FI (from 35 to 40 - lower board) (Sprites)
|
6x ST M27512FI (from 35 to 40 - lower board) (Sprites)
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -2893,7 +2893,7 @@ ROM_END
|
|||||||
|
|
||||||
|
|
||||||
/******************************
|
/******************************
|
||||||
Tetris-based HW
|
Tetris-based HW
|
||||||
******************************/
|
******************************/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -2959,7 +2959,7 @@ ROM_END
|
|||||||
|
|
||||||
|
|
||||||
/******************************
|
/******************************
|
||||||
System 18 Bootlegs
|
System 18 Bootlegs
|
||||||
******************************/
|
******************************/
|
||||||
|
|
||||||
ROM_START( astormbl )
|
ROM_START( astormbl )
|
||||||
|
@ -1763,7 +1763,7 @@ static DRIVER_INIT( mrkicker )
|
|||||||
{
|
{
|
||||||
finalgdr_backupram_bank = 1;
|
finalgdr_backupram_bank = 1;
|
||||||
finalgdr_backupram = auto_alloc_array(machine, UINT8, 0x80*0x100);
|
finalgdr_backupram = auto_alloc_array(machine, UINT8, 0x80*0x100);
|
||||||
// memory_install_read32_handler(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0x005e874, 0x005e877, 0, 0, mrkicker_speedup_r );
|
// memory_install_read32_handler(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0x005e874, 0x005e877, 0, 0, mrkicker_speedup_r );
|
||||||
|
|
||||||
palshift = 0;
|
palshift = 0;
|
||||||
flip_bit = 1; //?
|
flip_bit = 1; //?
|
||||||
|
@ -765,7 +765,7 @@ MACHINE_DRIVER_END
|
|||||||
|
|
||||||
static const k001604_interface jetwave_k001604_intf =
|
static const k001604_interface jetwave_k001604_intf =
|
||||||
{
|
{
|
||||||
0, 1, /* gfx index 1 & 2 */
|
0, 1, /* gfx index 1 & 2 */
|
||||||
0, 1, /* layer_size, roz_size */
|
0, 1, /* layer_size, roz_size */
|
||||||
0 /* slrasslt hack */
|
0 /* slrasslt hack */
|
||||||
};
|
};
|
||||||
|
@ -3,11 +3,11 @@ typedef struct _segas1x_state segas1x_state;
|
|||||||
struct _segas1x_state
|
struct _segas1x_state
|
||||||
{
|
{
|
||||||
/* memory pointers */
|
/* memory pointers */
|
||||||
// UINT16 * workram; // this is used in the nvram handler, hence it cannot be added here
|
// UINT16 * workram; // this is used in the nvram handler, hence it cannot be added here
|
||||||
// UINT16 * paletteram; // this is used in the segaic16 mapper, hence it cannot be added here (yet)
|
// UINT16 * paletteram; // this is used in the segaic16 mapper, hence it cannot be added here (yet)
|
||||||
// UINT16 * tileram_0; // this is used in the segaic16 mapper, hence it cannot be added here (yet)
|
// UINT16 * tileram_0; // this is used in the segaic16 mapper, hence it cannot be added here (yet)
|
||||||
// UINT16 * textram_0; // this is used in the segaic16 mapper, hence it cannot be added here (yet)
|
// UINT16 * textram_0; // this is used in the segaic16 mapper, hence it cannot be added here (yet)
|
||||||
// UINT16 * spriteram_0; // this is used in the segaic16 mapper, hence it cannot be added here (yet)
|
// UINT16 * spriteram_0; // this is used in the segaic16 mapper, hence it cannot be added here (yet)
|
||||||
|
|
||||||
/* misc video */
|
/* misc video */
|
||||||
UINT8 road_priority; // segaxbd
|
UINT8 road_priority; // segaxbd
|
||||||
|
@ -619,7 +619,7 @@ WRITE64_HANDLER( naomi_maple_w )
|
|||||||
{
|
{
|
||||||
if (port > 0)
|
if (port > 0)
|
||||||
buff[0]=0xffffffff;
|
buff[0]=0xffffffff;
|
||||||
// printf("MAPLE: command %02x\n", command);
|
// printf("MAPLE: command %02x\n", command);
|
||||||
switch (command)
|
switch (command)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
|
@ -102,6 +102,6 @@ DRIVER_INIT( gram2000 )
|
|||||||
|
|
||||||
DRIVER_INIT( vf4evoct )
|
DRIVER_INIT( vf4evoct )
|
||||||
{
|
{
|
||||||
// DRIVER_INIT_CALL(naomi2);
|
// DRIVER_INIT_CALL(naomi2);
|
||||||
actel_id = 0; //FIXME: correct value
|
actel_id = 0; //FIXME: correct value
|
||||||
}
|
}
|
||||||
|
@ -460,7 +460,7 @@ READ64_DEVICE_HANDLER( naomibd_r )
|
|||||||
}
|
}
|
||||||
else if ((offset == 2) && ACCESSING_BITS_32_63)
|
else if ((offset == 2) && ACCESSING_BITS_32_63)
|
||||||
{
|
{
|
||||||
// Actel FPGA ID, used on some games for a "special" ROM test.
|
// Actel FPGA ID, used on some games for a "special" ROM test.
|
||||||
|
|
||||||
return (UINT64)actel_id << 32;
|
return (UINT64)actel_id << 32;
|
||||||
}
|
}
|
||||||
|
@ -1591,7 +1591,7 @@ READ8_HANDLER( snes_r_bank3 )
|
|||||||
if ((address < 0x8000) && (snes_cart.mode == SNES_MODE_20)) //FIXME: check this
|
if ((address < 0x8000) && (snes_cart.mode == SNES_MODE_20)) //FIXME: check this
|
||||||
{
|
{
|
||||||
value = 0xff; /* Reserved */
|
value = 0xff; /* Reserved */
|
||||||
//value = snes_ram[0x200000 + ((offset & ~0x8000) | 0x8000)]; // is this hack still needed? /* Reserved */
|
//value = snes_ram[0x200000 + ((offset & ~0x8000) | 0x8000)]; // is this hack still needed? /* Reserved */
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
value = snes_ram[0x400000 + offset];
|
value = snes_ram[0x400000 + offset];
|
||||||
|
@ -2065,8 +2065,8 @@ void recoverPolygonBlock(running_machine* machine, const UINT16* packet, struct
|
|||||||
polys[*numPolys].palPageSize = 0x100;
|
polys[*numPolys].palPageSize = 0x100;
|
||||||
|
|
||||||
/* FIXME: This isn't correct.
|
/* FIXME: This isn't correct.
|
||||||
Buriki & Xrally need this line. Roads Edge needs it removed.
|
Buriki & Xrally need this line. Roads Edge needs it removed.
|
||||||
So instead we're looking for a bit that is on for XRally & Buriki, but noone else. */
|
So instead we're looking for a bit that is on for XRally & Buriki, but noone else. */
|
||||||
if (hng64_3dregs[0x00/4] & 0x2000)
|
if (hng64_3dregs[0x00/4] & 0x2000)
|
||||||
{
|
{
|
||||||
polys[*numPolys].palOffset += 0x800;
|
polys[*numPolys].palOffset += 0x800;
|
||||||
@ -2080,9 +2080,9 @@ void recoverPolygonBlock(running_machine* machine, const UINT16* packet, struct
|
|||||||
if (explicitPaletteValue2) polys[*numPolys].palPageSize = 0x10;
|
if (explicitPaletteValue2) polys[*numPolys].palPageSize = 0x10;
|
||||||
|
|
||||||
// Apply the dynamic palette offset if its flag is set, otherwise stick with the fixed one
|
// Apply the dynamic palette offset if its flag is set, otherwise stick with the fixed one
|
||||||
if ((packet[1] & 0x0100))
|
if ((packet[1] & 0x0100))
|
||||||
{
|
{
|
||||||
explicitPaletteValue1 = paletteState3d * 0x80;
|
explicitPaletteValue1 = paletteState3d * 0x80;
|
||||||
explicitPaletteValue2 = 0; // This is probably hiding somewhere in operation 0011
|
explicitPaletteValue2 = 0; // This is probably hiding somewhere in operation 0011
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -10,4 +10,4 @@
|
|||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
extern const char build_version[];
|
extern const char build_version[];
|
||||||
const char build_version[] = "0.136u2 ("__DATE__")";
|
const char build_version[] = "0.136u3 ("__DATE__")";
|
||||||
|
Loading…
Reference in New Issue
Block a user