From 1fc2d10a21c73433fa01bb5fb4123f6b388cfed3 Mon Sep 17 00:00:00 2001 From: waltje Date: Thu, 26 Apr 2018 16:44:46 -0400 Subject: [PATCH] Cleaning up old debug stuff. --- src/disk/hdc_ide_ata.c | 2 +- src/disk/hdc_ide_xta.c | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/disk/hdc_ide_ata.c b/src/disk/hdc_ide_ata.c index b1727e4..abacc0b 100644 --- a/src/disk/hdc_ide_ata.c +++ b/src/disk/hdc_ide_ata.c @@ -10,7 +10,7 @@ * ATA (AT-Attached) version, compared to the XT Attachment * we also support in the XTA driver. These are both IDE, but * not the same. - + * * Devices currently implemented are hard disk, CD-ROM and * ZIP IDE/ATAPI devices. * diff --git a/src/disk/hdc_ide_xta.c b/src/disk/hdc_ide_xta.c index 24f33fb..a17e8ac 100644 --- a/src/disk/hdc_ide_xta.c +++ b/src/disk/hdc_ide_xta.c @@ -46,7 +46,7 @@ * * NOTE: The XTA interface is 0-based for sector numbers !! * - * Version: @(#)hdc_ide_xta.c 1.0.3 2018/04/25 + * Version: @(#)hdc_ide_xta.c 1.0.4 2018/04/25 * * Author: Fred N. van Kempen, * @@ -793,7 +793,7 @@ do_recv: drive->hpc = params->heads; drive->spt = 17 /*hardcoded*/; #ifdef ENABLE_HDC_LOG - pclog("%s: set_params(%d) cyl=%d,hd=%d,spt=%d\n", + hdc_log("%s: set_params(%d) cyl=%d,hd=%d,spt=%d\n", dev->name, dcb->drvsel, drive->tracks, drive->hpc, drive->spt); #endif @@ -943,7 +943,6 @@ hdc_read(uint16_t port, void *priv) dev->callback = HDC_TIME; } } else if (dev->state == STATE_COMPL) { -pclog("DCB=%02X status=%02X comp=%02X\n", dev->dcb.cmd, dev->status, dev->comp); ret = dev->comp; dev->status = 0x00; dev->state = STATE_IDLE; @@ -1016,7 +1015,6 @@ hdc_write(uint16_t port, uint8_t val, void *priv) break; case 3: /* DMA/IRQ intr register */ -//pclog("%s: WriteMASK(%02X)\n", dev->name, val); dev->intr = val; break; }