Here is a dump of the following: /usr/bin/testbios -s 65536 -d 0x200 --abseg /dev/mem /usr/bin/nv6800gt.bin -t
I slightly different behavior with this incantation. Normally I leave off The -d 0x200. My device is located off of 2:0:0.
running file /usr/bin/nv6800gt.bin No base specified. defaulting to 0xc0000 No initial code segment specified. defaulting to 0xc000 No initial instruction pointer specified. defaulting to 0x0003 Switching to single step mode. 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 PL NZ NA PO NC c000:0003 eb4b JMP 50 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=0053 NV UP DI PL NZ NA PO NC c000:0050 e99cd4 JMP d4ef 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=d4f0 NV UP DI PL NZ NA PO NC c000:d4ef 2e CS: 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=d4f5 NV UP DI PL NZ NA PO NC c000:d4f0 f606480001 TEST BYTE PTR [0048],01 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=d4f7 NV UP DI PL ZR NA PE NC c000:d4f5 742d JZ d524 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=d525 NV UP DI PL ZR NA PE NC c000:d524 55 PUSH BP AX=0200 BX=0000 CX=0000 DX=0080 SP=fff6 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=d526 NV UP DI PL ZR NA PE NC c000:d525 50 PUSH AX AX=0200 BX=0000 CX=0000 DX=0080 SP=fff4 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=d529 NV UP DI PL ZR NA PE NC c000:d526 e85afa CALL cf83 AX=0200 BX=0000 CX=0000 DX=0080 SP=fff2 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=cf84 NV UP DI PL ZR NA PE NC c000:cf83 60 PUSHA AX=0200 BX=0000 CX=0000 DX=0080 SP=ffe2 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=cf87 NV UP DI PL ZR NA PE NC c000:cf84 bac303 MOV DX,3c3 AX=0200 BX=0000 CX=0000 DX=03c3 SP=ffe2 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=cf89 NV UP DI PL ZR NA PE NC c000:cf87 b001 MOV AL,1 AX=0201 BX=0000 CX=0000 DX=03c3 SP=ffe2 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=cf8a NV UP DI PL ZR NA PE NC c000:cf89 ee OUT DX,AL AX=0201 BX=0000 CX=0000 DX=03c3 SP=ffe2 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=cf8b NV UP DI PL ZR NA PE NC c000:cf8a ed IN AX,DX AX=0001 BX=0000 CX=0000 DX=03c3 SP=ffe2 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=cf8e NV UP DI PL ZR NA PE NC c000:cf8b bacc03 MOV DX,3cc AX=0001 BX=0000 CX=0000 DX=03cc SP=ffe2 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=cf8f NV UP DI PL ZR NA PE NC c000:cf8e ec IN AL,DX AX=0000 BX=0000 CX=0000 DX=03cc SP=ffe2 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=cf91 NV UP DI PL ZR NA PE NC c000:cf8f 0c01 OR AL,1 AX=0001 BX=0000 CX=0000 DX=03cc SP=ffe2 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=cf94 NV UP DI PL NZ NA PO NC c000:cf91 bac203 MOV DX,3c2 AX=0001 BX=0000 CX=0000 DX=03c2 SP=ffe2 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=cf95 NV UP DI PL NZ NA PO NC c000:cf94 ee OUT DX,AL AX=0001 BX=0000 CX=0000 DX=03c2 SP=ffe2 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=cf98 NV UP DI PL NZ NA PO NC c000:cf95 bac303 MOV DX,3c3 AX=0001 BX=0000 CX=0000 DX=03c3 SP=ffe2 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=cf99 NV UP DI PL NZ NA PO NC c000:cf98 ec IN AL,DX AX=0001 BX=0000 CX=0000 DX=03c3 SP=ffe2 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=cf9c NV UP DI PL NZ NA PO NC c000:cf99 e82675 CALL 44c2 AX=0001 BX=0000 CX=0000 DX=03c3 SP=ffe0 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=44c3 NV UP DI PL NZ NA PO NC c000:44c2 50 PUSH AX AX=0001 BX=0000 CX=0000 DX=03c3 SP=ffde BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=44c4 NV UP DI PL NZ NA PO NC c000:44c3 52 PUSH DX AX=0001 BX=0000 CX=0000 DX=03c3 SP=ffdc BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=44c7 NV UP DI PL NZ NA PO NC c000:44c4 e833d3 CALL 17fa AX=0001 BX=0000 CX=0000 DX=03c3 SP=ffda BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=17fb NV UP DI PL NZ NA PO NC c000:17fa 50 PUSH AX AX=0001 BX=0000 CX=0000 DX=03c3 SP=ffd8 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=17fe NV UP DI PL NZ NA PO NC c000:17fb bacc03 MOV DX,3cc AX=0001 BX=0000 CX=0000 DX=03cc SP=ffd8 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=17ff NV UP DI PL NZ NA PO NC c000:17fe ec IN AL,DX AX=0001 BX=0000 CX=0000 DX=03cc SP=ffd8 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=1802 NV UP DI PL NZ NA PO NC c000:17ff bab403 MOV DX,3b4 AX=0001 BX=0000 CX=0000 DX=03b4 SP=ffd8 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=1804 NV UP DI PL NZ NA PO NC c000:1802 a801 TEST AL,0001 AX=0001 BX=0000 CX=0000 DX=03b4 SP=ffd8 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=1806 NV UP DI PL NZ NA PO NC c000:1804 7402 JZ 1808 AX=0001 BX=0000 CX=0000 DX=03b4 SP=ffd8 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=1808 NV UP DI PL NZ NA PO NC c000:1806 b2d4 MOV DL,d4 AX=0001 BX=0000 CX=0000 DX=03d4 SP=ffd8 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=1809 NV UP DI PL NZ NA PO NC c000:1808 58 POP AX AX=0001 BX=0000 CX=0000 DX=03d4 SP=ffda BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=180a NV UP DI PL NZ NA PO NC c000:1809 c3 RET AX=0001 BX=0000 CX=0000 DX=03d4 SP=ffdc BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=44c8 NV UP DI PL NZ NA PO NC c000:44c7 ec IN AL,DX AX=0000 BX=0000 CX=0000 DX=03d4 SP=ffdc BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=44c9 NV UP DI PL NZ NA PO NC c000:44c8 50 PUSH AX AX=0000 BX=0000 CX=0000 DX=03d4 SP=ffda BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=44ca NV UP DI PL NZ NA PO NC c000:44c9 53 PUSH BX AX=0000 BX=0000 CX=0000 DX=03d4 SP=ffd8 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=44cc NV UP DI PL NZ NA PO NC c000:44ca b01f MOV AL,1f AX=001f BX=0000 CX=0000 DX=03d4 SP=ffd8 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=44cf NV UP DI PL NZ NA PO NC c000:44cc e8f8d0 CALL 15c7 AX=001f BX=0000 CX=0000 DX=03d4 SP=ffd6 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=15ca NV UP DI PL NZ NA PO NC c000:15c7 e83002 CALL 17fa AX=001f BX=0000 CX=0000 DX=03d4 SP=ffd4 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=17fb NV UP DI PL NZ NA PO NC c000:17fa 50 PUSH AX AX=001f BX=0000 CX=0000 DX=03d4 SP=ffd2 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=17fe NV UP DI PL NZ NA PO NC c000:17fb bacc03 MOV DX,3cc AX=001f BX=0000 CX=0000 DX=03cc SP=ffd2 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=17ff NV UP DI PL NZ NA PO NC c000:17fe ec IN AL,DX AX=0001 BX=0000 CX=0000 DX=03cc SP=ffd2 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=1802 NV UP DI PL NZ NA PO NC c000:17ff bab403 MOV DX,3b4 AX=0001 BX=0000 CX=0000 DX=03b4 SP=ffd2 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=1804 NV UP DI PL NZ NA PO NC c000:1802 a801 TEST AL,0001 AX=0001 BX=0000 CX=0000 DX=03b4 SP=ffd2 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=1806 NV UP DI PL NZ NA PO NC c000:1804 7402 JZ 1808 AX=0001 BX=0000 CX=0000 DX=03b4 SP=ffd2 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=1808 NV UP DI PL NZ NA PO NC c000:1806 b2d4 MOV DL,d4 AX=0001 BX=0000 CX=0000 DX=03d4 SP=ffd2 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=1809 NV UP DI PL NZ NA PO NC c000:1808 58 POP AX AX=001f BX=0000 CX=0000 DX=03d4 SP=ffd4 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=180a NV UP DI PL NZ NA PO NC c000:1809 c3 RET AX=001f BX=0000 CX=0000 DX=03d4 SP=ffd6 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=15cb NV UP DI PL NZ NA PO NC c000:15ca ee OUT DX,AL AX=001f BX=0000 CX=0000 DX=03d4 SP=ffd6 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=15cc NV UP DI PL NZ NA PO NC c000:15cb ed IN AX,DX AX=001f BX=0000 CX=0000 DX=03d4 SP=ffd6 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=15cd NV UP DI PL NZ NA PO NC c000:15cc c3 RET AX=001f BX=0000 CX=0000 DX=03d4 SP=ffd8 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=44d2 NV UP DI PL NZ NA PO NC c000:44cf 80e401 AND AH,1 AX=001f BX=0000 CX=0000 DX=03d4 SP=ffd8 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=44d4 NV UP DI PL ZR NA PE NC c000:44d2 8afc MOV BH,AH AX=001f BX=0000 CX=0000 DX=03d4 SP=ffd8 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=44d7 NV UP DI PL ZR NA PE NC c000:44d4 b82c01 MOV AX,12c AX=012c BX=0000 CX=0000 DX=03d4 SP=ffd8 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=44d9 NV UP DI PL ZR NA PE NC c000:44d7 0aff OR BH,BH AX=012c BX=0000 CX=0000 DX=03d4 SP=ffd8 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=44db NV UP DI PL ZR NA PE NC c000:44d9 7405 JZ 44e0 AX=012c BX=0000 CX=0000 DX=03d4 SP=ffd8 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=44e3 NV UP DI PL ZR NA PE NC c000:44e0 e8350d CALL 5218 AX=012c BX=0000 CX=0000 DX=03d4 SP=ffd6 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=521a NV UP DI PL ZR NA PE NC c000:5218 f6d4 NOT AH AX=fe2c BX=0000 CX=0000 DX=03d4 SP=ffd6 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=521b NV UP DI PL ZR NA PE NC c000:521a 52 PUSH DX AX=fe2c BX=0000 CX=0000 DX=03d4 SP=ffd4 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=521c NV UP DI PL ZR NA PE NC c000:521b 50 PUSH AX AX=fe2c BX=0000 CX=0000 DX=03d4 SP=ffd2 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=521f NV UP DI PL ZR NA PE NC c000:521c e890ff CALL 51af AX=fe2c BX=0000 CX=0000 DX=03d4 SP=ffd0 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=51b0 NV UP DI PL ZR NA PE NC c000:51af 53 PUSH BX AX=fe2c BX=0000 CX=0000 DX=03d4 SP=ffce BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=51b1 NV UP DI PL ZR NA PE NC c000:51b0 93 XCHG AX,BX AX=0000 BX=fe2c CX=0000 DX=03d4 SP=ffce BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=51b4 NV UP DI PL ZR NA PE NC c000:51b1 e8e3ff CALL 5197 AX=0000 BX=fe2c CX=0000 DX=03d4 SP=ffcc BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=5199 NV UP DI PL ZR NA PE NC c000:5197 32e4 XOR AH,AH AX=0000 BX=fe2c CX=0000 DX=03d4 SP=ffcc BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=519c NV UP DI PL ZR NA PE NC c000:5199 e8deff CALL 517a AX=0000 BX=fe2c CX=0000 DX=03d4 SP=ffca BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=517b NV UP DI PL ZR NA PE NC c000:517a 9c PUSHF AX=0000 BX=fe2c CX=0000 DX=03d4 SP=ffc8 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=517c NV UP DI PL ZR NA PE NC c000:517b 52 PUSH DX AX=0000 BX=fe2c CX=0000 DX=03d4 SP=ffc6 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=517d NV UP DI PL ZR NA PE NC c000:517c 53 PUSH BX AX=0000 BX=fe2c CX=0000 DX=03d4 SP=ffc4 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=517f NV UP DI PL ZR NA PE NC c000:517d 8bd8 MOV BX,AX AX=0000 BX=0000 CX=0000 DX=03d4 SP=ffc4 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=5181 NV UP DI PL ZR NA PE NC c000:517f b044 MOV AL,44 AX=0044 BX=0000 CX=0000 DX=03d4 SP=ffc4 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=5184 NV UP DI PL ZR NA PE NC c000:5181 e843c4 CALL 15c7 AX=0044 BX=0000 CX=0000 DX=03d4 SP=ffc2 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=15ca NV UP DI PL ZR NA PE NC c000:15c7 e83002 CALL 17fa AX=0044 BX=0000 CX=0000 DX=03d4 SP=ffc0 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=17fb NV UP DI PL ZR NA PE NC c000:17fa 50 PUSH AX AX=0044 BX=0000 CX=0000 DX=03d4 SP=ffbe BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=17fe NV UP DI PL ZR NA PE NC c000:17fb bacc03 MOV DX,3cc AX=0044 BX=0000 CX=0000 DX=03cc SP=ffbe BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=17ff NV UP DI PL ZR NA PE NC c000:17fe ec IN AL,DX AX=0001 BX=0000 CX=0000 DX=03cc SP=ffbe BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=1802 NV UP DI PL ZR NA PE NC c000:17ff bab403 MOV DX,3b4 AX=0001 BX=0000 CX=0000 DX=03b4 SP=ffbe BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=1804 NV UP DI PL ZR NA PE NC c000:1802 a801 TEST AL,0001 AX=0001 BX=0000 CX=0000 DX=03b4 SP=ffbe BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=1806 NV UP DI PL NZ NA PO NC c000:1804 7402 JZ 1808 AX=0001 BX=0000 CX=0000 DX=03b4 SP=ffbe BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=1808 NV UP DI PL NZ NA PO NC c000:1806 b2d4 MOV DL,d4 AX=0001 BX=0000 CX=0000 DX=03d4 SP=ffbe BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=1809 NV UP DI PL NZ NA PO NC c000:1808 58 POP AX AX=0044 BX=0000 CX=0000 DX=03d4 SP=ffc0 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=180a NV UP DI PL NZ NA PO NC c000:1809 c3 RET AX=0044 BX=0000 CX=0000 DX=03d4 SP=ffc2 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=15cb NV UP DI PL NZ NA PO NC c000:15ca ee OUT DX,AL AX=0044 BX=0000 CX=0000 DX=03d4 SP=ffc2 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=15cc NV UP DI PL NZ NA PO NC c000:15cb ed IN AX,DX AX=0044 BX=0000 CX=0000 DX=03d4 SP=ffc2 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=15cd NV UP DI PL NZ NA PO NC c000:15cc c3 RET AX=0044 BX=0000 CX=0000 DX=03d4 SP=ffc4 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=5185 NV UP DI PL NZ NA PO NC c000:5184 50 PUSH AX AX=0044 BX=0000 CX=0000 DX=03d4 SP=ffc2 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=5187 NV UP DI PL NZ NA PO NC c000:5185 8ae7 MOV AH,BH AX=0044 BX=0000 CX=0000 DX=03d4 SP=ffc2 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=5188 NV UP DI PL NZ NA PO NC c000:5187 ef OUT DX,AX AX=0044 BX=0000 CX=0000 DX=03d4 SP=ffc2 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=5189 NV UP DI PL NZ NA PO NC c000:5188 58 POP AX AX=0044 BX=0000 CX=0000 DX=03d4 SP=ffc4 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=518a NV UP DI PL NZ NA PO NC c000:5189 5b POP BX AX=0044 BX=fe2c CX=0000 DX=03d4 SP=ffc6 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=518b NV UP DI PL NZ NA PO NC c000:518a 5a POP DX AX=0044 BX=fe2c CX=0000 DX=03d4 SP=ffc8 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=518c NV UP DI PL NZ NA PO NC c000:518b 9d POPF AX=0044 BX=fe2c CX=0000 DX=03d4 SP=ffca BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=518d NV UP DI PL ZR NA PE NC c000:518c c3 RET AX=0044 BX=fe2c CX=0000 DX=03d4 SP=ffcc BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=519d NV UP DI PL ZR NA PE NC c000:519c c3 RET AX=0044 BX=fe2c CX=0000 DX=03d4 SP=ffce BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=51b5 NV UP DI PL ZR NA PE NC c000:51b4 50 PUSH AX AX=0044 BX=fe2c CX=0000 DX=03d4 SP=ffcc BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=51b6 NV UP DI PL ZR NA PE NC c000:51b5 93 XCHG AX,BX AX=fe2c BX=0044 CX=0000 DX=03d4 SP=ffcc BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=51b9 NV UP DI PL ZR NA PE NC c000:51b6 e80ec4 CALL 15c7 AX=fe2c BX=0044 CX=0000 DX=03d4 SP=ffca BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=15ca NV UP DI PL ZR NA PE NC c000:15c7 e83002 CALL 17fa AX=fe2c BX=0044 CX=0000 DX=03d4 SP=ffc8 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=17fb NV UP DI PL ZR NA PE NC c000:17fa 50 PUSH AX AX=fe2c BX=0044 CX=0000 DX=03d4 SP=ffc6 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=17fe NV UP DI PL ZR NA PE NC
-----Original Message----- From: Li-Ta Lo [mailto:ollie@lanl.gov] Sent: Friday, October 08, 2004 11:14 AM To: Dave Aubin Cc: LinuxBIOS Subject: RE: testbios loops?
On Fri, 2004-10-08 at 09:04, Dave Aubin wrote:
Hi,
Oh it does. I just left that snippet out. It starts at the correct place:)
Then there is a big problem. The code just to somewhere that is not code (0000). Can you send more messages ?
Ollie
-----Original Message----- From: Li-Ta Lo [mailto:ollie@lanl.gov] Sent: Friday, October 08, 2004 11:02 AM To: Dave Aubin Cc: LinuxBIOS Subject: RE: testbios loops?
On Fri, 2004-10-08 at 08:58, Dave Aubin wrote:
Hi,
Why it starts from c000:fffd ? It should starts from c000:0003
Ollie
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@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