Re: Low Level Mem Question
- Posted by Irv <irv at ELLIJAY.COM> Jun 22, 1998
- 702 views
Alan Tu wrote: > It seems to me there are too types of memory addresses. I've seen both in > Euphoria. > > poke(1052, 13) -- "put" for lack of better term carriage return into > address 1052 (meaningless instruction) > > peek(#417) get a byte from memory > > Just for curiosity. How are memory addressed referenced by byte? Is it > strictly hexadecimal? And what does the # sign signify in the second > example? The reference is by number, poke(255,13) is the same as poke(#FF,13)the # sign means a hex number. > Now, these two addresses have special meaning. I've also heard > that other addresses have special meaning (such as screen memory, all > sorts). Is there a list of these somewhere, online or in a text file? > Thanks. Yes, there's a file named dosref34.exe on my ftp site which lists all sorts of usefulDOS addresses and interrupt calls, etc. But it's large - about 300K. Also remember that peeking is pretty safe, while poking is a dangerous game. Hmm. there's a joke there somewhere. Irv http://www.mindspring.com/~mountains ftp.mindspring.com/users/mountains/dosref34.exe