diff options
Diffstat (limited to 'src/devices/bus/ti99x/gromport.h')
-rw-r--r-- | src/devices/bus/ti99x/gromport.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/devices/bus/ti99x/gromport.h b/src/devices/bus/ti99x/gromport.h index 34161cb6a5d..9e0765fd826 100644 --- a/src/devices/bus/ti99x/gromport.h +++ b/src/devices/bus/ti99x/gromport.h @@ -22,7 +22,7 @@ class ti99_cartridge_connector_device; class gromport_device : public bus8z_device, public device_slot_interface { public: - gromport_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + gromport_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); DECLARE_READ8Z_MEMBER(readz) override; DECLARE_WRITE8_MEMBER(write) override; DECLARE_READ8Z_MEMBER(crureadz); @@ -86,7 +86,7 @@ class ti99_cartridge_pcb; class ti99_cartridge_device : public bus8z_device, public device_image_interface { public: - ti99_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + ti99_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); DECLARE_READ8Z_MEMBER(readz) override; DECLARE_WRITE8_MEMBER(write) override; @@ -164,7 +164,7 @@ public: virtual bool is_grom_idle() =0; protected: - ti99_cartridge_connector_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); + ti99_cartridge_connector_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); virtual void device_config_complete() override; gromport_device* m_gromport; @@ -177,7 +177,7 @@ protected: class single_conn_device : public ti99_cartridge_connector_device { public: - single_conn_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + single_conn_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); DECLARE_READ8Z_MEMBER(readz) override; DECLARE_WRITE8_MEMBER(write) override; @@ -210,7 +210,7 @@ private: class multi_conn_device : public ti99_cartridge_connector_device { public: - multi_conn_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + multi_conn_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); DECLARE_READ8Z_MEMBER(readz) override; DECLARE_WRITE8_MEMBER(write) override; @@ -249,7 +249,7 @@ private: class gkracker_device : public ti99_cartridge_connector_device, public device_nvram_interface { public: - gkracker_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + gkracker_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); DECLARE_READ8Z_MEMBER(readz) override; DECLARE_WRITE8_MEMBER(write) override; @@ -285,8 +285,8 @@ private: bool m_romspace_selected; int m_ram_page; int m_grom_address; - UINT8* m_ram_ptr; - UINT8* m_grom_ptr; + uint8_t* m_ram_ptr; + uint8_t* m_grom_ptr; bool m_waddr_LSB; @@ -334,16 +334,16 @@ protected: int m_rom_size; int m_ram_size; - UINT8* m_rom_ptr; - UINT8* m_ram_ptr; + uint8_t* m_rom_ptr; + uint8_t* m_ram_ptr; bool m_romspace_selected; int m_rom_page; // for some cartridge types - UINT8* m_grom_ptr; // for gromemu + uint8_t* m_grom_ptr; // for gromemu int m_grom_address; // for gromemu int m_ram_page; // for super const char* m_tag; - std::vector<UINT8> m_nvram; // for MiniMemory - std::vector<UINT8> m_ram; // for MBX + std::vector<uint8_t> m_nvram; // for MiniMemory + std::vector<uint8_t> m_ram; // for MBX }; /******************** Standard cartridge ******************************/ @@ -488,21 +488,21 @@ class rpk_socket friend class rpk; public: - rpk_socket(const char *id, int length, UINT8 *contents); - rpk_socket(const char *id, int length, UINT8 *contents, const char *pathname); + rpk_socket(const char *id, int length, uint8_t *contents); + rpk_socket(const char *id, int length, uint8_t *contents, const char *pathname); ~rpk_socket() {} const char* id() { return m_id; } int get_content_length() { return m_length; } - UINT8* get_contents() { return m_contents; } + uint8_t* get_contents() { return m_contents; } bool persistent_ram() { return m_pathname != nullptr; } const char* get_pathname() { return m_pathname; } void cleanup() { if (m_contents != nullptr) global_free_array(m_contents); } private: const char* m_id; - UINT32 m_length; - UINT8* m_contents; + uint32_t m_length; + uint8_t* m_contents; const char* m_pathname; }; @@ -515,7 +515,7 @@ public: rpk *open(emu_options &options, const char *filename, const char *system_name); private: - int find_file(util::archive_file &zip, const char *filename, UINT32 crc); + int find_file(util::archive_file &zip, const char *filename, uint32_t crc); std::unique_ptr<rpk_socket> load_rom_resource(util::archive_file &zip, xml_data_node* rom_resource_node, const char* socketname); std::unique_ptr<rpk_socket> load_ram_resource(emu_options &options, xml_data_node* ram_resource_node, const char* socketname, const char* system_name); const pcb_type* m_types; @@ -529,7 +529,7 @@ public: ~rpk(); int get_type(void) { return m_type; } - UINT8* get_contents_of_socket(const char *socket_name); + uint8_t* get_contents_of_socket(const char *socket_name); int get_resource_length(const char *socket_name); void close(); |