added missing \n to some more fatalerror() calls (no whatsnew)
This commit is contained in:
parent
f08b72209b
commit
679e9323be
@ -299,7 +299,7 @@ void debug_cpu_source_script(running_machine &machine, const char *file)
|
|||||||
if (machine.phase() == MACHINE_PHASE_RUNNING)
|
if (machine.phase() == MACHINE_PHASE_RUNNING)
|
||||||
debug_console_printf(machine, "Cannot open command file '%s'\n", file);
|
debug_console_printf(machine, "Cannot open command file '%s'\n", file);
|
||||||
else
|
else
|
||||||
fatalerror("Cannot open command file '%s'", file);
|
fatalerror("Cannot open command file '%s'\n", file);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -984,7 +984,7 @@ UINT64 debug_read_opcode(address_space *_space, offs_t address, int size, int ar
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
fatalerror("debug_read_opcode: unknown type = %d", space->data_width() / 8 * 10 + size);
|
fatalerror("debug_read_opcode: unknown type = %d\n", space->data_width() / 8 * 10 + size);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -456,7 +456,7 @@ void device_t::start()
|
|||||||
{
|
{
|
||||||
logerror("Device '%s' did not register any state to save!\n", tag());
|
logerror("Device '%s' did not register any state to save!\n", tag());
|
||||||
if ((machine().system().flags & GAME_SUPPORTS_SAVE) != 0)
|
if ((machine().system().flags & GAME_SUPPORTS_SAVE) != 0)
|
||||||
fatalerror("Device '%s' did not register any state to save!", tag());
|
fatalerror("Device '%s' did not register any state to save!\n", tag());
|
||||||
}
|
}
|
||||||
|
|
||||||
// let the interfaces do their post-work
|
// let the interfaces do their post-work
|
||||||
|
@ -1220,7 +1220,7 @@ void ui_menu_control_device_image::test_create(bool &can_create, bool &need_conf
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
fatalerror("Unexpected");
|
fatalerror("Unexpected\n");
|
||||||
can_create = false;
|
can_create = false;
|
||||||
need_confirm = false;
|
need_confirm = false;
|
||||||
break;
|
break;
|
||||||
|
@ -347,13 +347,13 @@ void device_sound_interface::interface_post_start()
|
|||||||
int streamoutputnum;
|
int streamoutputnum;
|
||||||
sound_stream *outputstream = sound->output_to_stream_output(outputnum, streamoutputnum);
|
sound_stream *outputstream = sound->output_to_stream_output(outputnum, streamoutputnum);
|
||||||
if (outputstream == NULL)
|
if (outputstream == NULL)
|
||||||
fatalerror("Sound device '%s' specifies route for non-existant output #%d", route->m_target.cstr(), outputnum);
|
fatalerror("Sound device '%s' specifies route for non-existant output #%d\n", route->m_target.cstr(), outputnum);
|
||||||
|
|
||||||
// find the input stream to connect to
|
// find the input stream to connect to
|
||||||
int streaminputnum;
|
int streaminputnum;
|
||||||
sound_stream *inputstream = input_to_stream_input(inputnum++, streaminputnum);
|
sound_stream *inputstream = input_to_stream_input(inputnum++, streaminputnum);
|
||||||
if (inputstream == NULL)
|
if (inputstream == NULL)
|
||||||
fatalerror("Sound device '%s' targeted output #%d to non-existant device '%s' input %d", route->m_target.cstr(), outputnum, m_device.tag(), inputnum - 1);
|
fatalerror("Sound device '%s' targeted output #%d to non-existant device '%s' input %d\n", route->m_target.cstr(), outputnum, m_device.tag(), inputnum - 1);
|
||||||
|
|
||||||
// set the input
|
// set the input
|
||||||
inputstream->set_input(streaminputnum, outputstream, streamoutputnum, route->m_gain);
|
inputstream->set_input(streaminputnum, outputstream, streamoutputnum, route->m_gain);
|
||||||
|
@ -133,7 +133,7 @@ void palette_init(running_machine &machine)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
fatalerror("Unsupported screen bitmap format!");
|
fatalerror("Unsupported screen bitmap format!\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3508,11 +3508,11 @@ time_t ioport_manager::playback_init()
|
|||||||
// read the header and verify that it is a modern version; if not, print an error
|
// read the header and verify that it is a modern version; if not, print an error
|
||||||
UINT8 header[INP_HEADER_SIZE];
|
UINT8 header[INP_HEADER_SIZE];
|
||||||
if (m_playback_file.read(header, sizeof(header)) != sizeof(header))
|
if (m_playback_file.read(header, sizeof(header)) != sizeof(header))
|
||||||
fatalerror("Input file is corrupt or invalid (missing header)");
|
fatalerror("Input file is corrupt or invalid (missing header)\n");
|
||||||
if (memcmp(header, "MAMEINP\0", 8) != 0)
|
if (memcmp(header, "MAMEINP\0", 8) != 0)
|
||||||
fatalerror("Input file invalid or in an older, unsupported format");
|
fatalerror("Input file invalid or in an older, unsupported format\n");
|
||||||
if (header[0x10] != INP_HEADER_MAJVERSION)
|
if (header[0x10] != INP_HEADER_MAJVERSION)
|
||||||
fatalerror("Input file format version mismatch");
|
fatalerror("Input file format version mismatch\n");
|
||||||
|
|
||||||
// output info to console
|
// output info to console
|
||||||
mame_printf_info("Input file: %s\n", filename);
|
mame_printf_info("Input file: %s\n", filename);
|
||||||
@ -4131,7 +4131,7 @@ analog_field::analog_field(ioport_field &field)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
fatalerror("Unknown analog port type -- don't know if it is absolute or not");
|
fatalerror("Unknown analog port type -- don't know if it is absolute or not\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ UINT32 lsi53c810_device::FETCH()
|
|||||||
|
|
||||||
void lsi53c810_device::dmaop_invalid()
|
void lsi53c810_device::dmaop_invalid()
|
||||||
{
|
{
|
||||||
fatalerror("LSI53C810: Invalid SCRIPTS DMA opcode %08X at %08X", dcmd, dsp);
|
fatalerror("LSI53C810: Invalid SCRIPTS DMA opcode %08X at %08X\n", dcmd, dsp);
|
||||||
}
|
}
|
||||||
|
|
||||||
void lsi53c810_device::dmaop_move_memory()
|
void lsi53c810_device::dmaop_move_memory()
|
||||||
@ -34,7 +34,7 @@ void lsi53c810_device::dmaop_move_memory()
|
|||||||
void lsi53c810_device::dmaop_interrupt()
|
void lsi53c810_device::dmaop_interrupt()
|
||||||
{
|
{
|
||||||
if(dcmd & 0x100000) {
|
if(dcmd & 0x100000) {
|
||||||
fatalerror("LSI53C810: INTFLY opcode not implemented");
|
fatalerror("LSI53C810: INTFLY opcode not implemented\n");
|
||||||
}
|
}
|
||||||
dsps = FETCH();
|
dsps = FETCH();
|
||||||
|
|
||||||
@ -83,7 +83,7 @@ void lsi53c810_device::dmaop_block_move()
|
|||||||
if (scntl0 & 0x01)
|
if (scntl0 & 0x01)
|
||||||
{
|
{
|
||||||
/* target mode */
|
/* target mode */
|
||||||
fatalerror("LSI53C810: dmaop_block_move not implemented in target mode");
|
fatalerror("LSI53C810: dmaop_block_move not implemented in target mode\n");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -126,12 +126,12 @@ void lsi53c810_device::dmaop_wait_disconnect()
|
|||||||
if (scntl0 & 0x01)
|
if (scntl0 & 0x01)
|
||||||
{
|
{
|
||||||
/* target mode */
|
/* target mode */
|
||||||
fatalerror("LSI53C810: dmaop_wait_disconnect not implemented in target mode");
|
fatalerror("LSI53C810: dmaop_wait_disconnect not implemented in target mode\n");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* initiator mode */
|
/* initiator mode */
|
||||||
fatalerror("LSI53C810: dmaop_wait_disconnect not implemented");
|
fatalerror("LSI53C810: dmaop_wait_disconnect not implemented\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -144,12 +144,12 @@ void lsi53c810_device::dmaop_wait_reselect()
|
|||||||
if (scntl0 & 0x01)
|
if (scntl0 & 0x01)
|
||||||
{
|
{
|
||||||
/* target mode */
|
/* target mode */
|
||||||
fatalerror("LSI53C810: dmaop_wait_reselect not implemented in target mode");
|
fatalerror("LSI53C810: dmaop_wait_reselect not implemented in target mode\n");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* initiator mode */
|
/* initiator mode */
|
||||||
fatalerror("LSI53C810: dmaop_wait_reselect not implemented");
|
fatalerror("LSI53C810: dmaop_wait_reselect not implemented\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -213,17 +213,17 @@ void lsi53c810_device::dmaop_clear()
|
|||||||
|
|
||||||
void lsi53c810_device::dmaop_move_from_sfbr()
|
void lsi53c810_device::dmaop_move_from_sfbr()
|
||||||
{
|
{
|
||||||
fatalerror("LSI53C810: dmaop_move_from_sfbr not implemented in target mode");
|
fatalerror("LSI53C810: dmaop_move_from_sfbr not implemented in target mode\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
void lsi53c810_device::dmaop_move_to_sfbr()
|
void lsi53c810_device::dmaop_move_to_sfbr()
|
||||||
{
|
{
|
||||||
fatalerror("LSI53C810: dmaop_move_to_sfbr not implemented");
|
fatalerror("LSI53C810: dmaop_move_to_sfbr not implemented\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
void lsi53c810_device::dmaop_read_modify_write()
|
void lsi53c810_device::dmaop_read_modify_write()
|
||||||
{
|
{
|
||||||
fatalerror("LSI53C810: dmaop_read_modify_write not implemented");
|
fatalerror("LSI53C810: dmaop_read_modify_write not implemented\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
int lsi53c810_device::scripts_compute_branch()
|
int lsi53c810_device::scripts_compute_branch()
|
||||||
@ -239,12 +239,12 @@ int lsi53c810_device::scripts_compute_branch()
|
|||||||
|
|
||||||
if (dcmd & 0x00200000)
|
if (dcmd & 0x00200000)
|
||||||
{
|
{
|
||||||
fatalerror("LSI53C810: jump with carry test not implemented");
|
fatalerror("LSI53C810: jump with carry test not implemented\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dcmd & 0x00100000)
|
if (dcmd & 0x00100000)
|
||||||
{
|
{
|
||||||
fatalerror("LSI53C810: jump with interrupt on the fly not implemented");
|
fatalerror("LSI53C810: jump with interrupt on the fly not implemented\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
// set desired result to take jump
|
// set desired result to take jump
|
||||||
@ -357,12 +357,12 @@ void lsi53c810_device::dmaop_return()
|
|||||||
|
|
||||||
void lsi53c810_device::dmaop_store()
|
void lsi53c810_device::dmaop_store()
|
||||||
{
|
{
|
||||||
fatalerror("LSI53C810: dmaop_store not implemented");
|
fatalerror("LSI53C810: dmaop_store not implemented\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
void lsi53c810_device::dmaop_load()
|
void lsi53c810_device::dmaop_load()
|
||||||
{
|
{
|
||||||
fatalerror("LSI53C810: dmaop_load not implemented");
|
fatalerror("LSI53C810: dmaop_load not implemented\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -468,7 +468,7 @@ UINT8 lsi53c810_device::lsi53c810_reg_r( int offset )
|
|||||||
return scratch_b[offset % 4];
|
return scratch_b[offset % 4];
|
||||||
|
|
||||||
default:
|
default:
|
||||||
fatalerror("LSI53C810: reg_r: Unknown reg %02X", offset);
|
fatalerror("LSI53C810: reg_r: Unknown reg %02X\n", offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
@ -604,7 +604,7 @@ void lsi53c810_device::lsi53c810_reg_w(int offset, UINT8 data)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
fatalerror("LSI53C810: reg_w: Unknown reg %02X, %02X", offset, data);
|
fatalerror("LSI53C810: reg_w: Unknown reg %02X, %02X\n", offset, data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -821,7 +821,7 @@ unsigned lsi53c810_device::lsi53c810_dasm(char *buf, UINT32 pc)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
fatalerror("unknown op 0x%08X", op);
|
fatalerror("unknown op 0x%08X\n", op);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
result = 8;
|
result = 8;
|
||||||
@ -848,7 +848,7 @@ unsigned lsi53c810_device::lsi53c810_dasm(char *buf, UINT32 pc)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
fatalerror("unknown op 0x%08X", op);
|
fatalerror("unknown op 0x%08X\n", op);
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
@ -194,7 +194,7 @@ void amiga_fdc::live_run(attotime limit)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(cur_live.bit_counter > 8)
|
if(cur_live.bit_counter > 8)
|
||||||
fatalerror("amiga_fdc::live_run - cur_live.bit_counter > 8");
|
fatalerror("amiga_fdc::live_run - cur_live.bit_counter > 8\n");
|
||||||
|
|
||||||
if(cur_live.bit_counter == 8) {
|
if(cur_live.bit_counter == 8) {
|
||||||
live_delay(RUNNING_SYNCPOINT);
|
live_delay(RUNNING_SYNCPOINT);
|
||||||
|
@ -122,12 +122,12 @@ void at28c16_device::nvram_default()
|
|||||||
{
|
{
|
||||||
if( m_region->bytes() != AT28C16_DATA_BYTES )
|
if( m_region->bytes() != AT28C16_DATA_BYTES )
|
||||||
{
|
{
|
||||||
fatalerror( "at28c16 region '%s' wrong size (expected size = 0x%X)", tag(), AT28C16_DATA_BYTES );
|
fatalerror( "at28c16 region '%s' wrong size (expected size = 0x%X)\n", tag(), AT28C16_DATA_BYTES );
|
||||||
}
|
}
|
||||||
|
|
||||||
if( m_region->width() != 1 )
|
if( m_region->width() != 1 )
|
||||||
{
|
{
|
||||||
fatalerror( "at28c16 region '%s' needs to be an 8-bit region", tag() );
|
fatalerror( "at28c16 region '%s' needs to be an 8-bit region\n", tag() );
|
||||||
}
|
}
|
||||||
|
|
||||||
for( offs_t offs = 0; offs < AT28C16_DATA_BYTES; offs++ )
|
for( offs_t offs = 0; offs < AT28C16_DATA_BYTES; offs++ )
|
||||||
|
@ -106,7 +106,7 @@ void ds2404_device::ds2404_rom_cmd(UINT8 cmd)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
fatalerror("DS2404: Unknown ROM command %02X", cmd);
|
fatalerror("DS2404: Unknown ROM command %02X\n", cmd);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -141,7 +141,7 @@ void ds2404_device::ds2404_cmd(UINT8 cmd)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
fatalerror("DS2404: Unknown command %02X", cmd);
|
fatalerror("DS2404: Unknown command %02X\n", cmd);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -251,11 +251,11 @@ void eeprom_device::nvram_default()
|
|||||||
if (m_region != NULL)
|
if (m_region != NULL)
|
||||||
{
|
{
|
||||||
if (m_region->bytes() != eeprom_bytes)
|
if (m_region->bytes() != eeprom_bytes)
|
||||||
fatalerror("eeprom region '%s' wrong size (expected size = 0x%X)", tag(), eeprom_bytes);
|
fatalerror("eeprom region '%s' wrong size (expected size = 0x%X)\n", tag(), eeprom_bytes);
|
||||||
if (m_data_bits == 8 && m_region->width() != 1)
|
if (m_data_bits == 8 && m_region->width() != 1)
|
||||||
fatalerror("eeprom region '%s' needs to be an 8-bit region", tag());
|
fatalerror("eeprom region '%s' needs to be an 8-bit region\n", tag());
|
||||||
if (m_data_bits == 16 && (m_region->width() != 2 || m_region->endianness() != ENDIANNESS_BIG))
|
if (m_data_bits == 16 && (m_region->width() != 2 || m_region->endianness() != ENDIANNESS_BIG))
|
||||||
fatalerror("eeprom region '%s' needs to be a 16-bit big-endian region", tag());
|
fatalerror("eeprom region '%s' needs to be a 16-bit big-endian region\n", tag());
|
||||||
|
|
||||||
for (offs_t offs = 0; offs < eeprom_length; offs++)
|
for (offs_t offs = 0; offs < eeprom_length; offs++)
|
||||||
if (m_data_bits == 8)
|
if (m_data_bits == 8)
|
||||||
|
@ -114,9 +114,9 @@ void er2055_device::nvram_default()
|
|||||||
if (m_region != NULL)
|
if (m_region != NULL)
|
||||||
{
|
{
|
||||||
if (m_region->bytes() != SIZE_DATA)
|
if (m_region->bytes() != SIZE_DATA)
|
||||||
fatalerror("er2055 region '%s' wrong size (expected size = 0x100)", tag());
|
fatalerror("er2055 region '%s' wrong size (expected size = 0x100)\n", tag());
|
||||||
if (m_region->width() != 1)
|
if (m_region->width() != 1)
|
||||||
fatalerror("er2055 region '%s' needs to be an 8-bit region", tag());
|
fatalerror("er2055 region '%s' needs to be an 8-bit region\n", tag());
|
||||||
|
|
||||||
for (int byte = 0; byte < SIZE_DATA; byte++)
|
for (int byte = 0; byte < SIZE_DATA; byte++)
|
||||||
m_addrspace[0]->write_byte(byte, m_region->u8(byte));
|
m_addrspace[0]->write_byte(byte, m_region->u8(byte));
|
||||||
|
@ -182,12 +182,12 @@ void i2cmem_device::nvram_default()
|
|||||||
{
|
{
|
||||||
if( m_region->bytes() != i2cmem_bytes )
|
if( m_region->bytes() != i2cmem_bytes )
|
||||||
{
|
{
|
||||||
fatalerror( "i2cmem region '%s' wrong size (expected size = 0x%X)", tag(), i2cmem_bytes );
|
fatalerror( "i2cmem region '%s' wrong size (expected size = 0x%X)\n", tag(), i2cmem_bytes );
|
||||||
}
|
}
|
||||||
|
|
||||||
if( m_region->width() != 1 )
|
if( m_region->width() != 1 )
|
||||||
{
|
{
|
||||||
fatalerror( "i2cmem region '%s' needs to be an 8-bit region", tag() );
|
fatalerror( "i2cmem region '%s' needs to be an 8-bit region\n", tag() );
|
||||||
}
|
}
|
||||||
|
|
||||||
for( offs_t offs = 0; offs < i2cmem_bytes; offs++ )
|
for( offs_t offs = 0; offs < i2cmem_bytes; offs++ )
|
||||||
|
@ -84,7 +84,7 @@ UINT32 k033906_device::k033906_reg_r(int reg)
|
|||||||
case 0x0f: return m_reg[0x0f]; // interrupt_line, interrupt_pin, min_gnt, max_lat
|
case 0x0f: return m_reg[0x0f]; // interrupt_line, interrupt_pin, min_gnt, max_lat
|
||||||
|
|
||||||
default:
|
default:
|
||||||
fatalerror("%s: k033906_reg_r: %08X", machine().describe_context(), reg);
|
fatalerror("%s: k033906_reg_r: %08X\n", machine().describe_context(), reg);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -132,7 +132,7 @@ void k033906_device::k033906_reg_w(int reg, UINT32 data)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
fatalerror("%s:K033906_w: %08X, %08X", machine().describe_context(), data, reg);
|
fatalerror("%s:K033906_w: %08X, %08X\n", machine().describe_context(), data, reg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -846,7 +846,7 @@ void laserdisc_device::init_video()
|
|||||||
m_videoenable = true;
|
m_videoenable = true;
|
||||||
m_videotex = machine().render().texture_alloc();
|
m_videotex = machine().render().texture_alloc();
|
||||||
if (m_videotex == NULL)
|
if (m_videotex == NULL)
|
||||||
fatalerror("Out of memory allocating video texture");
|
fatalerror("Out of memory allocating video texture\n");
|
||||||
|
|
||||||
// allocate overlay
|
// allocate overlay
|
||||||
m_overenable = overlay_configured();
|
m_overenable = overlay_configured();
|
||||||
@ -871,7 +871,7 @@ void laserdisc_device::init_video()
|
|||||||
// allocate overlay texture
|
// allocate overlay texture
|
||||||
m_overtex = machine().render().texture_alloc();
|
m_overtex = machine().render().texture_alloc();
|
||||||
if (m_overtex == NULL)
|
if (m_overtex == NULL)
|
||||||
fatalerror("Out of memory allocating overlay texture");
|
fatalerror("Out of memory allocating overlay texture\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -949,7 +949,7 @@ net_device_t *net_create_device_by_classname(const char *classname, netlist_setu
|
|||||||
return (*p)->Create(setup, icname);
|
return (*p)->Create(setup, icname);
|
||||||
p++;
|
p++;
|
||||||
}
|
}
|
||||||
fatalerror("Class %s required for IC %s not found!", classname, icname);
|
fatalerror("Class %s required for IC %s not found!\n", classname, icname);
|
||||||
}
|
}
|
||||||
|
|
||||||
net_device_t *net_create_device_by_name(const char *name, netlist_setup_t *setup, const char *icname)
|
net_device_t *net_create_device_by_name(const char *name, netlist_setup_t *setup, const char *icname)
|
||||||
@ -961,5 +961,5 @@ net_device_t *net_create_device_by_name(const char *name, netlist_setup_t *setup
|
|||||||
return (*p)->Create(setup, icname);
|
return (*p)->Create(setup, icname);
|
||||||
p++;
|
p++;
|
||||||
}
|
}
|
||||||
fatalerror("Class %s required for IC %s not found!", name, icname);
|
fatalerror("Class %s required for IC %s not found!\n", name, icname);
|
||||||
}
|
}
|
||||||
|
@ -259,7 +259,7 @@ private:
|
|||||||
m_p++;
|
m_p++;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
fatalerror("Parser: expected '%c' found '%c'", ctocheck, *m_p);
|
fatalerror("Parser: expected '%c' found '%c'\n", ctocheck, *m_p);
|
||||||
}
|
}
|
||||||
|
|
||||||
double eval_param()
|
double eval_param()
|
||||||
@ -277,7 +277,7 @@ private:
|
|||||||
f = i;
|
f = i;
|
||||||
ret = strtod(s+strlen(macs[f]), &e);
|
ret = strtod(s+strlen(macs[f]), &e);
|
||||||
if ((f>0) && (*e != ')'))
|
if ((f>0) && (*e != ')'))
|
||||||
fatalerror("Parser: Error with parameter ...");
|
fatalerror("Parser: Error with parameter ...\n");
|
||||||
if (f>0)
|
if (f>0)
|
||||||
e++;
|
e++;
|
||||||
m_p = e;
|
m_p = e;
|
||||||
@ -549,7 +549,7 @@ net_output_t &netlist_setup_t::find_output(const char *outname_in)
|
|||||||
ret = find_output_exact(s);
|
ret = find_output_exact(s);
|
||||||
}
|
}
|
||||||
if (ret == NULL)
|
if (ret == NULL)
|
||||||
fatalerror("output %s(%s) not found!", outname_in, outname);
|
fatalerror("output %s(%s) not found!\n", outname_in, outname);
|
||||||
VERBOSE_OUT(("Found input %s\n", outname));
|
VERBOSE_OUT(("Found input %s\n", outname));
|
||||||
return *ret;
|
return *ret;
|
||||||
}
|
}
|
||||||
@ -561,7 +561,7 @@ net_param_t &netlist_setup_t::find_param(const char *param_in)
|
|||||||
|
|
||||||
ret = m_params.find(outname);
|
ret = m_params.find(outname);
|
||||||
if (ret == NULL)
|
if (ret == NULL)
|
||||||
fatalerror("parameter %s(%s) not found!", param_in, outname);
|
fatalerror("parameter %s(%s) not found!\n", param_in, outname);
|
||||||
VERBOSE_OUT(("Found parameter %s\n", outname));
|
VERBOSE_OUT(("Found parameter %s\n", outname));
|
||||||
return *ret;
|
return *ret;
|
||||||
}
|
}
|
||||||
|
@ -403,7 +403,7 @@ UINT8 nscsi_full_device::scsi_get_data(int id, int pos)
|
|||||||
case SBUF_SENSE:
|
case SBUF_SENSE:
|
||||||
return scsi_sense_buffer[pos];
|
return scsi_sense_buffer[pos];
|
||||||
default:
|
default:
|
||||||
fatalerror("nscsi_full_device::scsi_get_data - unknown id");
|
fatalerror("nscsi_full_device::scsi_get_data - unknown id\n");
|
||||||
return 0; // shut up compiler
|
return 0; // shut up compiler
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -418,7 +418,7 @@ void nscsi_full_device::scsi_put_data(int id, int pos, UINT8 data)
|
|||||||
scsi_sense_buffer[pos] = data;
|
scsi_sense_buffer[pos] = data;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
fatalerror("nscsi_full_device::scsi_put_data - unknown id");
|
fatalerror("nscsi_full_device::scsi_put_data - unknown id\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -734,7 +734,7 @@ int scsibus_device::get_scsi_cmd_len(int cbyte)
|
|||||||
if (group == 1 || group == 2) return 10;
|
if (group == 1 || group == 2) return 10;
|
||||||
if (group == 5) return 12;
|
if (group == 5) return 12;
|
||||||
|
|
||||||
fatalerror("scsibus: Unknown SCSI command group %d, command byte=%02X", group,cbyte);
|
fatalerror("scsibus: Unknown SCSI command group %d, command byte=%02X\n", group,cbyte);
|
||||||
|
|
||||||
return 6;
|
return 6;
|
||||||
}
|
}
|
||||||
|
@ -1342,7 +1342,7 @@ WRITE_LINE_DEVICE_HANDLER( wd17xx_dden_w )
|
|||||||
|
|
||||||
/* not supported on FD1771, FD1792, FD1794, FD1762 and FD1764 */
|
/* not supported on FD1771, FD1792, FD1794, FD1762 and FD1764 */
|
||||||
if (wd17xx_is_sd_only(device))
|
if (wd17xx_is_sd_only(device))
|
||||||
fatalerror("wd17xx_dden_w: double density input not supported on this model!");
|
fatalerror("wd17xx_dden_w: double density input not supported on this model!\n");
|
||||||
else if (!w->in_dden_func.isnull())
|
else if (!w->in_dden_func.isnull())
|
||||||
logerror("wd17xx_dden_w: write has no effect because a read handler is already defined!\n");
|
logerror("wd17xx_dden_w: write has no effect because a read handler is already defined!\n");
|
||||||
else
|
else
|
||||||
|
@ -102,9 +102,9 @@ void x2212_device::nvram_default()
|
|||||||
if (m_region != NULL)
|
if (m_region != NULL)
|
||||||
{
|
{
|
||||||
if (m_region->bytes() != SIZE_DATA)
|
if (m_region->bytes() != SIZE_DATA)
|
||||||
fatalerror("x2212 region '%s' wrong size (expected size = 0x100)", tag());
|
fatalerror("x2212 region '%s' wrong size (expected size = 0x100)\n", tag());
|
||||||
if (m_region->width() != 1)
|
if (m_region->width() != 1)
|
||||||
fatalerror("x2212 region '%s' needs to be an 8-bit region", tag());
|
fatalerror("x2212 region '%s' needs to be an 8-bit region\n", tag());
|
||||||
|
|
||||||
for (int byte = 0; byte < SIZE_DATA; byte++)
|
for (int byte = 0; byte < SIZE_DATA; byte++)
|
||||||
m_e2prom->write_byte(byte, m_region->u8(byte));
|
m_e2prom->write_byte(byte, m_region->u8(byte));
|
||||||
|
@ -684,7 +684,7 @@ void z80dma_device::write(UINT8 data)
|
|||||||
switch (data)
|
switch (data)
|
||||||
{
|
{
|
||||||
case COMMAND_ENABLE_AFTER_RETI:
|
case COMMAND_ENABLE_AFTER_RETI:
|
||||||
fatalerror("Z80DMA '%s' Unimplemented WR6 command %02x", tag(), data);
|
fatalerror("Z80DMA '%s' Unimplemented WR6 command %02x\n", tag(), data);
|
||||||
break;
|
break;
|
||||||
case COMMAND_READ_STATUS_BYTE:
|
case COMMAND_READ_STATUS_BYTE:
|
||||||
if (LOG) logerror("Z80DMA '%s' CMD Read status Byte\n", tag());
|
if (LOG) logerror("Z80DMA '%s' CMD Read status Byte\n", tag());
|
||||||
@ -794,7 +794,7 @@ void z80dma_device::write(UINT8 data)
|
|||||||
else if(data == 0x8e) //newtype on Sharp X1, unknown purpose
|
else if(data == 0x8e) //newtype on Sharp X1, unknown purpose
|
||||||
printf("Z80DMA '%s' Unknown base register %02x\n", tag(), data);
|
printf("Z80DMA '%s' Unknown base register %02x\n", tag(), data);
|
||||||
else
|
else
|
||||||
fatalerror("Z80DMA '%s' Unknown base register %02x", tag(), data);
|
fatalerror("Z80DMA '%s' Unknown base register %02x\n", tag(), data);
|
||||||
m_cur_follow = 0;
|
m_cur_follow = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user