I'm wondering what do the Peek functions actually do?, how do they work?, what do they look like in assembly?!
I figured a PeekL would be about a MOV and the like, but what about the PeekS?, does PB handle Strings in an enclosed fashion?.
I'd like to write my own peek functions for PB just for fun (learning purposes, new to ASM)
so far I've got a PeekL and PokeL working flawlessly (although they mess with the original pointer, I don't know how to solve this other than copy the original memory address to later on use it on the freememory() proc...
I had an idea, which is to do an ADD of 4 to the given memory address, do this on both peek and poke, that way I'd avoid messing with the original pointer, right?, would this be a good idea?.
Feedback please!!


