Is there anyone who solved this problem for SC1200?
not yet. If you have a copy of the vgabios binary for that hardware you could try seeing if it would work.
I tried the following bios which I extracted from insyde bios:
sh-2.05b# ./testbios elpin.vga -d 94 running file elpin.vga 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 halt_sys: file ops.c, line 9836 halted sh-2.05b#
What you see is NOTHING. At single stepping I saw that there is an PCI access to 80009400 for reading ID's. This access returns the wrong values.
sh-2.05b# ./testbios elpin.vga -d 0x94 -t running file elpin.vga 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 Switching to single step mode. AX=0094 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 c000:3 - AX=0094 BX=0000 CX=0000 DX=0080 SP=fff8 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=0052 NV UP DI PL NZ NA PO NC c000:0050 eb41 JMP 93 c000:50 - AX=0094 BX=0000 CX=0000 DX=0080 SP=fff8 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=0094 NV UP DI PL NZ NA PO NC c000:0093 55 PUSH BP c000:93 - AX=0094 BX=0000 CX=0000 DX=0080 SP=fff6 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=0096 NV UP DI PL NZ NA PO NC c000:0094 2bc0 SUB AX,AX c000:94 - AX=0000 BX=0000 CX=0000 DX=0080 SP=fff6 BP=0000 SI=0000 DI=0000 DS=0040 ES=0000 SS=0030 CS=c000 IP=0098 NV UP DI PL ZR NA PE NC c000:0096 8ed8 MOV DS,AX c000:96 - AX=0000 BX=0000 CX=0000 DX=0080 SP=fff6 BP=0000 SI=0000 DI=0000 DS=0000 ES=0000 SS=0030 CS=c000 IP=0099 NV UP DI PL ZR NA PE NC c000:0098 0e PUSH CS c000:98 - AX=0000 BX=0000 CX=0000 DX=0080 SP=fff4 BP=0000 SI=0000 DI=0000 DS=0000 ES=0000 SS=0030 CS=c000 IP=009a NV UP DI PL ZR NA PE NC c000:0099 07 POP ES c000:99 - AX=0000 BX=0000 CX=0000 DX=0080 SP=fff6 BP=0000 SI=0000 DI=0000 DS=0000 ES=c000 SS=0030 CS=c000 IP=009d NV UP DI PL ZR NA PE NC c000:009a e87300 CALL 0110 c000:9a - AX=0000 BX=0000 CX=0000 DX=0080 SP=fff4 BP=0000 SI=0000 DI=0000 DS=0000 ES=c000 SS=0030 CS=c000 IP=0111 NV UP DI PL ZR NA PE NC c000:0110 66 DATA: c000:110 - AX=0000 BX=0000 CX=0000 DX=0080 SP=fff4 BP=0000 SI=0000 DI=0000 DS=0000 ES=c000 SS=0030 CS=c000 IP=0112 NV UP DI PL ZR NA PE NC c000:0111 50 PUSH EAX c000:111 - AX=0000 BX=0000 CX=0000 DX=0080 SP=fff0 BP=0000 SI=0000 DI=0000 DS=0000 ES=c000 SS=0030 CS=c000 IP=0113 NV UP DI PL ZR NA PE NC c000:0112 66 DATA: c000:112 - AX=0000 BX=0000 CX=0000 DX=0080 SP=fff0 BP=0000 SI=0000 DI=0000 DS=0000 ES=c000 SS=0030 CS=c000 IP=0114 NV UP DI PL ZR NA PE NC c000:0113 53 PUSH EBX c000:113 - AX=0000 BX=0000 CX=0000 DX=0080 SP=ffec BP=0000 SI=0000 DI=0000 DS=0000 ES=c000 SS=0030 CS=c000 IP=0115 NV UP DI PL ZR NA PE NC c000:0114 52 PUSH DX c000:114 - AX=0000 BX=0000 CX=0000 DX=0080 SP=ffea BP=0000 SI=0000 DI=0000 DS=0000 ES=c000 SS=0030 CS=c000 IP=0118 NV UP DI PL ZR NA PE NC c000:0115 baf80c MOV DX,cf8 c000:115 - AX=0000 BX=0000 CX=0000 DX=0cf8 SP=ffea BP=0000 SI=0000 DI=0000 DS=0000 ES=c000 SS=0030 CS=c000 IP=0119 NV UP DI PL ZR NA PE NC c000:0118 66 DATA: c000:118 - AX=0000 BX=0000 CX=0000 DX=0cf8 SP=ffea BP=0000 SI=0000 DI=0000 DS=0000 ES=c000 SS=0030 CS=c000 IP=011e NV UP DI PL ZR NA PE NC c000:0119 b800940080 MOV EAX,80009400 c000:119 - AX=9400 BX=0000 CX=0000 DX=0cf8 SP=ffea BP=0000 SI=0000 DI=0000 DS=0000 ES=c000 SS=0030 CS=c000 IP=011f NV UP DI PL ZR NA PE NC c000:011e 66 DATA: c000:11e - AX=9400 BX=0000 CX=0000 DX=0cf8 SP=ffea BP=0000 SI=0000 DI=0000 DS=0000 ES=c000 SS=0030 CS=c000 IP=0120 NV UP DI PL ZR NA PE NC c000:011f ef OUT DX,EAX c000:11f - AX=9400 BX=0000 CX=0000 DX=0cf8 SP=ffea BP=0000 SI=0000 DI=0000 DS=0000 ES=c000 SS=0030 CS=c000 IP=0123 NV UP DI PL ZR NA PE NC c000:0120 bafc0c MOV DX,cfc c000:120 - AX=9400 BX=0000 CX=0000 DX=0cfc SP=ffea BP=0000 SI=0000 DI=0000 DS=0000 ES=c000 SS=0030 CS=c000 IP=0124 NV UP DI PL ZR NA PE NC c000:0123 66 DATA: c000:123 - AX=9400 BX=0000 CX=0000 DX=0cfc SP=ffea BP=0000 SI=0000 DI=0000 DS=0000 ES=c000 SS=0030 CS=c000 IP=0125 NV UP DI PL ZR NA PE NC c000:0124 ed IN EAX,DX c000:124 - AX=4000 BX=0000 CX=0000 DX=0cfc SP=ffea BP=0000 SI=0000 DI=0000 DS=0000 ES=c000 SS=0030 CS=c000 IP=0126 NV UP DI PL ZR NA PE NC c000:0125 66 DATA: c000:125 -
Any advises? Bernd
The vga register problem is a mess, as the vendors rarely want to help.
ron
Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios