summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/coco12.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/coco12.cpp')
-rw-r--r--src/mame/machine/coco12.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/machine/coco12.cpp b/src/mame/machine/coco12.cpp
index e2f3fbdb521..ac98b91468e 100644
--- a/src/mame/machine/coco12.cpp
+++ b/src/mame/machine/coco12.cpp
@@ -29,10 +29,10 @@ void coco12_state::device_start()
void coco12_state::configure_sam()
{
cococart_slot_device *cart = m_cococart;
- UINT8 *ram = m_ram->pointer();
- UINT32 ram_size = m_ram->size();
- UINT8 *rom = memregion(MAINCPU_TAG)->base();
- UINT8 *cart_rom = cart->get_cart_base();
+ uint8_t *ram = m_ram->pointer();
+ uint32_t ram_size = m_ram->size();
+ uint8_t *rom = memregion(MAINCPU_TAG)->base();
+ uint8_t *cart_rom = cart->get_cart_base();
m_sam->configure_bank(0, ram, ram_size, false); // $0000-$7FFF
m_sam->configure_bank(1, &rom[0x0000], 0x2000, true); // $8000-$9FFF
@@ -82,7 +82,7 @@ WRITE_LINE_MEMBER( coco12_state::field_sync )
READ8_MEMBER( coco12_state::sam_read )
{
- UINT8 data = m_ram->read(offset);
+ uint8_t data = m_ram->read(offset);
m_vdg->as_w(data & 0x80 ? ASSERT_LINE : CLEAR_LINE);
m_vdg->inv_w(data & 0x40 ? ASSERT_LINE : CLEAR_LINE);
return data;
@@ -94,7 +94,7 @@ READ8_MEMBER( coco12_state::sam_read )
// pia1_pb_changed
//-------------------------------------------------
-void coco12_state::pia1_pb_changed(UINT8 data)
+void coco12_state::pia1_pb_changed(uint8_t data)
{
/* call inherited function */
coco_state::pia1_pb_changed(data);
@@ -113,7 +113,7 @@ void coco12_state::pia1_pb_changed(UINT8 data)
// update_cart_base
//-------------------------------------------------
-void coco12_state::update_cart_base(UINT8 *cart_base)
+void coco12_state::update_cart_base(uint8_t *cart_base)
{
m_sam->configure_bank(3, cart_base, 0x4000, true); // $C000-$FEFF
}