Date: Wed, 11 Mar 1998 11:48:07 +0200 (IST) From: Eli Zaretskii To: Bill Currie cc: Vik Heyndrickx , djgpp-workers AT delorie DOT com, Charles Sandmann Subject: Re: Temporary files considered unsafe In-Reply-To: <350655E0.A0EFE270@taniwha.tssc.co.nz> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.