This is an application that looks at the memory of the PICO-8.
Left-Display previous byte
Right-Display next byte
Up-Increment memory address
Down-Decrement memory address
o-Decrement memory address by 8
x-Increment memory address by 8
The code has a string and number stored to find in memory.
There is also a graphic and sfx to locate in memory.
I initially made this to look at the lua code and answer a few questions I had like what the endianness of the CPU is (it is little-endian if I worked things out correctly). Perhaps there are other things that can be found about the CPU. Maybe I could add a way to poke values in to test things.
I whipped this up and added a few features to make things a bit easier. Do whatever you want with it. If the BBS gave me the option I would have put it as CC0, but I selected CC4 because it was closest.
The code increments after displaying what is in the address.
Cool tool! Don't know if you've seen memsplore (https://www.lexaloffle.com/bbs/?tid=39274) but that is also a very useful memory exploration tool that you might find handy along with yours.
There are lots of interesting memory locations in Pico-8.
@2bitchuck I looked at memsplore and it is very nice.
@dw817 I am aware that the work on what is where has already been done. I mainly made it to try to track down the lua bytecode in the pico-8 if the CPU is not Harvard architechture. Of course, this was done before @2bitchuck said something about memsplore. I probably could have saved some time if I bothered to actually look. :) Also, due to my situation, I can't really look at wikia/fandom pages at the moment. I will give it a look when the situation changes.
[Please log in to post a comment]