Mail Archives: djgpp-workers/1998/03/12/12:39:40
> First an update on the STR instruction:
> - it is valid regardless of CPL, according to official documentation and
> according to tests I performed.
True, it is an unprotected instruction.
> The second: all DPMI programs share the same processor task under W95,
> meaning that a prg's TSS is definitely not a good PID. Nor is the LDT
> selector.
True. Things which are most likely to be unique:
1) The cs selector value
2) The base virtual address of the cs selector
3) PSP
4) clock at startup
A combination (sum? xor?) of these might be best for the PID. There may
be a pathaloigcal 1 in a million odds with something like this, but
get a grip.
> Packing different values into an 8+3 filename is not really a problem
> (assuming that the information content of these values together is not
> larger than 39^8).
The file name should be a unique PID plus some counter or something,
which should work fine with 8.3 names
- Raw text -