I was wondering why in some source code there are these macros like FAR and PASCAL. What do they mean and do?
It's probably some redundant / obsolete coding left over from the 16bit era.
FAR was used in 16 bit applications to indicated that the address required more than 16 bits.
PASCAL(altion) is a conversion type, it lets the compiler know how the stack is arranged (using PASCAL calling conventions) so that the compiler can pass the appropriate paramaters to and from the function.
HTH