Re: Hardware programming of modern vga
From: Scott Moore (spamtrap_at_crayne.org)
Date: 07/27/04
- Next message: Scott Moore : "Re: Hardware programming of modern vga"
- Previous message: Aaron Gray: "Re: NASM and pesky nulls"
- In reply to: wolfgang kern: "Re: Hardware programming of modern vga"
- Next in thread: Scott Moore : "Re: Hardware programming of modern vga"
- Reply: Scott Moore : "Re: Hardware programming of modern vga"
- Reply: Dirk Wolfgang Glomp : "Re: Hardware programming of modern vga"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: Scott Moore : "Re: Hardware programming of modern vga"
- Previous message: Aaron Gray: "Re: NASM and pesky nulls"
- In reply to: wolfgang kern: "Re: Hardware programming of modern vga"
- Next in thread: Scott Moore : "Re: Hardware programming of modern vga"
- Reply: Scott Moore : "Re: Hardware programming of modern vga"
- Reply: Dirk Wolfgang Glomp : "Re: Hardware programming of modern vga"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|