CompuServe Messages

C Compilers: which one?

    25-Jul-89 16:37:50
Fm: John Draper 76703,4322
To: Richard Rae/SYSOP 76703,4253
Rick, That looks exactly like I outlined it. Two chunkx of assembler around some C code. (Unless you mean that the C func is external to the asm func). For an example, see 'beepit', a little thing I wrote years ago to replace the DisplayBeep() function, allowing an audible beep. The routine in question is called from any code that calls DisplayBeep(). As far as I know, it the C func does not have the assembly wrapping, there are some rather nasty assumptions made, and it is for this reason that the asm stuff is inline. I can think of a LOT of places that you would call a function externally. Think interrupts and SetFunction. -larry