summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/fp1100.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/fp1100.cpp')
-rw-r--r--src/mame/drivers/fp1100.cpp46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/mame/drivers/fp1100.cpp b/src/mame/drivers/fp1100.cpp
index 7067b5e3c96..4301af2b1af 100644
--- a/src/mame/drivers/fp1100.cpp
+++ b/src/mame/drivers/fp1100.cpp
@@ -102,32 +102,32 @@ public:
TIMER_DEVICE_CALLBACK_MEMBER(timer_c);
required_device<palette_device> m_palette;
private:
- UINT8 m_irq_mask;
- UINT8 m_main_latch;
- UINT8 m_sub_latch;
- UINT8 m_slot_num;
- UINT8 m_kbd_row;
- UINT8 m_col_border;
- UINT8 m_col_cursor;
- UINT8 m_col_display;
- UINT8 m_centronics_busy;
- UINT8 m_cass_data[4];
+ uint8_t m_irq_mask;
+ uint8_t m_main_latch;
+ uint8_t m_sub_latch;
+ uint8_t m_slot_num;
+ uint8_t m_kbd_row;
+ uint8_t m_col_border;
+ uint8_t m_col_cursor;
+ uint8_t m_col_display;
+ uint8_t m_centronics_busy;
+ uint8_t m_cass_data[4];
bool m_cass_state;
bool m_cassold;
struct {
- UINT8 id;
+ uint8_t id;
}m_slot[8];
struct {
- UINT8 porta;
- UINT8 portb;
- UINT8 portc;
+ uint8_t porta;
+ uint8_t portb;
+ uint8_t portc;
}m_upd7801;
required_device<cpu_device> m_maincpu;
required_device<cpu_device> m_subcpu;
required_device<mc6845_device> m_crtc;
- required_shared_ptr<UINT8> m_p_videoram;
+ required_shared_ptr<uint8_t> m_p_videoram;
required_ioport_array<16> m_keyboard;
required_device<beep_device> m_beep;
required_device<centronics_device> m_centronics;
@@ -137,9 +137,9 @@ private:
MC6845_UPDATE_ROW( fp1100_state::fp1100_update_row )
{
const rgb_t *palette = m_palette->palette()->entry_list_raw();
- UINT8 r,g,b,col,i;
- UINT16 mem,x;
- UINT32 *p = &bitmap.pix32(y);
+ uint8_t r,g,b,col,i;
+ uint16_t mem,x;
+ uint32_t *p = &bitmap.pix32(y);
if (BIT(m_upd7801.porta, 4))
{ // green screen
@@ -316,7 +316,7 @@ WRITE8_MEMBER( fp1100_state::porta_w )
READ8_MEMBER( fp1100_state::portb_r )
{
- UINT8 data = m_keyboard[m_kbd_row]->read() ^ 0xff;
+ uint8_t data = m_keyboard[m_kbd_row]->read() ^ 0xff;
//m_subcpu->set_input_line(UPD7810_INTF0, BIT(data, 7) ? HOLD_LINE : CLEAR_LINE);
return data;
}
@@ -603,8 +603,8 @@ INTERRUPT_GEN_MEMBER(fp1100_state::fp1100_vblank_irq)
MACHINE_RESET_MEMBER( fp1100_state, fp1100 )
{
int i;
- UINT8 slot_type;
- const UINT8 id_type[4] = { 0xff, 0x00, 0x01, 0x04};
+ uint8_t slot_type;
+ const uint8_t id_type[4] = { 0xff, 0x00, 0x01, 0x04};
for(i=0;i<8;i++)
{
slot_type = (ioport("SLOTS")->read() >> i*2) & 3;
@@ -631,8 +631,8 @@ MACHINE_RESET_MEMBER( fp1100_state, fp1100 )
DRIVER_INIT_MEMBER( fp1100_state, fp1100 )
{
- UINT8 *main = memregion("ipl")->base();
- UINT8 *wram = memregion("wram")->base();
+ uint8_t *main = memregion("ipl")->base();
+ uint8_t *wram = memregion("wram")->base();
membank("bankr0")->configure_entry(1, &wram[0x0000]);
membank("bankr0")->configure_entry(0, &main[0x0000]);