delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/01/28/03:11:22

Date: Sun, 28 Jan 2001 09:57:55 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: David Krmpotic <David DOT Krmpotic AT guest DOT arnes DOT si>
cc: djgpp AT delorie DOT com
Subject: Re: switching to 320 x 200 mode in DJGPP
In-Reply-To: <94vta8$pea$1@planja.arnes.si>
Message-ID: <Pine.SUN.3.91.1010128095715.17675T-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 28 Jan 2001, David Krmpotic wrote:

> simple newbie problem:
> I'm using DJGPP and I don't know how to use 320x200 graphic mode...
> here's my example:
> 
> #include <stdlib.h>
> #include <conio.h>
> #include <stdio.h>
> #include <string.h>
> #include <malloc.h>
> #include <dpmi.h>
> 
> void* vga = (void*)0xa000;

This is your problem.  See section 10.2 of the DJGPP FAQ 
list (http://www.delorie.com/djgpp/v2faq/faq10_2.html, or 
download v2/faq230b.zip and read it locally on your machine).

- Raw text -


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