Buzby
Senior Member
Code:
#picaxe 08M2
for b0 = 10 to 255
poke b0, b0
peek b0, b1
sertxd ("W ", #b0, " R ", #b1, cr, lf )
next
If you use PE5 simulator it doesn't crash, and appears to write and read up to byte 255.
I discovered this after downloaded the Magic Morse ( http://www.picaxeforum.co.uk/showthread.php?20694-Portable-Magic-Morse-Decoder-MK2&p=198608&viewfull=1#post198608 ).
The 'ClearBuffer' routine in Magic Morse crashes as soon as it tries to write byte 192, which makes sense, as according to the M2 document ( http://www.picaxe.com/docs/picaxem2.pdf ) the RAM on the 08M2 only goes up to byte 127.
It's not really a problem for me, as I'll be using an X2, but what exactly happens in a real 08M2 when it pokes beyond 127 ?
There appear to be quite a few 08M2 Magic Morse projects constructed using 08M2, and they all appear to be working, but how ?.
Maybe it's real magic
Cheers,
Buzby
Last edited: