summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/adam_ide.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2012-11-19 08:40:08 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2012-11-19 08:40:08 +0000
commit8813fb6bcd7f44f308e0c4350231d536ccd032d6 (patch)
treebf50f0b04ee4e4c617773687fa1195981f9dc216 /src/mess/machine/adam_ide.c
parentd60236970a2d1ac8e78e1b108100d9a4ccb33b8c (diff)
Cleanups and version bump (nw)mame0147u3
Diffstat (limited to 'src/mess/machine/adam_ide.c')
-rw-r--r--src/mess/machine/adam_ide.c48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/mess/machine/adam_ide.c b/src/mess/machine/adam_ide.c
index c2e98989c6f..0b611c531b7 100644
--- a/src/mess/machine/adam_ide.c
+++ b/src/mess/machine/adam_ide.c
@@ -9,11 +9,11 @@
/*
- TODO:
+ TODO:
- - parallel status port
- - memory bank switching port
- - boot ROM
+ - parallel status port
+ - memory bank switching port
+ - boot ROM
*/
@@ -126,35 +126,35 @@ UINT8 powermate_ide_device::adam_bd_r(address_space &space, offs_t offset, UINT8
case 0x40: // Printer status
/*
-
- bit description
-
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
-
- */
+
+ bit description
+
+ 0
+ 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+
+ */
break;
-
+
case 0x58:
m_ide_data = ide_bus_r(m_ide, 0, 0);
data = m_ide_data & 0xff;
break;
-
+
case 0x59:
data = m_ide_data >> 8;
break;
-
+
case 0x5a:
data = ide_bus_r(m_ide, 1, 6) & 0xff;
break;
-
+
case 0x5b: // Digital Input Register
data = 0xff;
break;
@@ -190,16 +190,16 @@ void powermate_ide_device::adam_bd_w(address_space &space, offs_t offset, UINT8
case 0x42: // Bank Number
break;
-
+
case 0x58:
m_ide_data |= data;
ide_bus_w(m_ide, 0, 0, m_ide_data);
break;
-
+
case 0x59:
m_ide_data = data << 8;
break;
-
+
case 0x5a: // Fixed Disk Control Register
break;
}