|Re: Sharp PC-1211 strange|
Message #21 Posted by Borja on 24 Aug 2011, 11:06 a.m.,
in response to message #1 by robertoataulfo
Now, could you verify, for the sake of curiosity, a funny "feature", if it works?
I have a Sharp PC-1430 and I discovered a buffer overflow error that would allow you to replace the password without damaging the stored program much.
The trick is to fill the input buffer completely (I think it's 80 character long) and, when full, pressing the insert key repeteadly. You will see that you are actually dumping memory contents. At least on a PC-1430 you even see characters not available to BASIC programs. (Not available on the keyboard and if I recall correctly the BASIC doesn't have a CHAR() function).
One of the most frequent "alien" characters you see is "~", which I guess is 0.
So, if you keep pressing INS and dumping memory, which not only dumps it, but seems that shifts some contents, you will eventually fill the password with "~~~~~~~~".
Now you just clean up the input buffer so that you keep eight tildes, insert PASS " before and hit enter. And voila!