delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/23/06:32:43

Date: Tue, 23 Dec 1997 13:31:56 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Anthony DOT Appleyard AT umist DOT ac DOT uk
cc: DJGPP AT delorie DOT com
Subject: Re: What do cwsdpmi.exe & djgpp v2 programs do to interrupt 9?
In-Reply-To: <60E7074F3A@fs2.mt.umist.ac.uk>
Message-ID: <Pine.SUN.3.91.971223132357.14153A-100000@is>
MIME-Version: 1.0

On Tue, 23 Dec 1997, Anthony.Appleyard wrote:

>   SPATRL.EXE on my desktop and on my laptop using my TSR run and terminate OK,
> if I remembered to call AAKEYS.COM from the DOS prompt first. But how to do
> that e.g. from in Windows?

You can make Windows run a batch file when it launches the DOX box.  To 
do that, click (once) on the DOS Prompt icon, then click on "File" in the 
Program Manager, choose Properties, and change the "Command Line" 
property to run a batch file, like this:

	c:\dos\command.com /k c:\foobar\mywinbat.bat

The /k switch causes COMMAND.COM to execute the said batch file  and then 
continue running.  In that batch file you can put a line that loads your 
AAKEYS.COM.

> Please: what exactly do (cwsdpmi.exe and programs compiled with
> djgpp v2) do to the interrupts?

DJGPP startup code hooks the hardware keyboard interrupt (so that it 
could generate SIGINT when you press Ctrl-C).  I'm not sure how does this 
interact with your extremely complex solution, but if the batch file 
trick above solves your Windows problems, why bother?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019