Re: 41-MCODE: Dr. Jekyll & Mr. Hyde (and two questions) Message #2 Posted by Luiz C. Vieira (Brazil) on 7 July 2012, 12:06 p.m., in response to message #1 by 聲gel Martin
Hi, 聲gel;
Although I have not yet had the chance of delving deeply into the 41-Mcode - just a few experiments some six, seven years ago - I could understand the idea and the concept, and I found it an ingenious solution. But I would also add that the naming is as ingenious as the solutions itself. It's both entertaining and enlightening at the same time.
Priceless joy! THANKS!
One question about the 'check upon the calculator-ON event' feature. I remember that there are four reserved addresses at the end of each 4K-ROM area: one of them is used for the ROM review ID and at least two of the others hold 'subroutine' calls for specific ON events. Would it be possible to associate this subroutine call to a buffer content, I mean, like DJEKYLL and MRHYDE, could the calculator 'reaction' to a key pressed while turning ON be different according to a previously set circumstance, i.e., after a command like the ones above? I know this would lead to the need of turning the calculator OFF and back ON prior to the needed features to become active, but that would also allow some features available in some modules - like the AECROM - not to conflict with other modules' features when you want other modules' features to have such functionality as well. Just a brain flicker...
The other question looks more like a Devil's advocate question: what happens if, by any kind of bad luck - power surge, low battery condition -, the actual swapping part of the subroutine, from steps A07B to A082, is interrupted before the complete tables are reconstruct? Am I wrong concluding that the calculator will have mixed up, partially rebuilt tables? If so, will the calculator freeze in case it happens?
Please, forgive me if my conclusions are wrong and if I also unnecessarily mixed up some users' thoughts... 8^(
Best regards.
Luiz (Brazil)
|