Re: [cc65] printf for ca65

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2005-03-22 20:49:23
On Tue, Mar 22, 2005 at 02:51:07PM +0100, MagerValp wrote:
> Using a little bit of macro magic, I managed to convince ca65 to allow
> printf-like calls in assembly code:

This is interesting and stimulates my play instinct:-) A cool extension would
be to preparse the format string in the macro itself saving some code in the
console_printf subroutine. I'm not sure if this is possible, or even useful,
but it would be fun. Thinking twice about it, variables would be needed, so
it's probably impossible without more features in the assembler. What a
pity:-)

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Mar 22 20:49:27 2005

This archive was generated by hypermail 2.1.8 : 2005-03-22 20:49:33 CET