summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/coco/dragon_jcbspch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/coco/dragon_jcbspch.cpp')
-rw-r--r--src/devices/bus/coco/dragon_jcbspch.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/bus/coco/dragon_jcbspch.cpp b/src/devices/bus/coco/dragon_jcbspch.cpp
index 9d774934066..a82d122d275 100644
--- a/src/devices/bus/coco/dragon_jcbspch.cpp
+++ b/src/devices/bus/coco/dragon_jcbspch.cpp
@@ -41,7 +41,7 @@ DEFINE_DEVICE_TYPE(DRAGON_JCBSPCH, dragon_jcbspch_device, "dragon_jcbspch", "Dra
// dragon_jcbspch_device - constructor
//-------------------------------------------------
-dragon_jcbspch_device::dragon_jcbspch_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
+dragon_jcbspch_device::dragon_jcbspch_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
: device_t(mconfig, DRAGON_JCBSPCH, tag, owner, clock)
, device_cococart_interface(mconfig, *this )
, m_eprom(*this, "eprom")
@@ -63,7 +63,7 @@ void dragon_jcbspch_device::device_start()
// dragon_jcbspch_device::get_cart_base
//-------------------------------------------------
-uint8_t* dragon_jcbspch_device::get_cart_base()
+u8 *dragon_jcbspch_device::get_cart_base()
{
return m_eprom->base();
}
@@ -72,7 +72,7 @@ uint8_t* dragon_jcbspch_device::get_cart_base()
// dragon_jcbspch_device::get_cart_memregion
//-------------------------------------------------
-memory_region* dragon_jcbspch_device::get_cart_memregion()
+memory_region *dragon_jcbspch_device::get_cart_memregion()
{
return m_eprom;
}
@@ -107,7 +107,7 @@ const tiny_rom_entry *dragon_jcbspch_device::device_rom_region() const
// cts_read
//-------------------------------------------------
-READ8_MEMBER(dragon_jcbspch_device::cts_read)
+u8 dragon_jcbspch_device::cts_read(offs_t offset)
{
return m_eprom->base()[offset & 0x0fff];
}
@@ -116,9 +116,9 @@ READ8_MEMBER(dragon_jcbspch_device::cts_read)
// scs_read
//-------------------------------------------------
-READ8_MEMBER(dragon_jcbspch_device::scs_read)
+u8 dragon_jcbspch_device::scs_read(offs_t offset)
{
- uint8_t result = 0x00;
+ u8 result = 0x00;
switch (offset)
{
@@ -133,7 +133,7 @@ READ8_MEMBER(dragon_jcbspch_device::scs_read)
// scs_write
//-------------------------------------------------
-WRITE8_MEMBER(dragon_jcbspch_device::scs_write)
+void dragon_jcbspch_device::scs_write(offs_t offset, u8 data)
{
switch (offset)
{