Liste des Groupes | Revenir à cs raspberry-pi |
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 *alos* wanted this source code to be
portable.
A bloody pain in the ass, all of it. Forget the 640K barrier -
I was much more concerned with the 64K barrier. I wound up
writing pointer normalization routines and all sorts of other
hacks to handle large tables - and still keep it compatible
with *n*x. I only recently stripped out all that crap.
Good riddance.
Les messages affichés proviennent d'usenet.