www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/07/11:58:53

Date: Sat, 7 Mar 1998 08:58:20 -0800 (PST)
Message-Id: <199803071658.IAA27533@adit.ap.net>
Mime-Version: 1.0
To: Teknes99 <Teknes99 AT aol DOT com>, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: code problem

At 07:16  3/5/1998 EST, Teknes99 wrote:
>can anyone rewrite this so that it will compiler with gcc?
>
>CODE:
>
>unsigned char far *video_buffer = (char far *)0xA0000000L;
>and
>unsigned char far *video_buffer_w = (char far *)0xA0000000L;

It's more complicated than just a syntax change in the declaration. See FAQ
section 18.4.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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