diff options
Diffstat (limited to 'src/mame/drivers/bfm_sc5.cpp')
-rw-r--r-- | src/mame/drivers/bfm_sc5.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/drivers/bfm_sc5.cpp b/src/mame/drivers/bfm_sc5.cpp index 6d89ddaf442..bf7f9fcc339 100644 --- a/src/mame/drivers/bfm_sc5.cpp +++ b/src/mame/drivers/bfm_sc5.cpp @@ -26,7 +26,7 @@ WRITE16_MEMBER( bfm_sc5_state::sc5_duart_w ) { // clearly a duart of some kind, write patterns are the same as SC4 games -// printf("%s: duart_w %1x %04x %04x\n", machine().describe_context(), offset, data, mem_mask); +// logerror("%s: duart_w %1x %04x %04x\n", machine().describe_context(), offset, data, mem_mask); if (ACCESSING_BITS_8_15) { @@ -47,7 +47,7 @@ READ8_MEMBER( bfm_sc5_state::sc5_mux1_r ) return machine().rand(); } - printf("%s: sc5_mux1_r %1x\n", machine().describe_context(), offset); + logerror("%s: sc5_mux1_r %1x\n", machine().describe_context(), offset); return 0x00; } @@ -61,7 +61,7 @@ WRITE8_MEMBER( bfm_sc5_state::sc5_mux1_w ) } else { - printf("%s: sc5_mux1_w %1x %04x\n", machine().describe_context(), offset, data); + logerror("%s: sc5_mux1_w %1x %04x\n", machine().describe_context(), offset, data); } } @@ -75,7 +75,7 @@ WRITE8_MEMBER( bfm_sc5_state::sc5_mux2_w ) } else { - printf("%s: sc5_mux2_w %1x %04x\n", machine().describe_context(), offset, data); + logerror("%s: sc5_mux2_w %1x %04x\n", machine().describe_context(), offset, data); } } @@ -164,7 +164,7 @@ READ8_MEMBER( bfm_sc5_state::sc5_10202F0_r ) case 0x1: case 0x2: case 0x3: - printf("%s: sc5_10202F0_r %d\n", machine().describe_context(), offset); + logerror("%s: sc5_10202F0_r %d\n", machine().describe_context(), offset); return machine().rand(); } @@ -177,12 +177,12 @@ WRITE8_MEMBER( bfm_sc5_state::sc5_10202F0_w ) { case 0x0: bfm_sc45_write_serial_vfd((data &0x4)?1:0, (data &0x1)?1:0, (data&0x2) ? 0:1); - if (data&0xf8) printf("%s: sc5_10202F0_w %d - %02x\n", machine().describe_context(), offset, data); + if (data&0xf8) logerror("%s: sc5_10202F0_w %d - %02x\n", machine().describe_context(), offset, data); break; case 0x1: case 0x2: case 0x3: - printf("%s: sc5_10202F0_w %d - %02x\n", machine().describe_context(), offset, data); + logerror("%s: sc5_10202F0_w %d - %02x\n", machine().describe_context(), offset, data); break; } } @@ -190,7 +190,7 @@ WRITE8_MEMBER( bfm_sc5_state::sc5_10202F0_w ) WRITE_LINE_MEMBER(bfm_sc5_state::bfm_sc5_duart_irq_handler) { - printf("bfm_sc5_duart_irq_handler\n"); + logerror("bfm_sc5_duart_irq_handler\n"); } WRITE_LINE_MEMBER(bfm_sc5_state::bfm_sc5_duart_txa) @@ -200,7 +200,7 @@ WRITE_LINE_MEMBER(bfm_sc5_state::bfm_sc5_duart_txa) READ8_MEMBER(bfm_sc5_state::bfm_sc5_duart_input_r) { - printf("bfm_sc5_duart_input_r\n"); + logerror("bfm_sc5_duart_input_r\n"); return 0xff; } |