diff options
author | 2016-10-22 13:13:17 +0200 | |
---|---|---|
committer | 2016-10-22 13:13:17 +0200 | |
commit | ddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch) | |
tree | a70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/mame/drivers/dim68k.cpp | |
parent | 333bff8de64dfaeb98134000412796b4fdef970b (diff) |
NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8
also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
Diffstat (limited to 'src/mame/drivers/dim68k.cpp')
-rw-r--r-- | src/mame/drivers/dim68k.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mame/drivers/dim68k.cpp b/src/mame/drivers/dim68k.cpp index 614bfd0e2a1..27c0b7b1ac1 100644 --- a/src/mame/drivers/dim68k.cpp +++ b/src/mame/drivers/dim68k.cpp @@ -67,16 +67,16 @@ public: DECLARE_WRITE16_MEMBER( dim68k_video_reset_w ); DECLARE_WRITE8_MEMBER(kbd_put); MC6845_UPDATE_ROW(crtc_update_row); - const UINT8 *m_p_chargen; + const uint8_t *m_p_chargen; bool m_speaker_bit; - UINT8 m_video_control; - UINT8 m_term_data; + uint8_t m_video_control; + uint8_t m_term_data; virtual void machine_reset() override; virtual void video_start() override; required_device<cpu_device> m_maincpu; required_device<mc6845_device> m_crtc; required_device<speaker_sound_device> m_speaker; - required_shared_ptr<UINT16> m_ram; + required_shared_ptr<uint16_t> m_ram; required_device<palette_device> m_palette; }; @@ -212,9 +212,9 @@ INPUT_PORTS_END void dim68k_state::machine_reset() { - UINT8* ROM = memregion("bootrom")->base(); + uint8_t* ROM = memregion("bootrom")->base(); - memcpy((UINT8*)m_ram.target(), ROM, 0x2000); + memcpy((uint8_t*)m_ram.target(), ROM, 0x2000); m_maincpu->reset(); } @@ -228,11 +228,11 @@ void dim68k_state::video_start() MC6845_UPDATE_ROW( dim68k_state::crtc_update_row ) { const rgb_t *palette = m_palette->palette()->entry_list_raw(); - UINT8 chr,gfx,x,xx,inv; - UINT16 chr16=0x2020; // set to spaces if screen is off - UINT32 *p = &bitmap.pix32(y); - UINT8 screen_on = ~m_video_control & 4; - UINT8 dot8 = ~m_video_control & 40; + uint8_t chr,gfx,x,xx,inv; + uint16_t chr16=0x2020; // set to spaces if screen is off + uint32_t *p = &bitmap.pix32(y); + uint8_t screen_on = ~m_video_control & 4; + uint8_t dot8 = ~m_video_control & 40; // need to divide everything in half to cater for 16-bit reads x_count /= 2; |