summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/by35.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
commitddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch)
treea70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/mame/drivers/by35.cpp
parent333bff8de64dfaeb98134000412796b4fdef970b (diff)
NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
Diffstat (limited to 'src/mame/drivers/by35.cpp')
-rw-r--r--src/mame/drivers/by35.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/mame/drivers/by35.cpp b/src/mame/drivers/by35.cpp
index 6728f12eae1..3a9c5cff53f 100644
--- a/src/mame/drivers/by35.cpp
+++ b/src/mame/drivers/by35.cpp
@@ -133,10 +133,10 @@ public:
TIMER_DEVICE_CALLBACK_MEMBER(timer_s);
TIMER_DEVICE_CALLBACK_MEMBER(timer_as2888);
private:
- UINT8 m_u10a;
- UINT8 m_u10b;
- UINT8 m_u11a;
- UINT8 m_u11b;
+ uint8_t m_u10a;
+ uint8_t m_u10b;
+ uint8_t m_u11a;
+ uint8_t m_u11b;
bool m_u10_ca2;
bool m_u10_cb1;
bool m_u10_cb2;
@@ -144,17 +144,17 @@ private:
bool m_u11_cb2;
bool m_timer_as2888;
bool m_7d;
- UINT8 m_digit;
- UINT8 m_segment[6];
- UINT8 m_lamp_decode;
- UINT8 m_solenoid_features[20][4];
- UINT8 m_io_hold_x[6];
- UINT8 m_snd_sel;
- UINT8 m_snd_tone_gen;
- UINT8 m_snd_div;
- UINT8 *m_snd_prom;
+ uint8_t m_digit;
+ uint8_t m_segment[6];
+ uint8_t m_lamp_decode;
+ uint8_t m_solenoid_features[20][4];
+ uint8_t m_io_hold_x[6];
+ uint8_t m_snd_sel;
+ uint8_t m_snd_tone_gen;
+ uint8_t m_snd_div;
+ uint8_t *m_snd_prom;
required_device<m6800_cpu_device> m_maincpu;
- required_shared_ptr<UINT8> m_nvram;
+ required_shared_ptr<uint8_t> m_nvram;
required_device<pia6821_device> m_pia_u10;
required_device<pia6821_device> m_pia_u11;
required_ioport m_io_test;
@@ -625,7 +625,7 @@ WRITE8_MEMBER( by35_state::u10_a_w )
READ8_MEMBER( by35_state::u10_b_r )
{
- UINT8 data = 0;
+ uint8_t data = 0;
if (BIT(m_u10a, 0))
data |= m_io_x0->read();
@@ -696,7 +696,7 @@ WRITE8_MEMBER( by35_state::u11_a_w )
if ((m_u10_ca2==0) && m_digit)
{
- static const UINT8 patterns[16] = { 0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0,0,0,0,0,0 }; // MC14543 - BCD to 7 Segment Display Decoder
+ static const uint8_t patterns[16] = { 0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0,0,0,0,0,0 }; // MC14543 - BCD to 7 Segment Display Decoder
output().set_digit_value(10+m_digit, patterns[m_segment[1]]);
output().set_digit_value(20+m_digit, patterns[m_segment[2]]);
@@ -896,7 +896,7 @@ TIMER_DEVICE_CALLBACK_MEMBER( by35_state::timer_as2888 )
DRIVER_INIT_MEMBER( by35_state, by35_6 )
{
- static const UINT8 solenoid_features_default[20][4] =
+ static const uint8_t solenoid_features_default[20][4] =
{
// This table serves two functions and is configured on a per game basis:
// Assign a particular sound sample corresponding to a solenoid function, and
@@ -939,7 +939,7 @@ DRIVER_INIT_MEMBER( by35_state, by35_6 )
DRIVER_INIT_MEMBER( by35_state, playboy )
{
- static const UINT8 solenoid_features_playboy[20][4] =
+ static const uint8_t solenoid_features_playboy[20][4] =
{
// { Sound Channel, Sound Sample, Switch Strobe, Switch Return Mask }
/*00*/ { 0xff, 0xff, 0x00, 0x00 },