Groups | Search | Server Info | Login | Register
Groups > comp.sys.apple2.programmer > #6267
| Newsgroups | comp.sys.apple2.programmer |
|---|---|
| Date | 2023-12-10 20:30 -0800 |
| References | <20231210194712.4301d589@smilodon-gracilis> |
| Message-ID | <14c5a885-e220-4c7e-9828-56812d996600n@googlegroups.com> (permalink) |
| Subject | Re: Ctrl-C Interrupt? |
| From | I am Rob <gids.rs@sasktel.net> |
> Is there any way to have Ctrl-C interrupt a BIN program like it does a > Basic program? I know Ctrl-Reset will do it, but that messes up the > screen and probably other things too. A simple method would be to just poll $C000, then place JSR's to this routine where you would want the keyboard to be interrupted. Say, after a page of text is displayed or even throughout your code at various places. Another method is to just put a $00, after the code you want to check out. It has the added benefit of displaying the registers. BIT $C000 BPL RETURN LDA $C000 BIT $C010 CMP #$83 BNE RETURN JMP $FF69 ; for monitor of $3D0 for Applesoft RETURN RTS
Back to comp.sys.apple2.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
Ctrl-C Interrupt? Bill Chatfield <bill_chatfield@yahoo.com> - 2023-12-10 19:47 -0500
Re: Ctrl-C Interrupt? fadden <fadden@fadden.com> - 2023-12-10 17:54 -0800
Re: Ctrl-C Interrupt? Bill Chatfield <bill_chatfield@yahoo.com> - 2023-12-11 10:07 -0500
Re: Ctrl-C Interrupt? Hugh Hood <hughhood@earthlink.net> - 2023-12-10 21:10 -0600
Re: Ctrl-C Interrupt? Bill Chatfield <bill_chatfield@yahoo.com> - 2023-12-11 10:09 -0500
Re: Ctrl-C Interrupt? Oliver Schmidt <ol.sc@web.de> - 2023-12-11 19:10 +0000
Re: Ctrl-C Interrupt? Bill Chatfield <bill_chatfield@yahoo.com> - 2023-12-11 15:39 -0500
Re: Ctrl-C Interrupt? Oliver Schmidt <ol.sc@web.de> - 2023-12-12 20:36 +0000
Re: Ctrl-C Interrupt? Bill Chatfield <bill_chatfield@yahoo.com> - 2023-12-12 23:55 -0500
Re: Ctrl-C Interrupt? I am Rob <gids.rs@sasktel.net> - 2023-12-10 20:30 -0800
Re: Ctrl-C Interrupt? Bill Chatfield <bill_chatfield@yahoo.com> - 2023-12-11 10:11 -0500
csiph-web