If I have a PM16 OS and program (both written by me), so that I have 8192 selectors (including both GDT and LDT), and I tile them to the max, and sequentially, and run everything in privileged mode, but I need to also write and execute memory, in a simple manner, so two selectors for each memory block halves my selectors down to 4096, then I can address 256 MiB of RAM.
On an 80386, if I use PM32 and set the D-bit to indicate a segment is 16-bit rather than 32-bit, then I have access to double the number of selectors, ie 16384, and thus I can address 512 MiB of RAM under this scheme.
My question is - am I missing anything? ie are there any PM16 instructions or something like that that stop working when I am using PM32 (but with every selector 16-bit)?
Another question - is it possible to do BIOS calls - at least rudimentary ones to access the disk - in PM16? If so, can the BIOS read data into the entire address space, ie 256 MiB?
Thanks.
On an 80386, if I use PM32 and set the D-bit to indicate a segment is 16-bit rather than 32-bit, then I have access to double the number of selectors, ie 16384, and thus I can address 512 MiB of RAM under this scheme.
My question is - am I missing anything? ie are there any PM16 instructions or something like that that stop working when I am using PM32 (but with every selector 16-bit)?
Another question - is it possible to do BIOS calls - at least rudimentary ones to access the disk - in PM16? If so, can the BIOS read data into the entire address space, ie 256 MiB?
Thanks.