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 24,828 of 26,127   
   mm0fmf to The Natural Philosopher   
   Re: RP2350 and Pico 2 - things missing   
   23 Aug 24 10:26:51   
   
   From: none@invalid.com   
      
   On 23/08/2024 10:17, The Natural Philosopher wrote:   
   > On 22/08/2024 11:57, Ahem A Rivet's Shot wrote:   
   >> On Thu, 22 Aug 2024 11:00:26 +0100   
   >> Single Stage to Orbit  wrote:   
   >>   
   >>> FAR and NEAR specifiers used with JMP   
   >>   
   >>     The obscenity was these qualifiers making their way into C source   
   >> code - try writing (or even reading) the declaration for a near   
   >> pointer to a   
   >> function returning a far pointer to an array of functions returning near   
   >> pointers to integers.   
   >>   
   >>     Then realise that you *also* wanted this source code to be portable.   
   >>   
   > I don't recall them ever appearing in C source. They are not part of the   
   > C language.   
   > AIR you could compile for 'small model' or 'large model'   
   >   
   > And with the early compilers I used, no attempt was made to think about   
   > whether a jump was near or far.   
   >   
   > I think you got an assembler or  linker error if a target was 'out of   
   > range'   
   >   
   >   
   No I remember the joy of using NEAR and FAR in C for 8086 code. I can   
   remember being forced to use them in zORLAND C/Zortech C++ and Borland C   
   on 8086 code for PCs running DOS and in embedded 80186EB code.   
      
   https://www.geeksforgeeks.org/what-are-near-far-and-huge-pointers/   
   https://en.wikipedia.org/wiki/Digital_Mars   
      
   --- 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