[OpenBIOS] r793 - cpu/x86/pc/biosload

svn at openbios.org svn at openbios.org
Mon Jan 28 05:18:50 CET 2008


Author: wmb
Date: 2008-01-28 05:18:50 +0100 (Mon, 28 Jan 2008)
New Revision: 793

Modified:
   cpu/x86/pc/biosload/devices.fth
   cpu/x86/pc/biosload/ofw.bth
Log:
BIOSload version - Added an optional driver for legacy VGA.



Modified: cpu/x86/pc/biosload/devices.fth
===================================================================
--- cpu/x86/pc/biosload/devices.fth	2008-01-28 04:17:34 UTC (rev 792)
+++ cpu/x86/pc/biosload/devices.fth	2008-01-28 04:18:50 UTC (rev 793)
@@ -207,6 +207,22 @@
 ;
 [then]
 
+[ifdef] use-vga
+0 0  " i3c0" " /isa" begin-package
+  " vga" name
+  my-address my-space h# 20 reg
+  fload ${BP}/dev/video/common/defer.fth	\ Defered words
+  fload ${BP}/dev/video/common/graphics.fth	\ Graphics and color routines
+  fload ${BP}/dev/video/controlr/vga.fth	\ Controller code
+  use-vga
+  fload ${BP}/dev/video/common/init.fth		\ Init code
+  fload ${BP}/dev/video/common/display.fth	\ High level interface code
+  fload ${BP}/dev/video/common/textmode.fth	\ VGA text mode
+  : (map-io-regs)  h# ffff0000 to io-base  ;
+  ' (map-io-regs) to map-io-regs
+end-package
+[then]
+
 [ifdef] use-ct65550
 0 0  " i3b0" " /isa" begin-package
    fload ${BP}/dev/ct6555x/loadpkg.fth	\ Video driver

Modified: cpu/x86/pc/biosload/ofw.bth
===================================================================
--- cpu/x86/pc/biosload/ofw.bth	2008-01-28 04:17:34 UTC (rev 792)
+++ cpu/x86/pc/biosload/ofw.bth	2008-01-28 04:18:50 UTC (rev 793)
@@ -133,6 +133,11 @@
    " ${BP}/cpu/x86/pc/biosload/linux.fth"     " linux.fth"    $add-dropin
    " ${BP}/ofw/linux/penguin.txt"  " penguin.txt"          $add-dropin
 
+[ifdef] use-vga
+   " ${BP}/ofw/termemu/cp881-16.obf"            " font"        $add-deflated-dropin
+[then]
+
+
 [ifdef] grub-loaded
    ofd @ fsize   pad !      \ file size; store in memory for convenience below
    h# 44 ofd @ fseek        \ Seek to file size field; see elfhdr.bth




More information about the OpenBIOS mailing list