Mail Archives: djgpp-workers/1998/03/11/05:33:47
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 -