delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/31/06:38:12

From: beyonddeath <justhunt1234 AT home DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Vesa is a pain help please
Message-ID: <4698esg56ttr8u6sfedrtdvsjovi2s6dpg@4ax.com>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 26
Date: Fri, 31 Mar 2000 01:12:50 GMT
NNTP-Posting-Host: 24.112.65.173
X-Complaints-To: abuse AT home DOT net
X-Trace: news2.rdc1.on.home.com 954465170 24.112.65.173 (Thu, 30 Mar 2000 17:12:50 PST)
NNTP-Posting-Date: Thu, 30 Mar 2000 17:12:50 PST
Organization: @Home Network Canada
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

ok i got VESA working but only on 2-3 resolutions of like 20 i know
of,  this is my code to do it,

union REGS regs;
regs.x.ax = 0x4F02; /* change display mode */
regs.x.bx = 117; /* three-digit mode number */
int86(0x10, &regs, &regs); /* Call the BIOS (int10) */
if(regs.h.al != 0x4F)
{
printf("VESA modes NOT supported!\n");
}
else
{
}

then after before the program ends:

regs.h.al = 3; /* return to Mode 3 */
int86(0x10, &regs, &regs);

This works ive got another program that just does this it will work on
1-2 more than i already have but still not with flying colors,  is
there any way to do this im looking for 1024x768 or 800x600 but in
high colors.  Thanks allot is it also possible that its just modifying
the size of the text to look the same at all the resolutions cause it
does change somthing...

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019