ACS19@UHUPVM1.BITNET.UUCP (07/20/86)
Well, I hate to say it, but there is a definite bug in Megamax C. The relative addressing did not work. When I was replacing a system vector with the address of a routine, the relative offset from the PC was not correct, and the system would crash every time I would call the routine via (*ptr)(var1,var2,..) Example of what I am doing... long *vector= ..... /*vector address*/ .... ... xbios(38,install); .... ... install() *vector=(long)routine_name; .... ... basically, that is it. The relative offset (as I examined the routine in SID) was incorrect by about 24 bytes. If anyone from Megamax is out there, I can send the source to you, so you can try it for yourself.