Paul Wankadia says to Tika Carr
EB> Please, tell me how to directly access memory in C++ (DOS) ???
TC> I'd try the MK_FP macro to create a pointer to the memory location you
TC> want to access. I use this a lot when I want to do some fast work with
PW> What's that in terms of DJGPP???
Seems that I keep forgetting that not all compilers have what mine do.
Well, that's ok. There's a portable one in SNIPPETS called MK_FP.H. I Think
f
you look at that one, it should help. Then just use it to get the pointer to
point to the memory location you want it to.
Tika
* FidoNet: Tika Carr 1:2613/601 or 1:2613/313 *
* Internet: t.carr@pobox.com * http://www.pobox.com/~t.carr/tika/ *
... Programmer (n.) A device for converting coffee into computer code.
___ Blue Wave/DOS v2.30
--- QScan/PCB v1.17b / 01-0406
---------------
* Origin: Knight Moves - Rochester,NY 716-865-2106 (1:2613/313)
|