1. Low Level Mem Question
- Posted by Alan Tu <ATU5713 at COMPUSERVE.COM> Jun 22, 1998
- 525 views
- Last edited Jun 23, 1998
It seems to me there are too types of memory addresses. I've seen both i= n 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? 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. --Alan =
2. Re: Low Level Mem Question
- Posted by Irv <irv at ELLIJAY.COM> Jun 22, 1998
- 501 views
- Last edited Jun 23, 1998
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
3. Re: Low Level Mem Question
- Posted by Alan Tu <ATU5713 at COMPUSERVE.COM> Jun 23, 1998
- 475 views
Irv wrote: >>>>> The reference is by number, poke(255,13) is the same as poke(#FF,13)the #= sign means a hex number. <<<<< Yes, but how does that relate to the megs of memory I have. Do the addresses just start from 1. (I know about conventional, upper, and extended mem and their starting/ending positions. These numbers are byte= s, right? --Alan =