From: Groepaz (groepaz_at_gmx.net)
Date: 2002-12-10 19:50:27
On Tuesday 10 December 2002 18:14, MagerValp wrote:
> PS: what's the best way to make a function call a dummy call? Would
>
> #define textcolor() 0
>
> work?
just
#define textcolor(_x)
thats how i deal with monochrome targets in 65tris aswell.
(mmmh some compilers also take
#define textcolor(_x) ((void*)0)
as a null function, dunno if that works with cc65 :o))
--
___ ___ .___________________ .___________ _______.
c=64 / | \| \__ ___/ \ \_ _____/ \ \ [groepaz]
gb / ' \ | | | / \ / \ | __)_ / | \ gp32
cgb \ . / | | |/ ' \| \/ | \ psx
gba \___|_ /|___| |____|\____|__ /_______ /\____|__ / dc
-----\/-----'---------------\/--------\/---------\/
http://www.hitmen-console.org Hitmen WWW Headquarters
http://fly.to/hitmen-groepaz my personal playground
http://rr.c64.org/silversurfer home of the RR debugger
ftp.musoftware.de/pub/groepaz cc65 dump site
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2002-12-10 18:23:58 CET