Subversion Repositories group.electronics

Rev

Rev 171 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 171 Rev 172
Line 160... Line 160...
160
 
160
 
161
                    //if (_address == 0x10fa) {
161
                    //if (_address == 0x10fa) {
162
                    //    uint aapCdupwrValue = (_data & 0x4000) >> 14;
162
                    //    uint aapCdupwrValue = (_data & 0x4000) >> 14;
163
                    //    Console.WriteLine(_address.ToString("X") + ":" + aapCdupwrValue);
163
                    //    Console.WriteLine(_address.ToString("X") + ":" + aapCdupwrValue);
164
                    //}
164
                    //}
165
                    Led led;
165
                    UInt16 data;
166
                    if (Globals.outputs.TryGetValue((UInt16)_address, out led)) {
166
                    if (Globals.BiosOutput.TryGetValue((UInt16)_address, out data)) {
167
                        led.Tick(_data);
167
                        Globals.BiosOutput[(UInt16)_address] = data;
168
                    }
168
                    }
169
                        
169
                        
170
                    _address += 2;
170
                    _address += 2;
171
                    if (_count == 0)
171
                    if (_count == 0)
172
                        _state = DCSBiosStateEnum.ADDRESS_LOW;
172
                        _state = DCSBiosStateEnum.ADDRESS_LOW;