Mail Archives: djgpp/2000/03/27/15:20:21
> 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 -