The great video config reorg
This commit is contained in:
parent
bd6210d604
commit
9c10efe469
62 changed files with 327 additions and 80 deletions
|
|
@ -6,7 +6,7 @@
|
|||
<ram id="ramLow" addr="0x00000"/>
|
||||
<rom id="romBASIC" addr="0xf6000" size="0x8000" file="/devices/pc/basic/ibm-basic-1.00.json"/>
|
||||
<rom id="romBIOS" addr="0xfe000" size="0x2000" file="/devices/pc/bios/5150/1981-04-24.json"/>
|
||||
<video ref="/devices/pc/video/video-mda.xml"/>
|
||||
<video ref="/devices/pc/video/ibm/mda/ibm-mda.xml"/>
|
||||
<cpu id="cpu8088" model="8088" autostart="true" pos="left" padleft="8px" padbottom="8px">
|
||||
<control type="button" binding="run">Run</control>
|
||||
<control type="button" binding="reset">Reset</control>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<ram id="ramLow" addr="0x00000" test="false"/>
|
||||
<rom id="romBASIC" addr="0xf6000" size="0x8000" file="/devices/pc/basic/private/ibm-basic-1.00.rom"/>
|
||||
<rom id="romBIOS" addr="0xfe000" size="0x2000" file="/devices/pc/bios/5150/private/1981-04-24.rom"/>
|
||||
<video ref="/devices/pc/video/video-cga.xml"/>
|
||||
<video ref="/devices/pc/video/ibm/cga/ibm-cga.xml"/>
|
||||
<keyboard id="keyboard" pos="left" padleft="8px">
|
||||
<control type="button" binding="esc">ESC</control>
|
||||
<control type="button" binding="ctrl-c">CTRL-C</control>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<ram id="ramLow" addr="0x00000" test="false"/>
|
||||
<rom id="romBASIC" addr="0xf6000" size="0x8000" file="/devices/pc/basic/ibm-basic-1.00.json"/>
|
||||
<rom id="romBIOS" addr="0xfe000" size="0x2000" file="/devices/pc/bios/5150/1981-04-24.json"/>
|
||||
<video ref="/devices/pc/video/video-cga.xml"/>
|
||||
<video ref="/devices/pc/video/ibm/cga/ibm-cga.xml"/>
|
||||
<cpu id="cpu8088" model="8088" autostart="true" pos="left" padleft="8px" padbottom="8px">
|
||||
<control type="button" binding="run">Run</control>
|
||||
<control type="button" binding="reset">Reset</control>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<ram id="ramLow" addr="0x00000" test="false"/>
|
||||
<rom id="romBASIC" addr="0xf6000" size="0x8000" file="/devices/pc/basic/ibm-basic-1.00.json"/>
|
||||
<rom id="romBIOS" addr="0xfe000" size="0x2000" file="/devices/pc/bios/5150/1981-04-24.json"/>
|
||||
<video ref="/devices/pc/video/video-cga.xml"/>
|
||||
<video ref="/devices/pc/video/ibm/cga/ibm-cga.xml"/>
|
||||
<keyboard id="keyboard" pos="left" padleft="8px">
|
||||
<control type="button" binding="esc">ESC</control>
|
||||
<control type="button" binding="ctrl-c">CTRL-C</control>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<ram id="ramLow" addr="0x00000"/>
|
||||
<rom id="romBASIC" addr="0xf6000" size="0x8000" file="/devices/pc/basic/ibm-basic-1.00.json"/>
|
||||
<rom id="romBIOS" addr="0xfe000" size="0x2000" file="/devices/pc/bios/5150/1981-04-24.json"/>
|
||||
<video ref="/devices/pc/video/video-mda.xml"/>
|
||||
<video ref="/devices/pc/video/ibm/mda/ibm-mda.xml"/>
|
||||
<cpu id="cpu8088" model="8088" autostart="true" pos="left" padleft="8px">
|
||||
<control type="button" binding="run">Run</control>
|
||||
<control type="button" binding="reset">Reset</control>
|
||||
|
|
|
|||
|
|
@ -6,9 +6,9 @@
|
|||
<cpu id="cpu286" model="80286" cycles="8000000"/>
|
||||
<ram id="ramLow" addr="0x00000" test="false" size="0xa0000" comment="ROM BIOS memory test has been disabled"/>
|
||||
<ram id="ramExt" addr="0x100000" size="0x80000" comment=""/>
|
||||
<rom id="romEGA" addr="0xc0000" size="0x4000" file="/devices/pc/video/ibm-ega.json" notify="videoEGA"/>
|
||||
<rom id="romEGA" addr="0xc0000" size="0x4000" file="/devices/pc/video/ibm/ega/ibm-ega.json" notify="videoEGA"/>
|
||||
<rom id="romBIOS" addr="0xf0000" size="0x10000" alias="0xff0000" file="/devices/pc/bios/5170/1985-11-15.json"/>
|
||||
<video ref="/devices/pc/video/video-ega-128kb-lock.xml"/>
|
||||
<video ref="/devices/pc/video/ibm/ega/ibm-ega-128kb-lock.xml"/>
|
||||
<keyboard ref="/devices/pc/keyboard/keyboard-minimal-functions.xml"/>
|
||||
<debugger id="debugger" messages="fault" commands=""/>
|
||||
<panel ref="/devices/pc/panel/wide.xml"/>
|
||||
|
|
|
|||
|
|
@ -24,13 +24,3 @@ After booting, the following code is executed:
|
|||
For virtual machines that don't support word I/O to port 0x64, patch IN AX,DX with IN AL,DX; eg:
|
||||
|
||||
e 12e8:1da ec
|
||||
|
||||
Here's where the first task switch (far jump using a TSS selector) occurs:
|
||||
|
||||
AX=02F0 BX=0008 CX=0000 DX=0000 SP=037E BP=037E SI=1852 DI=0000
|
||||
SS=0044[001800,07FF] DS=0228[009E00,851B] ES=0220[001000,8DFB] A20=ON
|
||||
CS=0200[012320,FFFD] LD=02E0[002000,01FF] GD=[001006,072F] ID=[0053E2,07FF]
|
||||
TR=02D0 MS=FFF5 PS=0016 V0 D0 I0 T0 S0 Z0 A1 P1 C0
|
||||
0200:016D FF6E06 JMP FAR [BP+06]
|
||||
|
||||
The far address at [BP+6] is 02F0:0000.
|
||||
|
|
|
|||
Loading…
Reference in a new issue