> I've written a simple DOS2 program which does some memory management and
> loads some files ( not important really) but now i'm able to interrupt
> the program with CTRL-STOP.
>
> Is it possible to intercept this key combination WITHOUT making use of
> changing the intterupt routines at adres &H38. ( if i do this then ALL
> keyboard routines can be intercepted)
> I thought a 1 at adres &HFBB1 should do the trick but this doesnn't work
> !

Well the easiest solution is to not use Dos routines for input/output. The
rest of the Dos2 routines do not check for CTRL-STOP, and it's definately
not checked on the interrupt (I think the interrupt is the same as in
Basic)...

By the way, I think in Dos1 environment the behaviour is the same.

And ofcourse, as mentioned before, you can also use the Dos2 error handling
but I have absolutely NO experience with those (since in case of small
utility routines I don't care about people who press CTRL-STOP and larger
programs don't use the BDos for console access).


~Grauw


--
>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<
          email me: [EMAIL PROTECTED] or ICQ: 10196372
             visit the Datax homepage at http://datax.cjb.net/
MSX fair Bussum / MSX Marathon homepage: http://msxfair.cjb.net/
>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<


****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****

Reply via email to