Posted: Sat Nov 12, 2011 3:03 pm
Code sent.
I initially had troubles with the memory test code too. I put some I/O immediately after ram (doh!). Interesting effects ensued.
Now I try make sure that there is unprogrammed ROM right at the end of RAM so that it works properly. This actually fits nicely with my usual scheme of having IO shadow the first little bit of ROM. Makes decoding simpler.
With the code I just gave you you should be able to modify the memory test any way you like. Maybe just take it out and hard-code your RAM size into it. BTW, this was created out of the KIM version, but you probably already guessed that.
I initially had troubles with the memory test code too. I put some I/O immediately after ram (doh!). Interesting effects ensued.
Now I try make sure that there is unprogrammed ROM right at the end of RAM so that it works properly. This actually fits nicely with my usual scheme of having IO shadow the first little bit of ROM. Makes decoding simpler.
With the code I just gave you you should be able to modify the memory test any way you like. Maybe just take it out and hard-code your RAM size into it. BTW, this was created out of the KIM version, but you probably already guessed that.