ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/30/20:01:26

From: gpt20 AT thor DOT cam DOT ac DOT uk (G.P. Tootell)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: char -->far<-- *var????
Date: 1 Dec 1996 00:13:51 GMT
Organization: University of Cambridge, England
Lines: 14
Sender: gpt20 AT hammer DOT thor DOT cam DOT ac DOT uk (G.P. Tootell)
Message-ID: <57qijv$sbt@lyra.csx.cam.ac.uk>
References: <32a0b415 DOT 0 AT news DOT iea DOT net>
NNTP-Posting-Host: hammer.thor.cam.ac.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

you could read the faq, section on graphics? it does have a nice example of
exactly how to do this and it's on dj's page.

nik

In article <32a0b415 DOT 0 AT news DOT iea DOT net>, benm AT comtch DOT iea DOT com (Ben McGaughey) writes:
|> I was trying to write a program that did this:
|> 
|> char far *screen=(char far *)MK_FP(0xa000,0);
|> 
|> but...
|> DJGPP doesn't support the word 'far' or 'MK_FP'!!  What can I do?

-- 

- Raw text -


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