Subversion Repositories group.electronics

Rev

Rev 172 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 172 Rev 173
Line 156... Line 156...
156
                    break;
156
                    break;
157
                case DCSBiosStateEnum.DATA_HIGH:
157
                case DCSBiosStateEnum.DATA_HIGH:
158
                    _data = (uint)(b << 8) | _data;
158
                    _data = (uint)(b << 8) | _data;
159
                    _count--;
159
                    _count--;
160
 
160
 
161
                    //if (_address == 0x10fa) {
-
 
162
                    //    uint aapCdupwrValue = (_data & 0x4000) >> 14;
-
 
163
                    //    Console.WriteLine(_address.ToString("X") + ":" + aapCdupwrValue);
-
 
164
                    //}
-
 
165
                    UInt16 data;
161
                    UInt16 data;
166
                    if (Globals.BiosOutput.TryGetValue((UInt16)_address, out data)) {
162
                    if (Globals.BiosOutput.TryGetValue((UInt16)_address, out data)) {
167
                        Globals.BiosOutput[(UInt16)_address] = data;
163
                        Globals.BiosOutput[(UInt16)_address] = (UInt16)_data;
168
                    }
164
                    }
169
                        
165
                        
170
                    _address += 2;
166
                    _address += 2;
171
                    if (_count == 0)
167
                    if (_count == 0)
172
                        _state = DCSBiosStateEnum.ADDRESS_LOW;
168
                        _state = DCSBiosStateEnum.ADDRESS_LOW;