delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/03/11/05:33:47

Date: Wed, 11 Mar 1998 11:48:07 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Bill Currie <bill AT taniwha DOT tssc DOT co DOT nz>
cc: Vik Heyndrickx <Vik DOT Heyndrickx AT rug DOT ac DOT be>, djgpp-workers AT delorie DOT com,
Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Subject: Re: Temporary files considered unsafe
In-Reply-To: <350655E0.A0EFE270@taniwha.tssc.co.nz>
Message-ID: <Pine.SUN.3.91.980311114522.7344Y-100000@is>
MIME-Version: 1.0

On Wed, 11 Mar 1998, Bill Currie wrote:

> Store Task Register.  However, I'm not certain windows uses task
> segments. AFAICT from the Win3.0 VxD docs, the VMM (the real OS behind
> windows, also the DPMI provider) uses the ring 0 stack to hold task
> info, though I could easily be wrong.

I'm really vague on these issues, but doesn't protected mode require a 
TSS?

> why not combine the dos psp and the windows vmid (?, can't remember the
> correct name, RBIL isn't handy at the moment :(, but I remember seeing a
> 2f16xx call to grab it).  Sure, you wind up with a 32 bit number, but
> that can be expressed in 6 chars (uuencode or related) with the rest (5
> if the extension is used) used for time/counter/whatever.

If we can easily get the VM id number and if that number is unique (i.e. 
not reused if I e.g. close a DOS box and open it again), then the VM id 
and the PSP should be enough; we don't need the time part at all.

- Raw text -


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