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 3,325 of 4,255   
   mutazilah@gmail.com to Joe Monk   
   Re: segmentation   
   19 Oct 22 19:07:42   
   
   From: muta...@gmail.com   
      
   On Thursday, October 20, 2022 at 9:32:15 AM UTC+8, Joe Monk wrote:   
   > > I think it is impossible for MSDOS to manage more than   
   > > 64k of memory, ie 640k or 1 MB or 2 MB without huge   
   > > pointers or equivalent.   
   > >   
   > I know you meant far pointers...   
      
   Far pointers are just segment and offset, and are restricted to 64k.   
      
   Huge pointers manipulate the segment every time you try to change   
   the pointer, keeping the offset to under 16 and changing the segment   
   so that the entire 1 MB is addressable. With a segment shift of 5 you   
   would instead be keeping the offset to less than 32 and addressing   
   an entire 2 MB.   
      
   At a minimum MSDOS or its replacement needs to make that   
   manipulation be a non-hardcoded shift size.   
      
   Ideally MSDOS or its replacement would make the entire   
   huge pointer manipulation strategy flexible so that an entirely   
   different scheme, e.g. selectors, can be implemented instead   
   of shifts.   
      
   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