General Category > Building LOS From Source
LOS feature ideas?
stepleton:
Somewhere in the Workshop documentation there is advice about what to do if an exec script goes berserk. I don't remember where it is, and I don't remember it being super satisfying either; something along the lines of using Command-. or whatever to cancel the currently-running job and then continuing to mash Command-. while the interpreter is in between running commands.
In re peek and poke, I seem to remember a post years ago by Ray that claimed the discovery of some extremely trivial privilege exploit against the Lisa OS: my recollection is dim, but I seem to think it was as simple as putting the address of some code to call in A1 and then causing a trap, and the code will be called in supervisor mode. This mechanism might save you the trouble of writing a whole driver.
Ah, here it is: https://lisalist2.com/index.php?topic=113.0
sigma7:
--- Quote from: stepleton on August 04, 2025, 03:38:46 am ---in the Workshop documentation there is advice about what to do if an exec script goes berserk. I don't remember where it is, and I don't remember it being super satisfying either; something along the lines of using Command-. or whatever to cancel the currently-running job and then continuing to mash Command-. while the interpreter is in between running commands.
--- End quote ---
It reads something like "programs can't be interrupted by Command-. unless they have been written to explicitly check for it" and "most (Apple written) shell programs do check for Command-.". However, it warns that the exec interpreter does not. I think that means that while you might be able to terminate some sub-program your exec calls, you can't terminate the exec itself unless it is checking for an early exit condition (with no obvious means for doing so).
I agree Ray's finding is bound to turn out useful, thanks for recalling it!
kgraaf:
Obviously this would require hardware work as well, but an SD card driver would be extremely nice to have. I think if you're using the card in SPI mode it actually shouldn't be so difficult.
EDIT:
Also, restoring the buildable LisaWrite's spellcheck functionality with a public domain (and modernized) dictionary!
Navigation
[0] Message Index
[*] Previous page
Go to full version