trunk/src/mess/drivers/hh_hmcs40.c
| r244936 | r244937 | |
| 67 | 67 | optional_device<speaker_sound_device> m_speaker; |
| 68 | 68 | |
| 69 | 69 | // misc common |
| 70 | | UINT16 m_inp_mux; |
| 70 | UINT16 m_inp_mux; // multiplexed inputs mask |
| 71 | 71 | |
| 72 | 72 | UINT16 read_inputs(int columns); |
| 73 | 73 | |
| 74 | 74 | virtual void machine_start(); |
| 75 | 75 | |
| 76 | 76 | // display common |
| 77 | | int m_display_wait; |
| 78 | | int m_display_maxy; |
| 79 | | int m_display_maxx; |
| 77 | int m_display_wait; // led/lamp off-delay in microseconds (default 33ms) |
| 78 | int m_display_maxy; // display matrix number of rows |
| 79 | int m_display_maxx; // display matrix number of columns |
| 80 | 80 | |
| 81 | | UINT32 m_grid; |
| 82 | | UINT32 m_plate; |
| 81 | UINT32 m_grid; // VFD current row data |
| 82 | UINT32 m_plate; // VFD current column data |
| 83 | 83 | |
| 84 | | UINT32 m_display_state[0x20]; |
| 85 | | UINT32 m_display_cache[0x20]; |
| 86 | | UINT8 m_display_decay[0x20][0x20]; |
| 87 | | UINT16 m_7seg_mask[0x20]; |
| 84 | UINT32 m_display_state[0x20]; // display matrix rows data |
| 85 | UINT16 m_7seg_mask[0x20]; // if not 0, display matrix row is a 7seg, mask indicates connected segments |
| 86 | UINT32 m_display_cache[0x20]; // (internal use) |
| 87 | UINT8 m_display_decay[0x20][0x20]; // (internal use) |
| 88 | 88 | |
| 89 | 89 | TIMER_DEVICE_CALLBACK_MEMBER(display_decay_tick); |
| 90 | 90 | void display_update(); |
trunk/src/mess/drivers/hh_pic16.c
| r244936 | r244937 | |
| 48 | 48 | optional_device<speaker_sound_device> m_speaker; |
| 49 | 49 | |
| 50 | 50 | // misc common |
| 51 | | UINT8 m_b; |
| 52 | | UINT8 m_c; |
| 51 | UINT8 m_b; // MCU port B data |
| 52 | UINT8 m_c; // MCU port C data |
| 53 | 53 | |
| 54 | 54 | virtual void machine_start(); |
| 55 | 55 | |
| 56 | 56 | // display common |
| 57 | | int m_display_wait; |
| 58 | | int m_display_maxy; |
| 59 | | int m_display_maxx; |
| 57 | int m_display_wait; // led/lamp off-delay in microseconds (default 33ms) |
| 58 | int m_display_maxy; // display matrix number of rows |
| 59 | int m_display_maxx; // display matrix number of columns |
| 60 | 60 | |
| 61 | | UINT32 m_display_state[0x20]; |
| 62 | | UINT32 m_display_cache[0x20]; |
| 63 | | UINT8 m_display_decay[0x20][0x20]; |
| 64 | | UINT16 m_7seg_mask[0x20]; |
| 61 | UINT32 m_display_state[0x20]; // display matrix rows data |
| 62 | UINT16 m_7seg_mask[0x20]; // if not 0, display matrix row is a 7seg, mask indicates connected segments |
| 63 | UINT32 m_display_cache[0x20]; // (internal use) |
| 64 | UINT8 m_display_decay[0x20][0x20]; // (internal use) |
| 65 | 65 | |
| 66 | 66 | TIMER_DEVICE_CALLBACK_MEMBER(display_decay_tick); |
| 67 | 67 | void display_update(); |
trunk/src/mess/drivers/hh_tms1k.c
| r244936 | r244937 | |
| 108 | 108 | optional_device<speaker_sound_device> m_speaker; |
| 109 | 109 | |
| 110 | 110 | // misc common |
| 111 | | UINT16 m_r; |
| 112 | | UINT16 m_o; |
| 113 | | UINT16 m_inp_mux; |
| 114 | | bool m_power_on; |
| 111 | UINT16 m_r; // MCU R-pins data |
| 112 | UINT16 m_o; // MCU O-pins data |
| 113 | UINT16 m_inp_mux; // multiplexed inputs mask |
| 114 | bool m_power_on; // TMS0980 power-on state |
| 115 | 115 | |
| 116 | 116 | UINT8 read_inputs(int columns); |
| 117 | 117 | DECLARE_INPUT_CHANGED_MEMBER(tms0980_power_button); |
| r244936 | r244937 | |
| 121 | 121 | virtual void machine_reset(); |
| 122 | 122 | |
| 123 | 123 | // display common |
| 124 | | int m_display_wait; |
| 125 | | int m_display_maxy; |
| 126 | | int m_display_maxx; |
| 124 | int m_display_wait; // led/lamp off-delay in microseconds (default 33ms) |
| 125 | int m_display_maxy; // display matrix number of rows |
| 126 | int m_display_maxx; // display matrix number of columns |
| 127 | 127 | |
| 128 | | UINT32 m_display_state[0x20]; |
| 129 | | UINT32 m_display_cache[0x20]; |
| 130 | | UINT8 m_display_decay[0x20][0x20]; |
| 131 | | UINT16 m_7seg_mask[0x20]; |
| 128 | UINT32 m_display_state[0x20]; // display matrix rows data |
| 129 | UINT16 m_7seg_mask[0x20]; // if not 0, display matrix row is a 7seg, mask indicates connected segments |
| 130 | UINT32 m_display_cache[0x20]; // (internal use) |
| 131 | UINT8 m_display_decay[0x20][0x20]; // (internal use) |
| 132 | 132 | |
| 133 | 133 | TIMER_DEVICE_CALLBACK_MEMBER(display_decay_tick); |
| 134 | 134 | void display_update(); |
trunk/src/mess/drivers/hh_ucom4.c
| r244936 | r244937 | |
| 53 | 53 | optional_device<speaker_sound_device> m_speaker; |
| 54 | 54 | |
| 55 | 55 | // misc common |
| 56 | | UINT8 m_port[9]; |
| 57 | | UINT16 m_inp_mux; |
| 56 | UINT8 m_port[9]; // MCU port A-I write data |
| 57 | UINT16 m_inp_mux; // multiplexed inputs mask |
| 58 | 58 | |
| 59 | 59 | UINT8 read_inputs(int columns); |
| 60 | 60 | |
| 61 | 61 | virtual void machine_start(); |
| 62 | 62 | |
| 63 | 63 | // display common |
| 64 | | int m_display_wait; |
| 65 | | int m_display_maxy; |
| 66 | | int m_display_maxx; |
| 64 | int m_display_wait; // led/lamp off-delay in microseconds (default 33ms) |
| 65 | int m_display_maxy; // display matrix number of rows |
| 66 | int m_display_maxx; // display matrix number of columns |
| 67 | 67 | |
| 68 | | UINT32 m_grid; |
| 69 | | UINT32 m_plate; |
| 68 | UINT32 m_grid; // VFD current row data |
| 69 | UINT32 m_plate; // VFD current column data |
| 70 | 70 | |
| 71 | | UINT32 m_display_state[0x20]; |
| 72 | | UINT32 m_display_cache[0x20]; |
| 73 | | UINT8 m_display_decay[0x20][0x20]; |
| 74 | | UINT16 m_7seg_mask[0x20]; |
| 71 | UINT32 m_display_state[0x20]; // display matrix rows data |
| 72 | UINT16 m_7seg_mask[0x20]; // if not 0, display matrix row is a 7seg, mask indicates connected segments |
| 73 | UINT32 m_display_cache[0x20]; // (internal use) |
| 74 | UINT8 m_display_decay[0x20][0x20]; // (internal use) |
| 75 | 75 | |
| 76 | 76 | TIMER_DEVICE_CALLBACK_MEMBER(display_decay_tick); |
| 77 | 77 | void display_update(); |