Remove DEBUG code
This commit is contained in:
parent
1e99f29253
commit
6202c108fd
4 changed files with 42114 additions and 17 deletions
|
|
@ -67,7 +67,7 @@ and more.
|
|||
### IBM OS/2
|
||||
|
||||
* [IBM OS/2 1.0](/disks/pc/os2/ibm/1.0/)
|
||||
* IBM OS/2 1.1
|
||||
* [IBM OS/2 1.1](/disks/pc/os2/ibm/1.1/)
|
||||
* IBM OS/2 1.3
|
||||
|
||||
### Microsoft OS/2
|
||||
|
|
|
|||
42111
disks/pc/fixed/20mb/IBMOS211.json
Normal file
42111
disks/pc/fixed/20mb/IBMOS211.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -7,9 +7,8 @@ machines:
|
|||
id: ibm5170
|
||||
debugger: true
|
||||
config: /devices/pc/machine/5170/vga/4096kb/debugger/machine.xml
|
||||
automount:
|
||||
A:
|
||||
path: /disks/pc/os2/ibm/1.1/OS211-INSTALLATION.json
|
||||
drives: '[{name:"20Mb Hard Disk",type:2,path:"/disks/pc/fixed/20mb/IBMOS211.json"}]'
|
||||
automount: ''
|
||||
messages: fault
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -813,19 +813,6 @@ X86Seg.prototype.loadDesc8 = function(addrDesc, sel, fProbe)
|
|||
sizeGate = 0;
|
||||
}
|
||||
}
|
||||
if (DEBUG) {
|
||||
var sizeGateCheck = 0, fStackSwitchCheck = false;
|
||||
if (rpl > this.cpl) {
|
||||
sizeGateCheck = -1;
|
||||
if (fCall === false || dpl == this.cpl || (type & X86.DESC.ACC.TYPE.CONFORMING) && dpl <= this.cpl) {
|
||||
fStackSwitchCheck = true;
|
||||
sizeGateCheck = 0;
|
||||
}
|
||||
}
|
||||
if (sizeGate != sizeGateCheck || this.fStackSwitch != fStackSwitchCheck) {
|
||||
this.cpu.stopCPU();
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (type == X86.DESC.ACC.TYPE.TSS286 || type == X86.DESC.ACC.TYPE.TSS386) {
|
||||
if (!this.switchTSS(sel, fCall)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue