> Message-ID: <4295F4A7.7020400@brahms.demon.co.uk> dominic beesley <dominic@brahms.demon.co.uk> wrote: > the SIG_DFL handler for SIG_INT just does a BRK instruction to > halt back to the OS (plus it has to reenable keyboard > interrupts! I'm currently reading through the BBC OS disassembly > to see what I should really do about this). Well, you're looking in thew wrong place. You should be looking through a disassembly of a foreground process, such as BASIC. That would give you the following answer: .StatementLoop ; Executes current BASIC statement BIT &FF ; Check escape flag BPL StatementLoop ; Not escape state, process next statement LDA #126:JSR OSBYTE ; Acknowledge escape state BRK:EQUB 17 ; Generate error number 17 EQUS "Escape":BRK ; Error string "Escape" -- J.G.Harston - jgh@arcade.demon.co.uk - mdfs.net/User/JGH BBC BASIC for Windows and Internationalisation See http://mdfs.net/Software/BBCBasic/Windows/ProgTips ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Mon May 30 22:18:25 2005
This archive was generated by hypermail 2.1.8 : 2005-05-30 22:18:27 CEST