The code for the keyword RESET in SMSQE seems to close all channels and then perform the assembler instruction RESET. This assembler instruction sets the (supervisor) stack equal to the first long word in ram and sets the PC to the second long word in ram. Unfortunately for those who have LRESPRd their versions of SMSQE on the Q40/60 this will not have the desired effect.
The first five bytes of ram contain the length of a string (3) and the three bytes of the string (RES). The second long word of ram is not a good place to branch to. First of all the address is odd (not a good omen) and secondly there is no program there. At least that is what I surmised. To test this I actually typed RESET followed by ENTER and - the machine (Q60) stopped. Why has RESET not been reprogrammed? Does anyone use it? George _______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm