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/instruct.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/instruct.cpp')
-rw-r--r-- | src/mame/drivers/instruct.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mame/drivers/instruct.cpp b/src/mame/drivers/instruct.cpp index 13b7a632296..29c77169dd7 100644 --- a/src/mame/drivers/instruct.cpp +++ b/src/mame/drivers/instruct.cpp @@ -75,15 +75,15 @@ public: INTERRUPT_GEN_MEMBER(t2l_int); private: virtual void machine_reset() override; - UINT16 m_lar; - UINT8 m_digit; + uint16_t m_lar; + uint8_t m_digit; bool m_valid_digit; bool m_cassin; bool m_irqstate; required_device<cpu_device> m_maincpu; - required_shared_ptr<UINT8> m_p_ram; - required_shared_ptr<UINT8> m_p_smiram; - required_shared_ptr<UINT8> m_p_extram; + required_shared_ptr<uint8_t> m_p_ram; + required_shared_ptr<uint8_t> m_p_smiram; + required_shared_ptr<uint8_t> m_p_extram; required_device<cassette_image_device> m_cass; }; @@ -151,7 +151,7 @@ READ8_MEMBER( instruct_state::portfd_r ) // read keyboard READ8_MEMBER( instruct_state::portfe_r ) { - for (UINT8 i = 0; i < 6; i++) + for (uint8_t i = 0; i < 6; i++) { if (BIT(m_digit, i)) { @@ -176,7 +176,7 @@ READ8_MEMBER( instruct_state::sense_r ) INTERRUPT_GEN_MEMBER( instruct_state::t2l_int ) { - UINT8 hwkeys = ioport("HW")->read(); + uint8_t hwkeys = ioport("HW")->read(); // check RST key if (BIT(hwkeys, 3)) @@ -193,10 +193,10 @@ INTERRUPT_GEN_MEMBER( instruct_state::t2l_int ) } else { - UINT8 switches = ioport("SW")->read(); + uint8_t switches = ioport("SW")->read(); // Set vector from INDIRECT sw - UINT8 vector = BIT(switches, 0) ? 0x87 : 0x07; + uint8_t vector = BIT(switches, 0) ? 0x87 : 0x07; // Check INT sw & key if (BIT(switches, 1)) @@ -322,7 +322,7 @@ void instruct_state::machine_reset() QUICKLOAD_LOAD_MEMBER( instruct_state, instruct ) { - UINT16 i, exec_addr, quick_length, read_; + uint16_t i, exec_addr, quick_length, read_; image_init_result result = image_init_result::FAIL; quick_length = image.length(); @@ -339,7 +339,7 @@ QUICKLOAD_LOAD_MEMBER( instruct_state, instruct ) } else { - std::vector<UINT8> quick_data(quick_length); + std::vector<uint8_t> quick_data(quick_length); read_ = image.fread( &quick_data[0], quick_length); if (read_ != quick_length) { |