🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2826

Re: DOS Box Programming

#2826
From: Dov Bai-MSI Visitor
Date: Mon, 14 Dec 1992 14:25
28 lines
1549 bytes
In article <boh.724320875@sfu.ca> boh@fraser.sfu.ca (Changhao Boh) writes:
>Hi, I am wondering about programming a serial communication programme in DOS
>but would like to make it "OS/2 aware".  Thus I have the following questions.
>
>   1.  Is there a way to detect if a programme is operation in OS/2 2.0's
>       dos box ?
>
>   2.  Is there a way a programme, running in OS/2 2.0's DOS box, can release
>       clock cycles to OS/2 ?

One simple way to release clock cycles it is to make your program 
"DESQView-aware", and then loading the OS2SPEED utility (found in Hobbes). 
This utility recognizes the DV interrupt for releasing time-slices and
does the same for the DOS box. 

There is an interrupt to use for releasing time slices under DV. 
Unfortunately, I dont remember what it is, but you can get the complete
DV interrupts from a file on SIMTEL20 or ask in the desqview newsgroup.

I am using MS-KERMIT which is desqview aware in a dos box, with the
OS2SPEED utility loaded and it works great.


>Changhao.
>boh@sfu.ca

Dov
>
Technical Details
Message-ID: <1992Dec14.142508.4388@tc.cornell.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!rpi!batcomputer!msiadmin.cit.cornell.edu!bai
References: <boh.724320875@sfu.ca>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!rpi!batcomputer!msiadmin.cit.cornell.edu!bai
From: bai@msiadmin.cit.cornell.edu (Dov Bai-MSI Visitor)
Subject: Re: DOS Box Programming
Message-ID: <1992Dec14.142508.4388@tc.cornell.edu>
Sender: news@tc.cornell.edu
Nntp-Posting-Host: msiadmin.cit.cornell.edu
Organization: /usr/local/lib/news/organization
References: <boh.724320875@sfu.ca>
Date: Mon, 14 Dec 1992 14:25:08 GMT
Lines: 30