www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/14/05:33:49

Date: Sun, 14 Jan 1996 12:25:52 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: strider7 AT unm DOT edu
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: good 'ol 13h question

On Sat, 13 Jan 1996 strider7 AT unm DOT edu wrote:

> Im new to 32-bit programming, and im used to borland c++ 3.0 and i was 
> wondering how i can write directly to the vga.  Here's what i did in borland 
> c++:
> 
> #include <mem.h>
> #include <conio.h>
> 
> unsigned char far *screen=(unsigned char far *)MK_FP(0xa000, 0);
> 
[snip]
> I looked at the faq, but i still dont know what to do. 

How so?  Did you read the latest version of the FAQ (faq102.zip from the 
DJGPP v1.x distribution, v2.0 doesn't have a FAQ yet)?  It explains this 
issue in section 10.6 and in Chapter 18.

- Raw text -


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