1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-10 19:29:45 +00:00

Implement macros that shortcut color function calls.

This commit is contained in:
Stephan Mühlstrasser 2014-11-18 23:05:50 +01:00
parent a20bba0f1e
commit d9f764aa07

View File

@ -36,6 +36,12 @@
# error "This module may only be used when compiling for the Challenger 1P!"
#endif
/* empty for now */
/* The following #defines will cause the matching functions calls in conio.h
** to be overlaid by macros with the same names, saving the function call
** overhead.
*/
#define _textcolor(color) COLOR_WHITE
#define _bgcolor(color) COLOR_BLACK
#define _bordercolor(color) COLOR_BLACK
#endif