home bbs files messages ]

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

   comp.sys.raspberry-pi      Raspberry Pi computers & related hardwar      26,127 messages   

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

   Message 25,182 of 26,127   
   =?UTF-8?Q?Josef_M=C3=B6llers?= to All   
   Re: OT: horrible 8086 segmentation   
   26 Nov 24 18:37:02   
   
   From: josef@invalid.invalid   
      
   On 25.11.24 18:33, mm0fmf wrote:   
   [...]   
      
   > e.g.   
   > "   
   >      // start of barrel   
   >      EventRec far* searchp = (EventRec far*) work.bufs;   
   >   
   > "   
   >   
   >   
   > My eyes! My eyes! That was COMPACT model code, so 64k of code and 1MB of   
   > data, code addresses were 16bit offsets to the CS reg and data was far   
   > so 32 bits of segment and offset of DS or ES. And of course you had to   
   > be extra careful of any pointer arithmetic as a far pointer wrapped   
   > after 64k. You had to use slower HUGE pointers to get automatic   
   > normalisation. God it was shit.   
   >   
      
   And to consider that, at that time, processors like MC68000 or NS32016   
   were readily available.   
      
   Josef   
      
   --- SoupGate-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

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


(c) 1994,  bbs@darkrealms.ca