vgabios use howto.

Richard Smith rsmith at bitworks.com
Tue Jan 13 16:38:01 CET 2004


ron minnich wrote:

> 
> so testbios -d 0x90
> 

Ok.. BTW the -d option dosen't show up in the useage info..

So now I have:

gpatlas:~# ./testbios -d 0x90 -s 65536 video.bios-ATI-M1.bin
running file video.bios-ATI-M1.bin
No base specified. defaulting to 0xc0000
No initial code segment specified. defaulting to 0xc000
No initial instruction pointer specified. defaulting to 0x0003
eax=0x9 ecx=0x4c52 eflags=0x44
eax=0x9 ecx=0x1001 eflags=0x44
eax=0x8 ecx=0xef87 eflags=0x2
eax=0xb eflags=0x86
eax=0xa ecx=0xf2000000 eflags=0x86

int15 encountered.
         EAX=64004e08  EBX=00000805  ECX=00008000  EDX=000010e0
         ESP=0000ffe4  EBP=00000000  ESI=0000bf2f  EDI=0000019e
         DS=0000  ES=a000  SS=0030  CS=c000  EIP=0000e90c
         NV UP EI PL ZR NA PE NC

int15 encountered.
         EAX=00004e08  EBX=00001006  ECX=00000000  EDX=00001088
         ESP=0000ffe2  EBP=00000000  ESI=0000bf2f  EDI=000001a2
         DS=0000  ES=a000  SS=0030  CS=c000  EIP=0000ec67
         NV UP EI PL ZR NA PE NC

int15 encountered.
         EAX=00004e08  EBX=00000100  ECX=00000001  EDX=00001088
         ESP=0000ffe2  EBP=00000000  ESI=0000bf2f  EDI=000001a2
         DS=0000  ES=a000  SS=0030  CS=c000  EIP=0000e9fd
         NV UP EI PL ZR NA PE NC

int15 encountered.
         EAX=00004e08  EBX=00001502  ECX=00000000  EDX=00001088
         ESP=0000ffe2  EBP=00000000  ESI=0000bf2f  EDI=000001a2
         DS=c000  ES=a000  SS=0030  CS=c000  EIP=0000eba1
         NV UP EI PL ZR NA PE NC

int15 encountered.
         EAX=00004e08  EBX=00000f01  ECX=00000000  EDX=0000108a
         ESP=0000ffe2  EBP=00000000  ESI=0000bf2f  EDI=000001a2
         DS=c000  ES=a000  SS=0030  CS=c000  EIP=0000ebe7
         NV UP EI PL NZ NA PO NC
int6d: Write String in Teletype Mode - Function not implemented.
         EAX=00001301  EBX=00000007  ECX=0000002a  EDX=00000000
         ESP=0000ffe4  EBP=00000083  ESI=0000ffda  EDI=0000ffd0
         DS=0000  ES=c000  SS=0030  CS=c000  EIP=00000331
         NV UP EI PL ZR NA PE NC
halt_sys: file ops.c, line 9836
halted


-- 
Richard A. Smith
rsmith at bitworks.com





More information about the coreboot mailing list