www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/13/18:33:36

From: sam AT greenaumARSE!ARSE!ARSE!.demon.co.uk
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How to convert a selector into a pointer?
Date: Fri, 13 Aug 1999 18:56:19 GMT
Organization: Rossum's Universal Robots
Message-ID: <37be6a51.1119880@news.demon.co.uk>
References: <37b19b34 DOT 33491353 AT NotesXnt> <37B16C34 DOT 10FE AT mitre DOT org>
NNTP-Posting-Host: greenaum.demon.co.uk
X-NNTP-Posting-Host: greenaum.demon.co.uk:194.222.71.189
X-Trace: news.demon.co.uk 934570581 nnrp-10:2436 NO-IDENT greenaum.demon.co.uk:194.222.71.189
X-Complaints-To: abuse AT demon DOT net
X-Newsreader: Forte Agent 1.5/32.452
X-No-Archive: yes
MIME-Version: 1.0
Lines: 15
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Wouldn't it be easier to just copy the data from DOS memory into a
protected-memory buffer with movedata(), then just work on the buffer?
The amount of protection faults my crappy programming generates, I
wouldn't want to take any chances needlessly.

This is all in the FAQ, there are 3 main methods of accessing DOS
memory, and movedata() is safest and easiest, though a bit slow cos of
the copying.

------------------------------------------------------------------------

Why pamper life's complexity, 
when the leather runs smooth on the passenger seee-eee-aaat?
                                                 
                 http://www.greenaum.demon.co.uk/

- Raw text -


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