home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.development      Operating system development chatter      4,255 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,619 of 4,255   
   mutazilah@gmail.com to Joe Monk   
   Re: PDOS/86   
   15 Jul 21 12:53:12   
   
   From: muta...@gmail.com   
      
   On Thursday, July 15, 2021 at 10:39:27 PM UTC+10, Joe Monk wrote:   
      
   > > When PDOS/86 is running on an 80386, at startup time, it will   
   > > set all 16384 selectors to map the first 512 MiB of memory,   
   > > and then never ever change them.   
      
   > First off, there arent 16384 selectors on an 80386.   
   >   
   > A selector is only 13 bits wide. 2^13 = 8192.   
   >   
   > Bits 0-1 of a selector are the privilege level, and bit 2 specifies which   
   descriptor table (GDT,LDT) you are indexing into.   
      
   In my scheme, as far as I can tell, I can line up the 8192   
   LDT selectors after the 8192 GDT selectors for a total   
   of 16384 selectors.   
      
   I'm trying to run 8086 programs.   
      
   Selective 8086 programs.   
      
   Specifically programs that deliberately or accidentally   
   followed rules that I'm making up right now. Once I know   
   what the rules are, I'll make Open Watcom or some other   
   compiler conform to the rules. And then I'll recompile   
   all my programs, now that I know how to "program   
   properly".   
      
   Note that when I created AM32 I found that PDPCLIB   
   had forced AM31 in some places (in mvssupa) requiring   
   me to fix that, and recompile all my applications.   
      
   BFN. Paul.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca