Odd reaction to ?""+-0

Started by Edwing, January 27, 2007, 12:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Edwing

Hello... guess it could figure this out myself by studying the BASIC, but I'm too lazy... and also don't have my documentation at this place. :rolleyes:

So to the public: Do you have an idea why the reaction on ?""+-0 is nothing else than a reset?

I mean, quite odd that it doesn't e.g. crash or reset the editor or display ?FORMULA TOO COMPLEX or the like... Why does the interpreter jump into the reset routine?

Could it be that the actions saved for handling "+" and "-" kind of add up and the entry of the jump table where the value then points happens to be the warmstart one?

Looking forward to your answers...
George :)

nikoniko

Maybe Microsoft was laying the foundation for the Blue Screen of Death? ;)

Interesting. On VICE, sometimes it does a reset, sometimes it results in a CPU jam.

Pinacolada

I don't have the details with me at the moment, but it was discussed in an issue of Commodore World magazine.
C128 Programmer's Reference Guide FAIL:

1. Press 40/80 key DOWN.
2. Turn computer OFF, then ON.
3. Remove cartridge if present.