summaryrefslogtreecommitdiffstats
path: root/src/mame/machine/poly88.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/poly88.cpp')
-rw-r--r--src/mame/machine/poly88.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mame/machine/poly88.cpp b/src/mame/machine/poly88.cpp
index c6421608fab..6f499517821 100644
--- a/src/mame/machine/poly88.cpp
+++ b/src/mame/machine/poly88.cpp
@@ -47,7 +47,7 @@ WRITE8_MEMBER(poly88_state::poly88_baud_rate_w)
}
-UINT8 poly88_state::row_number(UINT8 code) {
+uint8_t poly88_state::row_number(uint8_t code) {
if (BIT(code,0)) return 0;
if (BIT(code,1)) return 1;
if (BIT(code,2)) return 2;
@@ -62,10 +62,10 @@ UINT8 poly88_state::row_number(UINT8 code) {
TIMER_CALLBACK_MEMBER(poly88_state::keyboard_callback)
{
int i;
- UINT8 code;
- UINT8 key_code = 0;
- UINT8 shift = m_linec->read() & 0x02 ? 1 : 0;
- UINT8 ctrl = m_linec->read() & 0x01 ? 1 : 0;
+ uint8_t code;
+ uint8_t key_code = 0;
+ uint8_t shift = m_linec->read() & 0x02 ? 1 : 0;
+ uint8_t ctrl = m_linec->read() & 0x01 ? 1 : 0;
for(i = 0; i < 7; i++)
{
@@ -246,7 +246,7 @@ WRITE_LINE_MEMBER(poly88_state::poly88_usart_rxready)
READ8_MEMBER(poly88_state::poly88_keyboard_r)
{
- UINT8 retVal = m_last_code;
+ uint8_t retVal = m_last_code;
m_maincpu->set_input_line(0, CLEAR_LINE);
m_last_code = 0x00;
return retVal;
@@ -260,11 +260,11 @@ WRITE8_MEMBER(poly88_state::poly88_intr_w)
SNAPSHOT_LOAD_MEMBER( poly88_state, poly88 )
{
address_space &space = m_maincpu->space(AS_PROGRAM);
- UINT8* data= auto_alloc_array(machine(), UINT8, snapshot_size);
- UINT16 recordNum;
- UINT16 recordLen;
- UINT16 address;
- UINT8 recordType;
+ uint8_t* data= auto_alloc_array(machine(), uint8_t, snapshot_size);
+ uint16_t recordNum;
+ uint16_t recordLen;
+ uint16_t address;
+ uint8_t recordType;
int pos = 0x300;
char name[9];