Re: Hardware programming of modern vga

From: Scott Moore (spamtrap_at_crayne.org)
Date: 07/27/04


Date: Tue, 27 Jul 2004 17:38:05 +0000 (UTC)

wolfgang kern wrote:

> "Fillbert" asked:
>
> | Did anybody know a newsgroup where i can find informations about programming
> | modern vga card?
> | I don't mean programming via DirectX or OpenGl. I like to write a simple os,
> | so there is no common-used api.
>
> Hardware dependent code will be fast and effective, but it is very hard
> these days to get detailed information from manufacturers,
> so all I can recommend for a general working solution is the use of
> the VESA/VBE standards, even most functions are only available
> in true realmode and may fail in the (absolute BS) delaying VM86.
>
> google for VBE2.0/3.0 specifications.
>
> good luck,
> __
> wolfgang
>
>
>

I second this. Vesa is going to be the way to go. Vesa used to have lots of limitations,
for instance you had to switch out of 32 bit modes to call it, but they have fixed all
of that. Nowdays with linear framebuffer mapping, most likely you will just use the
Vesa mode to lay out the video into the '386 address space and access it directly, as
32 bit pixels most likely. The days when you needed to know all about pixel packing
modes and multiple video planes are gone.

Of course, that does not really include 3d acceleration modes, so its very true that
you would only be getting 1/2 of the total modes of these cards. Voodo video cards
used to give all of their programming information online, right to the metal. They
got absorbed by Nvidia. A brief glance at their site didn't show such a document,
but a good search there or a call might show something.

Nowdays the video card market is ATI or Nvidia. If you want to program direct to the
metal, getting to know one or both of these makers is the way to go.

-- 
Samiam is Scott A. Moore
Personal web site: http:/www.moorecad.com/scott
My electronics engineering consulting site: http://www.moorecad.com
ISO 7185 Standard Pascal web site: http://www.moorecad.com/standardpascal
Classic Basic Games web site: http://www.moorecad.com/classicbasic
The IP Pascal web site, a high performance, highly portable ISO 7185 Pascal
compiler system: http://www.moorecad.com/ippas
Being right is more powerfull than large corporations or governments.
The right argument may not be pervasive, but the facts eventually are.


Relevant Pages

  • Re: Hardware programming of modern vga
    ... >> | I don't mean programming via DirectX or OpenGl. ... > modes and multiple video planes are gone. ... > Nowdays the video card market is ATI or Nvidia. ... ISO 7185 Standard Pascal web site: http://www.moorecad.com/standardpascal ...
    (comp.lang.asm.x86)
  • Re: Article unifies the four forces
    ... to my web site, that integrates the four forces, ... It is interesting to see that Sam Wormley's primary reference ... Pursued recreational programming projects and released numerous open ... and download the pdf file. ...
    (sci.physics)
  • attn: Drupal trolls
    ... WASHINGTON - A programming overhaul of the White House's Web site has set ... White House new media director Macon Phillips told The Associated Press ... same could be true for other administration sites in the future. ...
    (rec.sport.pro-wrestling)
  • Re: Any disastrous or amusing upgrade stories?
    ... I led the guys writing Autoflow for the 360, and later spent a lot of time helping to sell it. ... remember card gauges and card needles. ... The IBM programming course for the 702 in 1954 spent two hours on error ...
    (comp.databases.pick)
  • Re: Beginner needs help choosing microcontroller platform & software
    ... course called Programming Fundamentals (next is Electrical Control C ... then Advanced Control Using C++). ... (and also an analogue PPI card). ... Eventually I will tackle some projects using similar resources. ...
    (comp.robotics.misc)

Loading