|
Post by Mairtrus on Jan 8, 2008 21:04:16 GMT -5
Hello everyone! Does anyone know how I can do to directly insert bytes in the memory of 68k(the RAM memory... )? I mean, to directly modify the values of a variable integer or long. It was understood what I said?
|
|
oompa loompa
I AM THE GOVERNATOR
"Git 'Er Dun!"
Posts: 1,301
|
Post by oompa loompa on Jan 9, 2008 3:05:07 GMT -5
Hello everyone! Does anyone know how I can do to directly insert bytes in the memory of 68k(the RAM memory... )? I mean, to directly modify the values of a variable integer or long. It was understood what I said? To directly modify values of memory, you would use the POKE, POKEINT, and POKELONG commands. eg: POKEINT &hFF0000, 123 would copy the 16-bit number 123 into memory location &hFF0000, which is the first location in RAM pushing the memory map button will make the compiler go though pass 1, which will generate a list of memory locations for all your variables in your program
|
|