Re: [cc65] printf for ca65

From: Ullrich von Bassewitz <>
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



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to 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