🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #3358

running dos programs in a window

#3358
From: Isaac Dimitrovsky
Date: Sun, 23 Jun 1991 18:20
22 lines
1479 bytes
[]
I have a couple of questions about running dos programs in a window
under windows 3.0, and how they interact with other windows programs.
I understand that a "well behaved" dos program (i.e. one that only
uses interrupts for screen and keyboard i/o) can be run in a window
on the screen. My questions are about how this dos program will
interact with other windows programs that may also be open
at the same time:
1) While the dos program is running, does windows timeslice in
any way to the other windows programs that are open?
2) Is there any way for the dos program to give up the processor
voluntarily, similar to what may happen when a windows process calls
GetMessage or PeekMessage? Does this happen automatically when the
dos program reads the keyboard?
3) What kind of memory does the dos program have available to it?
Does windows give it a 640K space of its own within which it can
do dos-style heap allocates and frees?

Thanks for any help,

Isaac Dimitrovsky (dimitrov@lab.ultra.nyu.edu)
Technical Details
Message-ID: <1991Jun23.182049.9268@cmcl2.nyu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cmcl2!lab!dimitrov

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cmcl2!lab!dimitrov
From: dimitrov@lab.ultra.nyu.edu (Isaac Dimitrovsky)
Newsgroups: comp.windows.ms.programmer
Subject: running dos programs in a window
Message-ID: <1991Jun23.182049.9268@cmcl2.nyu.edu>
Date: 23 Jun 91 18:20:49 GMT
Sender: notes@cmcl2.nyu.edu (Notes Person)
Organization: New York University Ultracomputer Research Lab
Lines: 22
Nntp-Posting-Host: lab.ultra.nyu.edu