On Mon, 28 Mar 2005 11:05:08 -0700, Li-Ta Lo ollie@lanl.gov wrote:
I get the same result from all three test versions you sent.
running file ../bios.fil No size specified. defaulting to 32k No base specified. defaulting to 0xc0000 No initial code segment specified. defaulting to 0xc000 No initial instruction pointer specified. defaulting to 0x0003 updating int vector 0x1a updating int vector 0x1a updating int vector 0x1a int1a vector at 0 eax=0x9 ecx=0xde01 eflags=0x44 updating int vector 0x0 c000:00a3: 63 ILLEGAL X86 OPCODE! halt_sys: file ops.c, line 93 halted
Here is a trace from an old vm86 program that works: Maybe INT15 isn't hooked up in yours?
PCI says configuration type 1 PCI probing configuration type 1
Probing for devices on PCI bus 0: bus: 0 card: 0 func 0 reg0: 0x25788086 bc 0x6, sub 0x0, if 0x0, hdr 0x0 bus: 0 card: 1 func 0 reg0: 0x25798086 bc 0x6, sub 0x4, if 0x0, hdr 0x1 Pci-Pci Bridge found; primary: 0x0 secondary: 0x1 bus: 0 card: 29 func 0 reg0: 0x24d28086 bc 0xc, sub 0x3, if 0x0, hdr 0x80 bus: 0 card: 29 func 1 reg0: 0x24d48086 bc 0xc, sub 0x3, if 0x0, hdr 0x0 bus: 0 card: 29 func 2 reg0: 0x24d78086 bc 0xc, sub 0x3, if 0x0, hdr 0x0 bus: 0 card: 29 func 3 reg0: 0x24de8086 bc 0xc, sub 0x3, if 0x0, hdr 0x0 bus: 0 card: 30 func 0 reg0: 0x244e8086 bc 0x6, sub 0x4, if 0x0, hdr 0x1 Pci-Pci Bridge found; primary: 0x0 secondary: 0x2 bus: 0 card: 31 func 0 reg0: 0x24d08086 bc 0x6, sub 0x1, if 0x0, hdr 0x80 bus: 0 card: 31 func 1 reg0: 0x24db8086 bc 0x1, sub 0x1, if 0x8a, hdr 0x0 bus: 0 card: 31 func 2 reg0: 0x24d18086 bc 0x1, sub 0x1, if 0x8f, hdr 0x0 bus: 0 card: 31 func 3 reg0: 0x24d38086 bc 0xc, sub 0x5, if 0x0, hdr 0x0
Probing for devices on PCI bus 1: bus: 1 card: 0 func 0 reg0: 0x49661002 bc 0x3, sub 0x0, if 0x0, hdr 0x80 Display found bus: 1 card: 0 func 1 reg0: 0x496e1002 bc 0x3, sub 0x80, if 0x0, hdr 0x0 Display found
Probing for devices on PCI bus 2: bus: 2 card: 0 func 0 reg0: 0x165314e4 bc 0x2, sub 0x0, if 0x0, hdr 0x0 bus: 2 card: 2 func 0 reg0: 0x8019104c bc 0xc, sub 0x0, if 0x10, hdr 0x0 bus: 2 card: 3 func 0 reg0: 0x50441002 bc 0x3, sub 0x0, if 0x0, hdr 0x0 Display found bus: 2 card: 12 func 0 reg0: 0x100e8086 bc 0x2, sub 0x0, if 0x0, hdr 0x0 Max buses in system: 3 Min PCI mem address: 0x20020200 writing: 0x80000 to 0x8000083c writing: 0x2b00083 to 0x80010004 writing: 0xfea00001 to 0x80010030 ax: 0x100 RomBase: 0xfea00000 writing: 0xfea00001 to 0x80010030 data segment in BIOS: 0x164, type: 0x0 BIOS length: 0xd000 writing: 0xfea00000 to 0x80010030 int 0x1a received: ax:0xb109 int 0x1a: ax=0xb109 bx=0x100 cx=0x0 dx=0x0 di=0x14 Slot=0x80010000 reading: 0xde01 from 0x80010014 ax=0x9 cx=0xde01 flags=0xb0246 int 0x15 received: ax:0x4e08 int 0x42 received: ax:0x7 int 0x42: ax:0x7 bx:0x200 cx:0x0 dx:0x3c2 int 0x6d received: ax:0x3 calling card BIOS at: 0xc000:1ea0 int 0x6d received: ax:0x3 calling card BIOS at: 0xc000:1ea0 int 0x6d received: ax:0x1301 calling card BIOS at: 0xc000:1ea0 int 0x1a received: ax:0xb102 int 0x1a: ax=0xb102 bx=0x7 cx=0x691 dx=0x1106 di=0x6b60 ax=0x8602 bx=0x7 flags=0x30047 int 0x1a received: ax:0xb102 int 0x1a: ax=0xb102 bx=0x7 cx=0x305 dx=0x1106 di=0x6b60 ax=0x8602 bx=0x7 flags=0x30247 int 0x1a received: ax:0xb109 int 0x1a: ax=0xb109 bx=0x0 cx=0x0 dx=0x0 di=0x0 Slot=0x80010000 ax=0x8709 cx=0x0 flags=0x30247 writing: 0x80000 to 0x8000083c writing: 0x2b00087 to 0x80010104 writing: 0x1 to 0x80010130 ax: 0x101 writing: 0xffffffff to 0x80010130 reading: 0x0 from 0x80010130 bios size: 0x0 writing: 0x0 to 0x80010130 biosSize: 0x0 reading: 0xf4000008 from 0x80010010 writing: 0xffffffff to 0x80010010 reading: 0xfc000008 from 0x80010010 writing: 0xf4000008 to 0x80010010 size: 0x4000000 RomBase: 0xf4000000 writing: 0xf4000001 to 0x80010130 writing: 0x0 to 0x80010130 int 0x42 received: ax:0x7 int 0x42: ax:0x7 bx:0x7be cx:0x900 dx:0x3c2 int 0x6d received: ax:0x3 calling card BIOS at: 0xc000:13a6 int 0x6d received: ax:0x1301 calling card BIOS at: 0xc000:13a6 writing: 0xa0000 to 0x8000f03c writing: 0x2900083 to 0x80021804 writing: 0xfe800001 to 0x80021830 ax: 0x218 RomBase: 0xfe800000 writing: 0xfe800001 to 0x80021830 data segment in BIOS: 0x16c, type: 0x0 BIOS length: 0xc000 writing: 0xfe800000 to 0x80021830 int 0x1a received: ax:0xb109 int 0x1a: ax=0xb109 bx=0x218 cx=0x0 dx=0x0 di=0x14 Slot=0x80021800 reading: 0xce01 from 0x80021814 ax=0x9 cx=0xce01 flags=0xb0246 int 0x42 received: ax:0x7 int 0x42: ax:0x7 bx:0x990 cx:0x200 dx:0x3c2 int 0x6d received: ax:0x3 calling card BIOS at: 0xc000:13a6 int 0x10 received: ax:0x4f02 int 0x10: ax:0x4f02 bx:0x100 cx:0x205 dx:0xce12 calling card BIOS at: 0xc000:13a6 int 0x10 received: ax:0x3 int 0x10: ax:0x3 bx:0x8d18 cx:0x3c00000 dx:0xce59 calling card BIOS at: 0xc000:13a6 int 0x6d received: ax:0x1301 calling card BIOS at: 0xc000:13a6 writing: 0xa0000 to 0x8000f03c writing: 0x0 to 0x8000083c writing: 0x2b00080 to 0x80010004 writing: 0xfea00000 to 0x80010030 writing: 0x2b00087 to 0x80010104 writing: 0x0 to 0x80010130 writing: 0x2900083 to 0x80021804 writing: 0xfe800000 to 0x80021830