summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/eti660.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/eti660.cpp')
-rw-r--r--src/mame/drivers/eti660.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/eti660.cpp b/src/mame/drivers/eti660.cpp
index 74227888bb0..aabf6e6b055 100644
--- a/src/mame/drivers/eti660.cpp
+++ b/src/mame/drivers/eti660.cpp
@@ -42,14 +42,14 @@
READ8_MEMBER( eti660_state::pia_r )
{
- UINT8 pia_offset = m_maincpu->get_memory_address() & 0x03;
+ uint8_t pia_offset = m_maincpu->get_memory_address() & 0x03;
return m_pia->read(space, pia_offset);
}
WRITE8_MEMBER( eti660_state::pia_w )
{
- UINT8 pia_offset = m_maincpu->get_memory_address() & 0x03;
+ uint8_t pia_offset = m_maincpu->get_memory_address() & 0x03;
// Some PIA hacks here, as mentioned in the ToDo.
if (pia_offset == 1)
@@ -69,7 +69,7 @@ WRITE8_MEMBER( eti660_state::colorram_w )
{
offset = m_maincpu->get_memory_address() - 0xc80;
- UINT8 colorram_offset = (((offset & 0x1f0) >> 1) | (offset & 0x07));
+ uint8_t colorram_offset = (((offset & 0x1f0) >> 1) | (offset & 0x07));
if (colorram_offset < 0xc0)
m_color_ram[colorram_offset] = data;
@@ -187,7 +187,7 @@ WRITE8_MEMBER( eti660_state::dma_w )
if (m_color_on)
{
- UINT8 colorram_offset = ((offset & 0x1f0) >> 1) | (offset & 0x07);
+ uint8_t colorram_offset = ((offset & 0x1f0) >> 1) | (offset & 0x07);
if (colorram_offset < 0xc0)
m_color = m_color_ram[colorram_offset];
@@ -218,7 +218,7 @@ READ8_MEMBER( eti660_state::pia_pa_r )
*/
- UINT8 i, data = 0xff;
+ uint8_t i, data = 0xff;
for (i = 0; i < 4; i++)
if (BIT(m_keylatch, i))
@@ -267,7 +267,7 @@ QUICKLOAD_LOAD_MEMBER( eti660_state, eti660 )
int i;
int quick_addr = 0x600;
int quick_length;
- std::vector<UINT8> quick_data;
+ std::vector<uint8_t> quick_data;
int read_;
image_init_result result = image_init_result::FAIL;