Mail Archives: djgpp/1997/12/23/06:32:43
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 -