summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/a2bus/ramcard16k.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/a2bus/ramcard16k.cpp')
-rw-r--r--src/devices/bus/a2bus/ramcard16k.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/bus/a2bus/ramcard16k.cpp b/src/devices/bus/a2bus/ramcard16k.cpp
index 1d679b2be8c..d0d682deeaa 100644
--- a/src/devices/bus/a2bus/ramcard16k.cpp
+++ b/src/devices/bus/a2bus/ramcard16k.cpp
@@ -28,13 +28,13 @@ const device_type A2BUS_RAMCARD16K = &device_creator<a2bus_ramcard_device>;
// LIVE DEVICE
//**************************************************************************
-a2bus_ramcard_device::a2bus_ramcard_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
+a2bus_ramcard_device::a2bus_ramcard_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_a2bus_card_interface(mconfig, *this), m_inh_state(0), m_last_offset(0), m_dxxx_bank(0)
{
}
-a2bus_ramcard_device::a2bus_ramcard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+a2bus_ramcard_device::a2bus_ramcard_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
device_t(mconfig, A2BUS_RAMCARD16K, "Apple II 16K Language Card", tag, owner, clock, "a2ram16k", __FILE__),
device_a2bus_card_interface(mconfig, *this), m_inh_state(0), m_last_offset(0), m_dxxx_bank(0)
{
@@ -119,7 +119,7 @@ void a2bus_ramcard_device::do_io(int offset)
read_c0nx - called for reads from this card's c0nx space
-------------------------------------------------*/
-UINT8 a2bus_ramcard_device::read_c0nx(address_space &space, UINT8 offset)
+uint8_t a2bus_ramcard_device::read_c0nx(address_space &space, uint8_t offset)
{
do_io(offset & 0xf);
return 0xff;
@@ -130,12 +130,12 @@ UINT8 a2bus_ramcard_device::read_c0nx(address_space &space, UINT8 offset)
write_c0nx - called for writes to this card's c0nx space
-------------------------------------------------*/
-void a2bus_ramcard_device::write_c0nx(address_space &space, UINT8 offset, UINT8 data)
+void a2bus_ramcard_device::write_c0nx(address_space &space, uint8_t offset, uint8_t data)
{
do_io(offset & 0xf);
}
-UINT8 a2bus_ramcard_device::read_inh_rom(address_space &space, UINT16 offset)
+uint8_t a2bus_ramcard_device::read_inh_rom(address_space &space, uint16_t offset)
{
assert(m_inh_state & INH_READ); // this should never happen
@@ -147,7 +147,7 @@ UINT8 a2bus_ramcard_device::read_inh_rom(address_space &space, UINT16 offset)
return m_ram[(offset & 0x1fff) + 0x2000];
}
-void a2bus_ramcard_device::write_inh_rom(address_space &space, UINT16 offset, UINT8 data)
+void a2bus_ramcard_device::write_inh_rom(address_space &space, uint16_t offset, uint8_t data)
{
// are writes enabled?
if (!(m_inh_state & INH_WRITE))