delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/27/15:20:21

Message-ID: <38DFA2C8.AD25A4D8@maths.unine.ch>
Date: Mon, 27 Mar 2000 20:04:55 +0200
From: Gautier <gautier DOT demontmollin AT maths DOT unine DOT ch>
Organization: Maths - Uni =?iso-8859-1?Q?Neuch=E2tel?=
X-Mailer: Mozilla 4.7 (Macintosh; I; PPC)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Multitasking: executing some EXE-files (nearly) simultaneously
References: <052897bc DOT 015fb25e AT usw-ex0110-076 DOT remarq DOT com> <38DF8C51 DOT 558739D6 AT maths DOT unine DOT ch> <38DF94E0 DOT C96E8B3F AT mtu-net DOT ru>
NNTP-Posting-Host: mac13-32.unine.ch
X-Trace: 27 Mar 2000 20:04:56 +0100, mac13-32.unine.ch
Lines: 38
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> Are you sure you need *2 separate EXE programs* but not 2 threads?
> 
> Just keep in mind that MSDOS and DOS box in MSWindows does not provide
> reenterablity of the service functions. I.e. in order to run normal
> programs simultaneously you simplly have to write your own OS with full
> MSDOS support.

Precisely, DR-DOS allows tasks (absolutely normal .exe programs) to run
simultaneously and provides means of inter-task communication and control
through the multiplex 2F interrupt.
Caldera did provide on the Web the full description of its API but it has
disappeared - did someone keep a copy ?...

Anyway there is some info about it in the Ralf Brown Interrupt List,
@ http://www.ctyme.com/intr/int-2F.htm .

Roughly, there are 2 kinds of functions.

The simple ones that date from some "Taskmax" task switcher, under Int 2F,
AX=27xx, but absolutely valid on the current multitasker. Each task
(your .exe) can get info, names, ID about other tasks, create a new task,
copy/paste data or messages in a common buffer (not tested).
It is partly implemented in my opendos2.zip @ Simtel (Turbo Pascal), link below.

The advanced ones (Int 2F, AX=2780) are a bit greek to me but would appear
sexy enough for people knowing multitasking on 386+. There are threads also.
Subcategories:

Int 2F/AX=2780h/CL=01h - Novell DOS 7 - EMM386.EXE - MULTITASKING API - SUPERVISOR MODULE
Int 2F/AX=2780h/CL=02h - Novell DOS 7 - EMM386.EXE - MULTITASKING API - REAL-TIME MONITOR
Int 2F/AX=2780h/CL=03h - Novell DOS 7 - EMM386.EXE - MULTITASKING API - MEMORY
Int 2F/AX=2780h/CL=04h - Novell DOS 7 - EMM386.EXE - MULTITASKING API - DOMAINS
Int 2F/AX=2780h/CL=05h - Novell DOS 7 - EMM386.EXE - MULTITASKING API - VIRTUAL MACHINES
Int 2F/AX=2780h/CL=06h - Novell DOS 7 - EMM386.EXE - MULTITASKING API - DPMI SERVICES
Int 2F/AX=2780h - Novell DOS 7 - EMM386.EXE - MULTITASKING API - AVAILABLE FOR APPS

______________________________________________________
Gautier  --  http://members.xoom.com/gdemont/gsoft.htm

- Raw text -


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