/[qemu]/qemu/vl.c
ViewVC logotype

Diff of /qemu/vl.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by bellard, Sat Jul 26 18:11:40 2003 UTC revision 1.15 by bellard, Sun Jul 27 22:19:00 2003 UTC
# Line 858  typedef struct PITChannelState { Line 858  typedef struct PITChannelState {
858    
859  PITChannelState pit_channels[3];  PITChannelState pit_channels[3];
860  int speaker_data_on;  int speaker_data_on;
861    int dummy_refresh_clock;
862  int pit_min_timer_count = 0;  int pit_min_timer_count = 0;
863    
864  int64_t ticks_per_sec;  int64_t ticks_per_sec;
# Line 1115  uint32_t speaker_ioport_read(CPUX86State Line 1116  uint32_t speaker_ioport_read(CPUX86State
1116  {  {
1117      int out;      int out;
1118      out = pit_get_out(&pit_channels[2]);      out = pit_get_out(&pit_channels[2]);
1119      return (speaker_data_on << 1) | pit_channels[2].gate | (out << 5);      dummy_refresh_clock ^= 1;
1120        return (speaker_data_on << 1) | pit_channels[2].gate | (out << 5) |
1121          (dummy_refresh_clock << 4);
1122  }  }
1123    
1124  void pit_init(void)  void pit_init(void)

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26