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,296 of 4,255   
   mutazilah@gmail.com to s_dubrovich@yahoo.com   
   Re: segmentation   
   09 Oct 22 12:30:32   
   
   From: muta...@gmail.com   
      
   On Monday, October 10, 2022 at 1:59:54 AM UTC+8, s_dubrovich@yahoo.com wrote:   
      
   > > I want it to be variable and available to be changed.   
   > > It's unclear to me where though. Perhaps the shift   
   > > can be set in the BIOS and then the BIOS executes   
   > > an 8086+ instruction to set the shift value.   
   > >   
   > It would need to be, istm, an unique instruction for each of the 'shift'   
   values in the   
   > microcode of the processor.   
      
   Why?   
      
   What's wrong with   
      
   SSS AL   
      
   Set segment shift to the value in AL   
   which must be 0 to 16.   
      
   And GSS AL to retrieve the value into AL   
      
   Front-ended by bios int 15h something   
   to set or get the value, allowing different   
   processors to implement it differently, or   
   like the real 8086, having the value 4   
   hardcoded.   
      
   And front-ended by an MSDOS call   
   int 21h something for use by applications.   
   And make the int 21h call more flexible to   
   allow an indicator to say what segmentation   
   scheme is in effect, e.g. pm16 rather than   
   say segment shift-7, with a routine   
   to call if you need to add a dx:ax to   
   a huge pointer.   
      
   --- 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