Commented out a lot of excess logging;

Updated Makefile.local to add comments about NCR 53C810 and Voodoo log enable flags.
This commit is contained in:
OBattler
2017-12-28 20:42:45 +01:00
parent ac90896074
commit 4a829b31ad
17 changed files with 151 additions and 129 deletions

View File

@@ -9,7 +9,7 @@
* Implementation of the SMC FDC37C932FR and FDC37C935 Super
* I/O Chips.
*
* Version: @(#)sio_fdc37c93x.c 1.0.8 2017/11/04
* Version: @(#)sio_fdc37c93x.c 1.0.9 2017/12/28
*
* Author: Miran Grca, <mgrca8@gmail.com>
* Copyright 2016,2017 Miran Grca.
@@ -53,13 +53,13 @@ static uint16_t make_port(uint8_t ld)
static uint8_t fdc37c93x_gpio_read(uint16_t port, void *priv)
{
pclog("fdc37c93x: GPIO read: %02X\n", fdc37c93x_gpio_reg);
/* pclog("fdc37c93x: GPIO read: %02X\n", fdc37c93x_gpio_reg); */
return fdc37c93x_gpio_reg;
}
static void fdc37c93x_gpio_write(uint16_t port, uint8_t val, void *priv)
{
pclog("fdc37c93x: GPIO write: %02X\n", val);
/* pclog("fdc37c93x: GPIO write: %02X\n", val); */
fdc37c93x_gpio_reg = val;
}
@@ -74,7 +74,7 @@ static void fdc37c93x_fdc_handler(void)
if (global_enable && local_enable)
{
ld_port = make_port(0);
pclog("fdc37c93x: Setting FDC port to %04X\n", ld_port);
/* pclog("fdc37c93x: Setting FDC port to %04X\n", ld_port); */
if ((ld_port >= 0x0100) && (ld_port <= 0x0FF8)) {
fdc_set_base(ld_port, 1);
}
@@ -92,7 +92,7 @@ static void fdc37c93x_lpt_handler(void)
if (global_enable && local_enable)
{
ld_port = make_port(3);
pclog("fdc37c93x: Setting LPT1 port to %04X\n", ld_port);
/* pclog("fdc37c93x: Setting LPT1 port to %04X\n", ld_port); */
if ((ld_port >= 0x0100) && (ld_port <= 0x0FFC))
lpt1_init(ld_port);
}
@@ -111,7 +111,7 @@ static void fdc37c93x_serial_handler(int uart)
if (global_enable && local_enable)
{
ld_port = make_port(uart_no);
pclog("fdc37c93x: Setting COM%i port to %04X\n", uart, ld_port);
/* pclog("fdc37c93x: Setting COM%i port to %04X\n", uart, ld_port); */
if ((ld_port >= 0x0100) && (ld_port <= 0x0FF8))
serial_setup(uart, ld_port, fdc37c93x_ld_regs[uart_no][0x70]);
}
@@ -128,7 +128,7 @@ static void fdc37c93x_auxio_handler(void)
if (global_enable && local_enable)
{
fdc37c93x_gpio_base = ld_port = make_port(3);
pclog("fdc37c93x: Setting Auxiliary I/O port to %04X\n", ld_port);
/* pclog("fdc37c93x: Setting Auxiliary I/O port to %04X\n", ld_port); */
if ((ld_port >= 0x0100) && (ld_port <= 0x0FFF))
io_sethandler(fdc37c93x_gpio_base, 0x0001, fdc37c93x_gpio_read, NULL, NULL, fdc37c93x_gpio_write, NULL, NULL, NULL);
}
@@ -198,7 +198,7 @@ static void fdc37c932fr_access_bus_handler(void)
if (global_enable && local_enable)
{
access_bus.base = ld_port = make_port(9);
pclog("fdc37c93x: Setting Auxiliary I/O port to %04X\n", ld_port);
/* pclog("fdc37c93x: Setting Auxiliary I/O port to %04X\n", ld_port); */
if ((ld_port >= 0x0100) && (ld_port <= 0x0FFC))
io_sethandler(access_bus.base, 0x0004, fdc37c932fr_access_bus_read, NULL, NULL, fdc37c932fr_access_bus_write, NULL, NULL, NULL);
}