delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/1997/03/07/22:52:30

From: dg AT dcs DOT st-and DOT ac DOT uk
Message-Id: <5919.9703080256@orkney.dcs.st-andrews.ac.uk>
To: opendos AT mail DOT tacoma DOT net
Subject: [opendos] Multitasker API and a demo program
Mime-Version: 1.0
Date: Sat, 08 Mar 97 02:56:38 +0000
Sender: owner-opendos AT mail DOT tacoma DOT net

I've been browsing through the documentation on the web site, and have made a 
stab at a program using the multitasker API: a DOS version of PS. It'll list 
all the currently running processes, and will switch to one on demand. If 
anyone's interested in having a look at either it or its source, then download:

	http://www-hons-cs.dcs.st-and.ac.uk/~dg/ps.zip

(You can't get at this from my web page.)

The program is definately a quick hack and is not very sophisticated. It may 
be of interest nevertheless, and who knows --- someone may actually find it 
useful.

(BTW, is there an easier way of getting at the 32-bit registers from Borland 
than using inline assembler and `db 0x66' in front of instructions? That makes 
my skin crawl... luckily, I found an API that didn't need it.)

-- 
------------------- http://www-hons-cs.cs.st-and.ac.uk/~dg --------------------
   If you're up against someone more intelligent than you are, do something
    totally insane and let him think himself to death.  --- Pyanfar Chanur
---------------- Sun-Earther David Daton Given of Lochcarron ------------------


- Raw text -


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