summaryrefslogtreecommitdiffstats
path: root/src/mame/includes/irobot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/irobot.h')
-rw-r--r--src/mame/includes/irobot.h72
1 files changed, 36 insertions, 36 deletions
diff --git a/src/mame/includes/irobot.h b/src/mame/includes/irobot.h
index a2fc05d6fea..2c599547cea 100644
--- a/src/mame/includes/irobot.h
+++ b/src/mame/includes/irobot.h
@@ -11,15 +11,15 @@
struct irmb_ops
{
const struct irmb_ops *nxtop;
- UINT32 func;
- UINT32 diradd;
- UINT32 latchmask;
- UINT32 *areg;
- UINT32 *breg;
- UINT8 cycles;
- UINT8 diren;
- UINT8 flags;
- UINT8 ramsel;
+ uint32_t func;
+ uint32_t diradd;
+ uint32_t latchmask;
+ uint32_t *areg;
+ uint32_t *breg;
+ uint8_t cycles;
+ uint8_t diren;
+ uint8_t flags;
+ uint8_t ramsel;
};
@@ -35,34 +35,34 @@ public:
m_screen(*this, "screen"),
m_palette(*this, "palette") { }
- required_shared_ptr<UINT8> m_nvram;
- required_shared_ptr<UINT8> m_videoram;
- UINT8 m_vg_clear;
- UINT8 m_bufsel;
- UINT8 m_alphamap;
- UINT8 *m_combase;
- UINT8 m_irvg_vblank;
- UINT8 m_irvg_running;
- UINT8 m_irmb_running;
+ required_shared_ptr<uint8_t> m_nvram;
+ required_shared_ptr<uint8_t> m_videoram;
+ uint8_t m_vg_clear;
+ uint8_t m_bufsel;
+ uint8_t m_alphamap;
+ uint8_t *m_combase;
+ uint8_t m_irvg_vblank;
+ uint8_t m_irvg_running;
+ uint8_t m_irmb_running;
#if IR_TIMING
timer_device *m_irvg_timer;
timer_device *m_irmb_timer;
#endif
- UINT8 *m_comRAM[2];
- UINT8 *m_mbRAM;
- UINT8 *m_mbROM;
- UINT8 m_control_num;
- UINT8 m_statwr;
- UINT8 m_out0;
- UINT8 m_outx;
- UINT8 m_mpage;
- UINT8 *m_combase_mb;
+ uint8_t *m_comRAM[2];
+ uint8_t *m_mbRAM;
+ uint8_t *m_mbROM;
+ uint8_t m_control_num;
+ uint8_t m_statwr;
+ uint8_t m_out0;
+ uint8_t m_outx;
+ uint8_t m_mpage;
+ uint8_t *m_combase_mb;
irmb_ops *m_mbops;
const irmb_ops *m_irmb_stack[16];
- UINT32 m_irmb_regs[16];
- UINT32 m_irmb_latch;
- std::unique_ptr<UINT8[]> m_polybitmap1;
- std::unique_ptr<UINT8[]> m_polybitmap2;
+ uint32_t m_irmb_regs[16];
+ uint32_t m_irmb_latch;
+ std::unique_ptr<uint8_t[]> m_polybitmap1;
+ std::unique_ptr<uint8_t[]> m_polybitmap2;
int m_ir_xmin;
int m_ir_ymin;
int m_ir_xmax;
@@ -85,16 +85,16 @@ public:
virtual void machine_reset() override;
virtual void video_start() override;
DECLARE_PALETTE_INIT(irobot);
- UINT32 screen_update_irobot(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ uint32_t screen_update_irobot(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
TIMER_CALLBACK_MEMBER(scanline_callback);
TIMER_DEVICE_CALLBACK_MEMBER(irobot_irvg_done_callback);
TIMER_DEVICE_CALLBACK_MEMBER(irobot_irmb_done_callback);
- void _irobot_poly_clear(UINT8 *bitmap_base);
+ void _irobot_poly_clear(uint8_t *bitmap_base);
void irobot_poly_clear();
- void draw_line(UINT8 *polybitmap, int x1, int y1, int x2, int y2, int col);
+ void draw_line(uint8_t *polybitmap, int x1, int y1, int x2, int y2, int col);
void irobot_run_video();
- UINT32 irmb_din(const irmb_ops *curop);
- void irmb_dout(const irmb_ops *curop, UINT32 d);
+ uint32_t irmb_din(const irmb_ops *curop);
+ void irmb_dout(const irmb_ops *curop, uint32_t d);
void load_oproms();
void irmb_run();
required_device<cpu_device> m_maincpu;