🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #2173

SIGALRM in dos with pharlap extenders

#2173
From: Larry Kaplan
Date: Tue, 11 Sep 1990 23:57
17 lines
1154 bytes
We are trying to recreate the UNIX signal SIGALRM on a
pc running dos. We have the Metaware High-C compiler and
are using the Pharlap linker to get memory extensions. 

What we need is to interrupt a running program after a
specified interval. i.e., set timer to N seconds, start
program, signal interrupts program after N seconds.

Is there a way to do this in our environment. High-C
says that you can't chain interrupt handlers in protected
mode. If anyone knows a utility or routine that uses the
timer in protected mode, please e-mail or post.

Thanks.

     Larry Kaplan  Ph (415) 335-1584  Fax (415) 967-9541
     Silicon Graphics, Inc.  Mountain View, CA 94039 USA
Technical Details
Message-ID: <1990Sep11.235749.21826@odin.corp.sgi.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!decwrl!sgi!shinobu!odin!unamas.esd.sgi.com!kaplan

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!decwrl!sgi!shinobu!odin!unamas.esd.sgi.com!kaplan
From: kaplan@unamas.esd.sgi.com (Larry Kaplan)
Newsgroups: comp.os.msdos.programmer
Subject: SIGALRM in dos with pharlap extenders
Keywords: pc, timer, interrupt, pharlap
Message-ID: <1990Sep11.235749.21826@odin.corp.sgi.com>
Date: 11 Sep 90 23:57:49 GMT
Sender: news@odin.corp.sgi.com (Net News)
Reply-To: kaplan@unamas.esd.sgi.com (Larry Kaplan)
Organization: sgi
Lines: 17