delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/08/12:14:41

From: ps13 AT gauss DOT ma DOT ic DOT ac DOT uk (Mr P. Steele)
Newsgroups: comp.os.msdos.djgpp
Subject: far pointers
Date: 8 Mar 1997 13:50:27 GMT
Organization: Imperial College, London, UK
Lines: 12
Message-ID: <5frqr3$em6@oban.cc.ic.ac.uk>
NNTP-Posting-Host: gauss.ma.ic.ac.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In djgpp do I have to initialise far pointers using the farptr.h
, if so how do I do it. An example would be something like as follows

unsigned char *rom_char_set = (char far *)0xF000FA6EL;

I seem to be having trouble writing to the address.

Any help will be a great help.

Peter Steele

**p DOT steele AT ic DOT ac DOT uk**

- Raw text -


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