From: Robert Severn
Subject: Re: VESA video modes
To set a VESA video mode, you have to set AX = &H4F02 and then put the
video mode (&H111, &H114...) in BX. Then do the INT &H10. As far as
actually doing anything in these modes, I know how to set pixels in the
256 colour modes (that's easy, just write bytes to the video buffer) but
as for the high colour modes I don't know how the pixels are stored. So
if anyone does, let me know.
Aaron
Marc van den Dikkenberg wrote:
>
> This may not be the right group for this, but...
>
> does anyone know how to switch to a VESA videomode?
>
> I'm particulary interested in any of the hi-color modes
> (&H111 or &H114, for example) but the ordinary code to switch
> modes doesn't appear to have any effect with these.
> I know my videocards support them, so I'm obviously missing out
> something.
>
> ! MOV &H...
> ! INT &H10
>
> won't work.
>
> Do the VESA modes require any other registers to be set?
> --
> Marc van den Dikkenberg
> -----------------------
> The PowerBasic Archives
> http://www.xs4all.nl/~excel/pb.html
*** QwkNews (tm) v2.1
* [TN71] Toast House Import
--- GEcho 1.20/Pro
---------------
* Origin: Toast House Remote (1:100/561)
|