notaz
Certified Guru
http://notaz.gp2x.de/misc/ramview.zip
I find it fun to play with this. After loading some app you can see where it kept it's framebuffers. After loading quake you can find some player skins and stuff.
You can see with this that GP2X, like many other devices, has it's RAM mirrored. The mirror locations are 0x08000000, 0x10000000, 0x18000000, ..., 0x38000000
What I found really strange is that some things can survive a cold reboot, up to a minute and more! It starts slowly degrading after that, though. I wonder, is that the RAM itself responsible or do just some capacitors keep their charge?
Readme below:
CODE
ramview r1
(c) notaz, 2008
About
-----
This program allows you to view any location of GP2X RAM as an image.
It works by simply altering display controller's RGB layer source pointer.
Three numbers on top-left mean the target address, bits per pixel and pixels
per line.
Controls
--------
left, fight: move the display pointer back/forward by 1 pixel
up, down: move the display pointer back/forward by 1 line
L, R: move the display pointer back/forward by 1 screen
VOL UP, DOWN: change the image stride (pixel count for 1 horizontal line)
Y: change BPP setting in display controller (4, 8, 16, 24)
(note that palette is not set for 4 and 6 bpp modes, palette
is left to whaever previous program is used).
A: jump between some "known" framebuffer addresses
START: exit program
Disclaimer
----------
This program can set some hardware registers to "bad" values, so if you
manage to harm your GP2X using this, it is your own fault.
I cannot be held responsible to any damages this program may cause.
I find it fun to play with this. After loading some app you can see where it kept it's framebuffers. After loading quake you can find some player skins and stuff.
You can see with this that GP2X, like many other devices, has it's RAM mirrored. The mirror locations are 0x08000000, 0x10000000, 0x18000000, ..., 0x38000000
What I found really strange is that some things can survive a cold reboot, up to a minute and more! It starts slowly degrading after that, though. I wonder, is that the RAM itself responsible or do just some capacitors keep their charge?
Readme below:
CODE
ramview r1
(c) notaz, 2008
About
-----
This program allows you to view any location of GP2X RAM as an image.
It works by simply altering display controller's RGB layer source pointer.
Three numbers on top-left mean the target address, bits per pixel and pixels
per line.
Controls
--------
left, fight: move the display pointer back/forward by 1 pixel
up, down: move the display pointer back/forward by 1 line
L, R: move the display pointer back/forward by 1 screen
VOL UP, DOWN: change the image stride (pixel count for 1 horizontal line)
Y: change BPP setting in display controller (4, 8, 16, 24)
(note that palette is not set for 4 and 6 bpp modes, palette
is left to whaever previous program is used).
A: jump between some "known" framebuffer addresses
START: exit program
Disclaimer
----------
This program can set some hardware registers to "bad" values, so if you
manage to harm your GP2X using this, it is your own fault.
I cannot be held responsible to any damages this program may cause.