[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can Ctrl-C interrupt be removed from ProDOS BASIC?



In article <C4qLI7.8MF@news.cso.uiuc.edu>, swh54716@uxa.cso.uiuc.edu (Scott W. Henson) writes:
>Can the Ctrl-C interrupt be removed from ProDOS and/or Basic.System so
>that programs that run from self-booting disks cannot be terminated during
>the boot sequence (i.e. before they have been loaded and execution has
>started)?  If so, how would one go about patching things to remove the
>interrupt handler?
>
>-- 
>   /////  /////  ////            Scott W. Henson / Network Administrator
>    /     \     /__ /  N             International Studies Building   
>   /       \   /   /     E           Internet: scott-henson@uiuc.edu 
>/////  /////  ////         T       217-333-8085 or 333-6104 (leave msg)

My best bet that I'd suggest... patch the reset vector to a routine that either
points to the cold/warm boot routine in ROM, or to a routine that the program
can handle this type of interrupt and do something or ignore it. And I _know_
there are at least three different ways to easily disable the Ctrl-C interrupt
temporarily. But sorry, I have been too busy working on RISC code. :-( I'm
worth my salt with Apple II stuff, but I'd need to take out my old notes (and
reload my RAM. ;-)) Anybody, any further pointers?

--Dan
.sig broken -> send any email to dsf5454@ritvax.isc.rit.edu