Gerd Hoffmann [Thu, 6 May 2010 08:50:41 +0000 (10:50 +0200)]
Add qemu qxl vga pci bios
Add PCI vgabios for the qemu qxl vga (1b36:0100).
Name it vgabios-qxl.bin.
Gerd Hoffmann [Thu, 6 May 2010 08:47:01 +0000 (10:47 +0200)]
Add qemu vmware vga pci bios
Add PCI vgabios for the qemu vmeare vga (15ad:0405).
Name it vgabios-vmware.bin.
Gerd Hoffmann [Thu, 6 May 2010 13:11:39 +0000 (15:11 +0200)]
update pci_get_lfb_addr for vmware vga
vmware vga has the framebuffer at pci region 1 not 0. This patch makes
pci_get_lfb_addr check region 1 too. It also gives names to the
numbered labels to make the code more readable.
Gerd Hoffmann [Thu, 6 May 2010 08:39:33 +0000 (10:39 +0200)]
Add qemu stdvga pci bios
Add PCI vgabios for the qemu standard vga (1234:1111).
Name it vgabios-stdvga.bin.
Gerd Hoffmann [Thu, 6 May 2010 08:21:47 +0000 (10:21 +0200)]
Add defines for PCI IDs.
This patch allows to set PCI vendor and device IDs using defines
(PCI_VID and PCI_DID). Use it for vgabios.bin.
Gerd Hoffmann [Thu, 6 May 2010 07:58:40 +0000 (09:58 +0200)]
Makefile cleanup
Use a single rule for building bios binaries.
Use target specific variables to set compile flags.
This makes it more obvious what the differences between the versions
are. It also makes it easier to add new bios binaries with slightly
different settings.
Volker Ruppert [Wed, 8 Apr 2009 16:44:18 +0000 (16:44 +0000)]
- updates for release 0.6c
Volker Ruppert [Tue, 7 Apr 2009 18:18:20 +0000 (18:18 +0000)]
- biosfn_write_teletype: fixed attribute when scrolling in text mode
Volker Ruppert [Mon, 6 Apr 2009 18:17:16 +0000 (18:17 +0000)]
- preparing for release 0.6c
Volker Ruppert [Sun, 25 Jan 2009 15:46:25 +0000 (15:46 +0000)]
- added support for a lot more non-standard VBE modes (e.g. widescreen modes) - requires latest Bochs VBE code (16 MB video memory, VBE_DISPI_ID5, VRAM size in 64k pages stored in VBE register) - check if VBE mode is supported with current VRAM size
Volker Ruppert [Sat, 24 Jan 2009 10:02:14 +0000 (10:02 +0000)]
- use VBE LFB address from PCI base address if present (rewrite of the cirrus specific function in main vgabios code) - removed unnecessary spaces
Volker Ruppert [Sun, 14 Dec 2008 08:29:48 +0000 (08:29 +0000)]
- added DPMS support to cirrus vgabios (patch from Gleb Natapov)
Volker Ruppert [Fri, 30 May 2008 15:28:43 +0000 (15:28 +0000)]
- updated for release 0.6b
Volker Ruppert [Thu, 22 May 2008 10:55:41 +0000 (10:55 +0000)]
- preparations for release 0.6b
Volker Ruppert [Sun, 11 May 2008 06:40:19 +0000 (06:40 +0000)]
- fixed a warning
Volker Ruppert [Sun, 2 Mar 2008 07:47:21 +0000 (07:47 +0000)]
- added debug message for unsupported VBE modes
Volker Ruppert [Sun, 24 Feb 2008 08:18:42 +0000 (08:18 +0000)]
- in LFB modes the number of banks must be set to 1
Volker Ruppert [Sun, 27 Jan 2008 09:44:12 +0000 (09:44 +0000)]
- added PCI data structure for the Cirrus VGABIOS images
- added support for the PCI data structure in biossums
- updated year in copyright
Volker Ruppert [Sat, 26 Jan 2008 10:46:34 +0000 (10:46 +0000)]
- whitespace cleanup
Volker Ruppert [Sun, 26 Nov 2006 09:43:47 +0000 (09:43 +0000)]
- disable the generation of linemarkers by the preprocessor, since the latest
versions of bcc don't like them
Volker Ruppert [Sat, 2 Sep 2006 11:15:57 +0000 (11:15 +0000)]
- the biossums utility no longer modifies VGABIOS images with proper checksum
and size
Volker Ruppert [Sat, 19 Aug 2006 12:28:12 +0000 (12:28 +0000)]
- updates for 0.6a release
Volker Ruppert [Sat, 19 Aug 2006 09:39:43 +0000 (09:39 +0000)]
- improved VGA compatible setup for VBE modes (disable CGA and Hercules
compatible memory layout)
Volker Ruppert [Fri, 18 Aug 2006 20:39:32 +0000 (20:39 +0000)]
- improved VGA compatible setup for >=8bpp VBE modes (CRTC doubleword mode and
GRDC shift register setting added)
- now using symbolic name for CRTC address register
Volker Ruppert [Tue, 15 Aug 2006 20:42:14 +0000 (20:42 +0000)]
- init 4bpp VBE modes by a temporary switch to VGA mode 0x6A
- all 4bpp VBE modes now enabled
Volker Ruppert [Mon, 14 Aug 2006 20:24:34 +0000 (20:24 +0000)]
- VGA compatible setup for VBE modes improved (Bochs hack can be removed now)
Volker Ruppert [Sat, 12 Aug 2006 07:51:28 +0000 (07:51 +0000)]
- .cvsignore added for auto-generated file
Volker Ruppert [Sat, 12 Aug 2006 07:47:33 +0000 (07:47 +0000)]
- cleaned up VBE memory size definitions (removed duplicate defines, main
definition now in vbetables-gen.c)
Volker Ruppert [Wed, 9 Aug 2006 21:28:43 +0000 (21:28 +0000)]
- removed auto-generated file
Volker Ruppert [Wed, 9 Aug 2006 21:26:02 +0000 (21:26 +0000)]
- VBE video memory increased to 8 MB
- VBE dispi ID changed to B0C4
- documentation update
Volker Ruppert [Tue, 11 Jul 2006 08:03:48 +0000 (08:03 +0000)]
- generate vbetables.h dynamicly
* initial patch from the qemu project by Fabrice Bellard
* only add modes that fit in video memory (still 4 MB)
* several other fixes (e.g. 4 bpp specific stuff, number of pages)
Volker Ruppert [Mon, 10 Jul 2006 07:47:51 +0000 (07:47 +0000)]
- biosfn_scroll(): check variable 'i' for underflowing when scrolling downwards
to avoid screen corruption
Volker Ruppert [Mon, 10 Jul 2006 07:47:35 +0000 (07:47 +0000)]
- VBE set bank functions failure handling added
- VBE get/set logical scan line length fixes for the 4bpp mode
Volker Ruppert [Sat, 8 Jul 2006 13:27:08 +0000 (13:27 +0000)]
- added special case for the 4 bpp when setting VBE display start
- VBE mode table fixes
Volker Ruppert [Fri, 7 Jul 2006 13:30:23 +0000 (13:30 +0000)]
- bank pointer must be set to 0 after a mode set
Volker Ruppert [Wed, 21 Jun 2006 16:58:06 +0000 (16:58 +0000)]
- improved VBE display capabilities check (X resulution checked now)
- removed obsolete defines (LFB always available, always generate dynamic list)
- CR/LF to LF fixes
Volker Ruppert [Sun, 18 Jun 2006 15:22:43 +0000 (15:22 +0000)]
- applied patch from the qemu project (Fabrice Bellard)
* Cirrus SVGA now supports the "no clear" bit when switching to Cirrus or
VESA mode
* Bochs VBE protected mode interface improved
* save/restore video state support for Bochs VBE and standard VGA added
* Bochs VBE prepared for more modi
Volker Ruppert [Sat, 25 Mar 2006 10:19:15 +0000 (10:19 +0000)]
- applied patch from Fabrice Bellard
* added minimal support for the video parameter table (VPT)
* added Cirrus SVGA mode 0x7b (1600x1200x8)
Volker Ruppert [Thu, 29 Dec 2005 08:49:40 +0000 (08:49 +0000)]
- updates for 0.5d release
Volker Ruppert [Mon, 26 Dec 2005 19:50:26 +0000 (19:50 +0000)]
- biossums utility now supports VGABIOS sizes up to 64 kBytes
- Bochs VBE protected mode interface added (based on a patch by malc@pulsesoft.com)
Volker Ruppert [Wed, 21 Sep 2005 18:45:20 +0000 (18:45 +0000)]
- mode 0x11: all color planes must be enabled in this 2-color VGA mode
Volker Ruppert [Tue, 30 Aug 2005 18:41:54 +0000 (18:41 +0000)]
- missing license text added in biossums.c
Volker Ruppert [Thu, 7 Jul 2005 17:23:51 +0000 (17:23 +0000)]
- updates for 0.5c release
Volker Ruppert [Sat, 2 Jul 2005 18:39:43 +0000 (18:39 +0000)]
- BIOS configuration word usually reports initial mode 80x25 color text
- vgabios function 0x0e (write teletype): linefeed (0x0a) only increments the
cursor row value
Volker Ruppert [Tue, 24 May 2005 18:07:34 +0000 (18:07 +0000)]
- updates for 0.5b release
Volker Ruppert [Tue, 24 May 2005 16:50:50 +0000 (16:50 +0000)]
- output to the vgabios info port can be disabled now. It is still enabled by
default and always possible in debug mode. (based on a patch from Alex Beregszaszi)
Volker Ruppert [Fri, 20 May 2005 16:06:52 +0000 (16:06 +0000)]
- fixed return value for the default case in the VBE section (non-debug mode)
- removed unused macros HALT and PANIC_PORT
Volker Ruppert [Mon, 7 Mar 2005 20:39:00 +0000 (20:39 +0000)]
- updates for 0.5a release
Volker Ruppert [Sun, 6 Mar 2005 13:06:47 +0000 (13:06 +0000)]
- vgabios files with cirrus support added to release target
Volker Ruppert [Sun, 6 Mar 2005 12:24:22 +0000 (12:24 +0000)]
- cross compilation support added (patch from Alex Beregszaszi)
Volker Ruppert [Sat, 5 Mar 2005 13:03:28 +0000 (13:03 +0000)]
- documentation updates
Volker Ruppert [Sat, 4 Dec 2004 15:26:17 +0000 (15:26 +0000)]
- Cirrus extension: support for 1280x1024x15 and 1280x1024x16 modes added (patch
from Fabrice Bellard)
Volker Ruppert [Sun, 8 Aug 2004 16:52:55 +0000 (16:52 +0000)]
- use single bank mode for VBE
- enable 16k granularity for VBE only
Volker Ruppert [Fri, 30 Jul 2004 19:32:57 +0000 (19:32 +0000)]
- cirrus init: set standard vga mode and reset bitblt
Volker Ruppert [Thu, 22 Jul 2004 18:37:29 +0000 (18:37 +0000)]
- cirrus extension: tables for mode 1280x1024x8 added
- vbe: dispi_set_xres() and dispi_set_virt_width() now modify vga compatible registers
- vbe: mode list entry for mode 800x600x4 fixed
Volker Ruppert [Sun, 18 Jul 2004 20:22:43 +0000 (20:22 +0000)]
- disable CRTC write protection before setting new values
- CRTC line for mode 0x6a fixed
Volker Ruppert [Wed, 7 Jul 2004 16:08:13 +0000 (16:08 +0000)]
- biossums utility for the Bochs BIOS adapted for the LGPL'd VGABIOS
- VESA3 PMINFO checksum calculated in the source
- 24 bpp mode entries fixed (patch from Fabrice Bellard)
Volker Ruppert [Fri, 25 Jun 2004 18:28:16 +0000 (18:28 +0000)]
- 4MB memory probe added (patch from Fabrice Bellard)
Volker Ruppert [Fri, 25 Jun 2004 17:29:45 +0000 (17:29 +0000)]
- fixed value of sequencer reset register in cirrus mode table
- fixed possible overflow error if cirrus start address is >256k
Volker Ruppert [Wed, 23 Jun 2004 21:10:50 +0000 (21:10 +0000)]
- applied new patch for the cirrus extension from suzu
* enable VESA LFB support if a Cirrus PCI adapter is detected
* prepared VBE3 protected mode info block (test case required)
- added VBE functions 4F06h and 4F07h
- some bugfixes
Volker Ruppert [Thu, 17 Jun 2004 18:57:00 +0000 (18:57 +0000)]
- fixed makefile targets for the binaries with cirrus extension
Volker Ruppert [Wed, 16 Jun 2004 21:08:34 +0000 (21:08 +0000)]
- applied suzu's cirrus extension patch. Cirrus SVGA detection, most of the
cirrus-specific modes and some basic VBE features are present now.
Volker Ruppert [Mon, 31 May 2004 21:14:50 +0000 (21:14 +0000)]
- write character in planar graphics modes: sequencer map mask must be 0x0f and
bit operation must be 'replace' if bit 7 of attribute is clear
- read/write pixel in planar graphics modes: bit mask setup simplified
Volker Ruppert [Tue, 11 May 2004 18:07:36 +0000 (18:07 +0000)]
- biosfn_select_vert_res rewritten in assembler
- scroll text in planar graphics modes: attribute for blank line fixed
- write character in planar graphics modes: graphics controller values fixed
Volker Ruppert [Sun, 9 May 2004 20:31:30 +0000 (20:31 +0000)]
- VBE init code and some dispi ioport functions rewritten in assembler
- text scroll functions for CGA graphics modes added
- scroll text in graphics modes: attribute for blank line fixed
Volker Ruppert [Sat, 8 May 2004 16:05:41 +0000 (16:05 +0000)]
- VBE internal functions dispi_set_enable and dispi_set_bank now called both from C and asm code
- VBE function 0x03 rewritten in assembler
- VBE function 0x08 cleaned up
- text output and scroll functions for graphics modes rewritten using case structures
- documentation and comments updated
Volker Ruppert [Thu, 6 May 2004 21:17:29 +0000 (21:17 +0000)]
- VBE functions 0x05, 0x06, 0x07 and some dispi ioport functions rewritten in assembler
- VBE functions 0x06 and 0x07: get functions now supported, 15 bpp bug fixed
Volker Ruppert [Wed, 5 May 2004 19:23:53 +0000 (19:23 +0000)]
- 8 bit DAC capability flag set
- vbe_biosfn_set_get_dac_palette_format implemented
- VBE api description updated
- C definitions from header files now used assembler code
Volker Ruppert [Sun, 2 May 2004 17:27:18 +0000 (17:27 +0000)]
- text scroll functions for PLANAR1/PLANAR4 graphics modes added
- function biosfn_get_ega_info rewritten in assembler
- read/write graphics pixel functions rewritten using a case structure
Volker Ruppert [Sat, 1 May 2004 16:03:13 +0000 (16:03 +0000)]
- biosfn_enable_cursor_emulation rewritten in assembler
- remap of the cursor shape depends on modeset control bit 0
- text output in PLANAR4 modes now supports attribute bit 7 (XOR with background)
Volker Ruppert [Sun, 25 Apr 2004 20:12:56 +0000 (20:12 +0000)]
- table entries for vga mode 0x0f fixed (PLANAR2 exists on EGA only)
- function release_font_access now supports the monochrome text mode
- PLANAR1 modes now supported in text output functions and read/write pixel
- function AH=0x12/BL=0x32 rewritten in assembler
Volker Ruppert [Sun, 25 Apr 2004 08:45:25 +0000 (08:45 +0000)]
- block address calculation in font functions fixed
- functions AX=0x1103, AH=0x12/BL=0x31 and AH=0x12/BL=0x33 rewritten in assembler
Volker Ruppert [Sat, 24 Apr 2004 09:58:31 +0000 (09:58 +0000)]
- read/write graphics pixel for PLANAR4 modes added
- CGA specific functions (group AH = 0x0B) implemented
Volker Ruppert [Fri, 23 Apr 2004 14:33:31 +0000 (14:33 +0000)]
- remaining palette and dac read/write functions (except gray scale summing)
rewritten in assembler
Volker Ruppert [Sun, 18 Apr 2004 13:43:10 +0000 (13:43 +0000)]
- some palette and dac read/write functions rewritten in assembler
- main int10 debug message now works with assembler functions, too
Jeroen Janssen [Sun, 18 Apr 2004 09:15:22 +0000 (09:15 +0000)]
updated my email address + put vgabios url in the bios copyright string
(instead of my old email address)
Volker Ruppert [Sat, 17 Apr 2004 07:18:21 +0000 (07:18 +0000)]
- biosfn_set_video_mode: don't load DAC registers if default palette loading is
disabled. Perform gray scale summing if enabled.
- biosfn_perform_gray_scale_summing: switch between DAC read and write mode is
required to make this function work. Maximum DAC value always set to 0x3f.
Volker Ruppert [Thu, 8 Apr 2004 17:50:19 +0000 (17:50 +0000)]
- write character function for the LINEAR8 mode
- get_font_access() and release_font_access() rewritten in assembler
- fixed wrong variable name in the init code
Volker Ruppert [Tue, 6 Apr 2004 19:30:25 +0000 (19:30 +0000)]
- init functions rewitten in assembler
- function biosfn_set_display_code rewritten in assembler
Volker Ruppert [Mon, 5 Apr 2004 19:39:43 +0000 (19:39 +0000)]
- functions biosfn_get_video_mode() and biosfn_read_display_code() rewritten
in assembler
Volker Ruppert [Sun, 4 Apr 2004 18:19:48 +0000 (18:19 +0000)]
- write character function for CGA modes added
- read/write graphics pixel for CGA and LINEAR8 modes added
Volker Ruppert [Mon, 23 Feb 2004 21:07:59 +0000 (21:07 +0000)]
- dispi_get_max_bpp(): restore the original value of the vbe enable register
Volker Ruppert [Sun, 22 Feb 2004 14:17:10 +0000 (14:17 +0000)]
- new function dispi_get_max_bpp() returns the bpp capabilities of the Bochs gui
- create the mode list depending on the supported bpp capability
- unused stuff removed
- documentation updated
Volker Ruppert [Sat, 21 Feb 2004 18:20:32 +0000 (18:20 +0000)]
- dynamicly genarated vbe mode_info list works now
Volker Ruppert [Mon, 17 Nov 2003 21:03:42 +0000 (21:03 +0000)]
- new VBE presence flag stored at unused BDA address 0xB9
- VBE init code rewritten
- added BIOS TTY flag for VBE mode 0x0102 (TODO: scrolling)
- vgabios_init_func: load and activate text font already done by set_video_mode
- function biosfn_get_all_palette_reg() fixed
Christophe Bothamy [Wed, 5 Nov 2003 23:27:16 +0000 (23:27 +0000)]
- update ChangeLog for 0.4c release
Christophe Bothamy [Wed, 5 Nov 2003 23:26:27 +0000 (23:26 +0000)]
- add changes for 0.4c release
Christophe Bothamy [Wed, 5 Nov 2003 23:21:19 +0000 (23:21 +0000)]
- activate char table after loading it when setting a text video mode
Christophe Bothamy [Wed, 5 Nov 2003 23:19:13 +0000 (23:19 +0000)]
- when making a release, remove unwanted files first, and exclude CVS from the tarball
Christophe Bothamy [Tue, 4 Nov 2003 21:50:46 +0000 (21:50 +0000)]
- update ChangeLog for 0.4b release
Christophe Bothamy [Tue, 4 Nov 2003 21:49:38 +0000 (21:49 +0000)]
- update Changes for 0.4b release
Volker Ruppert [Tue, 4 Nov 2003 19:26:43 +0000 (19:26 +0000)]
- biosfn_get_font_info(): character height must be returned in CX
Volker Ruppert [Mon, 3 Nov 2003 20:57:01 +0000 (20:57 +0000)]
- the 'noclearmem' flag is not stored in the 'current video mode' register (0040h:0049h)
- VBE also stores the 'noclear' flag in the 'video control' register (0040h:0087h)
Volker Ruppert [Sun, 5 Oct 2003 08:06:16 +0000 (08:06 +0000)]
- changed VBE i/o registers to 0x01CE/CF (suggestion from Daniel Gimpelevich)
Volker Ruppert [Mon, 18 Aug 2003 16:38:26 +0000 (16:38 +0000)]
- wrong offsets to the character tables (INT 0x1F/0x43) fixed (underscore added)
- functions accessing the CRT controller optimized using a local variable 'crtc_addr'
Christophe Bothamy [Sun, 17 Aug 2003 13:46:44 +0000 (13:46 +0000)]
- ChangeLog is now automatically generated by running "cvs2cl -r -t -P -S"
- update ChangeLog for 0.4a release
Christophe Bothamy [Sun, 17 Aug 2003 13:44:49 +0000 (13:44 +0000)]
- added the old ChangeLog in the HOSTORY section of the README file
- update History for 0.4a release, with a summary of Changes
Christophe Bothamy [Sun, 17 Aug 2003 13:24:24 +0000 (13:24 +0000)]
- fix Makefile for "release" target
Christophe Bothamy [Fri, 15 Aug 2003 23:49:27 +0000 (23:49 +0000)]
- update the Makefile for releases
- remove references to old plex86 website
- update the Makefile so it build VGABIOS-lgpl-latest.bin and
VGABIOS-lgpl-latest.debug.bin
Volker Ruppert [Thu, 7 Aug 2003 15:54:11 +0000 (15:54 +0000)]
- current VBE mode now stored in BDA (unused address 0xBA)