Lo lamentable es que aun estenm empeñados en usar el kernel 1.5.
"cory1492" escribió:run from des.cem or pandora using one of the elf menus or as a replacement for a main elf, may work if you pack it into a pbp under 1.50 or 1.50 supporting firmwares.
will check user memory that is available to malloc with the following bit patterns:
0xff, 11111111
0x00, 00000000
0xAA, 10101010
0x55, 01010101
0xF0, 11110000
0x0F, 00001111
if it reports any errors in the test, you know there are problems with your PSP's memory.
just because it doesn't report problems, doesn't necissarily mean there aren't any (the testing is simple.)
If malloc fails, I had to do a bit of guesswork to get it going as johnmph's function didn't seem to provide a malloc-able value. That isn't an error with your memory, it is a problem with my lack of needing this much memory before now.
Thanks to pretty much everyone, special thanks to johnmph for the ram.c/ram.h code included here.
No warranty expressed or implied.
If someone likes the idea and wants to continue it into a full fledged memtest app for PSP, I'm sure it'd be appreciated by many.
cory1492