summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/psion_pack.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/psion_pack.h')
-rw-r--r--src/mame/machine/psion_pack.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mame/machine/psion_pack.h b/src/mame/machine/psion_pack.h
index b5335420f41..24516a93341 100644
--- a/src/mame/machine/psion_pack.h
+++ b/src/mame/machine/psion_pack.h
@@ -23,7 +23,7 @@ class datapack_device : public device_t,
{
public:
// construction/destruction
- datapack_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ datapack_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
virtual ~datapack_device();
// image-level overrides
@@ -43,10 +43,10 @@ public:
virtual const util::option_guide &create_option_guide() const override;
// specific implementation
- UINT8 data_r();
- void data_w(UINT8 data);
- UINT8 control_r();
- void control_w(UINT8 data);
+ uint8_t data_r();
+ void data_w(uint8_t data);
+ uint8_t control_r();
+ void control_w(uint8_t data);
protected:
// internal helper
@@ -58,13 +58,13 @@ protected:
private:
// internal device state
- UINT8 m_id; //datapack ID
- UINT8 m_size; //size in 8k blocks
- UINT8 m_data; //data lines
- UINT8 m_control; //control lines
- UINT16 m_counter; //address counter
- UINT8 m_page; //active page (only for paged Datapack)
- UINT8 m_segment; //active segment (only for segmented Datapack)
+ uint8_t m_id; //datapack ID
+ uint8_t m_size; //size in 8k blocks
+ uint8_t m_data; //data lines
+ uint8_t m_control; //control lines
+ uint16_t m_counter; //address counter
+ uint8_t m_page; //active page (only for paged Datapack)
+ uint8_t m_segment; //active segment (only for segmented Datapack)
};