Hi all,
I have made some progress in my flat panel work, but I run into a very interesting problem. It looks like that int10 is not handled by VBios but by SeaBios itself.
... |0f7a0000| send_cmd : read error (status=51 err=04) |0f7a5000| pmm_free 0x0f7bf000 (detail=0x0f7a6690) |0f7a5000| pmm_free 0x0f7bef80 (detail=0x0f7a6660) |0f7a5000| pmm_free 0x0f7bef00 (detail=0x0f7a6630) |0f7a5000| pmm_free 0x0f7a66f0 (detail=0x0f7a6740) |0f7a0000| pmm_free 0x0f7a5000 (detail=0x0f7a66c0) \0f7a5000/ End thread |0f7a0000| ata_pio_transfer id=0x0f7a0f94 write=0 count=1 bs=512 buf=0x0f7a0d94 |0f7a0000| Read sector id=0x0f7a0f94 dest=0x0f7a0d94 |0f7a0000| pmm_malloc zone=0x0f7afe9b handle=ffffffff size=44 align=10 ret=0x000fdb10 (detail=0x0f7a6740) |0f7a0000| pmm_malloc zone=0x0f7afe93 handle=ffffffff size=80 align=10 ret=0x0f7a66c0 (detail=0x0f7a6710) |0f7a0000| ata0-0: SFCF4096H2BI2SA I Q1 311 STD ATA-0 Hard-Disk (3919 MiBytes) |0f7a0000| pmm_malloc zone=0x0f7afe93 handle=ffffffff size=20 align=10 ret=0x0f7a6670 (detail=0x0f7a6690) |0f7a0000| Registering bootable: ata0-0: SFCF4096H2BI2SA I Q1 311 STD ATA-0 Hard-Disk (3919 MiBytes) (type:2 prio:103 data:fdb10) |0f7a0000| ata_detect resetresult=400f |0f7a0000| powerup iobase=1f0 st=50 |0f7a0000| powerup iobase=1f0 st=0 |0f7a0000| ata_detect ata0-1: sc=55 sn=aa dh=b0 |0f7a0000| send_cmd : DRQ not set (status 00) pmm_free 0x0f7a0000 (detail=0x0f7a63d0) \0f7a0000/ End thread All threads complete. handle_08 handle_76 enter handle_16: a=00000100 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d58 cs=f000 ip=e985 f=0202 handle_08 enter handle_10: a=00000e50 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d6c cs=f000 ip=c2de f=0202 Here I am enter handle_10: a=00000e72 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d6c cs=f000 ip=c2de f=0202 Here I am enter handle_10: a=00000e65 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d6c cs=f000 ip=c2de f=0202 Here I am handle_08 enter handle_10: a=00000e73 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d6c cs=f000 ip=c2de f=0202 Here I am enter handle_10: a=00000e73 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d6c cs=f000 ip=c2de f=0202 Here I am enter handle_10: a=00000e20 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d6c cs=f000 ip=c2de f=0202 Here I am enter handle_10: a=00000e46 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d6c cs=f000 ip=c2de f=0202 Here I am handle_08 enter handle_10: a=00000e31 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d6c cs=f000 ip=c2de f=0202 Here I am enter handle_10: a=00000e32 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d6c cs=f000 ip=c2de f=0202 Here I am enter handle_10: a=00000e20 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d6c cs=f000 ip=c2de f=0202 Here I am handle_08 enter handle_10: a=00000e66 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d6c cs=f000 ip=c2de f=0202 Here I am enter handle_10: a=00000e6f b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d6c cs=f000 ip=c2de f=0202 Here I am enter handle_10: a=00000e72 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d6c cs=f000 ip=c2de f=0202 Here I am handle_08 enter handle_10: a=00000e20 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d6c cs=f000 ip=c2de f=0202 Here I am enter handle_10: a=00000e62 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d6c cs=f000 ip=c2de f=0202 Here I am enter handle_10: a=00000e6f b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d6c cs=f000 ip=c2de f=0202 Here I am enter handle_10: a=00000e6f b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d6c cs=f000 ip=c2de f=0202 Here I am handle_08 enter handle_10: a=00000e74 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d6c cs=f000 ip=c2de f=0202 Here I am enter handle_10: a=00000e20 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d6c cs=f000 ip=c2de f=0202 Here I am enter handle_10: a=00000e6d b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d6c cs=f000 ip=c2de f=0202 Here I am handle_08 enter handle_10: a=00000e65 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d6c cs=f000 ip=c2de f=0202 Here I am enter handle_10: a=00000e6e b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d6c cs=f000 ip=c2de f=0202 Here I am enter handle_10: a=00000e75 b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d6c cs=f000 ip=c2de f=0202 Here I am enter handle_10: a=00000e2e b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d6c cs=f000 ip=c2de f=0202 Here I am handle_08 enter handle_10: a=00000e0d b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d64 cs=f000 ip=c2de f=0202 Here I am enter handle_10: a=00000e0a b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d6c cs=f000 ip=c2de f=0202 Here I am enter handle_10: a=00000e0d b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d64 cs=f000 ip=c2de f=0202 Here I am handle_08 enter handle_10: a=00000e0a b=00000000 c=00000000 d=00000000 ds=0000 es=0000 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006d6c cs=f000 ip=c2de f=0202 Here I am Checking for bootsplash pmm_malloc zone=0x0f7afe93 handle=ffffffff size=921655 align=10 ret=0x0f6c5360 (detail=0x0f7a6640) Copying romfile 'bootsplash.bmp' (len 921654) Copying data 921654@0xffe2f3a8 to 921654@0x0f6c5360 handle_08 handle_08 handle_08 handle_08 handle_08 handle_08 handle_08 handle_08 handle_08 handle_08 handle_08 handle_08 handle_08 handle_08 handle_08 handle_08 start showing bootsplash pmm_malloc zone=0x0f7afe97 handle=ffffffff size=256 align=10 ret=0x0008ff00 (detail=0x0f7a6610) pmm_malloc zone=0x0f7afe97 handle=ffffffff size=256 align=10 ret=0x0008fe00 (detail=0x0f7a65e0) handle_08 enter handle_10: a=00004f00 b=00000000 c=00000000 d=00000000 ds=0000 es=8ff0 ss=0000 si=00000000 di=00000000 bp=00000000 sp=00006dbc cs=f000 ip=c2de f=0202 Here I am No VBE2 found. was 32454256 pmm_free 0x0f6c5360 (detail=0x0f7a6640) pmm_free 0x0008ff00 (detail=0x0f7a6610) pmm_free 0x0008fe00 (detail=0x0f7a65e0) ...
the int10 4f00 should be handled by vbe.c in the VBIOS but it is handled by src/misc.c - "Here I am" output. I am running latest git version of SeaBios with some changes - patch attached.
I see nothing that is wrong as the patch only extends the geode stuff.
I am quite happy for every hint. --- Christian Gmeiner, MSc