TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ERIC BRAYEUR
from: CAMERON CLARK
date: 1997-06-12 23:21:00
subject: Re: Memory

EB> Hi ALL,
EB> 
EB> Directly access memory ...
EB> 
EB> In BORLAND PASCAL : MEM [$B800:10]=60;
EB> 
EB> Please, tell me how to directly access memory in C++ (DOS) ???
EB> 
EB> Thank you ...
#include 
void far * MK_FP(unsigned seg, unsigned ofs);
Description
Makes a far pointer.
MK_FP is a macro that makes a far pointer from its component segment (seg) 
nd
offset (ofs) parts.
Return Value
MK_FP returns a far pointer.
    I guess this is what yer lookin for?
--- GEcho 1.00
---------------
* Origin: Digital OnLine Magazine! - (409)838-8237 (1:3811/350)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.