[LinuxBIOS] Need help with the VGA bios

Stefan Reinauer stepan at coresystems.de
Thu Aug 16 09:55:02 CEST 2007


* Corey Osgood <corey.osgood at gmail.com> [070816 06:05]:
> biosint:  ip 0xf85e   cs 0xf000  flags 0x13

LinuxBIOSv2/util/vgabios/helper_mem.c had some code that would set up
parts of 0xf000:0xXXXX to look like a BIOS:

>  /* int 11 default location (Get Equipment Configuration) */
>  MEM_WW(0x11 << 2, 0xf84d);
>  /* int 12 default location (Get Conventional Memory Size) */
>  MEM_WW(0x12 << 2, 0xf841);
>  /* int 15 default location (I/O System Extensions) */
>  MEM_WW(0x15 << 2, 0xf859);
>  /* int 1A default location (RTC, PCI and others) */
>  MEM_WW(0x1a << 2, 0xff6e);
>  /* int 05 default location (Bound Exceeded) */
>  MEM_WW(0x05 << 2, 0xff54);
>  /* int 08 default location (Double Fault) */
>  MEM_WW(0x08 << 2, 0xfea5);
>  /* int 13 default location (Disk) */
>  MEM_WW(0x13 << 2, 0xec59);
>  /* int 0E default location (Page Fault) */
>  MEM_WW(0x0e << 2, 0xef57);
>  /* int 17 default location (Parallel Port) */
>  MEM_WW(0x17 << 2, 0xefd2);
>  /* fdd table default location (int 1e) */
>  MEM_WW(0x1e << 2, 0xefc7);

Either this, or you could copy a bochs bios there?

-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866




More information about the coreboot mailing list