🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #9190

Ctrl-Break, Overlays

#9190
From: Peter Cockerell
Date: Fri, 19 Jan 1990 18:25
21 lines
1243 bytes
I hope this is the right group for these questions, and they haven't
been asked too many times before.  Here goes:

1.  I want to intercept the Ctrl-C behaviour in a Zortech C++ program. 
I used int_intercept(); and it seems to work fine (all I do in my
intercept function is set a flag) and I keep control.  But...  it still
echoes ^C on screen.  How do I stop it from doing that? I gather that
it's DOS rather than the BIOS that detects ctrl-Cs.  Does that mean I
have to do all my IO using the BIOS if I don't want DOS interfering, or
can I clear the 'break' condition before I call DOS so it never sees it?
Does any of this make sense?

2. Has anyone got a good reference for using overlays on the PC?
Basically I've got a v. large program (again Zortech C++) and I
want to split it into manageable chunks, some of which need information
passed between them.

Thanks a bundle.

	-- Pete
Technical Details
Message-ID: <10@pete.abcl.co.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!ukc!acorn!pete

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!ukc!acorn!pete
From: pete@pete.abcl.co.uk (Peter Cockerell)
Newsgroups: comp.sys.ibm.pc
Subject: Ctrl-Break, Overlays
Message-ID: <10@pete.abcl.co.uk>
Date: 19 Jan 90 18:25:20 GMT
Organization: Active Book Company Limited, Cambridge, UK
Lines: 21