diff options
Diffstat (limited to 'src/devices/bus/wswan/rom.h')
-rw-r--r-- | src/devices/bus/wswan/rom.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/devices/bus/wswan/rom.h b/src/devices/bus/wswan/rom.h index e3a15550e73..9197cf98911 100644 --- a/src/devices/bus/wswan/rom.h +++ b/src/devices/bus/wswan/rom.h @@ -13,8 +13,8 @@ class ws_rom_device : public device_t, { public: // construction/destruction - ws_rom_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); - ws_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + ws_rom_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source); + ws_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); // device-level overrides virtual void device_start() override; @@ -29,19 +29,19 @@ public: virtual DECLARE_WRITE8_MEMBER(write_io) override; protected: - UINT8 m_io_regs[0x10]; - UINT32 m_base20, m_base30, m_base40; + uint8_t m_io_regs[0x10]; + uint32_t m_base20, m_base30, m_base40; // RTC - UINT8 m_rtc_setting; /* Timer setting byte */ - UINT8 m_rtc_year; /* Year */ - UINT8 m_rtc_month; /* Month */ - UINT8 m_rtc_day; /* Day */ - UINT8 m_rtc_day_of_week; /* Day of the week */ - UINT8 m_rtc_hour; /* Hour, high bit = 0 => AM, high bit = 1 => PM */ - UINT8 m_rtc_minute; /* Minute */ - UINT8 m_rtc_second; /* Second */ - UINT8 m_rtc_index; /* index for reading/writing of current of alarm time */ + uint8_t m_rtc_setting; /* Timer setting byte */ + uint8_t m_rtc_year; /* Year */ + uint8_t m_rtc_month; /* Month */ + uint8_t m_rtc_day; /* Day */ + uint8_t m_rtc_day_of_week; /* Day of the week */ + uint8_t m_rtc_hour; /* Hour, high bit = 0 => AM, high bit = 1 => PM */ + uint8_t m_rtc_minute; /* Minute */ + uint8_t m_rtc_second; /* Second */ + uint8_t m_rtc_index; /* index for reading/writing of current of alarm time */ static const device_timer_id TIMER_RTC = 0; emu_timer *rtc_timer; @@ -54,7 +54,7 @@ class ws_rom_sram_device : public ws_rom_device { public: // construction/destruction - ws_rom_sram_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + ws_rom_sram_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); // device-level overrides virtual void device_start() override; @@ -66,7 +66,7 @@ public: virtual DECLARE_WRITE8_MEMBER(write_io) override; private: - UINT32 m_nvram_base; + uint32_t m_nvram_base; }; @@ -76,7 +76,7 @@ class ws_rom_eeprom_device : public ws_rom_device { public: // construction/destruction - ws_rom_eeprom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + ws_rom_eeprom_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); // device-level overrides virtual void device_start() override; @@ -87,11 +87,11 @@ public: virtual DECLARE_WRITE8_MEMBER(write_io) override; private: - UINT8 m_eeprom_mode; /* eeprom mode */ - UINT16 m_eeprom_address; /* Read/write address */ - UINT8 m_eeprom_command; /* Commands: 00, 01, 02, 03, 04, 08, 0C */ - UINT8 m_eeprom_start; /* start bit */ - UINT8 m_eeprom_write_enabled; /* write enabled yes/no */ + uint8_t m_eeprom_mode; /* eeprom mode */ + uint16_t m_eeprom_address; /* Read/write address */ + uint8_t m_eeprom_command; /* Commands: 00, 01, 02, 03, 04, 08, 0C */ + uint8_t m_eeprom_start; /* start bit */ + uint8_t m_eeprom_write_enabled; /* write enabled yes/no */ }; |