summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/e0c6200/e0c6s46.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/e0c6200/e0c6s46.h')
-rw-r--r--src/devices/cpu/e0c6200/e0c6s46.h66
1 files changed, 33 insertions, 33 deletions
diff --git a/src/devices/cpu/e0c6200/e0c6s46.h b/src/devices/cpu/e0c6200/e0c6s46.h
index 692f2332cd5..0d3ad7c250c 100644
--- a/src/devices/cpu/e0c6200/e0c6s46.h
+++ b/src/devices/cpu/e0c6200/e0c6s46.h
@@ -66,7 +66,7 @@ typedef void (*e0c6s46_pixel_update_func)(device_t &device, bitmap_ind16 &bitmap
class e0c6s46_device : public e0c6200_cpu_device
{
public:
- e0c6s46_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ e0c6s46_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
// static configuration helpers
template<class _Object> static devcb_base &set_write_r0_callback(device_t &device, _Object object) { return downcast<e0c6s46_device &>(device).m_write_r0.set_callback(object); }
@@ -89,7 +89,7 @@ public:
DECLARE_READ8_MEMBER(io_r);
DECLARE_WRITE8_MEMBER(io_w);
- UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
protected:
// device-level overrides
@@ -97,40 +97,40 @@ protected:
virtual void device_reset() override;
// device_execute_interface overrides
- virtual UINT32 execute_input_lines() const override { return 8; }
+ virtual uint32_t execute_input_lines() const override { return 8; }
virtual void execute_set_input(int line, int state) override;
virtual void execute_one() override;
virtual bool check_interrupt() override;
private:
- required_shared_ptr<UINT8> m_vram1;
- required_shared_ptr<UINT8> m_vram2;
+ required_shared_ptr<uint8_t> m_vram1;
+ required_shared_ptr<uint8_t> m_vram2;
- UINT8 m_irqflag[6];
- UINT8 m_irqmask[6];
- UINT8 m_osc;
- UINT8 m_svd;
+ uint8_t m_irqflag[6];
+ uint8_t m_irqmask[6];
+ uint8_t m_osc;
+ uint8_t m_svd;
- UINT8 m_lcd_control;
- UINT8 m_lcd_contrast;
+ uint8_t m_lcd_control;
+ uint8_t m_lcd_contrast;
e0c6s46_pixel_update_func m_pixel_update_handler;
// i/o ports
devcb_write8 m_write_r0, m_write_r1, m_write_r2, m_write_r3, m_write_r4;
devcb_read8 m_read_p0, m_read_p1, m_read_p2, m_read_p3;
devcb_write8 m_write_p0, m_write_p1, m_write_p2, m_write_p3;
- void write_r(UINT8 port, UINT8 data);
+ void write_r(uint8_t port, uint8_t data);
void write_r4_out();
- void write_p(UINT8 port, UINT8 data);
- UINT8 read_p(UINT8 port);
+ void write_p(uint8_t port, uint8_t data);
+ uint8_t read_p(uint8_t port);
- UINT8 m_port_r[5];
- UINT8 m_r_dir;
- UINT8 m_port_p[4];
- UINT8 m_p_dir;
- UINT8 m_p_pullup;
- UINT8 m_port_k[2];
- UINT8 m_dfk0;
+ uint8_t m_port_r[5];
+ uint8_t m_r_dir;
+ uint8_t m_port_p[4];
+ uint8_t m_p_dir;
+ uint8_t m_p_pullup;
+ uint8_t m_port_k[2];
+ uint8_t m_dfk0;
// timers
int m_256_src_pulse;
@@ -139,34 +139,34 @@ private:
int m_watchdog_count;
void clock_watchdog();
- UINT8 m_clktimer_count;
+ uint8_t m_clktimer_count;
void clock_clktimer();
- UINT8 m_stopwatch_on;
+ uint8_t m_stopwatch_on;
int m_swl_cur_pulse;
int m_swl_slice;
int m_swl_count;
int m_swh_count;
void clock_stopwatch();
- UINT8 m_prgtimer_select;
- UINT8 m_prgtimer_on;
+ uint8_t m_prgtimer_select;
+ uint8_t m_prgtimer_on;
int m_prgtimer_src_pulse;
int m_prgtimer_cur_pulse;
- UINT8 m_prgtimer_count;
- UINT8 m_prgtimer_reload;
+ uint8_t m_prgtimer_count;
+ uint8_t m_prgtimer_reload;
emu_timer *m_prgtimer_handle;
TIMER_CALLBACK_MEMBER(prgtimer_cb);
bool prgtimer_reset_prescaler();
void clock_prgtimer();
- UINT8 m_bz_43_on;
- UINT8 m_bz_freq;
- UINT8 m_bz_envelope;
- UINT8 m_bz_duty_ratio;
- UINT8 m_bz_1shot_on;
+ uint8_t m_bz_43_on;
+ uint8_t m_bz_freq;
+ uint8_t m_bz_envelope;
+ uint8_t m_bz_duty_ratio;
+ uint8_t m_bz_1shot_on;
bool m_bz_1shot_running;
- UINT8 m_bz_1shot_count;
+ uint8_t m_bz_1shot_count;
int m_bz_pulse;
emu_timer *m_buzzer_handle;
TIMER_CALLBACK_MEMBER(buzzer_cb);