clarify vars

This commit is contained in:
hap 2015-03-15 03:25:36 +01:00
parent 1e1963abda
commit a2537f21d5
4 changed files with 41 additions and 41 deletions

View File

@ -67,24 +67,24 @@ public:
optional_device<speaker_sound_device> m_speaker; optional_device<speaker_sound_device> m_speaker;
// misc common // misc common
UINT16 m_inp_mux; UINT16 m_inp_mux; // multiplexed inputs mask
UINT16 read_inputs(int columns); UINT16 read_inputs(int columns);
virtual void machine_start(); virtual void machine_start();
// display common // display common
int m_display_wait; int m_display_wait; // led/lamp off-delay in microseconds (default 33ms)
int m_display_maxy; int m_display_maxy; // display matrix number of rows
int m_display_maxx; int m_display_maxx; // display matrix number of columns
UINT32 m_grid; UINT32 m_grid; // VFD current row data
UINT32 m_plate; UINT32 m_plate; // VFD current column data
UINT32 m_display_state[0x20]; UINT32 m_display_state[0x20]; // display matrix rows data
UINT32 m_display_cache[0x20]; UINT16 m_7seg_mask[0x20]; // if not 0, display matrix row is a 7seg, mask indicates connected segments
UINT8 m_display_decay[0x20][0x20]; UINT32 m_display_cache[0x20]; // (internal use)
UINT16 m_7seg_mask[0x20]; UINT8 m_display_decay[0x20][0x20]; // (internal use)
TIMER_DEVICE_CALLBACK_MEMBER(display_decay_tick); TIMER_DEVICE_CALLBACK_MEMBER(display_decay_tick);
void display_update(); void display_update();

View File

@ -48,20 +48,20 @@ public:
optional_device<speaker_sound_device> m_speaker; optional_device<speaker_sound_device> m_speaker;
// misc common // misc common
UINT8 m_b; UINT8 m_b; // MCU port B data
UINT8 m_c; UINT8 m_c; // MCU port C data
virtual void machine_start(); virtual void machine_start();
// display common // display common
int m_display_wait; int m_display_wait; // led/lamp off-delay in microseconds (default 33ms)
int m_display_maxy; int m_display_maxy; // display matrix number of rows
int m_display_maxx; int m_display_maxx; // display matrix number of columns
UINT32 m_display_state[0x20]; UINT32 m_display_state[0x20]; // display matrix rows data
UINT32 m_display_cache[0x20]; UINT16 m_7seg_mask[0x20]; // if not 0, display matrix row is a 7seg, mask indicates connected segments
UINT8 m_display_decay[0x20][0x20]; UINT32 m_display_cache[0x20]; // (internal use)
UINT16 m_7seg_mask[0x20]; UINT8 m_display_decay[0x20][0x20]; // (internal use)
TIMER_DEVICE_CALLBACK_MEMBER(display_decay_tick); TIMER_DEVICE_CALLBACK_MEMBER(display_decay_tick);
void display_update(); void display_update();

View File

@ -108,10 +108,10 @@ public:
optional_device<speaker_sound_device> m_speaker; optional_device<speaker_sound_device> m_speaker;
// misc common // misc common
UINT16 m_r; UINT16 m_r; // MCU R-pins data
UINT16 m_o; UINT16 m_o; // MCU O-pins data
UINT16 m_inp_mux; UINT16 m_inp_mux; // multiplexed inputs mask
bool m_power_on; bool m_power_on; // TMS0980 power-on state
UINT8 read_inputs(int columns); UINT8 read_inputs(int columns);
DECLARE_INPUT_CHANGED_MEMBER(tms0980_power_button); DECLARE_INPUT_CHANGED_MEMBER(tms0980_power_button);
@ -121,14 +121,14 @@ public:
virtual void machine_reset(); virtual void machine_reset();
// display common // display common
int m_display_wait; int m_display_wait; // led/lamp off-delay in microseconds (default 33ms)
int m_display_maxy; int m_display_maxy; // display matrix number of rows
int m_display_maxx; int m_display_maxx; // display matrix number of columns
UINT32 m_display_state[0x20]; UINT32 m_display_state[0x20]; // display matrix rows data
UINT32 m_display_cache[0x20]; UINT16 m_7seg_mask[0x20]; // if not 0, display matrix row is a 7seg, mask indicates connected segments
UINT8 m_display_decay[0x20][0x20]; UINT32 m_display_cache[0x20]; // (internal use)
UINT16 m_7seg_mask[0x20]; UINT8 m_display_decay[0x20][0x20]; // (internal use)
TIMER_DEVICE_CALLBACK_MEMBER(display_decay_tick); TIMER_DEVICE_CALLBACK_MEMBER(display_decay_tick);
void display_update(); void display_update();

View File

@ -53,25 +53,25 @@ public:
optional_device<speaker_sound_device> m_speaker; optional_device<speaker_sound_device> m_speaker;
// misc common // misc common
UINT8 m_port[9]; UINT8 m_port[9]; // MCU port A-I write data
UINT16 m_inp_mux; UINT16 m_inp_mux; // multiplexed inputs mask
UINT8 read_inputs(int columns); UINT8 read_inputs(int columns);
virtual void machine_start(); virtual void machine_start();
// display common // display common
int m_display_wait; int m_display_wait; // led/lamp off-delay in microseconds (default 33ms)
int m_display_maxy; int m_display_maxy; // display matrix number of rows
int m_display_maxx; int m_display_maxx; // display matrix number of columns
UINT32 m_grid; UINT32 m_grid; // VFD current row data
UINT32 m_plate; UINT32 m_plate; // VFD current column data
UINT32 m_display_state[0x20]; UINT32 m_display_state[0x20]; // display matrix rows data
UINT32 m_display_cache[0x20]; UINT16 m_7seg_mask[0x20]; // if not 0, display matrix row is a 7seg, mask indicates connected segments
UINT8 m_display_decay[0x20][0x20]; UINT32 m_display_cache[0x20]; // (internal use)
UINT16 m_7seg_mask[0x20]; UINT8 m_display_decay[0x20][0x20]; // (internal use)
TIMER_DEVICE_CALLBACK_MEMBER(display_decay_tick); TIMER_DEVICE_CALLBACK_MEMBER(display_decay_tick);
void display_update(); void display_update();