summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/isa/side116.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/isa/side116.cpp')
-rw-r--r--src/devices/bus/isa/side116.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/bus/isa/side116.cpp b/src/devices/bus/isa/side116.cpp
index 2212ac3844d..5c120fe878b 100644
--- a/src/devices/bus/isa/side116.cpp
+++ b/src/devices/bus/isa/side116.cpp
@@ -86,7 +86,7 @@ const tiny_rom_entry *side116_device::device_rom_region() const
// side116_device - constructor
//-------------------------------------------------
-side116_device::side116_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+side116_device::side116_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
device_t(mconfig, ISA8_SIDE116, "Acculogic sIDE-1/16 IDE Disk Controller", tag, owner, clock, "side116", __FILE__),
device_isa8_card_interface( mconfig, *this ),
m_ata(*this, "ata"),
@@ -134,11 +134,11 @@ void side116_device::device_reset()
READ8_MEMBER( side116_device::read )
{
- UINT8 data;
+ uint8_t data;
if (offset == 0)
{
- UINT16 ide_data = m_ata->read_cs0(space, 0, 0xffff);
+ uint16_t ide_data = m_ata->read_cs0(space, 0, 0xffff);
data = ide_data & 0xff;
m_latch = ide_data >> 8;
}
@@ -162,7 +162,7 @@ WRITE8_MEMBER( side116_device::write )
{
if (offset == 0)
{
- UINT16 ide_data = (m_latch << 8) | data;
+ uint16_t ide_data = (m_latch << 8) | data;
m_ata->write_cs0(space, 0, ide_data, 0xffff);
}
else if (offset < 8)
@@ -181,7 +181,7 @@ WRITE8_MEMBER( side116_device::write )
WRITE_LINE_MEMBER( side116_device::ide_interrupt )
{
- UINT8 level = m_config->read() & 0x18;
+ uint8_t level = m_config->read() & 0x18;
if (level == 0x08)
m_isa->irq2_w(state);