mirror of
https://github.com/holub/mame
synced 2025-05-22 13:48:55 +03:00
Cleaned up drivers that write files which are not being actively developed. Also, commented our or changed the printf-ing of some messages to LOGERROR.
Comments: I did this largely due to the difficulty in running regression testing - scanning the text as it flows to the screen has been becoming increasingly annoying, mostly due to excessive amount of specifc printf's used in some instances. Putting them into LOGERROR keeps them available and makes them transparent to the normal end user. As for the files, if a driver is not in active development (it's been over a year on Raiden/Seibu - High Seas Havoc almost 3 years), they shouldn't need to output files.
This commit is contained in:
parent
b62bb71918
commit
521ae5e5b3
@ -876,7 +876,7 @@ WRITE8_HANDLER( schaser_sh_port_2_w )
|
||||
|
||||
const device_config *discrete = devtag_get_device(space->machine, "discrete");
|
||||
|
||||
printf( "schaser_sh_port_2_w: %02x\n", data );
|
||||
//printf( "schaser_sh_port_2_w: %02x\n", data );
|
||||
|
||||
discrete_sound_w(discrete, SCHASER_MUSIC_BIT, data & 0x01);
|
||||
|
||||
|
@ -300,6 +300,7 @@ static DRIVER_INIT(hshavoc)
|
||||
|
||||
}
|
||||
|
||||
/* Uncommented until actively worked on
|
||||
{
|
||||
FILE*FP;
|
||||
|
||||
@ -308,7 +309,7 @@ static DRIVER_INIT(hshavoc)
|
||||
fwrite(src, rom_size/2, 2, FP);
|
||||
fclose(FP);
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
|
||||
DRIVER_INIT_CALL(genesis);
|
||||
|
@ -174,9 +174,9 @@ static WRITE16_HANDLER( blit_copy_w )
|
||||
int x,y,x_size,y_size;
|
||||
UINT32 src;
|
||||
|
||||
printf("blit copy %04x %04x %04x %04x %04x\n", blit_romaddr[0], blit_attr1_ram[0], blit_dst_ram_loword[0], blit_attr2_ram[0], blit_dst_ram_hiword[0] );
|
||||
printf("blit vregs %04x %04x %04x %04x\n",blit_vregs[0/2],blit_vregs[2/2],blit_vregs[4/2],blit_vregs[6/2]);
|
||||
printf("blit transpen %04x %04x %04x %04x %04x %04x %04x %04x\n",blit_transpen[0/2],blit_transpen[2/2],blit_transpen[4/2],blit_transpen[6/2],
|
||||
logerror("blit copy %04x %04x %04x %04x %04x\n", blit_romaddr[0], blit_attr1_ram[0], blit_dst_ram_loword[0], blit_attr2_ram[0], blit_dst_ram_hiword[0] );
|
||||
logerror("blit vregs %04x %04x %04x %04x\n",blit_vregs[0/2],blit_vregs[2/2],blit_vregs[4/2],blit_vregs[6/2]);
|
||||
logerror("blit transpen %04x %04x %04x %04x %04x %04x %04x %04x\n",blit_transpen[0/2],blit_transpen[2/2],blit_transpen[4/2],blit_transpen[6/2],
|
||||
blit_transpen[8/2],blit_transpen[10/2],blit_transpen[12/2],blit_transpen[14/2]);
|
||||
|
||||
blit_dst_xpos = (blit_dst_ram_loword[0] & 0x00ff)*2;
|
||||
|
@ -2002,6 +2002,7 @@ static WRITE16_HANDLER( mcu_prog_w2 )
|
||||
{
|
||||
mcu_prog[mcu_prog_offs*2+1] = data;
|
||||
|
||||
/* Uncommented until actively worked on
|
||||
{
|
||||
FILE *fp;
|
||||
fp=fopen("rdx_v33.dmp", "w+b");
|
||||
@ -2011,6 +2012,7 @@ static WRITE16_HANDLER( mcu_prog_w2 )
|
||||
fclose(fp);
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
static WRITE16_HANDLER( mcu_prog_offs_w )
|
||||
|
@ -104,7 +104,7 @@ static WRITE8_HANDLER( trvmadns_banking_w )
|
||||
if(data != old_data)
|
||||
{
|
||||
old_data = data;
|
||||
printf("port80 = %02X\n",data);
|
||||
logerror("port80 = %02X\n",data);
|
||||
//logerror("port80 = %02X\n",data);
|
||||
}
|
||||
|
||||
@ -134,7 +134,7 @@ static WRITE8_HANDLER( trvmadns_banking_w )
|
||||
|
||||
//address |= (data & 0x08) ? 0x8000 : 0;
|
||||
|
||||
// printf("add = %X\n",address);
|
||||
// logerror("add = %X\n",address);
|
||||
|
||||
memory_set_bankptr(space->machine, 1, &rom[address]);
|
||||
}
|
||||
@ -166,7 +166,7 @@ static WRITE8_HANDLER( w2 )
|
||||
{
|
||||
/* static int old = -1;
|
||||
if(data!=old)
|
||||
printf("w2 = %02X\n",old=data);
|
||||
logerror("w2 = %02X\n",old=data);
|
||||
*/
|
||||
}
|
||||
|
||||
@ -174,7 +174,7 @@ static WRITE8_HANDLER( w3 )
|
||||
{
|
||||
/* static int old = -1;
|
||||
if(data!=old)
|
||||
printf("w3 = %02X\n",old=data);
|
||||
logerror("w3 = %02X\n",old=data);
|
||||
*/
|
||||
}
|
||||
|
||||
@ -187,7 +187,7 @@ static WRITE8_HANDLER( trvmadns_tileram_w )
|
||||
cputag_set_input_line(space->machine, "maincpu", 0, HOLD_LINE);
|
||||
}
|
||||
// else
|
||||
// printf("%x \n", cpu_get_previouspc(space->cpu));
|
||||
// logerror("%x \n", cpu_get_previouspc(space->cpu));
|
||||
|
||||
}
|
||||
|
||||
|
@ -202,7 +202,7 @@ READ32_HANDLER(memc_logical_r)
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("ARCHIMEDES_MEMC: Reading unmapped page, what do we do?\n");
|
||||
logerror("ARCHIMEDES_MEMC: Reading unmapped page, what do we do?\n");
|
||||
}
|
||||
}
|
||||
|
||||
@ -232,7 +232,7 @@ WRITE32_HANDLER(memc_logical_w)
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("ARCHIMEDES_MEMC: Writing unmapped page, what do we do?\n");
|
||||
logerror("ARCHIMEDES_MEMC: Writing unmapped page, what do we do?\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -86,6 +86,7 @@ static void copd2_set_tableoffset(running_machine *machine, UINT16 data)
|
||||
copd2_table_3[copd2_offs/8] = cop_43a;
|
||||
copd2_table_4[copd2_offs/8] = cop_43c;
|
||||
|
||||
/* Uncommented until actively worked on
|
||||
{
|
||||
FILE *fp;
|
||||
char filename[256];
|
||||
@ -119,6 +120,7 @@ static void copd2_set_tableoffset(running_machine *machine, UINT16 data)
|
||||
fclose(fp);
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
@ -127,6 +129,7 @@ static void copd2_set_tabledata(running_machine *machine, UINT16 data)
|
||||
copd2_table[copd2_offs] = data;
|
||||
logerror("mcu_data %04x\n", data);
|
||||
|
||||
/* Uncommented until actively worked on
|
||||
{
|
||||
FILE *fp;
|
||||
char filename[256];
|
||||
@ -138,6 +141,7 @@ static void copd2_set_tabledata(running_machine *machine, UINT16 data)
|
||||
fclose(fp);
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user