I am running gForth under Windows 2000. Does anyone try to
do some absolute addressing under such environment in gForth?
Thanks.
What do you mean by "absolute addressing"? I don't know the gForth
model but I assume that it's a Win32 program where an address is an absolute
virtual memory address within the process's own virtual machine. If you're
trying to access real memory addresses, you can't do that in a Win32 user
program.
--
-GJC [MS Windows SDK MVP]
-Software Consultant (Embedded systems and Real Time Controls)
- http://www.mvps.org/ArcaneIncantations/consulting.htm
-gcha...@mvps.org
Accessing physical memory addresses is, of course, possible under
Linux. But under Win32, I believe there are some hacks to
accomplish this. The method involves using something called
"call gates" --- a long time ago I looked into this and then
quickly switched to Linux. Anyway, the following link appears to be
relevant, and you can try searching on the above terms.
http://www.minithins.net/releases/p59-0x10.txt
Good luck.
Krishna
True but it is a rather dirty hack which depends of functionality which
I believe will only work in an account with administrator privileges so it's
not strictly a user program and may not be supported in future versions of
the OS.