summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/electron.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/electron.h')
-rw-r--r--src/mame/includes/electron.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mame/includes/electron.h b/src/mame/includes/electron.h
index 3d7ea163c42..3d2e7599cb8 100644
--- a/src/mame/includes/electron.h
+++ b/src/mame/includes/electron.h
@@ -34,14 +34,14 @@
struct ULA
{
- UINT8 interrupt_status;
- UINT8 interrupt_control;
- UINT8 rompage;
- UINT16 screen_start;
- UINT16 screen_base;
+ uint8_t interrupt_status;
+ uint8_t interrupt_control;
+ uint8_t rompage;
+ uint16_t screen_start;
+ uint16_t screen_base;
int screen_size;
- UINT16 screen_addr;
- UINT8 *vram;
+ uint16_t screen_addr;
+ uint8_t *vram;
int current_pal[16];
int communication_mode;
int screen_mode;
@@ -49,14 +49,14 @@ struct ULA
int capslock_mode;
// int scanline;
/* tape reading related */
- UINT32 tape_value;
+ uint32_t tape_value;
int tape_steps;
int bit_count;
int high_tone_set;
int start_bit;
int stop_bit;
int tape_running;
- UINT8 tape_byte;
+ uint8_t tape_byte;
};
@@ -102,7 +102,7 @@ public:
virtual void machine_reset() override;
virtual void video_start() override;
DECLARE_PALETTE_INIT(electron);
- UINT32 screen_update_electron(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ uint32_t screen_update_electron(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
TIMER_CALLBACK_MEMBER(electron_tape_timer_handler);
TIMER_CALLBACK_MEMBER(setup_beep);
TIMER_CALLBACK_MEMBER(electron_scanline_interrupt);
@@ -113,8 +113,8 @@ public:
required_ioport_array<14> m_keybd;
required_device<electron_expansion_slot_device> m_exp;
required_device<ram_device> m_ram;
- inline UINT8 read_vram( UINT16 addr );
- inline void electron_plot_pixel(bitmap_ind16 &bitmap, int x, int y, UINT32 color);
+ inline uint8_t read_vram( uint16_t addr );
+ inline void electron_plot_pixel(bitmap_ind16 &bitmap, int x, int y, uint32_t color);
void electron_interrupt_handler(int mode, int interrupt);
DECLARE_DEVICE_IMAGE_LOAD_MEMBER( electron_cart );
DECLARE_INPUT_CHANGED_MEMBER( trigger_reset );