testbios loops?

Dave Aubin daubin at actuality-systems.com
Fri Oct 8 09:40:01 CEST 2004


Hi,

It will first do this (I'm using the testbios -t option)
c000:fffd 0000                ADD       [BX+SI],AL
        AX=0200  BX=0000  CX=0000  DX=0080  SP=fff8  BP=0000  SI=0000
DI=0000
        DS=0040  ES=0000  SS=0030  CS=c000  IP=0002   NV UP DI PL ZR NA
PE NC 
c000:ffff 000000              ADD       -86[DI],DL
        AX=0200  BX=0000  CX=0000  DX=0080  SP=fff8  BP=0000  SI=0000
DI=0000
        DS=0040  ES=0000  SS=0030  CS=c000  IP=0004   NV UP DI NG NZ NA
PO NC 
c000:0002 74eb                JZ        ffef
        AX=0200  BX=0000  CX=0000  DX=0080  SP=fff8  BP=0000  SI=0000
DI=0000
        DS=0040  ES=0000  SS=0030  CS=c000  IP=0005   NV UP DI NG NZ NA
PO NC 
c000:0004 4b                  DEC       BX
        AX=0200  BX=ffff  CX=0000  DX=0080  SP=fff8  BP=0000  SI=0000
DI=0000
        DS=0040  ES=0000  SS=0030  CS=c000  IP=0006   NV UP DI NG NZ AC
PE NC 
c000:0005 37                  AAA
        AX=0306  BX=ffff  CX=0000  DX=0080  SP=fff8  BP=0000  SI=0000
DI=0000
        DS=0040  ES=0000  SS=0030  CS=c000  IP=0008   NV UP DI PL NZ AC
PE CY

Then it will do this:
c000:0137 0d0a00              OR        AX,a
        AX=debf  BX=ffff  CX=0335  DX=0080  SP=ffef  BP=0000  SI=0004
DI=0002
        DS=0040  ES=0000  SS=0030  CS=c000  IP=013c   NV UP DI NG NZ NA
PO NC 
c000:013a 0000                ADD       [BX+SI],AL
        AX=debf  BX=ffff  CX=0335  DX=0080  SP=ffef  BP=0000  SI=0004
DI=0002
        DS=0040  ES=0000  SS=0030  CS=c000  IP=013f   NV UP DI NG NZ AC
PO CY 
c000:013c ba9198              MOV       DX,9891
        AX=debf  BX=ffff  CX=0335  DX=9891  SP=ffef  BP=0000  SI=0004
DI=0002
        DS=0040  ES=0000  SS=0030  CS=c000  IP=0140   NV UP DI NG NZ AC
PO CY 
c000:013f 96                  XCHG      AX,SI
        AX=0004  BX=ffff  CX=0335  DX=9891  SP=ffef  BP=0000  SI=debf
DI=0002
        DS=0040  ES=0000  SS=0030  CS=c000  IP=0141   NV UP DI NG NZ AC
PO CY 
c000:0140 91                  XCHG      AX,CX
        AX=0335  BX=ffff  CX=0004  DX=9891  SP=ffef  BP=0000  SI=debf
DI=0002
        DS=0040  ES=0000  SS=0030  CS=c000  IP=0146   NV UP DI NG NZ AC
PO CY 
c000:0141 9a9a8d9691          CALL      9196:8d9a
        AX=0335  BX=ffff  CX=0004  DX=9891  SP=ffeb  BP=0000  SI=debf
DI=0002
        DS=0040  ES=0000  SS=0030  CS=9196  IP=8d9c   NV UP DI NG NZ AC
PO CY 
9196:8d9a 0000                ADD       [BX+SI],AL
        AX=0335  BX=ffff  CX=0004  DX=9891  SP=ffeb  BP=0000  SI=debf
DI=0002
        DS=0040  ES=0000  SS=0030  CS=9196  IP=8d9e   NV UP DI PL NZ NA
PE NC 
9196:8d9c 0000                ADD       [BX+SI],AL
        AX=0335  BX=ffff  CX=0004  DX=9891  SP=ffeb  BP=0000  SI=debf
DI=0002
        DS=0040  ES=0000  SS=0030  CS=9196  IP=8da0   NV UP DI PL NZ NA
PE NC

I'm still looking for the openbios utility.  So far found broken links:(
I can get some other bios to work, but they appear to be flacky.  I
really think
I should be using the one that came programmed on the board.

Thanks,
Dave 

-----Original Message-----
From: Li-Ta Lo [mailto:ollie at lanl.gov] 
Sent: Friday, October 08, 2004 10:53 AM
To: Dave Aubin
Cc: LinuxBIOS
Subject: Re: testbios loops?

On Fri, 2004-10-08 at 08:35, Dave Aubin wrote:
> Hi,
>  
>   I went back to trying to get the Nvida 6800gt card's bios, but still

> even with dd -if=/dev/mem of=vgabios.rom skip=786432 bs=1 count=32768 
> I get the same binary as dd -if=/dev/mem of=vgabios.rom skip=1536 
> count=64.
> I used dhex (free util) to verify they are the same.
>   What happens when I run them trough testbios is that once it is done

> programming 0xc7fff it jump to 0x9 something or other and the video 
> bios isn't programmed correctly.


What do you mean by 'programming oxc7ff it jump to 0x9' ?

Ollie





More information about the coreboot mailing list