Path: utzoo!mnetor!uunet!husc6!hao!gatech!udel!princeton!phoenix!kenchiu From: kenchiu@phoenix.Princeton.EDU (Kenneth Chiu) Newsgroups: comp.sys.amiga Subject: Re: CTRL-C with assembler Message-ID: <2076@phoenix.Princeton.EDU> Date: 16 Mar 88 14:36:48 GMT References: <7113@pollux.UUCP> Reply-To: kenchiu@phoenix.Princeton.EDU (Kenneth Chiu) Organization: Princeton University, NJ Lines: 13 Keywords: ML assembler In article <7113@pollux.UUCP> bjc@pollux.UUCP (Betty J. Clay) writes: >Checking for CTRL-C is easy in BASIC, and C does it for us, but I cannot >find a way to check for it using assembler. Can someone help, please? It's a pre-allocated system signal. The defines are in dos.i or dosextens.i. You can use an exec function to poll the signal, SetSignal() is the one you should use, I think, but you should check. If you want to make ^C cause a kind of "interrupt," then you have to set-up an exception handler. I've never done, this, so some guru will have to help there. Ken Chiu