Revision 61a2ad53 vl.c
b/vl.c | ||
---|---|---|
858 | 858 |
|
859 | 859 |
PITChannelState pit_channels[3]; |
860 | 860 |
int speaker_data_on; |
861 |
int dummy_refresh_clock; |
|
861 | 862 |
int pit_min_timer_count = 0; |
862 | 863 |
|
863 | 864 |
int64_t ticks_per_sec; |
... | ... | |
1115 | 1116 |
{ |
1116 | 1117 |
int out; |
1117 | 1118 |
out = pit_get_out(&pit_channels[2]); |
1118 |
return (speaker_data_on << 1) | pit_channels[2].gate | (out << 5); |
|
1119 |
dummy_refresh_clock ^= 1; |
|
1120 |
return (speaker_data_on << 1) | pit_channels[2].gate | (out << 5) | |
|
1121 |
(dummy_refresh_clock << 4); |
|
1119 | 1122 |
} |
1120 | 1123 |
|
1121 | 1124 |
void pit_init(void) |
Also available in: Unified diff