Sujet : Re: RP2350 and Pico 2 - things missing
De : tnp (at) *nospam* invalid.invalid (The Natural Philosopher)
Groupes : comp.sys.raspberry-piDate : 23. Aug 2024, 10:17:56
Autres entêtes
Organisation : A little, after lunch
Message-ID : <va9k44$s0gf$2@dont-email.me>
References : 1 2 3 4 5 6
User-Agent : Mozilla Thunderbird
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 <alex.buell@munted.eu> 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'
-- I would rather have questions that cannot be answered......than to have answers that cannot be questionedRichard Feynman