ltd.cpp: WIP. Added sound.

New machines marked as NOT_WORKING
----------------------------------
Martian Queen
Cowboy Eight Ball (set 2)
This commit is contained in:
Robbbert 2021-11-08 04:51:31 +11:00
parent dc3c9a6ee0
commit 52c7dadbe7
7 changed files with 421 additions and 407 deletions

View file

@ -68,7 +68,7 @@ private:
void mem_map(address_map &map);
u8 m_u14 = 0;
u8 m_digit = 0;
u8 m_segment[16];
u8 m_segment[16]{};
u8 m_last_solenoid = 15;
virtual void machine_reset() override;
virtual void machine_start() override;

View file

@ -82,7 +82,7 @@ private:
void mem_map(address_map &map);
u8 m_u14 = 0;
u8 m_digit = 0;
u8 m_segment[16];
u8 m_segment[16]{};
u8 m_last_solenoid = 15;
virtual void machine_reset() override;
virtual void machine_start() override;

View file

@ -82,7 +82,7 @@ private:
u8 m_lamprow = 0;
u8 m_swrow = 0;
u8 m_soundex = 0;
u8 m_sol_state[9][2];
u8 m_sol_state[9][2]{};
virtual void machine_reset() override;
virtual void machine_start() override;
required_device<m6502_device> m_maincpu;

File diff suppressed because it is too large Load diff

View file

@ -84,7 +84,7 @@ private:
u8 m_stored_lamp = 0xff;
u8 m_digit = 0;
u8 m_counter = 0;
u8 m_segment[5];
u8 m_segment[5]{};
u8 m_last_solenoid = 15;
required_device<m6800_cpu_device> m_maincpu;

View file

@ -112,7 +112,7 @@ private:
u8 m_stored_lamp = 0xff;
u8 m_digit = 0;
u8 m_counter = 0;
u8 m_segment[5];
u8 m_segment[5]{};
u8 m_last_solenoid = 31;
required_device<m6800_cpu_device> m_maincpu;
optional_device<s14001a_device> m_s14001a;

View file

@ -20107,11 +20107,13 @@ bhol_ltd //
columbia //
cowboy //
cowboy2 //
cowboya //
discodan //
force //
hhotel //
hustlerp //
kkongltd //
marqueen //
pecmen //
spcpoker //
tmacltd2 //