mirror of
https://github.com/holub/mame
synced 2025-05-25 23:35:26 +03:00
IDE controller now support two slots, currently used devices are made as slot devices [Miodrag Milanovic]
out of log: note that rom regions for disks are now changed in order to support multiple connected drives in cases needed.
This commit is contained in:
parent
2a7ca78de4
commit
ba0b21c8fb
@ -7,7 +7,6 @@
|
||||
#include "emu.h"
|
||||
#include "idectrl.h"
|
||||
#include "debugger.h"
|
||||
#include "imagedev/harddriv.h"
|
||||
|
||||
/***************************************************************************
|
||||
DEBUGGING
|
||||
@ -27,8 +26,6 @@
|
||||
CONSTANTS
|
||||
***************************************************************************/
|
||||
|
||||
#define IDE_DISK_SECTOR_SIZE 512
|
||||
|
||||
#define MINIMUM_COMMAND_TIME (attotime::from_usec(10))
|
||||
|
||||
#define TIME_PER_SECTOR (attotime::from_usec(100))
|
||||
@ -108,22 +105,12 @@
|
||||
typedef struct _ide_device ide_device;
|
||||
struct _ide_device
|
||||
{
|
||||
UINT8 features[IDE_DISK_SECTOR_SIZE];
|
||||
|
||||
UINT16 cur_cylinder;
|
||||
UINT8 cur_sector;
|
||||
UINT8 cur_head;
|
||||
UINT8 cur_head_reg;
|
||||
|
||||
UINT32 cur_lba;
|
||||
|
||||
UINT16 num_cylinders;
|
||||
UINT8 num_sectors;
|
||||
UINT8 num_heads;
|
||||
|
||||
chd_file *handle;
|
||||
hard_disk_file *disk;
|
||||
bool is_image_device;
|
||||
ide_slot_device *slot;
|
||||
};
|
||||
|
||||
|
||||
@ -172,7 +159,6 @@ struct _ide_state
|
||||
const UINT8 * user_password;
|
||||
|
||||
UINT8 gnetreadlock;
|
||||
ide_hardware * hardware;
|
||||
|
||||
UINT8 cur_drive;
|
||||
ide_device drive[2];
|
||||
@ -186,8 +172,6 @@ struct _ide_state
|
||||
|
||||
static TIMER_CALLBACK( reset_callback );
|
||||
|
||||
static void ide_build_features(ide_state *ide, int drive);
|
||||
|
||||
static void continue_read(ide_state *ide);
|
||||
static void read_sector_done(ide_state *ide);
|
||||
static TIMER_CALLBACK( read_sector_done_callback );
|
||||
@ -288,7 +272,7 @@ INLINE void signal_delayed_interrupt(ide_state *ide, attotime time, int buffer_r
|
||||
UINT8 *ide_get_features(device_t *device, int drive)
|
||||
{
|
||||
ide_state *ide = get_safe_token(device);
|
||||
return ide->drive[drive].features;
|
||||
return ide->drive[drive].slot->get_features();
|
||||
}
|
||||
|
||||
void ide_set_gnet_readlock(device_t *device, const UINT8 onoff)
|
||||
@ -388,7 +372,7 @@ INLINE UINT32 lba_address(ide_state *ide)
|
||||
|
||||
/* standard CHS */
|
||||
else
|
||||
return (ide->drive[ide->cur_drive].cur_cylinder * ide->drive[ide->cur_drive].num_heads + ide->drive[ide->cur_drive].cur_head) * ide->drive[ide->cur_drive].num_sectors + ide->drive[ide->cur_drive].cur_sector - 1;
|
||||
return (ide->drive[ide->cur_drive].cur_cylinder * ide->drive[ide->cur_drive].slot->get_heads() + ide->drive[ide->cur_drive].cur_head) * ide->drive[ide->cur_drive].slot->get_sectors() + ide->drive[ide->cur_drive].cur_sector - 1;
|
||||
}
|
||||
|
||||
|
||||
@ -418,12 +402,12 @@ INLINE void next_sector(ide_state *ide)
|
||||
{
|
||||
/* sectors are 1-based */
|
||||
ide->drive[ide->cur_drive].cur_sector++;
|
||||
if (ide->drive[ide->cur_drive].cur_sector > ide->drive[ide->cur_drive].num_sectors)
|
||||
if (ide->drive[ide->cur_drive].cur_sector > ide->drive[ide->cur_drive].slot->get_sectors())
|
||||
{
|
||||
/* heads are 0 based */
|
||||
ide->drive[ide->cur_drive].cur_sector = 1;
|
||||
ide->drive[ide->cur_drive].cur_head++;
|
||||
if (ide->drive[ide->cur_drive].cur_head >= ide->drive[ide->cur_drive].num_heads)
|
||||
if (ide->drive[ide->cur_drive].cur_head >= ide->drive[ide->cur_drive].slot->get_heads())
|
||||
{
|
||||
ide->drive[ide->cur_drive].cur_head = 0;
|
||||
ide->drive[ide->cur_drive].cur_cylinder++;
|
||||
@ -455,168 +439,161 @@ static void swap_strncpy(UINT8 *dst, const char *src, int field_size_in_words)
|
||||
}
|
||||
|
||||
|
||||
static void ide_generate_features(ide_state *ide,int drive)
|
||||
void ide_hdd_device::ide_build_features()
|
||||
{
|
||||
int total_sectors = ide->drive[drive].num_cylinders * ide->drive[drive].num_heads * ide->drive[drive].num_sectors;
|
||||
int sectors_per_track = ide->drive[drive].num_heads * ide->drive[drive].num_sectors;
|
||||
memset(m_features, 0, IDE_DISK_SECTOR_SIZE);
|
||||
int total_sectors = m_num_cylinders * m_num_heads * m_num_sectors;
|
||||
int sectors_per_track = m_num_heads * m_num_sectors;
|
||||
|
||||
/* basic geometry */
|
||||
ide->drive[drive].features[ 0*2+0] = 0x5a; /* 0: configuration bits */
|
||||
ide->drive[drive].features[ 0*2+1] = 0x04;
|
||||
ide->drive[drive].features[ 1*2+0] = ide->drive[drive].num_cylinders & 0xff; /* 1: logical cylinders */
|
||||
ide->drive[drive].features[ 1*2+1] = ide->drive[drive].num_cylinders >> 8;
|
||||
ide->drive[drive].features[ 2*2+0] = 0; /* 2: reserved */
|
||||
ide->drive[drive].features[ 2*2+1] = 0;
|
||||
ide->drive[drive].features[ 3*2+0] = ide->drive[drive].num_heads & 0xff; /* 3: logical heads */
|
||||
ide->drive[drive].features[ 3*2+1] = 0;/*ide->num_heads >> 8;*/
|
||||
ide->drive[drive].features[ 4*2+0] = 0; /* 4: vendor specific (obsolete) */
|
||||
ide->drive[drive].features[ 4*2+1] = 0;
|
||||
ide->drive[drive].features[ 5*2+0] = 0; /* 5: vendor specific (obsolete) */
|
||||
ide->drive[drive].features[ 5*2+1] = 0;
|
||||
ide->drive[drive].features[ 6*2+0] = ide->drive[drive].num_sectors & 0xff; /* 6: logical sectors per logical track */
|
||||
ide->drive[drive].features[ 6*2+1] = 0;/*ide->num_sectors >> 8;*/
|
||||
ide->drive[drive].features[ 7*2+0] = 0; /* 7: vendor-specific */
|
||||
ide->drive[drive].features[ 7*2+1] = 0;
|
||||
ide->drive[drive].features[ 8*2+0] = 0; /* 8: vendor-specific */
|
||||
ide->drive[drive].features[ 8*2+1] = 0;
|
||||
ide->drive[drive].features[ 9*2+0] = 0; /* 9: vendor-specific */
|
||||
ide->drive[drive].features[ 9*2+1] = 0;
|
||||
swap_strncpy(&ide->drive[drive].features[10*2+0], /* 10-19: serial number */
|
||||
m_features[ 0*2+0] = 0x5a; /* 0: configuration bits */
|
||||
m_features[ 0*2+1] = 0x04;
|
||||
m_features[ 1*2+0] = m_num_cylinders & 0xff; /* 1: logical cylinders */
|
||||
m_features[ 1*2+1] = m_num_cylinders >> 8;
|
||||
m_features[ 2*2+0] = 0; /* 2: reserved */
|
||||
m_features[ 2*2+1] = 0;
|
||||
m_features[ 3*2+0] = m_num_heads & 0xff; /* 3: logical heads */
|
||||
m_features[ 3*2+1] = 0;/*ide->num_heads >> 8;*/
|
||||
m_features[ 4*2+0] = 0; /* 4: vendor specific (obsolete) */
|
||||
m_features[ 4*2+1] = 0;
|
||||
m_features[ 5*2+0] = 0; /* 5: vendor specific (obsolete) */
|
||||
m_features[ 5*2+1] = 0;
|
||||
m_features[ 6*2+0] = m_num_sectors & 0xff; /* 6: logical sectors per logical track */
|
||||
m_features[ 6*2+1] = 0;/*ide->num_sectors >> 8;*/
|
||||
m_features[ 7*2+0] = 0; /* 7: vendor-specific */
|
||||
m_features[ 7*2+1] = 0;
|
||||
m_features[ 8*2+0] = 0; /* 8: vendor-specific */
|
||||
m_features[ 8*2+1] = 0;
|
||||
m_features[ 9*2+0] = 0; /* 9: vendor-specific */
|
||||
m_features[ 9*2+1] = 0;
|
||||
swap_strncpy(&m_features[10*2+0], /* 10-19: serial number */
|
||||
"00000000000000000000", 10);
|
||||
ide->drive[drive].features[20*2+0] = 0; /* 20: vendor-specific */
|
||||
ide->drive[drive].features[20*2+1] = 0;
|
||||
ide->drive[drive].features[21*2+0] = 0; /* 21: vendor-specific */
|
||||
ide->drive[drive].features[21*2+1] = 0;
|
||||
ide->drive[drive].features[22*2+0] = 4; /* 22: # of vendor-specific bytes on read/write long commands */
|
||||
ide->drive[drive].features[22*2+1] = 0;
|
||||
swap_strncpy(&ide->drive[drive].features[23*2+0], /* 23-26: firmware revision */
|
||||
m_features[20*2+0] = 0; /* 20: vendor-specific */
|
||||
m_features[20*2+1] = 0;
|
||||
m_features[21*2+0] = 0; /* 21: vendor-specific */
|
||||
m_features[21*2+1] = 0;
|
||||
m_features[22*2+0] = 4; /* 22: # of vendor-specific bytes on read/write long commands */
|
||||
m_features[22*2+1] = 0;
|
||||
swap_strncpy(&m_features[23*2+0], /* 23-26: firmware revision */
|
||||
"1.0", 4);
|
||||
swap_strncpy(&ide->drive[drive].features[27*2+0], /* 27-46: model number */
|
||||
swap_strncpy(&m_features[27*2+0], /* 27-46: model number */
|
||||
"MAME Compressed Hard Disk", 20);
|
||||
ide->drive[drive].features[47*2+0] = 0x01; /* 47: read/write multiple support */
|
||||
ide->drive[drive].features[47*2+1] = 0x80;
|
||||
ide->drive[drive].features[48*2+0] = 0; /* 48: reserved */
|
||||
ide->drive[drive].features[48*2+1] = 0;
|
||||
ide->drive[drive].features[49*2+0] = 0x03; /* 49: capabilities */
|
||||
ide->drive[drive].features[49*2+1] = 0x0f;
|
||||
ide->drive[drive].features[50*2+0] = 0; /* 50: reserved */
|
||||
ide->drive[drive].features[50*2+1] = 0;
|
||||
ide->drive[drive].features[51*2+0] = 2; /* 51: PIO data transfer cycle timing mode */
|
||||
ide->drive[drive].features[51*2+1] = 0;
|
||||
ide->drive[drive].features[52*2+0] = 2; /* 52: single word DMA transfer cycle timing mode */
|
||||
ide->drive[drive].features[52*2+1] = 0;
|
||||
ide->drive[drive].features[53*2+0] = 3; /* 53: field validity */
|
||||
ide->drive[drive].features[53*2+1] = 0;
|
||||
ide->drive[drive].features[54*2+0] = ide->drive[drive].num_cylinders & 0xff; /* 54: number of current logical cylinders */
|
||||
ide->drive[drive].features[54*2+1] = ide->drive[drive].num_cylinders >> 8;
|
||||
ide->drive[drive].features[55*2+0] = ide->drive[drive].num_heads & 0xff; /* 55: number of current logical heads */
|
||||
ide->drive[drive].features[55*2+1] = 0;/*ide->num_heads >> 8;*/
|
||||
ide->drive[drive].features[56*2+0] = ide->drive[drive].num_sectors & 0xff; /* 56: number of current logical sectors per track */
|
||||
ide->drive[drive].features[56*2+1] = 0;/*ide->num_sectors >> 8;*/
|
||||
ide->drive[drive].features[57*2+0] = sectors_per_track & 0xff; /* 57-58: number of current logical sectors per track */
|
||||
ide->drive[drive].features[57*2+1] = sectors_per_track >> 8;
|
||||
ide->drive[drive].features[58*2+0] = sectors_per_track >> 16;
|
||||
ide->drive[drive].features[58*2+1] = sectors_per_track >> 24;
|
||||
ide->drive[drive].features[59*2+0] = 0; /* 59: multiple sector timing */
|
||||
ide->drive[drive].features[59*2+1] = 0;
|
||||
ide->drive[drive].features[60*2+0] = total_sectors & 0xff; /* 60-61: total user addressable sectors */
|
||||
ide->drive[drive].features[60*2+1] = total_sectors >> 8;
|
||||
ide->drive[drive].features[61*2+0] = total_sectors >> 16;
|
||||
ide->drive[drive].features[61*2+1] = total_sectors >> 24;
|
||||
ide->drive[drive].features[62*2+0] = 0x07; /* 62: single word dma transfer */
|
||||
ide->drive[drive].features[62*2+1] = 0x00;
|
||||
ide->drive[drive].features[63*2+0] = 0x07; /* 63: multiword DMA transfer */
|
||||
ide->drive[drive].features[63*2+1] = 0x04;
|
||||
ide->drive[drive].features[64*2+0] = 0x03; /* 64: flow control PIO transfer modes supported */
|
||||
ide->drive[drive].features[64*2+1] = 0x00;
|
||||
ide->drive[drive].features[65*2+0] = 0x78; /* 65: minimum multiword DMA transfer cycle time per word */
|
||||
ide->drive[drive].features[65*2+1] = 0x00;
|
||||
ide->drive[drive].features[66*2+0] = 0x78; /* 66: mfr's recommended multiword DMA transfer cycle time */
|
||||
ide->drive[drive].features[66*2+1] = 0x00;
|
||||
ide->drive[drive].features[67*2+0] = 0x4d; /* 67: minimum PIO transfer cycle time without flow control */
|
||||
ide->drive[drive].features[67*2+1] = 0x01;
|
||||
ide->drive[drive].features[68*2+0] = 0x78; /* 68: minimum PIO transfer cycle time with IORDY */
|
||||
ide->drive[drive].features[68*2+1] = 0x00;
|
||||
ide->drive[drive].features[69*2+0] = 0x00; /* 69-70: reserved */
|
||||
ide->drive[drive].features[69*2+1] = 0x00;
|
||||
ide->drive[drive].features[71*2+0] = 0x00; /* 71: reserved for IDENTIFY PACKET command */
|
||||
ide->drive[drive].features[71*2+1] = 0x00;
|
||||
ide->drive[drive].features[72*2+0] = 0x00; /* 72: reserved for IDENTIFY PACKET command */
|
||||
ide->drive[drive].features[72*2+1] = 0x00;
|
||||
ide->drive[drive].features[73*2+0] = 0x00; /* 73: reserved for IDENTIFY PACKET command */
|
||||
ide->drive[drive].features[73*2+1] = 0x00;
|
||||
ide->drive[drive].features[74*2+0] = 0x00; /* 74: reserved for IDENTIFY PACKET command */
|
||||
ide->drive[drive].features[74*2+1] = 0x00;
|
||||
ide->drive[drive].features[75*2+0] = 0x00; /* 75: queue depth */
|
||||
ide->drive[drive].features[75*2+1] = 0x00;
|
||||
ide->drive[drive].features[76*2+0] = 0x00; /* 76-79: reserved */
|
||||
ide->drive[drive].features[76*2+1] = 0x00;
|
||||
ide->drive[drive].features[80*2+0] = 0x00; /* 80: major version number */
|
||||
ide->drive[drive].features[80*2+1] = 0x00;
|
||||
ide->drive[drive].features[81*2+0] = 0x00; /* 81: minor version number */
|
||||
ide->drive[drive].features[81*2+1] = 0x00;
|
||||
ide->drive[drive].features[82*2+0] = 0x00; /* 82: command set supported */
|
||||
ide->drive[drive].features[82*2+1] = 0x00;
|
||||
ide->drive[drive].features[83*2+0] = 0x00; /* 83: command sets supported */
|
||||
ide->drive[drive].features[83*2+1] = 0x00;
|
||||
ide->drive[drive].features[84*2+0] = 0x00; /* 84: command set/feature supported extension */
|
||||
ide->drive[drive].features[84*2+1] = 0x00;
|
||||
ide->drive[drive].features[85*2+0] = 0x00; /* 85: command set/feature enabled */
|
||||
ide->drive[drive].features[85*2+1] = 0x00;
|
||||
ide->drive[drive].features[86*2+0] = 0x00; /* 86: command set/feature enabled */
|
||||
ide->drive[drive].features[86*2+1] = 0x00;
|
||||
ide->drive[drive].features[87*2+0] = 0x00; /* 87: command set/feature default */
|
||||
ide->drive[drive].features[87*2+1] = 0x00;
|
||||
ide->drive[drive].features[88*2+0] = 0x00; /* 88: additional DMA modes */
|
||||
ide->drive[drive].features[88*2+1] = 0x00;
|
||||
ide->drive[drive].features[89*2+0] = 0x00; /* 89: time required for security erase unit completion */
|
||||
ide->drive[drive].features[89*2+1] = 0x00;
|
||||
ide->drive[drive].features[90*2+0] = 0x00; /* 90: time required for enhanced security erase unit completion */
|
||||
ide->drive[drive].features[90*2+1] = 0x00;
|
||||
ide->drive[drive].features[91*2+0] = 0x00; /* 91: current advanced power management value */
|
||||
ide->drive[drive].features[91*2+1] = 0x00;
|
||||
ide->drive[drive].features[92*2+0] = 0x00; /* 92: master password revision code */
|
||||
ide->drive[drive].features[92*2+1] = 0x00;
|
||||
ide->drive[drive].features[93*2+0] = 0x00; /* 93: hardware reset result */
|
||||
ide->drive[drive].features[93*2+1] = 0x00;
|
||||
ide->drive[drive].features[94*2+0] = 0x00; /* 94: acoustic management values */
|
||||
ide->drive[drive].features[94*2+1] = 0x00;
|
||||
ide->drive[drive].features[95*2+0] = 0x00; /* 95-99: reserved */
|
||||
ide->drive[drive].features[95*2+1] = 0x00;
|
||||
ide->drive[drive].features[100*2+0] = total_sectors & 0xff; /* 100-103: maximum 48-bit LBA */
|
||||
ide->drive[drive].features[100*2+1] = total_sectors >> 8;
|
||||
ide->drive[drive].features[101*2+0] = total_sectors >> 16;
|
||||
ide->drive[drive].features[101*2+1] = total_sectors >> 24;
|
||||
ide->drive[drive].features[102*2+0] = 0x00;
|
||||
ide->drive[drive].features[102*2+1] = 0x00;
|
||||
ide->drive[drive].features[103*2+0] = 0x00;
|
||||
ide->drive[drive].features[103*2+1] = 0x00;
|
||||
ide->drive[drive].features[104*2+0] = 0x00; /* 104-126: reserved */
|
||||
ide->drive[drive].features[104*2+1] = 0x00;
|
||||
ide->drive[drive].features[127*2+0] = 0x00; /* 127: removable media status notification */
|
||||
ide->drive[drive].features[127*2+1] = 0x00;
|
||||
ide->drive[drive].features[128*2+0] = 0x00; /* 128: security status */
|
||||
ide->drive[drive].features[128*2+1] = 0x00;
|
||||
ide->drive[drive].features[129*2+0] = 0x00; /* 129-159: vendor specific */
|
||||
ide->drive[drive].features[129*2+1] = 0x00;
|
||||
ide->drive[drive].features[160*2+0] = 0x00; /* 160: CFA power mode 1 */
|
||||
ide->drive[drive].features[160*2+1] = 0x00;
|
||||
ide->drive[drive].features[161*2+0] = 0x00; /* 161-175: reserved for CompactFlash */
|
||||
ide->drive[drive].features[161*2+1] = 0x00;
|
||||
ide->drive[drive].features[176*2+0] = 0x00; /* 176-205: current media serial number */
|
||||
ide->drive[drive].features[176*2+1] = 0x00;
|
||||
ide->drive[drive].features[206*2+0] = 0x00; /* 206-254: reserved */
|
||||
ide->drive[drive].features[206*2+1] = 0x00;
|
||||
ide->drive[drive].features[255*2+0] = 0x00; /* 255: integrity word */
|
||||
ide->drive[drive].features[255*2+1] = 0x00;
|
||||
}
|
||||
|
||||
|
||||
static void ide_build_features(ide_state *ide, int drive)
|
||||
{
|
||||
memset(ide->drive[drive].features, 0, IDE_DISK_SECTOR_SIZE);
|
||||
if (chd_get_metadata (ide->drive[drive].handle, HARD_DISK_IDENT_METADATA_TAG, 0, ide->drive[drive].features, IDE_DISK_SECTOR_SIZE, 0, 0, 0) != CHDERR_NONE)
|
||||
ide_generate_features (ide,drive);
|
||||
m_features[47*2+0] = 0x01; /* 47: read/write multiple support */
|
||||
m_features[47*2+1] = 0x80;
|
||||
m_features[48*2+0] = 0; /* 48: reserved */
|
||||
m_features[48*2+1] = 0;
|
||||
m_features[49*2+0] = 0x03; /* 49: capabilities */
|
||||
m_features[49*2+1] = 0x0f;
|
||||
m_features[50*2+0] = 0; /* 50: reserved */
|
||||
m_features[50*2+1] = 0;
|
||||
m_features[51*2+0] = 2; /* 51: PIO data transfer cycle timing mode */
|
||||
m_features[51*2+1] = 0;
|
||||
m_features[52*2+0] = 2; /* 52: single word DMA transfer cycle timing mode */
|
||||
m_features[52*2+1] = 0;
|
||||
m_features[53*2+0] = 3; /* 53: field validity */
|
||||
m_features[53*2+1] = 0;
|
||||
m_features[54*2+0] = m_num_cylinders & 0xff; /* 54: number of current logical cylinders */
|
||||
m_features[54*2+1] = m_num_cylinders >> 8;
|
||||
m_features[55*2+0] = m_num_heads & 0xff; /* 55: number of current logical heads */
|
||||
m_features[55*2+1] = 0;/*ide->num_heads >> 8;*/
|
||||
m_features[56*2+0] = m_num_sectors & 0xff; /* 56: number of current logical sectors per track */
|
||||
m_features[56*2+1] = 0;/*ide->num_sectors >> 8;*/
|
||||
m_features[57*2+0] = sectors_per_track & 0xff; /* 57-58: number of current logical sectors per track */
|
||||
m_features[57*2+1] = sectors_per_track >> 8;
|
||||
m_features[58*2+0] = sectors_per_track >> 16;
|
||||
m_features[58*2+1] = sectors_per_track >> 24;
|
||||
m_features[59*2+0] = 0; /* 59: multiple sector timing */
|
||||
m_features[59*2+1] = 0;
|
||||
m_features[60*2+0] = total_sectors & 0xff; /* 60-61: total user addressable sectors */
|
||||
m_features[60*2+1] = total_sectors >> 8;
|
||||
m_features[61*2+0] = total_sectors >> 16;
|
||||
m_features[61*2+1] = total_sectors >> 24;
|
||||
m_features[62*2+0] = 0x07; /* 62: single word dma transfer */
|
||||
m_features[62*2+1] = 0x00;
|
||||
m_features[63*2+0] = 0x07; /* 63: multiword DMA transfer */
|
||||
m_features[63*2+1] = 0x04;
|
||||
m_features[64*2+0] = 0x03; /* 64: flow control PIO transfer modes supported */
|
||||
m_features[64*2+1] = 0x00;
|
||||
m_features[65*2+0] = 0x78; /* 65: minimum multiword DMA transfer cycle time per word */
|
||||
m_features[65*2+1] = 0x00;
|
||||
m_features[66*2+0] = 0x78; /* 66: mfr's recommended multiword DMA transfer cycle time */
|
||||
m_features[66*2+1] = 0x00;
|
||||
m_features[67*2+0] = 0x4d; /* 67: minimum PIO transfer cycle time without flow control */
|
||||
m_features[67*2+1] = 0x01;
|
||||
m_features[68*2+0] = 0x78; /* 68: minimum PIO transfer cycle time with IORDY */
|
||||
m_features[68*2+1] = 0x00;
|
||||
m_features[69*2+0] = 0x00; /* 69-70: reserved */
|
||||
m_features[69*2+1] = 0x00;
|
||||
m_features[71*2+0] = 0x00; /* 71: reserved for IDENTIFY PACKET command */
|
||||
m_features[71*2+1] = 0x00;
|
||||
m_features[72*2+0] = 0x00; /* 72: reserved for IDENTIFY PACKET command */
|
||||
m_features[72*2+1] = 0x00;
|
||||
m_features[73*2+0] = 0x00; /* 73: reserved for IDENTIFY PACKET command */
|
||||
m_features[73*2+1] = 0x00;
|
||||
m_features[74*2+0] = 0x00; /* 74: reserved for IDENTIFY PACKET command */
|
||||
m_features[74*2+1] = 0x00;
|
||||
m_features[75*2+0] = 0x00; /* 75: queue depth */
|
||||
m_features[75*2+1] = 0x00;
|
||||
m_features[76*2+0] = 0x00; /* 76-79: reserved */
|
||||
m_features[76*2+1] = 0x00;
|
||||
m_features[80*2+0] = 0x00; /* 80: major version number */
|
||||
m_features[80*2+1] = 0x00;
|
||||
m_features[81*2+0] = 0x00; /* 81: minor version number */
|
||||
m_features[81*2+1] = 0x00;
|
||||
m_features[82*2+0] = 0x00; /* 82: command set supported */
|
||||
m_features[82*2+1] = 0x00;
|
||||
m_features[83*2+0] = 0x00; /* 83: command sets supported */
|
||||
m_features[83*2+1] = 0x00;
|
||||
m_features[84*2+0] = 0x00; /* 84: command set/feature supported extension */
|
||||
m_features[84*2+1] = 0x00;
|
||||
m_features[85*2+0] = 0x00; /* 85: command set/feature enabled */
|
||||
m_features[85*2+1] = 0x00;
|
||||
m_features[86*2+0] = 0x00; /* 86: command set/feature enabled */
|
||||
m_features[86*2+1] = 0x00;
|
||||
m_features[87*2+0] = 0x00; /* 87: command set/feature default */
|
||||
m_features[87*2+1] = 0x00;
|
||||
m_features[88*2+0] = 0x00; /* 88: additional DMA modes */
|
||||
m_features[88*2+1] = 0x00;
|
||||
m_features[89*2+0] = 0x00; /* 89: time required for security erase unit completion */
|
||||
m_features[89*2+1] = 0x00;
|
||||
m_features[90*2+0] = 0x00; /* 90: time required for enhanced security erase unit completion */
|
||||
m_features[90*2+1] = 0x00;
|
||||
m_features[91*2+0] = 0x00; /* 91: current advanced power management value */
|
||||
m_features[91*2+1] = 0x00;
|
||||
m_features[92*2+0] = 0x00; /* 92: master password revision code */
|
||||
m_features[92*2+1] = 0x00;
|
||||
m_features[93*2+0] = 0x00; /* 93: hardware reset result */
|
||||
m_features[93*2+1] = 0x00;
|
||||
m_features[94*2+0] = 0x00; /* 94: acoustic management values */
|
||||
m_features[94*2+1] = 0x00;
|
||||
m_features[95*2+0] = 0x00; /* 95-99: reserved */
|
||||
m_features[95*2+1] = 0x00;
|
||||
m_features[100*2+0] = total_sectors & 0xff; /* 100-103: maximum 48-bit LBA */
|
||||
m_features[100*2+1] = total_sectors >> 8;
|
||||
m_features[101*2+0] = total_sectors >> 16;
|
||||
m_features[101*2+1] = total_sectors >> 24;
|
||||
m_features[102*2+0] = 0x00;
|
||||
m_features[102*2+1] = 0x00;
|
||||
m_features[103*2+0] = 0x00;
|
||||
m_features[103*2+1] = 0x00;
|
||||
m_features[104*2+0] = 0x00; /* 104-126: reserved */
|
||||
m_features[104*2+1] = 0x00;
|
||||
m_features[127*2+0] = 0x00; /* 127: removable media status notification */
|
||||
m_features[127*2+1] = 0x00;
|
||||
m_features[128*2+0] = 0x00; /* 128: security status */
|
||||
m_features[128*2+1] = 0x00;
|
||||
m_features[129*2+0] = 0x00; /* 129-159: vendor specific */
|
||||
m_features[129*2+1] = 0x00;
|
||||
m_features[160*2+0] = 0x00; /* 160: CFA power mode 1 */
|
||||
m_features[160*2+1] = 0x00;
|
||||
m_features[161*2+0] = 0x00; /* 161-175: reserved for CompactFlash */
|
||||
m_features[161*2+1] = 0x00;
|
||||
m_features[176*2+0] = 0x00; /* 176-205: current media serial number */
|
||||
m_features[176*2+1] = 0x00;
|
||||
m_features[206*2+0] = 0x00; /* 206-254: reserved */
|
||||
m_features[206*2+1] = 0x00;
|
||||
m_features[255*2+0] = 0x00; /* 255: integrity word */
|
||||
m_features[255*2+1] = 0x00;
|
||||
}
|
||||
|
||||
/*************************************
|
||||
@ -743,10 +720,8 @@ static void read_sector_done(ide_state *ide)
|
||||
return;
|
||||
}
|
||||
/* now do the read */
|
||||
if (ide->drive[ide->cur_drive].disk)
|
||||
count = hard_disk_read(ide->drive[ide->cur_drive].disk, lba, ide->buffer);
|
||||
else if (ide->hardware != NULL) {
|
||||
count = ide->hardware->read_sector(ide->device, lba, ide->buffer);
|
||||
if (ide->drive[ide->cur_drive].slot) {
|
||||
count = ide->drive[ide->cur_drive].slot->read_sector(lba, ide->buffer);
|
||||
}
|
||||
|
||||
/* by default, mark the buffer ready and the seek complete */
|
||||
@ -944,11 +919,9 @@ static void write_sector_done(ide_state *ide)
|
||||
int lba = lba_address(ide), count = 0;
|
||||
|
||||
/* now do the write */
|
||||
if (ide->drive[ide->cur_drive].disk)
|
||||
count = hard_disk_write(ide->drive[ide->cur_drive].disk, lba, ide->buffer);
|
||||
else if (ide->hardware != NULL) {
|
||||
count = ide->hardware->write_sector(ide->device, lba, ide->buffer);
|
||||
}
|
||||
if (ide->drive[ide->cur_drive].slot) {
|
||||
count = ide->drive[ide->cur_drive].slot->write_sector(lba, ide->buffer);
|
||||
}
|
||||
|
||||
/* by default, mark the buffer ready and the seek complete */
|
||||
ide->status |= IDE_STATUS_BUFFER_READY;
|
||||
@ -1152,7 +1125,9 @@ static void handle_command(ide_state *ide, UINT8 command)
|
||||
ide->sector_count = 1;
|
||||
|
||||
/* build the features page */
|
||||
memcpy(ide->buffer, ide->drive[ide->cur_drive].features, sizeof(ide->buffer));
|
||||
if (ide->drive[ide->cur_drive].slot->get_features()) {
|
||||
memcpy(ide->buffer, ide->drive[ide->cur_drive].slot->get_features(), sizeof(ide->buffer));
|
||||
}
|
||||
|
||||
/* indicate everything is ready */
|
||||
ide->status |= IDE_STATUS_BUFFER_READY;
|
||||
@ -1198,10 +1173,8 @@ static void handle_command(ide_state *ide, UINT8 command)
|
||||
LOGPRINT(("IDE Set configuration (%d heads, %d sectors)\n", ide->drive[ide->cur_drive].cur_head + 1, ide->sector_count));
|
||||
ide->status &= ~IDE_STATUS_ERROR;
|
||||
ide->error = IDE_ERROR_NONE;
|
||||
|
||||
ide->drive[ide->cur_drive].num_sectors = ide->sector_count;
|
||||
ide->drive[ide->cur_drive].num_heads = ide->drive[ide->cur_drive].cur_head + 1;
|
||||
|
||||
ide->drive[ide->cur_drive].slot->set_geometry(ide->sector_count,ide->drive[ide->cur_drive].cur_head + 1);
|
||||
|
||||
/* signal an interrupt */
|
||||
signal_delayed_interrupt(ide, MINIMUM_COMMAND_TIME, 0);
|
||||
break;
|
||||
@ -1258,7 +1231,7 @@ static void handle_command(ide_state *ide, UINT8 command)
|
||||
LOGPRINT(("IDE GNET Unlock 3\n"));
|
||||
|
||||
/* key check */
|
||||
chd_get_metadata (ide->drive[ide->cur_drive].handle, HARD_DISK_KEY_METADATA_TAG, 0, key, 5, 0, 0, 0);
|
||||
ide->drive[ide->cur_drive].slot->read_key(key);
|
||||
if ((ide->precomp_offset == key[0]) && (ide->sector_count == key[1]) && (ide->drive[ide->cur_drive].cur_sector == key[2]) && (ide->drive[ide->cur_drive].cur_cylinder == (((UINT16)key[4]<<8)|key[3])))
|
||||
{
|
||||
ide->gnetreadlock= 0;
|
||||
@ -1313,7 +1286,7 @@ static UINT32 ide_controller_read(device_t *device, int bank, offs_t offset, int
|
||||
// if (BANK(bank, offset) != IDE_BANK0_DATA && BANK(bank, offset) != IDE_BANK0_STATUS_COMMAND && BANK(bank, offset) != IDE_BANK1_STATUS_CONTROL)
|
||||
LOG(("%s:IDE read at %d:%X, size=%d\n", device->machine().describe_context(), bank, offset, size));
|
||||
|
||||
if (ide->drive[ide->cur_drive].disk) {
|
||||
if (ide->drive[ide->cur_drive].slot->is_ready()) {
|
||||
ide->status |= IDE_STATUS_DRIVE_READY;
|
||||
} else {
|
||||
ide->status &= ~IDE_STATUS_DRIVE_READY;
|
||||
@ -1505,7 +1478,7 @@ static void ide_controller_write(device_t *device, int bank, offs_t offset, int
|
||||
{
|
||||
UINT8 key[5] = { 0, 0, 0, 0, 0 };
|
||||
int i, bad = 0;
|
||||
chd_get_metadata (ide->drive[ide->cur_drive].handle, HARD_DISK_KEY_METADATA_TAG, 0, key, 5, 0, 0, 0);
|
||||
ide->drive[ide->cur_drive].slot->read_key(key);
|
||||
|
||||
for (i=0; !bad && i<512; i++)
|
||||
bad = ((i < 2 || i >= 7) && ide->buffer[i]) || ((i >= 2 && i < 7) && ide->buffer[i] != key[i-2]);
|
||||
@ -1859,7 +1832,6 @@ WRITE16_DEVICE_HANDLER( ide_controller16_w )
|
||||
static DEVICE_START( ide_controller )
|
||||
{
|
||||
ide_state *ide = get_safe_token(device);
|
||||
const hard_disk_info *hdinfo;
|
||||
const ide_config *config;
|
||||
|
||||
/* validate some basic stuff */
|
||||
@ -1873,17 +1845,8 @@ static DEVICE_START( ide_controller )
|
||||
/* set MAME harddisk handle */
|
||||
config = (const ide_config *)downcast<const legacy_device_base *>(device)->inline_config();
|
||||
|
||||
ide->drive[0].handle = get_disk_handle(device->machine(), (config->master != NULL) ? config->master : device->tag());
|
||||
ide->drive[0].disk = hard_disk_open(ide->drive[0].handle);
|
||||
ide->drive[0].is_image_device = false;
|
||||
|
||||
if (config->slave) {
|
||||
ide->drive[1].handle = get_disk_handle(device->machine(), config->slave);
|
||||
ide->drive[1].disk = hard_disk_open(ide->drive[1].handle);
|
||||
ide->drive[1].is_image_device = false;
|
||||
}
|
||||
|
||||
//assert_always(config->slave == NULL, "IDE controller does not yet support slave drives\n");
|
||||
ide->drive[0].slot = device->owner()->subdevice<ide_slot_device>("drive_0");
|
||||
ide->drive[1].slot = device->owner()->subdevice<ide_slot_device>("drive_1");
|
||||
|
||||
/* find the bus master space */
|
||||
if (config->bmcpu != NULL)
|
||||
@ -1900,41 +1863,6 @@ static DEVICE_START( ide_controller )
|
||||
ide->dma_address_xor = (ide->dma_space->endianness() == ENDIANNESS_LITTLE) ? 0 : 3;
|
||||
}
|
||||
|
||||
/* get and copy the geometry */
|
||||
if (ide->drive[0].disk != NULL)
|
||||
{
|
||||
hdinfo = hard_disk_get_info(ide->drive[0].disk);
|
||||
if (hdinfo->sectorbytes == IDE_DISK_SECTOR_SIZE)
|
||||
{
|
||||
ide->drive[0].num_cylinders = hdinfo->cylinders;
|
||||
ide->drive[0].num_sectors = hdinfo->sectors;
|
||||
ide->drive[0].num_heads = hdinfo->heads;
|
||||
if (PRINTF_IDE_COMMANDS) mame_printf_debug("CHS: %d %d %d\n", ide->drive[0].num_cylinders, ide->drive[0].num_heads, ide->drive[0].num_sectors);
|
||||
}
|
||||
|
||||
/* build the features page */
|
||||
ide_build_features(ide,0);
|
||||
}
|
||||
if (ide->drive[1].disk != NULL)
|
||||
{
|
||||
hdinfo = hard_disk_get_info(ide->drive[1].disk);
|
||||
if (hdinfo->sectorbytes == IDE_DISK_SECTOR_SIZE)
|
||||
{
|
||||
ide->drive[1].num_cylinders = hdinfo->cylinders;
|
||||
ide->drive[1].num_sectors = hdinfo->sectors;
|
||||
ide->drive[1].num_heads = hdinfo->heads;
|
||||
if (PRINTF_IDE_COMMANDS) mame_printf_debug("CHS: %d %d %d\n", ide->drive[1].num_cylinders, ide->drive[1].num_heads, ide->drive[1].num_sectors);
|
||||
}
|
||||
|
||||
/* build the features page */
|
||||
ide_build_features(ide,1);
|
||||
}
|
||||
if (config->hardware != NULL) {
|
||||
ide->hardware = (ide_hardware *)config->hardware;
|
||||
ide->hardware->get_info(ide->device, ide->drive[0].features, ide->drive[0].num_cylinders, ide->drive[0].num_sectors, ide->drive[0].num_heads);
|
||||
ide_generate_features (ide,0);
|
||||
}
|
||||
|
||||
/* create a timer for timing status */
|
||||
ide->last_status_timer = device->machine().scheduler().timer_alloc(FUNC_NULL);
|
||||
ide->reset_timer = device->machine().scheduler().timer_alloc(FUNC(reset_callback), (void *)device);
|
||||
@ -1986,27 +1914,6 @@ static DEVICE_START( ide_controller )
|
||||
device->save_item(NAME(ide->gnetreadlock));
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------
|
||||
device exit callback
|
||||
-------------------------------------------------*/
|
||||
|
||||
static DEVICE_STOP( ide_controller )
|
||||
{
|
||||
ide_state *ide = get_safe_token(device);
|
||||
if (!ide->drive[0].is_image_device) {
|
||||
/* close the hard disk */
|
||||
if (ide->drive[0].disk != NULL)
|
||||
hard_disk_close(ide->drive[0].disk);
|
||||
}
|
||||
if (!ide->drive[1].is_image_device) {
|
||||
/* close the hard disk */
|
||||
if (ide->drive[1].disk != NULL)
|
||||
hard_disk_close(ide->drive[1].disk);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------
|
||||
device reset callback
|
||||
-------------------------------------------------*/
|
||||
@ -2014,78 +1921,9 @@ static DEVICE_STOP( ide_controller )
|
||||
static DEVICE_RESET( ide_controller )
|
||||
{
|
||||
ide_state *ide = get_safe_token(device);
|
||||
const ide_config *config = (const ide_config *)downcast<const legacy_device_base *>(device)->inline_config();
|
||||
|
||||
ide->cur_drive = 0;
|
||||
LOG(("IDE controller reset performed\n"));
|
||||
if (config->master) {
|
||||
astring hardtag_master;
|
||||
device->siblingtag(hardtag_master, config->master);
|
||||
if (!ide->drive[0].disk)
|
||||
{
|
||||
ide->drive[0].handle = device->machine().device<harddisk_image_device>(hardtag_master.cstr())->get_chd_file(); // should be config->master
|
||||
|
||||
if (ide->drive[0].handle)
|
||||
{
|
||||
ide->drive[0].disk = device->machine().device<harddisk_image_device>(hardtag_master.cstr())->get_hard_disk_file(); // should be config->master
|
||||
ide->drive[0].is_image_device = true;
|
||||
|
||||
if (ide->drive[0].disk != NULL)
|
||||
{
|
||||
const hard_disk_info *hdinfo;
|
||||
|
||||
hdinfo = hard_disk_get_info(ide->drive[0].disk);
|
||||
if (hdinfo->sectorbytes == IDE_DISK_SECTOR_SIZE)
|
||||
{
|
||||
ide->drive[0].num_cylinders = hdinfo->cylinders;
|
||||
ide->drive[0].num_sectors = hdinfo->sectors;
|
||||
ide->drive[0].num_heads = hdinfo->heads;
|
||||
if (PRINTF_IDE_COMMANDS) printf("CHS: %d %d %d\n", ide->drive[0].num_cylinders, ide->drive[0].num_heads, ide->drive[0].num_sectors);
|
||||
}
|
||||
|
||||
/* build the features page */
|
||||
ide_build_features(ide,0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (config->slave) {
|
||||
astring hardtag_slave;
|
||||
device->siblingtag(hardtag_slave, config->slave);
|
||||
if (!ide->drive[1].disk)
|
||||
{
|
||||
ide->drive[1].handle = device->machine().device<harddisk_image_device>(hardtag_slave.cstr())->get_chd_file(); // should be config->master
|
||||
|
||||
if (ide->drive[1].handle)
|
||||
{
|
||||
ide->drive[1].disk = device->machine().device<harddisk_image_device>(hardtag_slave.cstr())->get_hard_disk_file(); // should be config->master
|
||||
ide->drive[1].is_image_device = true;
|
||||
|
||||
if (ide->drive[1].disk != NULL)
|
||||
{
|
||||
const hard_disk_info *hdinfo;
|
||||
|
||||
hdinfo = hard_disk_get_info(ide->drive[1].disk);
|
||||
if (hdinfo->sectorbytes == IDE_DISK_SECTOR_SIZE)
|
||||
{
|
||||
ide->drive[1].num_cylinders = hdinfo->cylinders;
|
||||
ide->drive[1].num_sectors = hdinfo->sectors;
|
||||
ide->drive[1].num_heads = hdinfo->heads;
|
||||
if (PRINTF_IDE_COMMANDS) printf("CHS: %d %d %d\n", ide->drive[1].num_cylinders, ide->drive[1].num_heads, ide->drive[1].num_sectors);
|
||||
}
|
||||
|
||||
/* build the features page */
|
||||
ide_build_features(ide,1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (ide->hardware != NULL) {
|
||||
ide->hardware->get_info(ide->device, ide->drive[0].features, ide->drive[0].num_cylinders, ide->drive[0].num_sectors, ide->drive[0].num_heads);
|
||||
ide_generate_features (ide,0);
|
||||
}
|
||||
|
||||
LOG(("IDE controller reset performed\n"));
|
||||
/* reset the drive state */
|
||||
ide->cur_drive = 0;
|
||||
ide->status = IDE_STATUS_DRIVE_READY | IDE_STATUS_SEEK_COMPLETE;
|
||||
ide->error = IDE_ERROR_DEFAULT;
|
||||
ide->buffer_offset = 0;
|
||||
@ -2095,6 +1933,13 @@ static DEVICE_RESET( ide_controller )
|
||||
clear_interrupt(ide);
|
||||
}
|
||||
|
||||
SLOT_INTERFACE_START(ide_image_devices)
|
||||
SLOT_INTERFACE("hdd", IDE_HARDDISK_IMAGE)
|
||||
SLOT_INTERFACE_END
|
||||
|
||||
SLOT_INTERFACE_START(ide_devices)
|
||||
SLOT_INTERFACE("hdd", IDE_HARDDISK)
|
||||
SLOT_INTERFACE_END
|
||||
|
||||
/*-------------------------------------------------
|
||||
device get info callback
|
||||
@ -2110,7 +1955,6 @@ DEVICE_GET_INFO( ide_controller )
|
||||
|
||||
/* --- the following bits of info are returned as pointers to data or functions --- */
|
||||
case DEVINFO_FCT_START: info->start = DEVICE_START_NAME(ide_controller); break;
|
||||
case DEVINFO_FCT_STOP: info->stop = DEVICE_STOP_NAME(ide_controller); break;
|
||||
case DEVINFO_FCT_RESET: info->reset = DEVICE_RESET_NAME(ide_controller);break;
|
||||
|
||||
/* --- the following bits of info are returned as NULL-terminated strings --- */
|
||||
@ -2124,3 +1968,191 @@ DEVICE_GET_INFO( ide_controller )
|
||||
|
||||
|
||||
DEFINE_LEGACY_DEVICE(IDE_CONTROLLER, ide_controller);
|
||||
|
||||
//**************************************************************************
|
||||
// IDE SLOT DEVICE
|
||||
//**************************************************************************
|
||||
|
||||
// device type definition
|
||||
const device_type IDE_SLOT = &device_creator<ide_slot_device>;
|
||||
|
||||
//-------------------------------------------------
|
||||
// ide_slot_device - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
ide_slot_device::ide_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, IDE_SLOT, "IDE Connector", tag, owner, clock),
|
||||
device_slot_interface(mconfig, *this),
|
||||
m_dev(NULL)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_config_complete - perform any
|
||||
// operations now that the configuration is
|
||||
// complete
|
||||
//-------------------------------------------------
|
||||
|
||||
void ide_slot_device::device_config_complete()
|
||||
{
|
||||
m_dev = dynamic_cast<ide_device_interface *>(get_card_device());
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_start - device-specific startup
|
||||
//-------------------------------------------------
|
||||
|
||||
void ide_slot_device::device_start()
|
||||
{
|
||||
}
|
||||
|
||||
//**************************************************************************
|
||||
// IDE DEVICE INTERFACE
|
||||
//**************************************************************************
|
||||
|
||||
//-------------------------------------------------
|
||||
// ide_device_interface - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
ide_device_interface::ide_device_interface(const machine_config &mconfig, device_t &device)
|
||||
: device_slot_card_interface(mconfig, device)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
//**************************************************************************
|
||||
// IDE HARD DISK DEVICE
|
||||
//**************************************************************************
|
||||
|
||||
// device type definition
|
||||
const device_type IDE_HARDDISK = &device_creator<ide_hdd_device>;
|
||||
|
||||
//-------------------------------------------------
|
||||
// ide_hdd_device - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
ide_hdd_device::ide_hdd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, IDE_HARDDISK, "IDE Hard Disk", tag, owner, clock),
|
||||
ide_device_interface( mconfig, *this )
|
||||
{
|
||||
}
|
||||
|
||||
ide_hdd_device::ide_hdd_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
|
||||
device_t(mconfig, type, name, tag, owner, clock),
|
||||
ide_device_interface(mconfig, *this)
|
||||
{
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_start - device-specific startup
|
||||
//-------------------------------------------------
|
||||
|
||||
void ide_hdd_device::device_start()
|
||||
{
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_reset - device-specific reset
|
||||
//-------------------------------------------------
|
||||
|
||||
void ide_hdd_device::device_reset()
|
||||
{
|
||||
m_handle = get_disk_handle(machine(), owner()->tag());
|
||||
m_disk = hard_disk_open(m_handle);
|
||||
|
||||
if (m_disk != NULL)
|
||||
{
|
||||
const hard_disk_info *hdinfo = hard_disk_get_info(m_disk);
|
||||
if (hdinfo->sectorbytes == IDE_DISK_SECTOR_SIZE)
|
||||
{
|
||||
m_num_cylinders = hdinfo->cylinders;
|
||||
m_num_sectors = hdinfo->sectors;
|
||||
m_num_heads = hdinfo->heads;
|
||||
if (PRINTF_IDE_COMMANDS) mame_printf_debug("CHS: %d %d %d\n", m_num_cylinders, m_num_heads, m_num_sectors);
|
||||
mame_printf_debug("CHS: %d %d %d\n", m_num_cylinders, m_num_heads, m_num_sectors);
|
||||
}
|
||||
// build the features page
|
||||
if (chd_get_metadata (m_handle, HARD_DISK_IDENT_METADATA_TAG, 0, m_features, IDE_DISK_SECTOR_SIZE, 0, 0, 0) != CHDERR_NONE)
|
||||
ide_build_features();
|
||||
}
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
// read device key
|
||||
//-------------------------------------------------
|
||||
|
||||
void ide_hdd_device::read_key(UINT8 key[])
|
||||
{
|
||||
chd_get_metadata(m_handle, HARD_DISK_KEY_METADATA_TAG, 0, key, 5, 0, 0, 0);
|
||||
}
|
||||
|
||||
//**************************************************************************
|
||||
// IDE HARD DISK IMAGE DEVICE
|
||||
//**************************************************************************
|
||||
|
||||
// device type definition
|
||||
const device_type IDE_HARDDISK_IMAGE = &device_creator<ide_hdd_image_device>;
|
||||
|
||||
//-------------------------------------------------
|
||||
// ide_hdd_image_device - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
ide_hdd_image_device::ide_hdd_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: ide_hdd_device(mconfig, IDE_HARDDISK_IMAGE, "IDE Hard Disk Image", tag, owner, clock)
|
||||
{
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_start - device-specific startup
|
||||
//-------------------------------------------------
|
||||
|
||||
void ide_hdd_image_device::device_start()
|
||||
{
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_reset - device-specific reset
|
||||
//-------------------------------------------------
|
||||
|
||||
void ide_hdd_image_device::device_reset()
|
||||
{
|
||||
m_handle = subdevice<harddisk_image_device>("harddisk")->get_chd_file(); // should be config->master
|
||||
|
||||
if (m_handle)
|
||||
{
|
||||
m_disk = subdevice<harddisk_image_device>("harddisk")->get_hard_disk_file(); // should be config->master
|
||||
|
||||
if (m_disk != NULL)
|
||||
{
|
||||
const hard_disk_info *hdinfo;
|
||||
|
||||
hdinfo = hard_disk_get_info(m_disk);
|
||||
if (hdinfo->sectorbytes == IDE_DISK_SECTOR_SIZE)
|
||||
{
|
||||
m_num_cylinders = hdinfo->cylinders;
|
||||
m_num_sectors = hdinfo->sectors;
|
||||
m_num_heads = hdinfo->heads;
|
||||
if (PRINTF_IDE_COMMANDS) printf("CHS: %d %d %d\n", m_num_cylinders, m_num_heads, m_num_sectors);
|
||||
}
|
||||
// build the features page
|
||||
if (chd_get_metadata (m_handle, HARD_DISK_IDENT_METADATA_TAG, 0, m_features, IDE_DISK_SECTOR_SIZE, 0, 0, 0) != CHDERR_NONE)
|
||||
ide_build_features();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
// machine_config_additions - device-specific
|
||||
// machine configurations
|
||||
//-------------------------------------------------
|
||||
static MACHINE_CONFIG_FRAGMENT( hdd_image )
|
||||
MCFG_HARDDISK_ADD( "harddisk" )
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
machine_config_constructor ide_hdd_image_device::device_mconfig_additions() const
|
||||
{
|
||||
return MACHINE_CONFIG_NAME( hdd_image );
|
||||
}
|
||||
|
||||
|
@ -17,19 +17,116 @@
|
||||
#include "devlegcy.h"
|
||||
|
||||
#include "harddisk.h"
|
||||
#include "imagedev/harddriv.h"
|
||||
|
||||
#define IDE_DISK_SECTOR_SIZE 512
|
||||
|
||||
/***************************************************************************
|
||||
TYPE DEFINITIONS
|
||||
***************************************************************************/
|
||||
typedef struct _ide_hardware ide_hardware;
|
||||
struct _ide_hardware
|
||||
// ======================> ide_device_interface
|
||||
|
||||
class ide_device_interface : public device_slot_card_interface
|
||||
{
|
||||
void (*get_info)(device_t *device, UINT8 *buffer, UINT16 &cylinders, UINT8 §ors, UINT8 &heads);
|
||||
int (*read_sector)(device_t *device, UINT32 lba, void *buffer);
|
||||
int (*write_sector)(device_t *device, UINT32 lba, const void *buffer);
|
||||
public:
|
||||
ide_device_interface(const machine_config &mconfig, device_t &device);
|
||||
public:
|
||||
virtual int read_sector(UINT32 lba, void *buffer) = 0;
|
||||
virtual int write_sector(UINT32 lba, const void *buffer) = 0;
|
||||
|
||||
UINT8 *get_features() { return m_features;}
|
||||
|
||||
UINT16 get_cylinders() { return m_num_cylinders; }
|
||||
UINT16 get_sectors() { return m_num_sectors; }
|
||||
UINT16 get_heads() { return m_num_heads; }
|
||||
void set_geometry(UINT8 sectors, UINT8 heads) { m_num_sectors= sectors; m_num_heads=heads; }
|
||||
virtual bool is_ready() { return true; }
|
||||
virtual void read_key(UINT8 key[]) { }
|
||||
protected:
|
||||
UINT8 m_features[IDE_DISK_SECTOR_SIZE];
|
||||
UINT16 m_num_cylinders;
|
||||
UINT8 m_num_sectors;
|
||||
UINT8 m_num_heads;
|
||||
};
|
||||
|
||||
// ======================> ide_slot_device
|
||||
|
||||
class ide_slot_device : public device_t,
|
||||
public device_slot_interface
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
ide_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
|
||||
int read_sector(UINT32 lba, void *buffer) { return (m_dev) ? m_dev->read_sector(lba,buffer) : 0; }
|
||||
int write_sector(UINT32 lba, const void *buffer) { return (m_dev) ? m_dev->write_sector(lba,buffer) : 0; }
|
||||
UINT8 *get_features() { return (m_dev) ? m_dev->get_features() : NULL;}
|
||||
|
||||
UINT16 get_cylinders() { return (m_dev) ? m_dev->get_cylinders() : 0; }
|
||||
UINT16 get_sectors() { return (m_dev) ? m_dev->get_sectors() : 0; }
|
||||
UINT16 get_heads() { return (m_dev) ? m_dev->get_heads() : 0; }
|
||||
void set_geometry(UINT8 sectors, UINT8 heads) { if (m_dev) m_dev->set_geometry(sectors,heads); }
|
||||
bool is_ready() { return (m_dev) ? m_dev->is_ready() : false; }
|
||||
void read_key(UINT8 key[]) { if (m_dev) m_dev->read_key(key); }
|
||||
protected:
|
||||
// device-level overrides
|
||||
virtual void device_start();
|
||||
virtual void device_config_complete();
|
||||
private:
|
||||
ide_device_interface *m_dev;
|
||||
};
|
||||
|
||||
// device type definition
|
||||
extern const device_type IDE_SLOT;
|
||||
|
||||
// ======================> ide_hdd_device
|
||||
|
||||
class ide_hdd_device : public device_t,
|
||||
public ide_device_interface
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
ide_hdd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
ide_hdd_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
|
||||
|
||||
virtual int read_sector(UINT32 lba, void *buffer) { return hard_disk_read(m_disk, lba, buffer); }
|
||||
virtual int write_sector(UINT32 lba, const void *buffer) { return hard_disk_write(m_disk, lba, buffer); }
|
||||
virtual void read_key(UINT8 key[]);
|
||||
protected:
|
||||
// device-level overrides
|
||||
virtual void device_start();
|
||||
virtual void device_reset();
|
||||
|
||||
void ide_build_features();
|
||||
virtual bool is_ready() { return (m_disk != NULL); }
|
||||
protected:
|
||||
chd_file *m_handle;
|
||||
hard_disk_file *m_disk;
|
||||
};
|
||||
// device type definition
|
||||
extern const device_type IDE_HARDDISK;
|
||||
|
||||
// ======================> ide_hdd_image_device
|
||||
|
||||
class ide_hdd_image_device : public ide_hdd_device
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
ide_hdd_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
protected:
|
||||
// device-level overrides
|
||||
virtual void device_start();
|
||||
virtual void device_reset();
|
||||
// optional information overrides
|
||||
virtual machine_config_constructor device_mconfig_additions() const;
|
||||
};
|
||||
// device type definition
|
||||
extern const device_type IDE_HARDDISK_IMAGE;
|
||||
|
||||
/***************************************************************************
|
||||
TYPE DEFINITIONS
|
||||
***************************************************************************/
|
||||
|
||||
typedef struct _ide_config ide_config;
|
||||
struct _ide_config
|
||||
{
|
||||
@ -38,30 +135,30 @@ struct _ide_config
|
||||
const char *slave; /* name of slave region (defaults to NULL) */
|
||||
const char *bmcpu; /* name of bus master CPU */
|
||||
UINT32 bmspace; /* address space of bus master transfer */
|
||||
const ide_hardware *hardware; /* connected to hardware that is not an hard disk */
|
||||
};
|
||||
|
||||
|
||||
SLOT_INTERFACE_EXTERN(ide_devices);
|
||||
SLOT_INTERFACE_EXTERN(ide_image_devices);
|
||||
|
||||
/***************************************************************************
|
||||
DEVICE CONFIGURATION MACROS
|
||||
***************************************************************************/
|
||||
|
||||
#define MCFG_IDE_CONTROLLER_ADD(_tag, _callback) \
|
||||
#define MCFG_IDE_CONTROLLER_ADD(_tag, _callback, _slotintf, _master, _slave) \
|
||||
MCFG_DEVICE_ADD(_tag, IDE_CONTROLLER, 0) \
|
||||
MCFG_DEVICE_CONFIG_DATAPTR(ide_config, interrupt, _callback)
|
||||
MCFG_DEVICE_CONFIG_DATAPTR(ide_config, interrupt, _callback) \
|
||||
MCFG_IDE_SLOT_ADD("drive_0", _slotintf, _master, NULL) \
|
||||
MCFG_IDE_SLOT_ADD("drive_1", _slotintf, _slave, NULL) \
|
||||
|
||||
#define MCFG_IDE_CONTROLLER_REGIONS(_master, _slave) \
|
||||
MCFG_DEVICE_CONFIG_DATAPTR(ide_config, master, _master) \
|
||||
MCFG_DEVICE_CONFIG_DATAPTR(ide_config, slave, _slave)
|
||||
|
||||
#define MCFG_IDE_BUS_MASTER_SPACE(_cpu, _space) \
|
||||
#define MCFG_IDE_BUS_MASTER_SPACE(_tag, _cpu, _space) \
|
||||
MCFG_DEVICE_MODIFY(_tag) \
|
||||
MCFG_DEVICE_CONFIG_DATAPTR(ide_config, bmcpu, _cpu) \
|
||||
MCFG_DEVICE_CONFIG_DATA32(ide_config, bmspace, AS_##_space)
|
||||
|
||||
#define MCFG_IDE_CONNECTED_TO(_hardware) \
|
||||
MCFG_DEVICE_CONFIG_DATAPTR(ide_config, hardware, _hardware) \
|
||||
|
||||
#define MCFG_IDE_SLOT_ADD(_tag, _slot_intf, _def_slot, _def_inp) \
|
||||
MCFG_DEVICE_ADD(_tag, IDE_SLOT, 0) \
|
||||
MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_slot, _def_inp) \
|
||||
|
||||
/***************************************************************************
|
||||
FUNCTION PROTOTYPES
|
||||
|
@ -920,7 +920,7 @@ static MACHINE_CONFIG_START( calchase, calchase_state )
|
||||
MCFG_I8237_ADD( "dma8237_2", XTAL_14_31818MHz/3, dma8237_2_config )
|
||||
MCFG_PIC8259_ADD( "pic8259_1", calchase_pic8259_1_config )
|
||||
MCFG_PIC8259_ADD( "pic8259_2", calchase_pic8259_2_config )
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt)
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt, ide_devices, "hdd", NULL)
|
||||
|
||||
MCFG_MC146818_ADD( "rtc", MC146818_STANDARD )
|
||||
MCFG_PCI_BUS_ADD("pcibus", 0)
|
||||
@ -985,7 +985,7 @@ ROM_START( calchase )
|
||||
ROM_REGION( 0x800, "nvram", 0 )
|
||||
ROM_LOAD( "ds1220y_nv.bin", 0x000, 0x800, CRC(7912c070) SHA1(b4c55c7ca76bcd8dad1c4b50297233349ae02ed3) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE_READONLY( "calchase", 0,SHA1(6ae51a9b3f31cf4166322328a98c0235b0874eb3) )
|
||||
ROM_END
|
||||
|
||||
|
@ -822,33 +822,77 @@ static void ide_interrupt(device_t *device, int state)
|
||||
pic8259_ir6_w(chihiro_devices.pic8259_2, state); // IRQ 14
|
||||
}
|
||||
|
||||
void get_info(device_t *device, UINT8 *buffer, UINT16 &cylinders, UINT8 §ors, UINT8 &heads)
|
||||
// ======================> ide_baseboard_device
|
||||
|
||||
class ide_baseboard_device : public ide_hdd_device
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
ide_baseboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
|
||||
virtual int read_sector(UINT32 lba, void *buffer);
|
||||
virtual int write_sector(UINT32 lba, const void *buffer);
|
||||
virtual bool is_ready() { return true; }
|
||||
virtual void read_key(UINT8 key[]) { }
|
||||
protected:
|
||||
// device-level overrides
|
||||
virtual void device_start();
|
||||
virtual void device_reset();
|
||||
};
|
||||
|
||||
//**************************************************************************
|
||||
// IDE HARD DISK IMAGE DEVICE
|
||||
//**************************************************************************
|
||||
|
||||
// device type definition
|
||||
const device_type IDE_BASEBOARD = &device_creator<ide_baseboard_device>;
|
||||
|
||||
//-------------------------------------------------
|
||||
// ide_baseboard_device - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
ide_baseboard_device::ide_baseboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: ide_hdd_device(mconfig, IDE_BASEBOARD, "IDE Baseboard", tag, owner, clock)
|
||||
{
|
||||
cylinders=65535;
|
||||
sectors=255;
|
||||
heads=255;
|
||||
}
|
||||
|
||||
int read_sector(device_t *device, UINT32 lba, void *buffer)
|
||||
//-------------------------------------------------
|
||||
// device_start - device-specific startup
|
||||
//-------------------------------------------------
|
||||
|
||||
void ide_baseboard_device::device_start()
|
||||
{
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_reset - device-specific reset
|
||||
//-------------------------------------------------
|
||||
|
||||
void ide_baseboard_device::device_reset()
|
||||
{
|
||||
m_num_cylinders=65535;
|
||||
m_num_sectors=255;
|
||||
m_num_heads=255;
|
||||
ide_build_features();
|
||||
}
|
||||
|
||||
int ide_baseboard_device::read_sector(UINT32 lba, void *buffer)
|
||||
{
|
||||
int off;
|
||||
UINT8 *data;
|
||||
|
||||
logerror("baseboard: read sector lba %08x\n",lba);
|
||||
off=(lba&0x7ff)*512;
|
||||
data=device->machine().region("others")->base();
|
||||
data=machine().region("others")->base();
|
||||
memcpy(buffer,data+off,512);
|
||||
return 1;
|
||||
}
|
||||
|
||||
int write_sector(device_t *device, UINT32 lba, const void *buffer)
|
||||
int ide_baseboard_device::write_sector(UINT32 lba, const void *buffer)
|
||||
{
|
||||
logerror("baseboard: write sector lba %08x\n",lba);
|
||||
return 1;
|
||||
}
|
||||
|
||||
ide_hardware baseboard={get_info,read_sector,write_sector};
|
||||
|
||||
/*
|
||||
* PIC & PIT
|
||||
*/
|
||||
@ -1107,6 +1151,10 @@ static MACHINE_START( chihiro )
|
||||
debug_console_register_command(machine,"chihiro",CMDFLAG_NONE,0,1,4,chihiro_debug_commands);
|
||||
}
|
||||
|
||||
static SLOT_INTERFACE_START(ide_baseboard)
|
||||
SLOT_INTERFACE("bb", IDE_BASEBOARD)
|
||||
SLOT_INTERFACE_END
|
||||
|
||||
static MACHINE_CONFIG_START( chihiro_base, driver_device )
|
||||
|
||||
/* basic machine hardware */
|
||||
@ -1128,9 +1176,8 @@ static MACHINE_CONFIG_START( chihiro_base, driver_device )
|
||||
MCFG_PIC8259_ADD( "pic8259_1", chihiro_pic8259_1_config )
|
||||
MCFG_PIC8259_ADD( "pic8259_2", chihiro_pic8259_2_config )
|
||||
MCFG_PIT8254_ADD( "pit8254", chihiro_pit8254_config )
|
||||
MCFG_IDE_CONTROLLER_ADD( "ide", ide_interrupt )
|
||||
MCFG_IDE_BUS_MASTER_SPACE( "maincpu", PROGRAM )
|
||||
MCFG_IDE_CONNECTED_TO( &baseboard )
|
||||
MCFG_IDE_CONTROLLER_ADD( "ide", ide_interrupt , ide_baseboard, "bb", NULL)
|
||||
MCFG_IDE_BUS_MASTER_SPACE( "ide", "maincpu", PROGRAM )
|
||||
|
||||
/* video hardware */
|
||||
MCFG_SCREEN_ADD("screen", RASTER)
|
||||
|
@ -2021,7 +2021,7 @@ static MACHINE_CONFIG_START( cobra, cobra_state )
|
||||
MCFG_PCI_BUS_ADD("pcibus", 0)
|
||||
MCFG_PCI_BUS_DEVICE(0, NULL, mpc106_pci_r, mpc106_pci_w)
|
||||
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt)
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt, ide_devices, "hdd", NULL)
|
||||
|
||||
/* video hardware */
|
||||
MCFG_VIDEO_START(cobra)
|
||||
@ -2142,7 +2142,7 @@ ROM_START(bujutsu)
|
||||
ROM_REGION64_BE(0x80000, "user3", 0) /* Gfx CPU program (PPC604) */
|
||||
ROM_LOAD("645a03.u17", 0x00000, 0x80000, CRC(086abd0b) SHA1(24df439eb9828ed3842f43f5f4014a3fc746e1e3) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE_READONLY( "645c04", 0, SHA1(c0aabe69f6eb4e4cf748d606ae50674297af6a04) )
|
||||
ROM_END
|
||||
|
||||
@ -2156,7 +2156,7 @@ ROM_START(racjamdx)
|
||||
ROM_REGION64_BE(0x80000, "user3", 0) /* Gfx CPU program (PPC604) */
|
||||
ROM_LOAD( "676a03.u17", 0x000000, 0x080000, CRC(66f77cbd) SHA1(f1c7e50dbbfcc27ac011cbbb8ad2fd376c2e9056) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE_READONLY( "676a04", 0, SHA1(8e89d3e5099e871b99fccba13adaa3cf8a6b71f0) )
|
||||
ROM_END
|
||||
|
||||
|
@ -1488,7 +1488,7 @@ static MACHINE_CONFIG_START( djmain, djmain_state )
|
||||
MCFG_MACHINE_START(djmain)
|
||||
MCFG_MACHINE_RESET(djmain)
|
||||
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt)
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt, ide_devices, "hdd", NULL)
|
||||
|
||||
/* video hardware */
|
||||
MCFG_SCREEN_ADD("screen", RASTER)
|
||||
@ -1544,7 +1544,7 @@ ROM_START( bm1stmix )
|
||||
ROM_LOAD16_BYTE( "753jaa09.25d", 0x100000, 0x80000, CRC(B50C3DBB) SHA1(6022ea249aad0793b2279699e68087b4bc9b4ef1) )
|
||||
ROM_LOAD16_BYTE( "753jaa10.27d", 0x100001, 0x80000, CRC(391F4BFD) SHA1(791c9889ea3ce639bbfb87934a1cad9aa3c9ccde) )
|
||||
|
||||
DISK_REGION( "ide" ) /* IDE HARD DRIVE */
|
||||
DISK_REGION( "drive_0" ) /* IDE HARD DRIVE */
|
||||
DISK_IMAGE( "753jaa11", 0, SHA1(2e70cf31a853322f29f99b6f292c187a2cf33015) ) /* ver 1.00 JA */
|
||||
// There is an alternate image
|
||||
//DISK_IMAGE( "753jaa11", 0, MD5(260c9b72f4a03055e3abad61c6225324) SHA1(2cc3e149744516bf2353a2b47d33bc9d2072b6c4) ) /* ver 1.00 JA */
|
||||
@ -1569,7 +1569,7 @@ ROM_START( bm2ndmix )
|
||||
ROM_LOAD16_BYTE( "853jaa09.25d", 0x100000, 0x80000, CRC(8584E21E) SHA1(3d1ca6de00f9ac07bbe7cd1e67093cca7bf484bb) )
|
||||
ROM_LOAD16_BYTE( "853jaa10.27d", 0x100001, 0x80000, CRC(9CB92D98) SHA1(6ace4492ba0b5a8f94a9e7b4f7126b31c6254637) )
|
||||
|
||||
DISK_REGION( "ide" ) /* IDE HARD DRIVE */
|
||||
DISK_REGION( "drive_0" ) /* IDE HARD DRIVE */
|
||||
DISK_IMAGE( "853jaa11", 0, SHA1(9683ff8462491252b6eb2e5b3aa6496884c01506) ) /* ver 1.10 JA */
|
||||
|
||||
ROM_REGION( 0x1000000, "shared", ROMREGION_ERASE00 ) /* K054539 RAM */
|
||||
@ -1592,7 +1592,7 @@ ROM_START( bm2ndmxa )
|
||||
ROM_LOAD16_BYTE( "853jaa09.25d", 0x100000, 0x80000, CRC(8584E21E) SHA1(3d1ca6de00f9ac07bbe7cd1e67093cca7bf484bb) )
|
||||
ROM_LOAD16_BYTE( "853jaa10.27d", 0x100001, 0x80000, CRC(9CB92D98) SHA1(6ace4492ba0b5a8f94a9e7b4f7126b31c6254637) )
|
||||
|
||||
DISK_REGION( "ide" ) /* IDE HARD DRIVE */
|
||||
DISK_REGION( "drive_0" ) /* IDE HARD DRIVE */
|
||||
DISK_IMAGE( "853jaa11", 0, SHA1(9683ff8462491252b6eb2e5b3aa6496884c01506) ) /* ver 1.10 JA */
|
||||
|
||||
ROM_REGION( 0x1000000, "shared", ROMREGION_ERASE00 ) /* K054539 RAM */
|
||||
@ -1615,7 +1615,7 @@ ROM_START( bm3rdmix )
|
||||
ROM_LOAD16_BYTE( "825jaa09.25d", 0x100000, 0x80000, CRC(D3E65669) SHA1(51abf452da60794fa47c05d11c08b203dde563ff) )
|
||||
ROM_LOAD16_BYTE( "825jaa10.27d", 0x100001, 0x80000, CRC(44D184F3) SHA1(28f3ec33a29164a6531f53db071272ccf015f66d) )
|
||||
|
||||
DISK_REGION( "ide" ) /* IDE HARD DRIVE */
|
||||
DISK_REGION( "drive_0" ) /* IDE HARD DRIVE */
|
||||
DISK_IMAGE( "825jaa11", 0, SHA1(048919977232bbce046406a7212586cf39b77cf2) ) /* ver 1.00 JA */
|
||||
|
||||
ROM_REGION( 0x1000000, "shared", ROMREGION_ERASE00 ) /* K054539 RAM */
|
||||
@ -1638,7 +1638,7 @@ ROM_START( bmcompmx )
|
||||
ROM_LOAD16_BYTE( "858jaa09.25d", 0x100000, 0x80000, CRC(0B4AD843) SHA1(c01e15053dd1975dc68db9f4e6da47062d8f9b54) )
|
||||
ROM_LOAD16_BYTE( "858jaa10.27d", 0x100001, 0x80000, CRC(00B124EE) SHA1(435d28a327c2707833a8ddfe841104df65ffa3f8) )
|
||||
|
||||
DISK_REGION( "ide" ) /* IDE HARD DRIVE */
|
||||
DISK_REGION( "drive_0" ) /* IDE HARD DRIVE */
|
||||
DISK_IMAGE( "858jaa11", 0, SHA1(bc590472046336a1000f29901fe3fd7b29747e47) ) /* ver 1.00 JA */
|
||||
|
||||
ROM_REGION( 0x1000000, "shared", ROMREGION_ERASE00 ) /* K054539 RAM */
|
||||
@ -1661,7 +1661,7 @@ ROM_START( hmcompmx )
|
||||
ROM_LOAD16_BYTE( "858uaa09.25d", 0x100000, 0x80000, CRC(99519886) SHA1(664f6bd953201a6e2fc123cb8b3facf72766107d) )
|
||||
ROM_LOAD16_BYTE( "858uaa10.27d", 0x100001, 0x80000, CRC(20AA7145) SHA1(eeff87eb9a9864985d751f45e843ee6e73db8cfd) )
|
||||
|
||||
DISK_REGION( "ide" ) /* IDE HARD DRIVE */
|
||||
DISK_REGION( "drive_0" ) /* IDE HARD DRIVE */
|
||||
DISK_IMAGE( "858jaa11", 0, SHA1(bc590472046336a1000f29901fe3fd7b29747e47) ) /* ver 1.00 JA */
|
||||
|
||||
ROM_REGION( 0x1000000, "shared", ROMREGION_ERASE00 ) /* K054539 RAM */
|
||||
@ -1684,7 +1684,7 @@ ROM_START( bm4thmix )
|
||||
ROM_LOAD16_BYTE( "847jab09.25d", 0x100000, 0x80000, CRC(2E4AC9FE) SHA1(bbd4c6e0c82fc0be88f851e901e5853b6bcf775f) )
|
||||
ROM_LOAD16_BYTE( "847jab10.27d", 0x100001, 0x80000, CRC(C78516F5) SHA1(1adf5805c808dc55de14a9a9b20c3d2cf7bf414d) )
|
||||
|
||||
DISK_REGION( "ide" ) /* IDE HARD DRIVE */
|
||||
DISK_REGION( "drive_0" ) /* IDE HARD DRIVE */
|
||||
DISK_IMAGE( "847jaa11", 0, SHA1(8cad631531b5616d6a4b0a99d988f4b525932dc7) ) /* ver 1.00 JA */
|
||||
|
||||
ROM_REGION( 0x1000000, "shared", ROMREGION_ERASE00 ) /* K054539 RAM */
|
||||
@ -1707,7 +1707,7 @@ ROM_START( bm5thmix )
|
||||
ROM_LOAD16_BYTE( "981jaa09.25d", 0x100000, 0x80000, CRC(D96D4E1C) SHA1(379aa4e82cd06490645f54dab1724c827108735d) )
|
||||
ROM_LOAD16_BYTE( "981jaa10.27d", 0x100001, 0x80000, CRC(06BEE0E4) SHA1(6eea8614cb01e7079393b9976b6fd6a52c14e3c0) )
|
||||
|
||||
DISK_REGION( "ide" ) /* IDE HARD DRIVE */
|
||||
DISK_REGION( "drive_0" ) /* IDE HARD DRIVE */
|
||||
DISK_IMAGE( "981jaa11", 0, SHA1(dc7353fa436d96ae174a58d3a38ca9928a63727f) ) /* ver 1.00 JA */
|
||||
|
||||
ROM_REGION( 0x1000000, "shared", ROMREGION_ERASE00 ) /* K054539 RAM */
|
||||
@ -1730,7 +1730,7 @@ ROM_START( bmclubmx )
|
||||
ROM_LOAD16_BYTE( "993jaa09.25d", 0x100000, 0x80000, CRC(E1A172DD) SHA1(42e850c055dc5bfccf6b6989f9f3a945fce13006) )
|
||||
ROM_LOAD16_BYTE( "993jaa10.27d", 0x100001, 0x80000, CRC(9D113A2D) SHA1(eee94a5f7015c49aa630b8df0c8e9d137d238811) )
|
||||
|
||||
DISK_REGION( "ide" ) /* IDE HARD DRIVE */
|
||||
DISK_REGION( "drive_0" ) /* IDE HARD DRIVE */
|
||||
DISK_IMAGE( "993hdda01", 0, SHA1(f5d4df1dd27ce6ee2d0897852342691d55b63bfb) )
|
||||
// this image has not been verified
|
||||
// DISK_IMAGE( "993jaa11", 0, MD5(e26eb62d7cf3357585f5066da6063143) ) /* ver 1.00 JA */
|
||||
@ -1755,7 +1755,7 @@ ROM_START( bmcompm2 )
|
||||
ROM_LOAD16_BYTE( "988jaa09.25d", 0x100000, 0x80000, CRC(8F3BAE7F) SHA1(c4dac14f6c7f75a2b19153e05bfe969e9eb4aca0) )
|
||||
ROM_LOAD16_BYTE( "988jaa10.27d", 0x100001, 0x80000, CRC(248BF0EE) SHA1(d89205ed57e771401bfc2c24043d200ecbd0b7fc) )
|
||||
|
||||
DISK_REGION( "ide" ) /* IDE HARD DRIVE */
|
||||
DISK_REGION( "drive_0" ) /* IDE HARD DRIVE */
|
||||
DISK_IMAGE( "988jaa11", 0, SHA1(12a0988c631dd3331e54b8417a9659402afe168b) ) /* ver 1.00 JA */
|
||||
|
||||
ROM_REGION( 0x1000000, "shared", ROMREGION_ERASE00 ) /* K054539 RAM */
|
||||
@ -1778,7 +1778,7 @@ ROM_START( hmcompm2 )
|
||||
ROM_LOAD16_BYTE( "988uaa09.25d", 0x100000, 0x80000, CRC(C2AD6810) SHA1(706388c5acf6718297fd90e10f8a673463a0893b) )
|
||||
ROM_LOAD16_BYTE( "988uaa10.27d", 0x100001, 0x80000, CRC(DAB0F3C9) SHA1(6fd899e753e32f60262c54ab8553c686c7ef28de) )
|
||||
|
||||
DISK_REGION( "ide" ) /* IDE HARD DRIVE */
|
||||
DISK_REGION( "drive_0" ) /* IDE HARD DRIVE */
|
||||
DISK_IMAGE( "988jaa11", 0, SHA1(12a0988c631dd3331e54b8417a9659402afe168b) ) /* ver 1.00 JA */
|
||||
|
||||
ROM_REGION( 0x1000000, "shared", ROMREGION_ERASE00 ) /* K054539 RAM */
|
||||
@ -1801,7 +1801,7 @@ ROM_START( bmdct )
|
||||
ROM_LOAD16_BYTE( "995jaa09.25d", 0x100000, 0x80000, CRC(1510A9C2) SHA1(daf1ab26b7b6b0fe0123b3fbee68684157c2ce51) )
|
||||
ROM_LOAD16_BYTE( "995jaa10.27d", 0x100001, 0x80000, CRC(F9E4E9F2) SHA1(fe91badf6b0baeea690d75399d8c66fabcf6d352) )
|
||||
|
||||
DISK_REGION( "ide" ) /* IDE HARD DRIVE */
|
||||
DISK_REGION( "drive_0" ) /* IDE HARD DRIVE */
|
||||
DISK_IMAGE( "995jaa11", 0, SHA1(8fec3c4d97f64f48b9867230a97cda4347496075) ) /* ver 1.00 JA */
|
||||
|
||||
ROM_REGION( 0x1000000, "shared", ROMREGION_ERASE00 ) /* K054539 RAM */
|
||||
@ -1824,7 +1824,7 @@ ROM_START( bmcorerm )
|
||||
ROM_LOAD16_BYTE( "a05jaa09.25d", 0x100000, 0x80000, CRC(1504D62C) SHA1(3c31c6625bc089235a96fe21021239f2d0c0f6e1) )
|
||||
ROM_LOAD16_BYTE( "a05jaa10.27d", 0x100001, 0x80000, CRC(99D75C36) SHA1(9599420863aa0a9492d3caeb03f8ac5fd4c3cdb2) )
|
||||
|
||||
DISK_REGION( "ide" ) /* IDE HARD DRIVE */
|
||||
DISK_REGION( "drive_0" ) /* IDE HARD DRIVE */
|
||||
DISK_IMAGE( "a05jaa11", 0, SHA1(7ebc41cc3e9a0a922b49201b34e29201522eb726) ) /* ver 1.00 JA */
|
||||
|
||||
ROM_REGION( 0x1000000, "shared", ROMREGION_ERASE00 ) /* K054539 RAM */
|
||||
@ -1847,7 +1847,7 @@ ROM_START( bm6thmix )
|
||||
ROM_LOAD16_BYTE( "a21jaa09.25d", 0x100000, 0x80000, CRC(181E6F70) SHA1(82c7ca3068ace9a66b614ead4b90ea6fe4017d51) )
|
||||
ROM_LOAD16_BYTE( "a21jaa10.27d", 0x100001, 0x80000, CRC(1AC33595) SHA1(3173bb8dc420487c4d427e779444a98aad37d51e) )
|
||||
|
||||
DISK_REGION( "ide" ) /* IDE HARD DRIVE */
|
||||
DISK_REGION( "drive_0" ) /* IDE HARD DRIVE */
|
||||
DISK_IMAGE( "a21jaa11", 0, SHA1(ed0a07212a360e75934fc22c56265842cf0829b6) ) /* ver 1.00 JA */
|
||||
|
||||
ROM_REGION( 0x1000000, "shared", ROMREGION_ERASE00 ) /* K054539 RAM */
|
||||
@ -1870,7 +1870,7 @@ ROM_START( bm7thmix )
|
||||
ROM_LOAD16_BYTE( "b07jaa09.25d", 0x100000, 0x80000, CRC(2530CEDB) SHA1(94b38b4fe198b26a2ff4d99d2cb28a0f935fe940) )
|
||||
ROM_LOAD16_BYTE( "b07jaa10.27d", 0x100001, 0x80000, CRC(6B75BA9C) SHA1(aee922adc3bc0296ae6e08e461b20a9e5e72a2df) )
|
||||
|
||||
DISK_REGION( "ide" ) /* IDE HARD DRIVE */
|
||||
DISK_REGION( "drive_0" ) /* IDE HARD DRIVE */
|
||||
DISK_IMAGE( "b07jaa11", 0, SHA1(e4925494f0a801abb4d3aa6524c379eb445d8dff) ) /* ver 1.00 JA */
|
||||
// this image has not been verified
|
||||
//DISK_IMAGE( "b07jab11", 0, MD5(0e9440787ca69567792095085e2a3619) ) /* ver 1.00 JA */
|
||||
@ -1895,7 +1895,7 @@ ROM_START( bmfinal )
|
||||
ROM_LOAD16_BYTE( "c01jaa09.25d", 0x100000, 0x80000, CRC(45CF93B1) SHA1(7c5082bcd1fe15761a0a965e25dda121904ff1bd) )
|
||||
ROM_LOAD16_BYTE( "c01jaa10.27d", 0x100001, 0x80000, CRC(C9927749) SHA1(c2644877bda483e241381265e723ea8ab8357761) )
|
||||
|
||||
DISK_REGION( "ide" ) /* IDE HARD DRIVE */
|
||||
DISK_REGION( "drive_0" ) /* IDE HARD DRIVE */
|
||||
DISK_IMAGE( "c01jaa11", 0, SHA1(0a53c4412a72a886f5fb98c12c529d056d625244) ) /* ver 1.00 JA */
|
||||
// this image has not been verified
|
||||
//DISK_IMAGE( "c01jaa11", 0, MD5(8bb7e6b6bc63cac8a4f2997307c25748) ) /* ver 1.00 JA */
|
||||
@ -1920,7 +1920,7 @@ ROM_START( popn2 )
|
||||
ROM_LOAD16_BYTE( "831jaa09.25d", 0x100000, 0x80000, CRC(AE7838D2) SHA1(4f8a6793065c6c1eb08161f65b1d6246987bf47e) )
|
||||
ROM_LOAD16_BYTE( "831jaa10.27d", 0x100001, 0x80000, CRC(85173CB6) SHA1(bc4d86bf4654a9a0a58e624f77090854950f3993) )
|
||||
|
||||
DISK_REGION( "ide" ) /* IDE HARD DRIVE */
|
||||
DISK_REGION( "drive_0" ) /* IDE HARD DRIVE */
|
||||
DISK_IMAGE( "831jhdda01", 0, SHA1(ef62d5fcc1a36235fc932e6ecef71dc845d1d72d) )
|
||||
|
||||
ROM_REGION( 0x1000000, "shared", ROMREGION_ERASE00 ) /* K054539 RAM */
|
||||
@ -1945,7 +1945,7 @@ ROM_START( bm3rdmxb )
|
||||
ROM_LOAD16_BYTE( "825jab09.25d", 0x100000, 0x80000, CRC(1407BA5D) SHA1(e7a0d190326589f4d94e83cb7c85dd4e91f4efad) )
|
||||
ROM_LOAD16_BYTE( "825jab10.27d", 0x100001, 0x80000, CRC(2AFD0A10) SHA1(1b8b868ac5720bb1b376f4eb8952efb190257bda) )
|
||||
|
||||
DISK_REGION( "ide" ) /* IDE HARD DRIVE */
|
||||
DISK_REGION( "drive_0" ) /* IDE HARD DRIVE */
|
||||
DISK_IMAGE( "825jab11", 0, MD5(f4360da10a932ba90e93469df7426d1d) SHA1(1) ) /* ver 1.01 JA */
|
||||
|
||||
ROM_REGION( 0x1000000, "shared", ROMREGION_ERASE00 ) /* K054539 RAM */
|
||||
@ -1968,7 +1968,7 @@ ROM_START( popn1 )
|
||||
ROM_LOAD16_BYTE( "803jaa09.25d", 0x100000, 0x80000, CRC(204D53EB) SHA1(349de147246b0ed08fb7e473d63e073b71fa30c9) )
|
||||
ROM_LOAD16_BYTE( "803jaa10.27d", 0x100001, 0x80000, CRC(535A61A3) SHA1(b24c57601a7e3a349473af69114703133a46806d) )
|
||||
|
||||
DISK_REGION( "ide" ) /* IDE HARD DRIVE */
|
||||
DISK_REGION( "drive_0" ) /* IDE HARD DRIVE */
|
||||
DISK_IMAGE( "803jaa11", 0, MD5(54a8ac87857d81740621c622e27736d7) ) /* ver 1.00 JA */
|
||||
|
||||
ROM_REGION( 0x1000000, "shared", ROMREGION_ERASE00 ) /* K054539 RAM */
|
||||
@ -1991,7 +1991,7 @@ ROM_START( popn3 )
|
||||
ROM_LOAD16_BYTE( "980jaa09.25d", 0x100000, 0x80000, CRC(1CB4D84E) SHA1(9669585c6a2825aeae6e47dd03458624b4c44721) )
|
||||
ROM_LOAD16_BYTE( "980jaa10.27d", 0x100001, 0x80000, CRC(7776B87E) SHA1(662b7cd7cb4fb8f8bab240ef543bf9a593e23a03) )
|
||||
|
||||
DISK_REGION( "ide" ) /* IDE HARD DRIVE */
|
||||
DISK_REGION( "drive_0" ) /* IDE HARD DRIVE */
|
||||
DISK_IMAGE( "980jaa11", 0, MD5(6e5cc17a6bc75cac0256192cc700215c) ) /* ver 1.00 JA */
|
||||
|
||||
ROM_REGION( 0x1000000, "shared", ROMREGION_ERASE00 ) /* K054539 RAM */
|
||||
@ -2014,7 +2014,7 @@ ROM_START( popnstex )
|
||||
ROM_LOAD16_BYTE( "970jba09.25d", 0x100000, 0x80000, CRC(5D2BDA52) SHA1(d03c135ac04437b54e4d267ae168fe7ebb9e5b65) )
|
||||
ROM_LOAD16_BYTE( "970jba10.27d", 0x100001, 0x80000, CRC(EDC4A245) SHA1(30bbd7bf0299a064119c535abb9be69d725aa130) )
|
||||
|
||||
DISK_REGION( "ide" ) /* IDE HARD DRIVE */
|
||||
DISK_REGION( "drive_0" ) /* IDE HARD DRIVE */
|
||||
DISK_IMAGE( "970jba11", 0, MD5(1616905838fdb2b521d53499c6c2a7a4) ) /* ver 1.00 JA */
|
||||
|
||||
ROM_REGION( 0x1000000, "shared", ROMREGION_ERASE00 ) /* K054539 RAM */
|
||||
|
@ -1165,7 +1165,7 @@ static MACHINE_CONFIG_START( funkball, funkball_state )
|
||||
MCFG_PCI_BUS_DEVICE(7, "voodoo_0", voodoo_0_pci_r, voodoo_0_pci_w)
|
||||
MCFG_PCI_BUS_DEVICE(18, NULL, cx5510_pci_r, cx5510_pci_w)
|
||||
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt)
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt, ide_devices, "hdd", NULL)
|
||||
|
||||
/* video hardware */
|
||||
MCFG_3DFX_VOODOO_1_ADD("voodoo_0", STD_VOODOO_1_CLOCK, 2, "screen")
|
||||
|
@ -711,7 +711,7 @@ static MACHINE_CONFIG_START( gamecstl, gamecstl_state )
|
||||
|
||||
MCFG_PIC8259_ADD( "pic8259_2", gamecstl_pic8259_2_config )
|
||||
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt)
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt, ide_devices, "hdd", NULL)
|
||||
|
||||
MCFG_MC146818_ADD( "rtc", MC146818_STANDARD )
|
||||
|
||||
@ -786,7 +786,7 @@ ROM_START(gamecstl)
|
||||
ROM_REGION(0x08100, "gfx1", 0)
|
||||
ROM_LOAD("cga.chr", 0x00000, 0x01000, BAD_DUMP CRC(42009069) SHA1(ed08559ce2d7f97f68b9f540bddad5b6295294dd))
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "gamecstl", 0, SHA1(b431af3c42c48ba07972d77a3d24e60ee1e4359e) )
|
||||
ROM_END
|
||||
|
||||
@ -797,7 +797,7 @@ ROM_START(gamecst2)
|
||||
ROM_REGION(0x08100, "gfx1", 0)
|
||||
ROM_LOAD("cga.chr", 0x00000, 0x01000, BAD_DUMP CRC(42009069) SHA1(ed08559ce2d7f97f68b9f540bddad5b6295294dd))
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "gamecst2", 0, SHA1(14e1b311cb474801c7bdda3164a0c220fb102159) )
|
||||
ROM_END
|
||||
|
||||
|
@ -1684,7 +1684,7 @@ static MACHINE_CONFIG_START( cojagr3k, cojag_state )
|
||||
MCFG_MACHINE_RESET(cojag)
|
||||
MCFG_NVRAM_ADD_1FILL("nvram")
|
||||
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", jaguar_external_int)
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", jaguar_external_int, ide_devices, "hdd", NULL)
|
||||
|
||||
MCFG_TIMER_ADD("serial_timer", jaguar_serial_callback)
|
||||
|
||||
@ -1967,7 +1967,7 @@ ROM_START( area51t ) /* 68020 based, Area51 Time Warner License Date: Nov 15, 1
|
||||
ROM_LOAD32_BYTE( "136105-0001c.3m", 0x00002, 0x80000, CRC(6f135a81) SHA1(2d9660f240b14481e8c46bc98713e9dc12035063) )
|
||||
ROM_LOAD32_BYTE( "136105-0000c.3k", 0x00003, 0x80000, CRC(94f50c14) SHA1(a54552e3ac5c4f481ba4f2fc7d724534576fe76c) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "area51t", 0, SHA1(d2865cc7b1bb08a4393a72013a90e18d8a8f9860) )
|
||||
ROM_END
|
||||
|
||||
@ -1978,7 +1978,7 @@ ROM_START( area51a ) /* 68020 based, Area51 Atari Games License Date: Oct 25, 1
|
||||
ROM_LOAD32_BYTE( "136105-0001a.3m", 0x00002, 0x80000, CRC(c6d8322b) SHA1(90cf848a4195c51b505653cc2c74a3b9e3c851b8) )
|
||||
ROM_LOAD32_BYTE( "136105-0000a.3k", 0x00003, 0x80000, CRC(729eb1b7) SHA1(21864b4281b1ad17b2903e3aa294e4be74161e80) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "area51", 0, SHA1(3b303bc37e206a6d7339352c869f050d04186f11) )
|
||||
ROM_END
|
||||
|
||||
@ -1989,7 +1989,7 @@ ROM_START( area51 ) /* R3000 based, labeled as "Area51 2-C" Date: Nov 11 1996 *
|
||||
ROM_LOAD32_BYTE( "a51_2-c.lh", 0x00002, 0x80000, CRC(a6524f73) SHA1(ae377a6803a4f7d1bbcc111725af121a3e82317d) )
|
||||
ROM_LOAD32_BYTE( "a51_2-c.ll", 0x00003, 0x80000, CRC(471b15d2) SHA1(4b5f45ee140b03a6be61475cae1c2dbef0f07457) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "area51", 0, SHA1(3b303bc37e206a6d7339352c869f050d04186f11) )
|
||||
ROM_END
|
||||
|
||||
@ -2000,7 +2000,7 @@ ROM_START( maxforce ) /* R3000 based, labeled as "Maximum Force 5-23-97 v1.05" *
|
||||
ROM_LOAD32_BYTE( "maxf_105.lh", 0x00002, 0x80000, CRC(84d49423) SHA1(88d9a6724f1118f2bbef5dfa27accc2b65c5ba1d) )
|
||||
ROM_LOAD32_BYTE( "maxf_105.ll", 0x00003, 0x80000, CRC(16d0768d) SHA1(665a6d7602a7f2f5b1f332b0220b1533143d56b1) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "maxforce", 0, SHA1(d54e7a8f3866bb2a1d28ae637e7c92ffa4dbe558) )
|
||||
ROM_END
|
||||
|
||||
@ -2012,7 +2012,7 @@ ROM_START( maxf_102 ) /* R3000 based, labeled as "Maximum Force 2-27-97 v1.02" *
|
||||
ROM_LOAD32_BYTE( "maxf_102.lh", 0x00002, 0x80000, CRC(459ffba5) SHA1(adb40db6904e84c17f32ac6518fd2e994da7883f) )
|
||||
ROM_LOAD32_BYTE( "maxf_102.ll", 0x00003, 0x80000, CRC(e491be7f) SHA1(cbe281c099a4aa87067752d68cf2bb0ab3900531) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "maxforce", 0, SHA1(d54e7a8f3866bb2a1d28ae637e7c92ffa4dbe558) )
|
||||
ROM_END
|
||||
|
||||
@ -2027,7 +2027,7 @@ ROM_START( maxf_ng ) /* R3000 based, stickers say 'NO GORE' */
|
||||
ROM_REGION( 0x800, "user2", 0 ) /* 28C16 style eeprom, currently loaded but not used */
|
||||
ROM_LOAD( "28c16.17z", 0x000, 0x800, CRC(1cdd9088) SHA1(4f01f02ff95f31ced87a3cdd7f171afd92551266) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "maxforce", 0, SHA1(d54e7a8f3866bb2a1d28ae637e7c92ffa4dbe558) )
|
||||
ROM_END
|
||||
|
||||
@ -2039,7 +2039,7 @@ ROM_START( area51mx ) /* 68020 based, Labeled as "68020 MAX/A51 KIT 2.0" Date: A
|
||||
ROM_LOAD32_BYTE( "area51mx.3m", 0x00002, 0x80000, CRC(d800ac17) SHA1(3d515c8608d8101ee9227116175b3c3f1fe22e0c) )
|
||||
ROM_LOAD32_BYTE( "area51mx.3k", 0x00003, 0x80000, CRC(0e78f308) SHA1(adc4c8e441eb8fe525d0a6220eb3a2a8791a7289) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "area51mx", 0, SHA1(5ff10f4e87094d4449eabf3de7549564ca568c7e) )
|
||||
ROM_END
|
||||
|
||||
@ -2051,7 +2051,7 @@ ROM_START( a51mxr3k ) /* R3000 based, Labeled as "R3K Max/A51 Kit Ver 1.0" */
|
||||
ROM_LOAD32_BYTE( "a51mxr3k.lh", 0x00002, 0x80000, CRC(d7d94dac) SHA1(2060a74715f36a0d7f5dd0855eda48ad1f20f095) )
|
||||
ROM_LOAD32_BYTE( "a51mxr3k.ll", 0x00003, 0x80000, CRC(ece9e5ae) SHA1(7e44402726f5afa6d1670b27aa43ad13d21c4ad9) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "area51mx", 0, SHA1(5ff10f4e87094d4449eabf3de7549564ca568c7e) )
|
||||
ROM_END
|
||||
|
||||
@ -2063,7 +2063,7 @@ ROM_START( vcircle )
|
||||
ROM_LOAD32_BYTE( "lh", 0x00002, 0x80000, CRC(be4b2ef6) SHA1(4332b3036e9cb12685e914d085d9a63aa856f0be) )
|
||||
ROM_LOAD32_BYTE( "ll", 0x00003, 0x80000, CRC(ba8753eb) SHA1(0322e0e37d814a38d08ba191b1a97fb1a55fe461) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "vcircle", 0, SHA1(bfa79c4cacdc9c2cd6362f62a23056b3e35a2034) )
|
||||
ROM_END
|
||||
|
||||
|
@ -660,7 +660,7 @@ static MACHINE_CONFIG_START( kinst, kinst_state )
|
||||
MCFG_MACHINE_START(kinst)
|
||||
MCFG_MACHINE_RESET(kinst)
|
||||
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt)
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt, ide_devices, "hdd", NULL)
|
||||
|
||||
/* video hardware */
|
||||
MCFG_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
|
||||
@ -701,7 +701,7 @@ ROM_START( kinst )
|
||||
ROM_LOAD16_BYTE( "u35-l1", 0xc00000, 0x80000, CRC(0aaef4fc) SHA1(48c4c954ac9db648f28ad64f9845e19ec432eec3) )
|
||||
ROM_LOAD16_BYTE( "u36-l1", 0xe00000, 0x80000, CRC(0577bb60) SHA1(cc78070cc41701e9a91fde5cfbdc7e1e83354854) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "kinst", 0, SHA1(81d833236e994528d1482979261401b198d1ca53) )
|
||||
ROM_END
|
||||
|
||||
@ -720,7 +720,7 @@ ROM_START( kinst14 )
|
||||
ROM_LOAD16_BYTE( "u35-l1", 0xc00000, 0x80000, CRC(0aaef4fc) SHA1(48c4c954ac9db648f28ad64f9845e19ec432eec3) )
|
||||
ROM_LOAD16_BYTE( "u36-l1", 0xe00000, 0x80000, CRC(0577bb60) SHA1(cc78070cc41701e9a91fde5cfbdc7e1e83354854) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "kinst", 0, SHA1(81d833236e994528d1482979261401b198d1ca53) )
|
||||
ROM_END
|
||||
|
||||
@ -739,7 +739,7 @@ ROM_START( kinst13 )
|
||||
ROM_LOAD16_BYTE( "u35-l1", 0xc00000, 0x80000, CRC(0aaef4fc) SHA1(48c4c954ac9db648f28ad64f9845e19ec432eec3) )
|
||||
ROM_LOAD16_BYTE( "u36-l1", 0xe00000, 0x80000, CRC(0577bb60) SHA1(cc78070cc41701e9a91fde5cfbdc7e1e83354854) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "kinst", 0, SHA1(81d833236e994528d1482979261401b198d1ca53) )
|
||||
ROM_END
|
||||
|
||||
@ -758,7 +758,7 @@ ROM_START( kinstp )
|
||||
ROM_LOAD16_BYTE( "u35-l1", 0xc00000, 0x80000, CRC(0aaef4fc) SHA1(48c4c954ac9db648f28ad64f9845e19ec432eec3) )
|
||||
ROM_LOAD16_BYTE( "u36-l1", 0xe00000, 0x80000, CRC(0577bb60) SHA1(cc78070cc41701e9a91fde5cfbdc7e1e83354854) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "kinst", 0, SHA1(81d833236e994528d1482979261401b198d1ca53) )
|
||||
ROM_END
|
||||
|
||||
@ -777,7 +777,7 @@ ROM_START( kinst2 )
|
||||
ROM_LOAD16_BYTE( "ki2_l1.u35", 0xc00000, 0x80000, CRC(7245ce69) SHA1(24a3ff009c8a7f5a0bfcb198b8dcb5df365770d3) )
|
||||
ROM_LOAD16_BYTE( "ki2_l1.u36", 0xe00000, 0x80000, CRC(8920acbb) SHA1(0fca72c40067034939b984b4bf32972a5a6c26af) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "kinst2", 0, SHA1(e7c9291b4648eae0012ea0cc230731ed4987d1d5) )
|
||||
ROM_END
|
||||
|
||||
@ -796,7 +796,7 @@ ROM_START( kinst2k4 )
|
||||
ROM_LOAD16_BYTE( "ki2_l1.u35", 0xc00000, 0x80000, CRC(7245ce69) SHA1(24a3ff009c8a7f5a0bfcb198b8dcb5df365770d3) )
|
||||
ROM_LOAD16_BYTE( "ki2_l1.u36", 0xe00000, 0x80000, CRC(8920acbb) SHA1(0fca72c40067034939b984b4bf32972a5a6c26af) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "kinst2", 0, SHA1(e7c9291b4648eae0012ea0cc230731ed4987d1d5) )
|
||||
ROM_END
|
||||
|
||||
@ -815,7 +815,7 @@ ROM_START( kinst213 )
|
||||
ROM_LOAD16_BYTE( "ki2_l1.u35", 0xc00000, 0x80000, CRC(7245ce69) SHA1(24a3ff009c8a7f5a0bfcb198b8dcb5df365770d3) )
|
||||
ROM_LOAD16_BYTE( "ki2_l1.u36", 0xe00000, 0x80000, CRC(8920acbb) SHA1(0fca72c40067034939b984b4bf32972a5a6c26af) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "kinst2", 0, SHA1(e7c9291b4648eae0012ea0cc230731ed4987d1d5) )
|
||||
ROM_END
|
||||
|
||||
@ -834,7 +834,7 @@ ROM_START( kinst2k3 )
|
||||
ROM_LOAD16_BYTE( "ki2_l1.u35", 0xc00000, 0x80000, CRC(7245ce69) SHA1(24a3ff009c8a7f5a0bfcb198b8dcb5df365770d3) )
|
||||
ROM_LOAD16_BYTE( "ki2_l1.u36", 0xe00000, 0x80000, CRC(8920acbb) SHA1(0fca72c40067034939b984b4bf32972a5a6c26af) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "kinst2", 0, SHA1(e7c9291b4648eae0012ea0cc230731ed4987d1d5) )
|
||||
ROM_END
|
||||
|
||||
@ -853,7 +853,7 @@ ROM_START( kinst211 )
|
||||
ROM_LOAD16_BYTE( "ki2_l1.u35", 0xc00000, 0x80000, CRC(7245ce69) SHA1(24a3ff009c8a7f5a0bfcb198b8dcb5df365770d3) )
|
||||
ROM_LOAD16_BYTE( "ki2_l1.u36", 0xe00000, 0x80000, CRC(8920acbb) SHA1(0fca72c40067034939b984b4bf32972a5a6c26af) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "kinst2", 0, SHA1(e7c9291b4648eae0012ea0cc230731ed4987d1d5) )
|
||||
ROM_END
|
||||
|
||||
@ -872,7 +872,7 @@ ROM_START( kinst210 )
|
||||
ROM_LOAD16_BYTE( "ki2_l1.u35", 0xc00000, 0x80000, CRC(7245ce69) SHA1(24a3ff009c8a7f5a0bfcb198b8dcb5df365770d3) )
|
||||
ROM_LOAD16_BYTE( "ki2_l1.u36", 0xe00000, 0x80000, CRC(8920acbb) SHA1(0fca72c40067034939b984b4bf32972a5a6c26af) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "kinst2", 0, SHA1(e7c9291b4648eae0012ea0cc230731ed4987d1d5) )
|
||||
ROM_END
|
||||
|
||||
|
@ -1147,7 +1147,7 @@ static MACHINE_CONFIG_START( mediagx, mediagx_state )
|
||||
|
||||
MCFG_PIC8259_ADD( "pic8259_slave", mediagx_pic8259_2_config )
|
||||
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt)
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt, ide_devices, "hdd", NULL)
|
||||
|
||||
MCFG_TIMER_ADD("sound_timer", sound_timer_callback)
|
||||
|
||||
@ -1326,7 +1326,7 @@ ROM_START( a51site4 )
|
||||
ROM_REGION(0x08100, "gfx1", 0)
|
||||
ROM_LOAD("cga.chr", 0x00000, 0x01000, CRC(42009069) SHA1(ed08559ce2d7f97f68b9f540bddad5b6295294dd))
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "a51site4", 0, SHA1(48496666d1613700ae9274f9a5361ea5bbaebea0) )
|
||||
ROM_END
|
||||
|
||||
|
@ -716,7 +716,7 @@ static MACHINE_CONFIG_START( midqslvr, midqslvr_state )
|
||||
MCFG_PCI_BUS_DEVICE( 0, NULL, intel82439tx_pci_r, intel82439tx_pci_w)
|
||||
MCFG_PCI_BUS_DEVICE(31, NULL, intel82371ab_pci_r, intel82371ab_pci_w)
|
||||
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt)
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt, ide_devices, "hdd", NULL)
|
||||
|
||||
/* video hardware */
|
||||
MCFG_FRAGMENT_ADD( pcvideo_vga )
|
||||
@ -731,7 +731,7 @@ ROM_START( offrthnd )
|
||||
// ROM_LOAD16_BYTE( "trident_tgui9680_bios.bin", 0x0000, 0x4000, BAD_DUMP CRC(1eebde64) SHA1(67896a854d43a575037613b3506aea6dae5d6a19) )
|
||||
// ROM_CONTINUE( 0x0001, 0x4000 )
|
||||
|
||||
DISK_REGION( "disk" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "offrthnd", 0, SHA1(d88f1c5b75361a1e310565a8a5a09c674a4a1a22) )
|
||||
ROM_END
|
||||
|
||||
@ -743,7 +743,7 @@ ROM_START( hydrthnd )
|
||||
// ROM_LOAD16_BYTE( "trident_tgui9680_bios.bin", 0x0000, 0x4000, BAD_DUMP CRC(1eebde64) SHA1(67896a854d43a575037613b3506aea6dae5d6a19) )
|
||||
// ROM_CONTINUE( 0x0001, 0x4000 )
|
||||
|
||||
DISK_REGION( "disk" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "hydro", 0, SHA1(d481d178782943c066b41764628a419cd55f676d) )
|
||||
ROM_END
|
||||
|
||||
@ -755,7 +755,7 @@ ROM_START( arctthnd )
|
||||
// ROM_LOAD16_BYTE( "trident_tgui9680_bios.bin", 0x0000, 0x4000, BAD_DUMP CRC(1eebde64) SHA1(67896a854d43a575037613b3506aea6dae5d6a19) )
|
||||
// ROM_CONTINUE( 0x0001, 0x4000 )
|
||||
|
||||
DISK_REGION( "disk" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "arctthnd", 0, SHA1(f4373e57c3f453ac09c735b5d8d99ff811416a23) )
|
||||
ROM_END
|
||||
|
||||
@ -768,7 +768,7 @@ ROM_START( arctthndult )
|
||||
// ROM_LOAD16_BYTE( "trident_tgui9680_bios.bin", 0x0000, 0x4000, BAD_DUMP CRC(1eebde64) SHA1(67896a854d43a575037613b3506aea6dae5d6a19) )
|
||||
// ROM_CONTINUE( 0x0001, 0x4000 )
|
||||
|
||||
DISK_REGION( "disk" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "uarctict", 0, SHA1(8557a1d7ae8dc41c879350cb1c228f4c27a0dd09) )
|
||||
ROM_END
|
||||
|
||||
|
@ -1057,7 +1057,7 @@ static MACHINE_CONFIG_DERIVED( midvplus, midvcommon )
|
||||
MCFG_DEVICE_REMOVE("nvram")
|
||||
MCFG_NVRAM_HANDLER(midway_serial_pic2)
|
||||
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", NULL)
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", NULL, ide_devices, "hdd", NULL)
|
||||
|
||||
/* sound hardware */
|
||||
MCFG_FRAGMENT_ADD(dcs2_audio_2115)
|
||||
@ -1618,7 +1618,7 @@ ROM_START( wargods ) /* Boot EPROM Version 1.0, Game Type: 452 (12/11/1995) */
|
||||
ROM_REGION32_LE( 0x1000000, "user1", 0 )
|
||||
ROM_LOAD( "u41.rom", 0x000000, 0x20000, CRC(398c54cc) SHA1(6c4b5d6ec5c844dcbf181f9d86a9196a088ed2db) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "wargods", 0, SHA1(141063f95867fdcc4b15c844e510696604a70c6a) )
|
||||
ROM_END
|
||||
|
||||
|
@ -684,7 +684,7 @@ static MACHINE_CONFIG_START( qdrmfgp, qdrmfgp_state )
|
||||
MCFG_MACHINE_RESET(qdrmfgp)
|
||||
MCFG_NVRAM_ADD_1FILL("nvram")
|
||||
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt)
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt, ide_devices, "hdd", NULL)
|
||||
|
||||
/* video hardware */
|
||||
MCFG_SCREEN_ADD("screen", RASTER)
|
||||
@ -721,7 +721,7 @@ static MACHINE_CONFIG_START( qdrmfgp2, qdrmfgp_state )
|
||||
MCFG_MACHINE_RESET(qdrmfgp)
|
||||
MCFG_NVRAM_ADD_1FILL("nvram")
|
||||
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", gp2_ide_interrupt)
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", gp2_ide_interrupt, ide_devices, "hdd", NULL)
|
||||
|
||||
/* video hardware */
|
||||
MCFG_SCREEN_ADD("screen", RASTER)
|
||||
@ -766,7 +766,7 @@ ROM_START( qdrmfgp )
|
||||
ROM_LOAD( "gq_460_a07.14h", 0x000000, 0x80000, CRC(67d8ea6b) SHA1(11af1b5a33de2a6e24823964d210bef193ecefe4) )
|
||||
ROM_LOAD( "gq_460_a06.12h", 0x080000, 0x80000, CRC(97ed5a77) SHA1(68600fd8d914451284cf181fb4bd5872860fb9ad) )
|
||||
|
||||
DISK_REGION( "ide" ) /* IDE HARD DRIVE */
|
||||
DISK_REGION( "drive_0" ) /* IDE HARD DRIVE */
|
||||
DISK_IMAGE( "gq460a08", 0, SHA1(2f142f986fa3c79d5c4102e800980d1706c35f75) )
|
||||
ROM_END
|
||||
|
||||
@ -783,7 +783,7 @@ ROM_START( qdrmfgp2 )
|
||||
ROM_LOAD( "ge_557_a07.19h", 0x000000, 0x80000, CRC(7491e0c8) SHA1(6459ab5e7af052ef7a1c4ce01cd844c0f4319f2e) )
|
||||
ROM_LOAD( "ge_557_a08.19k", 0x080000, 0x80000, CRC(3da2b20c) SHA1(fdc2cdc27f3299f541944a78ce36ed33a7926056) )
|
||||
|
||||
DISK_REGION( "ide" ) /* IDE HARD DRIVE */
|
||||
DISK_REGION( "drive_0" ) /* IDE HARD DRIVE */
|
||||
DISK_IMAGE( "ge557a09", 0, SHA1(1ef8093b542fe0bf8240a5fd64e5af3839b6a04c) )
|
||||
ROM_END
|
||||
|
||||
|
@ -701,7 +701,7 @@ static MACHINE_CONFIG_START( queen, queen_state )
|
||||
MCFG_PCI_BUS_DEVICE(0, NULL, intel82439tx_pci_r, intel82439tx_pci_w)
|
||||
MCFG_PCI_BUS_DEVICE(7, NULL, intel82371ab_pci_r, intel82371ab_pci_w)
|
||||
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt)
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt, ide_devices, "hdd", NULL)
|
||||
|
||||
/* video hardware */
|
||||
MCFG_FRAGMENT_ADD( pcvideo_vga )
|
||||
@ -718,7 +718,7 @@ ROM_START( queen )
|
||||
// ROM_LOAD16_BYTE( "trident_tgui9680_bios.bin", 0x0000, 0x4000, BAD_DUMP CRC(1eebde64) SHA1(67896a854d43a575037613b3506aea6dae5d6a19) )
|
||||
// ROM_CONTINUE( 0x0001, 0x4000 )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "pqiidediskonmodule", 0,SHA1(a56efcc711b1c5a2e63160b3088001a8c4fb56c2) )
|
||||
ROM_END
|
||||
|
||||
|
@ -565,7 +565,7 @@ static MACHINE_CONFIG_START( savquest, savquest_state )
|
||||
MCFG_PCI_BUS_DEVICE(0, NULL, intel82439tx_pci_r, intel82439tx_pci_w)
|
||||
MCFG_PCI_BUS_DEVICE(7, NULL, intel82371ab_pci_r, intel82371ab_pci_w)
|
||||
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt)
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt, ide_devices, "hdd", NULL)
|
||||
|
||||
/* video hardware */
|
||||
MCFG_FRAGMENT_ADD( pcvideo_vga )
|
||||
@ -579,7 +579,7 @@ ROM_START( savquest )
|
||||
ROM_LOAD16_BYTE( "trident_tgui9680_bios.bin", 0x0000, 0x4000, BAD_DUMP CRC(1eebde64) SHA1(67896a854d43a575037613b3506aea6dae5d6a19) )
|
||||
ROM_CONTINUE( 0x0001, 0x4000 )
|
||||
|
||||
DISK_REGION( "disk" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "savquest", 0, SHA1(b20cacf45e093b533c538bf4fc08f05f9475d640) )
|
||||
ROM_END
|
||||
|
||||
|
@ -2505,8 +2505,8 @@ static MACHINE_CONFIG_START( seattle_common, seattle_state )
|
||||
MCFG_MACHINE_RESET(seattle)
|
||||
MCFG_NVRAM_ADD_1FILL("nvram")
|
||||
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt)
|
||||
MCFG_IDE_BUS_MASTER_SPACE("maincpu", PROGRAM)
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt, ide_devices, "hdd", NULL)
|
||||
MCFG_IDE_BUS_MASTER_SPACE("ide", "maincpu", PROGRAM)
|
||||
|
||||
MCFG_3DFX_VOODOO_1_ADD("voodoo", STD_VOODOO_1_CLOCK, 2, "screen")
|
||||
MCFG_3DFX_VOODOO_CPU("maincpu")
|
||||
@ -2587,7 +2587,7 @@ ROM_START( wg3dh )
|
||||
ROM_REGION32_LE( 0x80000, "user1", 0 ) /* Boot Code Version L1.2 (10/8/96) */
|
||||
ROM_LOAD( "wg3dh_12.u32", 0x000000, 0x80000, CRC(15e4cea2) SHA1(72c0db7dc53ce645ba27a5311b5ce803ad39f131) )
|
||||
|
||||
DISK_REGION( "ide" ) /* Hard Drive Version 1.3 (Guts 10/15/96, Main 10/15/96) */
|
||||
DISK_REGION( "drive_0" ) /* Hard Drive Version 1.3 (Guts 10/15/96, Main 10/15/96) */
|
||||
DISK_IMAGE( "wg3dh", 0, SHA1(4fc6f25d7f043d9bcf8743aa8df1d9be3cbc375b) )
|
||||
|
||||
ROM_REGION16_LE( 0x10000, "dcs", 0 ) /* ADSP-2115 data Version L1.1 */
|
||||
@ -2599,7 +2599,7 @@ ROM_START( mace )
|
||||
ROM_REGION32_LE( 0x80000, "user1", 0 ) /* Boot Code Version 1.0ce 7/2/97 */
|
||||
ROM_LOAD( "mace10ce.u32", 0x000000, 0x80000, CRC(7a50b37e) SHA1(33788835f84a9443566c80bee9f20a1691490c6d) )
|
||||
|
||||
DISK_REGION( "ide" ) /* Hard Drive Version 1.0B 6/10/97 (Guts 7/2/97, Main 7/2/97) */
|
||||
DISK_REGION( "drive_0" ) /* Hard Drive Version 1.0B 6/10/97 (Guts 7/2/97, Main 7/2/97) */
|
||||
DISK_IMAGE( "mace", 0, SHA1(96ec8d3ff5dd894e21aa81403bcdbeba44bb97ea) )
|
||||
|
||||
ROM_REGION16_LE( 0x10000, "dcs", 0 ) /* ADSP-2115 data Version L1.1, Labeled as Version 1.0 */
|
||||
@ -2611,7 +2611,7 @@ ROM_START( macea )
|
||||
ROM_REGION32_LE( 0x80000, "user1", 0 ) /* Boot Code Version ??? 5/7/97 */
|
||||
ROM_LOAD( "maceboot.u32", 0x000000, 0x80000, CRC(effe3ebc) SHA1(7af3ca3580d6276ffa7ab8b4c57274e15ee6bcbb) )
|
||||
|
||||
DISK_REGION( "ide" ) /* Hard Drive Version 1.0a (Guts 6/9/97, Main 5/12/97) */
|
||||
DISK_REGION( "drive_0" ) /* Hard Drive Version 1.0a (Guts 6/9/97, Main 5/12/97) */
|
||||
DISK_IMAGE( "macea", 0, BAD_DUMP SHA1(9bd4a60627915d71932cab24f89c48ea21f4c1cb) )
|
||||
|
||||
ROM_REGION16_LE( 0x10000, "dcs", 0 ) /* ADSP-2115 data Version L1.1 */
|
||||
@ -2632,7 +2632,7 @@ ROM_START( sfrush )
|
||||
ROM_LOAD32_WORD( "sfrush.u53", 0x800000, 0x200000, CRC(71f8ddb0) SHA1(c24bef801f43bae68fda043c4356e8cf1298ca97) )
|
||||
ROM_LOAD32_WORD( "sfrush.u49", 0x800002, 0x200000, CRC(dfb0a54c) SHA1(ed34f9485f7a7e5bb73bf5c6428b27548e12db12) )
|
||||
|
||||
DISK_REGION( "ide" ) /* Hard Drive Version L1.06 */
|
||||
DISK_REGION( "drive_0" ) /* Hard Drive Version L1.06 */
|
||||
DISK_IMAGE( "sfrush", 0, SHA1(e2db0270a707fb2115207f988d5751081d6b4994) )
|
||||
ROM_END
|
||||
|
||||
@ -2650,7 +2650,7 @@ ROM_START( sfrushrk )
|
||||
ROM_LOAD32_WORD( "audio.u53", 0x800000, 0x200000, CRC(51c89a14) SHA1(6bc62bcda224040a4596d795132874828011a038) )
|
||||
ROM_LOAD32_WORD( "audio.u49", 0x800002, 0x200000, CRC(e6b684d3) SHA1(1f5bab7fae974cecc8756dd23e3c7aa2cf6e7dc7) )
|
||||
|
||||
DISK_REGION( "ide" ) /* Hard Drive Version 1.2 */
|
||||
DISK_REGION( "drive_0" ) /* Hard Drive Version 1.2 */
|
||||
DISK_IMAGE( "sfrushrk", 0, SHA1(e763f26aca67ebc17fe8b8df4fba91d492cf7837) )
|
||||
ROM_END
|
||||
|
||||
@ -2659,7 +2659,7 @@ ROM_START( calspeed )
|
||||
ROM_REGION32_LE( 0x80000, "user1", 0 ) /* Boot Code Version 1.2 (2/18/98) */
|
||||
ROM_LOAD( "caspd1_2.u32", 0x000000, 0x80000, CRC(0a235e4e) SHA1(b352f10fad786260b58bd344b5002b6ea7aaf76d) )
|
||||
|
||||
DISK_REGION( "ide" ) /* Release version 2.1a (4/17/98) (Guts 1.25 4/17/98, Main 4/17/98) */
|
||||
DISK_REGION( "drive_0" ) /* Release version 2.1a (4/17/98) (Guts 1.25 4/17/98, Main 4/17/98) */
|
||||
DISK_IMAGE( "calspeed", 0, SHA1(08d411c591d4b8bbdd6437ea80d01c4cec8516f8) )
|
||||
|
||||
ROM_REGION16_LE( 0x10000, "dcs", 0 ) /* ADSP-2115 data Version 1.02 */
|
||||
@ -2671,7 +2671,7 @@ ROM_START( calspeeda )
|
||||
ROM_REGION32_LE( 0x80000, "user1", 0 ) /* Boot Code Version 1.2 (2/18/98) */
|
||||
ROM_LOAD( "caspd1_2.u32", 0x000000, 0x80000, CRC(0a235e4e) SHA1(b352f10fad786260b58bd344b5002b6ea7aaf76d) )
|
||||
|
||||
DISK_REGION( "ide" ) /* Release version 1.0r7a (3/4/98) (Guts 3/3/98, Main 1/19/98) */
|
||||
DISK_REGION( "drive_0" ) /* Release version 1.0r7a (3/4/98) (Guts 3/3/98, Main 1/19/98) */
|
||||
DISK_IMAGE( "calspeda", 0, SHA1(6b1c3a7530195ef7309b06a651b01c8b3ece92c6) )
|
||||
|
||||
ROM_REGION16_LE( 0x10000, "dcs", 0 ) /* ADSP-2115 data Version 1.02 */
|
||||
@ -2683,7 +2683,7 @@ ROM_START( vaportrx )
|
||||
ROM_REGION32_LE( 0x80000, "user1", 0 )
|
||||
ROM_LOAD( "vtrxboot.bin", 0x000000, 0x80000, CRC(ee487a6c) SHA1(fb9efda85047cf615f24f7276a9af9fd542f3354) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "vaportrx", 0, SHA1(fe53ca7643d2ed2745086abb7f2243c69678cab1) )
|
||||
|
||||
ROM_REGION16_LE( 0x10000, "dcs", 0 ) /* ADSP-2115 data Version 1.02 */
|
||||
@ -2695,7 +2695,7 @@ ROM_START( vaportrxp )
|
||||
ROM_REGION32_LE( 0x80000, "user1", 0 )
|
||||
ROM_LOAD( "vtrxboot.bin", 0x000000, 0x80000, CRC(ee487a6c) SHA1(fb9efda85047cf615f24f7276a9af9fd542f3354) )
|
||||
|
||||
DISK_REGION( "ide" ) /* Guts: Apr 10 1998 11:03:14 Main: Apr 10 1998 11:27:44 */
|
||||
DISK_REGION( "drive_0" ) /* Guts: Apr 10 1998 11:03:14 Main: Apr 10 1998 11:27:44 */
|
||||
DISK_IMAGE( "vaportrp", 0, SHA1(6c86637c442ebd6994eee8c0ae0dce343c35dbe9) )
|
||||
|
||||
ROM_REGION16_LE( 0x10000, "dcs", 0 ) /* ADSP-2115 data Version 1.02 */
|
||||
@ -2710,7 +2710,7 @@ ROM_START( biofreak )
|
||||
ROM_REGION32_LE( 0x80000, "user1", 0 ) /* Seattle System Boot ROM Version 0.1i Apr 14 1997 14:52:53 */
|
||||
ROM_LOAD( "biofreak.u32", 0x000000, 0x80000, CRC(cefa00bb) SHA1(7e171610ede1e8a448fb8d175f9cb9e7d549de28) )
|
||||
|
||||
DISK_REGION( "ide" ) /* Build Date 12/11/97 */
|
||||
DISK_REGION( "drive_0" ) /* Build Date 12/11/97 */
|
||||
DISK_IMAGE( "biofreak", 0, SHA1(711241642f92ded8eaf20c418ea748989183fe10) )
|
||||
ROM_END
|
||||
|
||||
@ -2722,7 +2722,7 @@ ROM_START( blitz )
|
||||
ROM_REGION32_LE( 0x80000, "user1", 0 ) /* Boot Code Version 1.2 */
|
||||
ROM_LOAD( "blitz1_2.u32", 0x000000, 0x80000, CRC(38dbecf5) SHA1(7dd5a5b3baf83a7f8f877ff4cd3f5e8b5201b36f) )
|
||||
|
||||
DISK_REGION( "ide" ) /* Hard Drive Version 1.21 */
|
||||
DISK_REGION( "drive_0" ) /* Hard Drive Version 1.21 */
|
||||
DISK_IMAGE( "blitz", 0, SHA1(9131c7888e89b3c172780156ed3fe1fe46f78b0a) )
|
||||
ROM_END
|
||||
|
||||
@ -2734,7 +2734,7 @@ ROM_START( blitz11 )
|
||||
ROM_REGION32_LE( 0x80000, "user1", 0 ) /* Boot Code Version 1.1 */
|
||||
ROM_LOAD( "blitz1_1.u32", 0x000000, 0x80000, CRC(8163ce02) SHA1(89b432d8879052f6c5534ee49599f667f50a010f) )
|
||||
|
||||
DISK_REGION( "ide" ) /* Hard Drive Version 1.21 */
|
||||
DISK_REGION( "drive_0" ) /* Hard Drive Version 1.21 */
|
||||
DISK_IMAGE( "blitz", 0, SHA1(9131c7888e89b3c172780156ed3fe1fe46f78b0a) )
|
||||
ROM_END
|
||||
|
||||
@ -2746,7 +2746,7 @@ ROM_START( blitz99 )
|
||||
ROM_REGION32_LE( 0x80000, "user1", 0 ) /* Boot Code Version 1.0 */
|
||||
ROM_LOAD( "bltz9910.u32", 0x000000, 0x80000, CRC(777119b2) SHA1(40d255181c2f3a787919c339e83593fd506779a5) )
|
||||
|
||||
DISK_REGION( "ide" ) /* Hard Drive Version 1.30 */
|
||||
DISK_REGION( "drive_0" ) /* Hard Drive Version 1.30 */
|
||||
DISK_IMAGE( "blitz99", 0, SHA1(19877e26ffce81dd525031e9e2b4f83ff982e2d9) )
|
||||
ROM_END
|
||||
|
||||
@ -2758,7 +2758,7 @@ ROM_START( blitz2k )
|
||||
ROM_REGION32_LE( 0x80000, "user1", 0 ) /* Boot Code Version 1.4 */
|
||||
ROM_LOAD( "bltz2k14.u32", 0x000000, 0x80000, CRC(ac4f0051) SHA1(b8125c17370db7bfd9b783230b4ef3d5b22a2025) )
|
||||
|
||||
DISK_REGION( "ide" ) /* Hard Drive Version 1.5 */
|
||||
DISK_REGION( "drive_0" ) /* Hard Drive Version 1.5 */
|
||||
DISK_IMAGE( "blitz2k", 0, SHA1(e89b7fbd4b4a9854d47ae97493e0afffbd1f69e7) )
|
||||
ROM_END
|
||||
|
||||
@ -2770,7 +2770,7 @@ ROM_START( carnevil )
|
||||
ROM_REGION32_LE( 0x80000, "user1", 0 ) /* Boot Rom Version 1.9 */
|
||||
ROM_LOAD( "carnevil1_9.u32", 0x000000, 0x80000, CRC(82c07f2e) SHA1(fa51c58022ce251c53bad12fc6ffadb35adb8162) )
|
||||
|
||||
DISK_REGION( "ide" ) /* Hard Drive v1.0.3 Diagnostics v3.4 / Feb 1 1999 16:00:07 */
|
||||
DISK_REGION( "drive_0" ) /* Hard Drive v1.0.3 Diagnostics v3.4 / Feb 1 1999 16:00:07 */
|
||||
DISK_IMAGE( "carnevil", 0, SHA1(5cffb0de63ad36eb01c5951bab04d3f8a9e23e16) )
|
||||
ROM_END
|
||||
|
||||
@ -2782,7 +2782,7 @@ ROM_START( carnevil1 )
|
||||
ROM_REGION32_LE( 0x80000, "user1", 0 ) /* Boot Rom Version 1.9 */
|
||||
ROM_LOAD( "carnevil1_9.u32", 0x000000, 0x80000, CRC(82c07f2e) SHA1(fa51c58022ce251c53bad12fc6ffadb35adb8162) )
|
||||
|
||||
DISK_REGION( "ide" ) /* Hard Drive v1.0.1 Diagnostics v3.3 / Oct 20 1998 11:44:41 */
|
||||
DISK_REGION( "drive_0" ) /* Hard Drive v1.0.1 Diagnostics v3.3 / Oct 20 1998 11:44:41 */
|
||||
DISK_IMAGE( "carnevi1", 0, BAD_DUMP SHA1(94532727512280930a100fe473bf3a938fe2d44f) )
|
||||
ROM_END
|
||||
|
||||
@ -2794,7 +2794,7 @@ ROM_START( hyprdriv )
|
||||
ROM_REGION32_LE( 0x80000, "user1", 0 ) /* Boot Rom Version 9. */
|
||||
ROM_LOAD( "hyprdrve.u32", 0x000000, 0x80000, CRC(3e18cb80) SHA1(b18cc4253090ee1d65d72a7ec0c426ed08c4f238) )
|
||||
|
||||
DISK_REGION( "ide" ) /* Version 1.40 Oct 23 1998 15:16:00 */
|
||||
DISK_REGION( "drive_0" ) /* Version 1.40 Oct 23 1998 15:16:00 */
|
||||
DISK_IMAGE( "hyprdriv", 0, SHA1(8cfa343797575b32f46cc24150024be48963a03e) )
|
||||
ROM_END
|
||||
|
||||
|
@ -975,7 +975,7 @@ static MACHINE_CONFIG_START( coh3002t, taitogn_state )
|
||||
MCFG_MACHINE_RESET( coh3002t )
|
||||
|
||||
MCFG_AT28C16_ADD( "at28c16", 0 )
|
||||
MCFG_IDE_CONTROLLER_ADD( "card", 0 )
|
||||
MCFG_IDE_CONTROLLER_ADD( "card", 0, ide_devices, "hdd", NULL)
|
||||
|
||||
MCFG_MB3773_ADD("mb3773")
|
||||
|
||||
@ -1127,7 +1127,7 @@ ROM_END
|
||||
ROM_START(raycris)
|
||||
TAITOGNET_BIOS
|
||||
|
||||
DISK_REGION( "card" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "raycris", 0, SHA1(015cb0e6c4421cc38809de28c4793b4491386aee))
|
||||
ROM_END
|
||||
|
||||
@ -1135,28 +1135,28 @@ ROM_END
|
||||
ROM_START(gobyrc)
|
||||
TAITOGNET_BIOS
|
||||
|
||||
DISK_REGION( "card" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "gobyrc", 0, SHA1(0bee1f495fc8b033fd56aad9260ae94abb35eb58))
|
||||
ROM_END
|
||||
|
||||
ROM_START(rcdego)
|
||||
TAITOGNET_BIOS
|
||||
|
||||
DISK_REGION( "card" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "rcdego", 0, SHA1(9e177f2a3954cfea0c8c5a288e116324d10f5dd1))
|
||||
ROM_END
|
||||
|
||||
ROM_START(chaoshea)
|
||||
TAITOGNET_BIOS
|
||||
|
||||
DISK_REGION( "card" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "chaosheat", 0, SHA1(c13b7d7025eee05f1f696d108801c7bafb3f1356))
|
||||
ROM_END
|
||||
|
||||
ROM_START(chaosheaj)
|
||||
TAITOGNET_BIOS
|
||||
|
||||
DISK_REGION( "card" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "chaosheatj", 0, SHA1(2f211ac08675ea8ec33c7659a13951db94eaa627))
|
||||
ROM_END
|
||||
|
||||
@ -1164,7 +1164,7 @@ ROM_END
|
||||
ROM_START(flipmaze)
|
||||
TAITOGNET_BIOS
|
||||
|
||||
DISK_REGION( "card" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "flipmaze", 0, SHA1(423b6c06f4f2d9a608ce20b61a3ac11687d22c40) )
|
||||
ROM_END
|
||||
|
||||
@ -1172,42 +1172,42 @@ ROM_END
|
||||
ROM_START(spuzbobl)
|
||||
TAITOGNET_BIOS
|
||||
|
||||
DISK_REGION( "card" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "spuzbobl", 0, SHA1(1b1c72fb7e5656021485fefaef8f2ba48e2b4ea8))
|
||||
ROM_END
|
||||
|
||||
ROM_START(spuzboblj)
|
||||
TAITOGNET_BIOS
|
||||
|
||||
DISK_REGION( "card" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "spuzbobj", 0, SHA1(dac433cf88543d2499bf797d7406b82ae4338726))
|
||||
ROM_END
|
||||
|
||||
ROM_START(soutenry)
|
||||
TAITOGNET_BIOS
|
||||
|
||||
DISK_REGION( "card" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "soutenry", 0, SHA1(9204d0be833d29f37b8cd3fbdf09da69b622254b))
|
||||
ROM_END
|
||||
|
||||
ROM_START(shanghss)
|
||||
TAITOGNET_BIOS
|
||||
|
||||
DISK_REGION( "card" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "shanghss", 0, SHA1(7964f71ec5c81d2120d83b63a82f97fbad5a8e6d))
|
||||
ROM_END
|
||||
|
||||
ROM_START(sianniv)
|
||||
TAITOGNET_BIOS
|
||||
|
||||
DISK_REGION( "card" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "sianniv", 0, SHA1(1e08b813190a9e1baf29bc16884172d6c8da7ae3))
|
||||
ROM_END
|
||||
|
||||
ROM_START(kollon)
|
||||
TAITOGNET_BIOS
|
||||
|
||||
DISK_REGION( "card" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "kollon", 0, SHA1(d8ea5b5b0ee99004b16ef89883e23de6c7ddd7ce))
|
||||
ROM_END
|
||||
|
||||
@ -1215,14 +1215,14 @@ ROM_START(kollonc)
|
||||
TAITOGNET_BIOS
|
||||
ROM_DEFAULT_BIOS( "v2" )
|
||||
|
||||
DISK_REGION( "card" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "kollonc", 0, SHA1(ce62181659701cfb8f7c564870ab902be4d8e060)) /* Original Taito Compact Flash version */
|
||||
ROM_END
|
||||
|
||||
ROM_START(shikigam)
|
||||
TAITOGNET_BIOS
|
||||
|
||||
DISK_REGION( "card" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "shikigam", 0, SHA1(fa49a0bc47f5cb7c30d7e49e2c3696b21bafb840))
|
||||
ROM_END
|
||||
|
||||
@ -1232,7 +1232,7 @@ ROM_END
|
||||
ROM_START(otenamih)
|
||||
TAITOGNET_BIOS
|
||||
|
||||
DISK_REGION( "card" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "otenamih", 0, SHA1(b3babe3a1876c43745616ee1e7d87276ce7dad0b) )
|
||||
ROM_END
|
||||
|
||||
@ -1240,28 +1240,28 @@ ROM_END
|
||||
ROM_START(psyvaria)
|
||||
TAITOGNET_BIOS
|
||||
|
||||
DISK_REGION( "card" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "psyvaria", 0, SHA1(b981a42a10069322b77f7a268beae1d409b4156d))
|
||||
ROM_END
|
||||
|
||||
ROM_START(psyvarrv)
|
||||
TAITOGNET_BIOS
|
||||
|
||||
DISK_REGION( "card" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "psyvarrv", 0, SHA1(277c4f52502bcd7acc1889840962ec80d56465f3))
|
||||
ROM_END
|
||||
|
||||
ROM_START(zooo)
|
||||
TAITOGNET_BIOS
|
||||
|
||||
DISK_REGION( "card" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "zooo", 0, SHA1(e275b3141b2bc49142990e6b497a5394a314a30b))
|
||||
ROM_END
|
||||
|
||||
ROM_START(zokuoten)
|
||||
TAITOGNET_BIOS
|
||||
|
||||
DISK_REGION( "card" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "zokuoten", 0, SHA1(5ce13db00518f96af64935176c71ec68d2a51938))
|
||||
ROM_END
|
||||
|
||||
@ -1269,7 +1269,7 @@ ROM_START(otenamhf)
|
||||
TAITOGNET_BIOS
|
||||
ROM_DEFAULT_BIOS( "v2" )
|
||||
|
||||
DISK_REGION( "card" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "otenamhf", 0, SHA1(5b15c33bf401e5546d78e905f538513d6ffcf562)) /* Original Taito Compact Flash version */
|
||||
ROM_END
|
||||
|
||||
@ -1281,14 +1281,14 @@ ROM_END
|
||||
ROM_START(nightrai)
|
||||
TAITOGNET_BIOS
|
||||
|
||||
DISK_REGION( "card" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "nightrai", 0, SHA1(74d0458f851cbcf10453c5cc4c47bb4388244cdf))
|
||||
ROM_END
|
||||
|
||||
ROM_START(otenki)
|
||||
TAITOGNET_BIOS
|
||||
|
||||
DISK_REGION( "card" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "otenki", 0, SHA1(7e745ca4c4570215f452fd09cdd56a42c39caeba))
|
||||
ROM_END
|
||||
|
||||
@ -1297,21 +1297,21 @@ ROM_END
|
||||
ROM_START(usagi)
|
||||
TAITOGNET_BIOS
|
||||
|
||||
DISK_REGION( "card" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "usagi", 0, SHA1(edf9dd271957f6cb06feed238ae21100514bef8e))
|
||||
ROM_END
|
||||
|
||||
ROM_START(mahjngoh)
|
||||
TAITOGNET_BIOS
|
||||
|
||||
DISK_REGION( "card" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "mahjngoh", 0, SHA1(3ef1110d15582d7c0187438d7ad61765dd121cff))
|
||||
ROM_END
|
||||
|
||||
ROM_START(shangtou)
|
||||
TAITOGNET_BIOS
|
||||
|
||||
DISK_REGION( "card" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "shanghaito", 0, SHA1(9901db5a9aae77e3af4157aa2c601eaab5b7ca85) )
|
||||
ROM_END
|
||||
|
||||
@ -1321,7 +1321,7 @@ ROM_END
|
||||
ROM_START(xiistag)
|
||||
TAITOGNET_BIOS
|
||||
|
||||
DISK_REGION( "card" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "xiistag", 0, SHA1(586e37c8d926293b2bd928e5f0d693910cfb05a2))
|
||||
ROM_END
|
||||
|
||||
|
@ -644,7 +644,7 @@ static MACHINE_CONFIG_START( taitowlf, taitowlf_state )
|
||||
MCFG_I8237_ADD( "dma8237_2", XTAL_14_31818MHz/3, dma8237_2_config )
|
||||
MCFG_PIC8259_ADD( "pic8259_1", taitowlf_pic8259_1_config )
|
||||
MCFG_PIC8259_ADD( "pic8259_2", taitowlf_pic8259_2_config )
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt)
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt, ide_devices, "hdd", NULL)
|
||||
MCFG_MC146818_ADD( "rtc", MC146818_STANDARD )
|
||||
|
||||
/* video hardware */
|
||||
|
@ -897,7 +897,7 @@ static MACHINE_CONFIG_START( twinkle, twinkle_state )
|
||||
MCFG_MACHINE_RESET( twinkle )
|
||||
MCFG_I2CMEM_ADD("security",i2cmem_interface)
|
||||
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt)
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt, ide_devices, "hdd", NULL)
|
||||
MCFG_RTC65271_ADD("rtc", twinkle_rtc)
|
||||
|
||||
/* video hardware */
|
||||
@ -995,7 +995,7 @@ ROM_START( bmiidx )
|
||||
DISK_REGION( "cdrom1" ) // video CD
|
||||
DISK_IMAGE_READONLY("863jaa04", 0, SHA1(8f6a0d2e191153032c9388b5298d8ee531b22a41) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE_READONLY("c44jaa03", 0, SHA1(53e9bd25d1674a04aeec81c0224b4e4e44af802a) ) // was part of a 1st mix machine, but "c44" indicates 8th mix?
|
||||
ROM_END
|
||||
|
||||
|
@ -2220,8 +2220,8 @@ static MACHINE_CONFIG_START( vegascore, vegas_state )
|
||||
MCFG_MACHINE_RESET(vegas)
|
||||
MCFG_M48T37_ADD("timekeeper")
|
||||
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt)
|
||||
MCFG_IDE_BUS_MASTER_SPACE("maincpu", PROGRAM)
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt, ide_devices, "hdd", NULL)
|
||||
MCFG_IDE_BUS_MASTER_SPACE("ide", "maincpu", PROGRAM)
|
||||
|
||||
MCFG_SMC91C94_ADD("ethernet", ethernet_interrupt)
|
||||
|
||||
@ -2311,7 +2311,7 @@ ROM_START( gauntleg )
|
||||
ROM_REGION32_LE( 0x80000, "user1", 0 ) /* EPROM 1.5 11/17/1998 */
|
||||
ROM_LOAD( "legend15.bin", 0x000000, 0x80000, CRC(a8372d70) SHA1(d8cd4fd4d7007ee38bb58b5a818d0f83043d5a48) )
|
||||
|
||||
DISK_REGION( "ide" ) /* Guts 1.5 1/14/1999 Game 1/14/1999 */
|
||||
DISK_REGION( "drive_0" ) /* Guts 1.5 1/14/1999 Game 1/14/1999 */
|
||||
DISK_IMAGE( "gauntleg", 0, SHA1(66eb70e2fba574a7abe54be8bd45310654b24b08) )
|
||||
|
||||
ROM_REGION16_LE( 0x10000, "dcs", 0 ) /* Vegas SIO boot ROM */
|
||||
@ -2323,7 +2323,7 @@ ROM_START( gauntleg12 )
|
||||
ROM_REGION32_LE( 0x80000, "user1", 0 ) /* EPROM 1.3 9/25/1998 */
|
||||
ROM_LOAD( "legend12.bin", 0x000000, 0x80000, CRC(34674c5f) SHA1(92ec1779f3ab32944cbd953b6e1889503a57794b) )
|
||||
|
||||
DISK_REGION( "ide" ) /* Guts 1.4 10/22/1998 Main 10/23/1998 */
|
||||
DISK_REGION( "drive_0" ) /* Guts 1.4 10/22/1998 Main 10/23/1998 */
|
||||
DISK_IMAGE( "gauntl12", 0, SHA1(c8208e3ce3b02a271dc6b089efa98dd996b66ce0) )
|
||||
|
||||
ROM_REGION16_LE( 0x10000, "dcs", 0 ) /* Vegas SIO boot ROM */
|
||||
@ -2335,7 +2335,7 @@ ROM_START( gauntdl )
|
||||
ROM_REGION32_LE( 0x80000, "user1", 0 ) /* EPROM 1.7 12/14/1999 */
|
||||
ROM_LOAD( "gauntdl.bin", 0x000000, 0x80000, CRC(3d631518) SHA1(d7f5a3bc109a19c9c7a711d607ff87e11868b536) )
|
||||
|
||||
DISK_REGION( "ide" ) /* Guts: 1.9 3/17/2000 Game 5/9/2000 */
|
||||
DISK_REGION( "drive_0" ) /* Guts: 1.9 3/17/2000 Game 5/9/2000 */
|
||||
DISK_IMAGE( "gauntdl", 0, SHA1(ba3af48171e727c2f7232c06dcf8411cbcf14de8) )
|
||||
|
||||
ROM_REGION16_LE( 0x10000, "dcs", 0 ) /* Vegas SIO boot ROM */
|
||||
@ -2347,7 +2347,7 @@ ROM_START( gauntdl24 )
|
||||
ROM_REGION32_LE( 0x80000, "user1", 0 ) /* EPROM 1.7 12/14/1999 */
|
||||
ROM_LOAD( "gauntdl.bin", 0x000000, 0x80000, CRC(3d631518) SHA1(d7f5a3bc109a19c9c7a711d607ff87e11868b536) )
|
||||
|
||||
DISK_REGION( "ide" ) /* Guts: 1.9 3/17/2000 Game 3/19/2000 */
|
||||
DISK_REGION( "drive_0" ) /* Guts: 1.9 3/17/2000 Game 3/19/2000 */
|
||||
DISK_IMAGE( "gauntd24", 0, SHA1(3e055794d23d62680732e906cfaf9154765de698) )
|
||||
|
||||
ROM_REGION16_LE( 0x10000, "dcs", 0 ) /* Vegas SIO boot ROM */
|
||||
@ -2359,7 +2359,7 @@ ROM_START( warfa )
|
||||
ROM_REGION32_LE( 0x80000, "user1", 0 ) /* EPROM 1.9 3/25/1999 */
|
||||
ROM_LOAD( "warboot.v19", 0x000000, 0x80000, CRC(b0c095cd) SHA1(d3b8cccdca83f0ecb49aa7993864cfdaa4e5c6f0) )
|
||||
|
||||
DISK_REGION( "ide" ) /* Guts 1.3 4/20/1999 Game 4/20/1999 */
|
||||
DISK_REGION( "drive_0" ) /* Guts 1.3 4/20/1999 Game 4/20/1999 */
|
||||
DISK_IMAGE( "warfa", 0, SHA1(87f8a8878cd6be716dbd6c68fb1bc7f564ede484) )
|
||||
|
||||
ROM_REGION16_LE( 0x10000, "dcs", 0 ) /* Vegas SIO boot ROM */
|
||||
@ -2371,7 +2371,7 @@ ROM_START( tenthdeg )
|
||||
ROM_REGION32_LE( 0x80000, "user1", 0 )
|
||||
ROM_LOAD( "tenthdeg.bio", 0x000000, 0x80000, CRC(1cd2191b) SHA1(a40c48f3d6a9e2760cec809a79a35abe762da9ce) )
|
||||
|
||||
DISK_REGION( "ide" ) /* Guts 5/26/1998 Main 8/25/1998 */
|
||||
DISK_REGION( "drive_0" ) /* Guts 5/26/1998 Main 8/25/1998 */
|
||||
DISK_IMAGE( "tenthdeg", 0, SHA1(41a1a045a2d118cf6235be2cc40bf16dbb8be5d1) )
|
||||
|
||||
ROM_REGION16_LE( 0x10000, "dcs", 0 ) /* Vegas SIO boot ROM */
|
||||
@ -2383,7 +2383,7 @@ ROM_START( roadburn )
|
||||
ROM_REGION32_LE( 0x80000, "user1", 0 ) /* EPROM 2.6 4/22/1999 */
|
||||
ROM_LOAD( "rbmain.bin", 0x000000, 0x80000, CRC(060e1aa8) SHA1(2a1027d209f87249fe143500e721dfde7fb5f3bc) )
|
||||
|
||||
DISK_REGION( "ide" ) /* Guts 4/22/1999 Game 4/22/1999 */
|
||||
DISK_REGION( "drive_0" ) /* Guts 4/22/1999 Game 4/22/1999 */
|
||||
DISK_IMAGE( "roadburn", 0, SHA1(a62870cceafa6357d7d3505aca250c3f16087566) )
|
||||
ROM_END
|
||||
|
||||
@ -2392,7 +2392,7 @@ ROM_START( nbashowt )
|
||||
ROM_REGION32_LE( 0x80000, "user1", 0 )
|
||||
ROM_LOAD( "nbau27.100", 0x000000, 0x80000, CRC(ff5d620d) SHA1(8f07567929f40a2269a42495dfa9dd5edef688fe) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "nbashowt", 0, SHA1(f7c56bc3dcbebc434de58034986179ae01127f87) )
|
||||
|
||||
ROM_REGION16_LE( 0x10000, "dcs", 0 ) /* Vegas SIO boot ROM */
|
||||
@ -2405,7 +2405,7 @@ ROM_START( nbanfl )
|
||||
ROM_LOAD( "u27nflnba.bin", 0x000000, 0x80000, CRC(6a9bd382) SHA1(18b942df6af86ea944c24166dbe88148334eaff9) )
|
||||
// ROM_LOAD( "bootnflnba.bin", 0x000000, 0x80000, CRC(3def7053) SHA1(8f07567929f40a2269a42495dfa9dd5edef688fe) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "nbanfl", 0, SHA1(f60c627f85f1bf58f2ea674063736a1e516e7e9e) )
|
||||
|
||||
ROM_REGION16_LE( 0x10000, "dcs", 0 ) /* Vegas SIO boot ROM */
|
||||
@ -2417,7 +2417,7 @@ ROM_START( cartfury )
|
||||
ROM_REGION32_LE( 0x80000, "user1", 0 )
|
||||
ROM_LOAD( "bootu27", 0x000000, 0x80000, CRC(c44550a2) SHA1(ad30f1c3382ff2f5902a4cbacbb1f0c4e37f42f9) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "cartfury", 0, SHA1(4c5bc2803297ea9a191bbd8b002d0e46b4ae1563) )
|
||||
|
||||
ROM_REGION16_LE( 0x10000, "dcs", 0 ) /* ADSP-2105 data */
|
||||
@ -2429,7 +2429,7 @@ ROM_START( sf2049 )
|
||||
ROM_REGION32_LE( 0x80000, "user1", 0 ) /* EPROM 1.02 7/9/1999 */
|
||||
ROM_LOAD( "sf2049.u27", 0x000000, 0x80000, CRC(174ba8fe) SHA1(baba83b811eca659f00514a008a86ef0ac9680ee) )
|
||||
|
||||
DISK_REGION( "ide" ) /* Guts 1.03 9/3/1999 Game 9/8/1999 */
|
||||
DISK_REGION( "drive_0" ) /* Guts 1.03 9/3/1999 Game 9/8/1999 */
|
||||
DISK_IMAGE( "sf2049", 0, SHA1(9e0661b8566a6c78d18c59c11cd3a6628d025405) )
|
||||
ROM_END
|
||||
|
||||
@ -2438,7 +2438,7 @@ ROM_START( sf2049se )
|
||||
ROM_REGION32_LE( 0x80000, "user1", 0 )
|
||||
ROM_LOAD( "sf2049se.u27", 0x000000, 0x80000, CRC(da4ecd9c) SHA1(2574ff3d608ebcc59a63cf6dea13ee7650ae8921) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "sf2049se", 0, SHA1(7b27a8ce2a953050ce267548bb7160b41f3e8054) )
|
||||
ROM_END
|
||||
|
||||
@ -2447,7 +2447,7 @@ ROM_START( sf2049te )
|
||||
ROM_REGION32_LE( 0x80000, "user1", 0 )
|
||||
ROM_LOAD( "sf2049te.u27", 0x000000, 0x80000, CRC(cc7c8601) SHA1(3f37dbd1b32b3ac5caa300725468e8e426f0fb83) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "sf2049te", 0, SHA1(625aa36436587b7bec3e7db1d19793b760e2ea51) )
|
||||
ROM_END
|
||||
|
||||
|
@ -2004,7 +2004,7 @@ static MACHINE_CONFIG_START( viper, viper_state )
|
||||
MCFG_PCI_BUS_DEVICE(0, "mpc8240", mpc8240_pci_r, mpc8240_pci_w)
|
||||
MCFG_PCI_BUS_DEVICE(12, "voodoo", voodoo3_pci_r, voodoo3_pci_w)
|
||||
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt)
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt, ide_devices, "hdd", NULL)
|
||||
MCFG_3DFX_VOODOO_3_ADD("voodoo", STD_VOODOO_3_CLOCK, 8, "screen")
|
||||
MCFG_3DFX_VOODOO_CPU("maincpu")
|
||||
MCFG_3DFX_VOODOO_VBLANK(voodoo_vblank)
|
||||
@ -2071,7 +2071,7 @@ ROM_START(ppp2nd)
|
||||
|
||||
ROM_REGION(0x2000, "m48t58", ROMREGION_ERASE00) /* M48T58 Timekeeper NVRAM */
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "ppp2nd", 0, SHA1(b8b90483d515c83eac05ffa617af19612ea990b0))
|
||||
ROM_END
|
||||
|
||||
@ -2082,7 +2082,7 @@ ROM_START(boxingm) //*
|
||||
ROM_REGION(0x2000, "m48t58", ROMREGION_ERASE00) /* M48T58 Timekeeper NVRAM */
|
||||
ROM_LOAD("a45jaa_nvram.u39", 0x00000, 0x2000, CRC(c24e29fc) SHA1(efb6ecaf25cbdf9d8dfcafa85e38a195fa5ff6c4))
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "a45a02", 0, SHA1(9af2481f53de705ae48fad08d8dd26553667c2d0) )
|
||||
ROM_END
|
||||
|
||||
@ -2092,7 +2092,7 @@ ROM_START(code1d) //*
|
||||
ROM_REGION(0x2000, "m48t58", ROMREGION_ERASE00) /* M48T58 Timekeeper NVRAM */
|
||||
ROM_LOAD("nvram.u39", 0x00000, 0x2000, NO_DUMP )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "922d02", 0, SHA1(01f35e324c9e8567da0f51b3e68fff1562c32116) )
|
||||
ROM_END
|
||||
|
||||
@ -2102,7 +2102,7 @@ ROM_START(code1db) //*
|
||||
ROM_REGION(0x2000, "m48t58", ROMREGION_ERASE00) /* M48T58 Timekeeper NVRAM */
|
||||
ROM_LOAD("nvram.u39", 0x00000, 0x2000, NO_DUMP )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "922b02", 0, SHA1(4d288b5dcfab3678af662783e7083a358eee99ce) )
|
||||
ROM_END
|
||||
|
||||
@ -2113,7 +2113,7 @@ ROM_START(gticlub2) //*
|
||||
ROM_LOAD("nvram.u39", 0x00000, 0x2000, CRC(d0604e84) SHA1(18d1183f1331af3e655a56692eb7ab877b4bc239)) //old dump, probably has non-default settings.
|
||||
ROM_LOAD("941jab_nvram.u39", 0x00000, 0x2000, CRC(6c4a852f) SHA1(2753dda42cdd81af22dc6780678f1ddeb3c62013))
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "941b02", 0, SHA1(943bc9b1ea7273a8382b94c8a75010dfe296df14) )
|
||||
ROM_END
|
||||
|
||||
@ -2123,7 +2123,7 @@ ROM_START(gticlub2ea) //*
|
||||
ROM_REGION(0x2000, "m48t58", ROMREGION_ERASE00) /* M48T58 Timekeeper NVRAM */
|
||||
ROM_LOAD("941eaa_nvram.u39", 0x00000, 0x2000, CRC(5ee7004d) SHA1(92e0ce01049308f459985d466fbfcfac82f34a47))
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "941a02", 0, NO_DUMP )
|
||||
ROM_END
|
||||
|
||||
@ -2133,7 +2133,7 @@ ROM_START(jpark3) //*
|
||||
ROM_REGION(0x2000, "m48t58", ROMREGION_ERASE00) /* M48T58 Timekeeper NVRAM */
|
||||
ROM_LOAD("b41ebc_nvram.u39", 0x00000, 0x2000, CRC(55d1681d) SHA1(26868cf0d14f23f06b81f2df0b4186924439bb43))
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "b41c02", 0, SHA1(fb6b0b43a6f818041d644bcd711f6a727348d3aa) )
|
||||
ROM_END
|
||||
|
||||
@ -2144,7 +2144,7 @@ ROM_START(mocapglf) //*
|
||||
ROM_REGION(0x2000, "m48t58", ROMREGION_ERASE00) /* M48T58 Timekeeper NVRAM */
|
||||
ROM_LOAD("b33uaa_nvram.u39", 0x00000, 0x1ff8, BAD_DUMP CRC(0f0ba988) SHA1(5618c03b21fc2ba14b2e159cee3aab7f53c2c34d)) //data looks plain bad (compared to the other games)
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "b33a02", 0, SHA1(819d8fac5d2411542c1b989105cffe38a5545fc2) )
|
||||
ROM_END
|
||||
|
||||
@ -2154,7 +2154,7 @@ ROM_START(mocapb) //*
|
||||
ROM_REGION(0x2000, "m48t58", ROMREGION_ERASE00) /* M48T58 Timekeeper NVRAM */
|
||||
ROM_LOAD("a29aaa_nvram.u39", 0x000000, 0x2000, CRC(14b9fe68) SHA1(3c59e6df1bb46bc1835c13fd182b1bb092c08759)) //supposed to be aab version?
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "a29b02", 0, SHA1(f0c04310caf2cca804fde20805eb30a44c5a6796) ) //missing bootloader
|
||||
ROM_END
|
||||
|
||||
@ -2164,7 +2164,7 @@ ROM_START(mocapbj) //*
|
||||
ROM_REGION(0x2000, "m48t58", ROMREGION_ERASE00) /* M48T58 Timekeeper NVRAM */
|
||||
ROM_LOAD("a29jaa_nvram.u39", 0x000000, 0x2000, CRC(2f7cdf27) SHA1(0b69d8728be12909e235268268a312982f81d46a))
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "a29a02", 0, SHA1(00afad399737652b3e17257c70a19f62e37f3c97) )
|
||||
ROM_END
|
||||
|
||||
@ -2174,7 +2174,7 @@ ROM_START(p911) //*
|
||||
ROM_REGION(0x2000, "m48t58", ROMREGION_ERASE00) /* M48T58 Timekeeper NVRAM */
|
||||
ROM_LOAD("a00uad_nvram.u39", 0x000000, 0x2000, CRC(cca056ca) SHA1(de1a00d84c1311d48bbe6d24f5b36e22ecf5e85a))
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "a00uad02", 0, SHA1(6acb8dc41920e7025b87034a3a62b185ef0109d9) )
|
||||
ROM_END
|
||||
|
||||
@ -2184,7 +2184,7 @@ ROM_START(p911uc) //*
|
||||
ROM_REGION(0x2000, "m48t58", ROMREGION_ERASE00) /* M48T58 Timekeeper NVRAM */
|
||||
ROM_LOAD("a00uac_nvram.u39", 0x000000, 0x2000, NO_DUMP )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "a00uac02", 0, SHA1(b268789416dbf8886118a634b911f0ee254970de) )
|
||||
ROM_END
|
||||
|
||||
@ -2194,7 +2194,7 @@ ROM_START(p911kc) //*
|
||||
ROM_REGION(0x2000, "m48t58", ROMREGION_ERASE00) /* M48T58 Timekeeper NVRAM */
|
||||
ROM_LOAD("a00kac_nvram.u39", 0x000000, 0x2000, CRC(8ddc921c) SHA1(901538da237679fc74966a301278b36d1335671f) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "a00kac02", 0, SHA1(b268789416dbf8886118a634b911f0ee254970de) )
|
||||
ROM_END
|
||||
|
||||
@ -2204,7 +2204,7 @@ ROM_START(p911e) //*
|
||||
ROM_REGION(0x2000, "m48t58", ROMREGION_ERASE00) /* M48T58 Timekeeper NVRAM */
|
||||
ROM_LOAD("a00eaa_nvram.u39", 0x000000, 0x2000, CRC(4f3497b6) SHA1(3045c54f98dff92cdf3a1fc0cd4c76ba82d632d7) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "a00eaa02", 0, SHA1(81565a2dce2e2b0a7927078a784354948af1f87c) )
|
||||
ROM_END
|
||||
|
||||
@ -2214,7 +2214,7 @@ ROM_START(p911j) //*
|
||||
ROM_REGION(0x2000, "m48t58", ROMREGION_ERASE00) /* M48T58 Timekeeper NVRAM */
|
||||
ROM_LOAD("a00jaa_nvram.u39", 0x000000, 0x2000, CRC(9ecf70dc) SHA1(4769a99b0cc28563e219860b8d480f32d1e21f60))
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "a00jac02", 0, SHA1(d962d3a8ea84c380767d0fe336296911c289c224) )
|
||||
ROM_END
|
||||
|
||||
@ -2224,7 +2224,7 @@ ROM_START(p9112) //*
|
||||
ROM_REGION(0x2000, "m48t58", ROMREGION_ERASE00) /* M48T58 Timekeeper NVRAM */
|
||||
ROM_LOAD("nvram.u39", 0x000000, 0x2000, NO_DUMP )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "b11a02", 0, SHA1(57665664321b78c1913d01f0d2c0b8d3efd42e04) )
|
||||
ROM_END
|
||||
|
||||
@ -2234,7 +2234,7 @@ ROM_START(popn9) //Note: this is actually a Konami Pyson HW! (PlayStation 2-base
|
||||
ROM_REGION(0x2000, "m48t58", ROMREGION_ERASE00) /* M48T58 Timekeeper NVRAM */
|
||||
ROM_LOAD("nvram.u39", 0x000000, 0x2000, NO_DUMP )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "c00jab", 0, BAD_DUMP SHA1(3763aaded9b45388a664edd84a3f7f8ff4101be4) )
|
||||
ROM_END
|
||||
|
||||
@ -2244,7 +2244,7 @@ ROM_START(sscopex)
|
||||
ROM_REGION(0x2000, "m48t58", ROMREGION_ERASE00) /* M48T58 Timekeeper NVRAM */
|
||||
ROM_LOAD("a13uaa_nvram.u39", 0x000000, 0x2000, CRC(7b0e1ac8) SHA1(1ea549964539e27f87370e9986bfa44eeed037cd))
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "a13c02", 0, SHA1(d740784fa51a3f43695ea95e23f92ef05f43284a) )
|
||||
ROM_END
|
||||
|
||||
@ -2256,7 +2256,7 @@ ROM_START(sogeki) //*
|
||||
ROM_REGION(0x2000, "m48t58", ROMREGION_ERASE00) /* M48T58 Timekeeper NVRAM */
|
||||
ROM_LOAD("nvram.u39", 0x000000, 0x2000, CRC(2f325c55) SHA1(0bc44f40f981a815c8ce64eae95ae55db510c565))
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "a13b02", 0, SHA1(c25a61b76d365794c2da4a9e7de88a5519e944ec) )
|
||||
ROM_END
|
||||
|
||||
@ -2267,7 +2267,7 @@ ROM_START(thrild2) //*
|
||||
ROM_LOAD("a41ebb_nvram.u39", 0x00000, 0x2000, CRC(22f59ac0) SHA1(e14ea2ba95b72edf0a3331ab82c192760bfdbce3))
|
||||
// a41eba_nvram == a41ebb_nvram
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "a41b02", 0, SHA1(0426f4bb9001cf457f44e2c22e3d7575b8049aa3) )
|
||||
ROM_END
|
||||
|
||||
@ -2277,7 +2277,7 @@ ROM_START(thrild2a) //*
|
||||
ROM_REGION(0x2000, "m48t58", ROMREGION_ERASE00) /* M48T58 Timekeeper NVRAM */
|
||||
ROM_LOAD("a41aaa_nvram.u39", 0x00000, 0x2000, CRC(d5de9b8e) SHA1(768bcd46a6ad20948f60f5e0ecd2f7b9c2901061))
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "a41a02", 0, SHA1(bbb71e23bddfa07dfa30b6565a35befd82b055b8) )
|
||||
ROM_END
|
||||
|
||||
@ -2288,7 +2288,7 @@ ROM_START(thrild2c) //*
|
||||
ROM_REGION(0x2000, "m48t58", ROMREGION_ERASE00) /* M48T58 Timekeeper NVRAM */
|
||||
ROM_LOAD("941eaa_nvram.u39", 0x00000, 0x2000, NO_DUMP )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "a41c02", 0, SHA1(ab3020e8709768c0fd2467573e92b679a05944e5) )
|
||||
ROM_END
|
||||
|
||||
@ -2298,7 +2298,7 @@ ROM_START(tsurugi) //*
|
||||
ROM_REGION(0x2000, "m48t58", ROMREGION_ERASE00) /* M48T58 Timekeeper NVRAM */
|
||||
ROM_LOAD("a30eab_nvram.u39", 0x00000, 0x2000, CRC(c123342c) SHA1(55416767608fe0311a362854a16b214b04435a31))
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "a30b02", 0, SHA1(d2be83b7323c365ba445de7697c3fb8eb83d0212) )
|
||||
ROM_END
|
||||
|
||||
@ -2308,7 +2308,7 @@ ROM_START(tsurugij) //*
|
||||
ROM_REGION(0x2000, "m48t58", ROMREGION_ERASE00) /* M48T58 Timekeeper NVRAM */
|
||||
ROM_LOAD("a30jac_nvram.u39", 0x00000, 0x2000, NO_DUMP )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "a30c02", 0, SHA1(533b5669b00884a800df9ba29651777a76559862) )
|
||||
ROM_END
|
||||
|
||||
@ -2319,7 +2319,7 @@ ROM_START(wcombat) //*
|
||||
ROM_REGION(0x2000, "m48t58", ROMREGION_ERASE00) /* M48T58 Timekeeper NVRAM */
|
||||
ROM_LOAD("nvram.u39", 0x00000, 0x2000, CRC(4f8b5858) SHA1(68066241c6f9db7f45e55b3c5da101987f4ce53c))
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "c22d02", 0, BAD_DUMP SHA1(85d2a8b5ec4cfd932190486cad991f0c180ca6b3) )
|
||||
ROM_END
|
||||
|
||||
@ -2329,7 +2329,7 @@ ROM_START(wcombatk) //*
|
||||
ROM_REGION(0x2000, "m48t58", ROMREGION_ERASE00) /* M48T58 Timekeeper NVRAM */
|
||||
ROM_LOAD("nvram.u39", 0x00000, 0x2000, CRC(ebd4d645) SHA1(2fa7e2c6b113214f3eb1900c8ceef4d5fcf0bb76))
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "c22c02", 0, BAD_DUMP SHA1(8bd1dfbf926ad5b28fa7dafd7e31c475325ec569) )
|
||||
ROM_END
|
||||
|
||||
@ -2339,7 +2339,7 @@ ROM_START(wcombatj) //*
|
||||
ROM_REGION(0x2000, "m48t58", ROMREGION_ERASE00) /* M48T58 Timekeeper NVRAM */
|
||||
ROM_LOAD("nvram.u39", 0x00000, 0x2000, CRC(bd8a6640) SHA1(2d409197ef3fb07d984d27fa943f29c7a711d715))
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "c22a02", 0, BAD_DUMP SHA1(b607fb2ddfd0bd552b7a736cea4ac1aa3ea021bd) )
|
||||
ROM_END
|
||||
|
||||
@ -2349,7 +2349,7 @@ ROM_START(xtrial) //*
|
||||
ROM_REGION(0x2000, "m48t58", ROMREGION_ERASE00) /* M48T58 Timekeeper NVRAM */
|
||||
ROM_LOAD("b4xjab_nvram.u39", 0x00000, 0x2000, CRC(33708a93) SHA1(715968e3c9c15edf628fa6ac655dc0864e336c6c))
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "b4xb02", 0, SHA1(d8d54f3f16b762bf0187fe29b2f8696015c0a940) )
|
||||
ROM_END
|
||||
|
||||
@ -2408,7 +2408,7 @@ ROM_START(mfightc) //*
|
||||
ROM_LOAD("nvram.u39", 0x00000, 0x2000, CRC(9fb551a5) SHA1(a33d185e186d404c3bf62277d7e34e5ad0000b09)) //likely non-default settings
|
||||
ROM_LOAD("c09jad_nvram.u39", 0x00000, 0x2000, CRC(33e960b7) SHA1(a9a249e68c89b18d4685f1859fe35dc21df18e14))
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "c09d04", 0, SHA1(7395b7a33e953f65827aea44461e49f8388464fb) )
|
||||
ROM_END
|
||||
|
||||
@ -2419,7 +2419,7 @@ ROM_START(mfightcc) //*
|
||||
ROM_REGION(0x2000, "m48t58", ROMREGION_ERASE00) /* M48T58 Timekeeper NVRAM */
|
||||
ROM_LOAD("c09jac_nvram.u39", 0x00000, 0x2000, NO_DUMP )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "c09c04", 0, SHA1(bf5f7447d74399d34edd4eb6dfcca7f6fc2154f2) )
|
||||
ROM_END
|
||||
|
||||
|
@ -707,7 +707,7 @@ static MACHINE_CONFIG_START( xtom3d, xtom3d_state )
|
||||
MCFG_PCI_BUS_DEVICE(0, NULL, intel82439tx_pci_r, intel82439tx_pci_w)
|
||||
MCFG_PCI_BUS_DEVICE(7, NULL, intel82371ab_pci_r, intel82371ab_pci_w)
|
||||
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt)
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt, ide_devices, "hdd", NULL)
|
||||
|
||||
/* video hardware */
|
||||
MCFG_FRAGMENT_ADD( pcvideo_vga )
|
||||
|
@ -1476,7 +1476,7 @@ static MACHINE_RESET( coh1000w )
|
||||
static MACHINE_CONFIG_DERIVED( coh1000w, zn1_2mb_vram )
|
||||
MCFG_MACHINE_RESET( coh1000w )
|
||||
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", atpsx_interrupt)
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", atpsx_interrupt, ide_devices, "hdd", NULL)
|
||||
MCFG_PSX_DMA_CHANNEL_READ( "maincpu", 5, psx_dma_read_delegate( FUNC( atpsx_dma_read ), (zn_state *) owner ) )
|
||||
MCFG_PSX_DMA_CHANNEL_WRITE( "maincpu", 5, psx_dma_write_delegate( FUNC( atpsx_dma_write ), (zn_state *) owner ) )
|
||||
MACHINE_CONFIG_END
|
||||
@ -2160,7 +2160,7 @@ static MACHINE_CONFIG_DERIVED( coh1000a_ide, zn1_2mb_vram )
|
||||
|
||||
MCFG_MACHINE_RESET( coh1000a )
|
||||
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", jdredd_ide_interrupt)
|
||||
MCFG_IDE_CONTROLLER_ADD("ide", jdredd_ide_interrupt, ide_devices, "hdd", NULL)
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
/*
|
||||
@ -4478,7 +4478,7 @@ ROM_START( bam2 )
|
||||
|
||||
ROM_REGION32_LE( 0x0400000, "user3", ROMREGION_ERASE00 )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE("bam2", 0, SHA1(634d9a745a82c567fc4d7ce48e3570d88326c5f9) )
|
||||
ROM_END
|
||||
|
||||
@ -4502,7 +4502,7 @@ ROM_START( primrag2 )
|
||||
ROM_LOAD16_BYTE( "pr2_036.u17", 0x100001, 0x080000, CRC(3681516c) SHA1(714f73ea4ac190c36a6eb2308616a4aecabc4e69) )
|
||||
ROM_LOAD16_BYTE( "pr2_036.u15", 0x100000, 0x080000, CRC(4b24bd54) SHA1(7f27cd524d10e5869aab6d4dc6a4217d049c475d) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "primrag2", 0, SHA1(bc615068ddf4fd967f770ee01c02f285c052c4c5) )
|
||||
ROM_END
|
||||
|
||||
@ -4554,7 +4554,7 @@ ROM_START( jdredd )
|
||||
ROM_LOAD16_BYTE( "j-dread.u36", 0x000001, 0x020000, CRC(37addbf9) SHA1(a4061a1ba9e230f080f0bfea69bf77efe9264a92) )
|
||||
ROM_LOAD16_BYTE( "j-dread.u35", 0x000000, 0x020000, CRC(c1e17191) SHA1(82901439b1a51b9aadb4df4b9d944f26697a1460) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "jdreddc", 0, SHA1(eee205f83e5f590f8baf36452c873d7063156bd0) )
|
||||
ROM_END
|
||||
|
||||
@ -4565,7 +4565,7 @@ ROM_START( jdreddb )
|
||||
ROM_LOAD16_BYTE( "j-dread.u36", 0x000001, 0x020000, CRC(37addbf9) SHA1(a4061a1ba9e230f080f0bfea69bf77efe9264a92) )
|
||||
ROM_LOAD16_BYTE( "j-dread.u35", 0x000000, 0x020000, CRC(c1e17191) SHA1(82901439b1a51b9aadb4df4b9d944f26697a1460) )
|
||||
|
||||
DISK_REGION( "ide" )
|
||||
DISK_REGION( "drive_0" )
|
||||
DISK_IMAGE( "jdreddb", 0, SHA1(20f696fa6e1fbf97793bac2a794631c5dd4fb39a) )
|
||||
ROM_END
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user