diff options
author | Angelo Salese <angelosa@users.noreply.github.com> | 2009-04-12 14:12:35 +0000 |
---|---|---|
committer | Angelo Salese <angelosa@users.noreply.github.com> | 2009-04-12 14:12:35 +0000 |
commit | e565243597fe9ee4e8f215e87840e154ff1a74a2 (patch) | |
tree | beab25ab1222f431ebf6b612c5b881bf990138b7 | |
parent | 02af7929ee46f7c5e57a68e8ae4352c2360c1523 (diff) |
Some debug output fixes for machine/dc.c.
-rw-r--r-- | src/mame/machine/dc.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mame/machine/dc.c b/src/mame/machine/dc.c index 3cb814c6668..91a7533c486 100644 --- a/src/mame/machine/dc.c +++ b/src/mame/machine/dc.c @@ -413,7 +413,7 @@ WRITE64_HANDLER( dc_maple_w ) case 3: ddtdata.length=1; #if DEBUG_MAPLE - mame_printf_verbose("MAPLE: transfer command %d port %d\n", command, port); + printf("MAPLE: transfer command %x port %x\n", command, port); #endif break; case 0x80: // get data and compute checksum @@ -453,7 +453,7 @@ WRITE64_HANDLER( dc_maple_w ) subcommand = buff[0] & 0xff; #if DEBUG_MAPLE - mame_printf_verbose("MAPLE: transfer command %d port %d subcommand %d\n", command, port, subcommand); + printf("MAPLE: transfer command %x port %x subcommand %x\n", command, port, subcommand); #endif if (subcommand == 3) // read data { @@ -485,7 +485,7 @@ WRITE64_HANDLER( dc_maple_w ) jvs_address = (buff[1] >> 16) & 0xff; // slave address jvs_command = buff[2] & 0xff; // jvs command #if DEBUG_MAPLE - mame_printf_verbose("MAPLE: sent jvs command %d\n", jvs_command); + printf("MAPLE: sent jvs command %x\n", jvs_command); #endif buff[1] = 0xe4e3e2e1; ddtdata.length = 2; @@ -703,7 +703,7 @@ WRITE64_HANDLER( dc_maple_w ) break; default: #if DEBUG_MAPLE - mame_printf_verbose("MAPLE: unknown transfer command %d port %d\n", command, port); + printf("MAPLE: unknown transfer command %x port %x\n", command, port); #endif ddtdata.length=1; buff[0]=0xffffffff; @@ -729,7 +729,7 @@ WRITE64_HANDLER( dc_maple_w ) else { #if DEBUG_MAPLE - mame_printf_verbose("MAPLE: hardware trigger not supported yet\n"); + printf("MAPLE: hardware trigger not supported yet\n"); #endif } } @@ -905,7 +905,6 @@ WRITE64_HANDLER( dc_g2_ctrl_w ) /* 0 rounding size = 32 Mbytes */ if(wave_dma.size == 0) { wave_dma.size = 0x200000; } - /* TODO: use the ddt function. */ if(wave_dma.dir == 0) { for(;size<wave_dma.size;size+=4) |