http://sininenankka.dy.fi/~sami/watcom_mirror/cguide.pdf p.226 have: Several examples of source to object form symbol name translation follow:
In the following example, the name "MyRtn" will be replaced by "MyRtn_" in the object file. #pragma aux MyRtn "*_"; This is the default for all function names. In the following example, the name "MyVar" will be replaced by "_MyVar" in the object file. #pragma aux MyVar "_*"; This is the default for all variable names. While we have: // MARKER for end of resident part #ifdef __WATCOMC__ void __declspec(naked) NAME(END_cint15_handler)(void){ _asm{ nop }; } #pragma aux NAME(END_cint15_handler) "_*" #else void NAME(END_cint15_handler)(void){}; #endif Was to suggest something, but I still don't really know why the pragma is necessary here. Frankly I don't understand much except for the idea that we want to define a function that does nothing probably to get the address at the end of the file... I guess. _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel