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)
|