On 2/12/07, Groepaz <groepaz@gmx.net> wrote: > On Monday 12 February 2007 15:43, Jac Ato wrote: > > > Finally, I wanted to know if there is a function similar to printf > > (fprintf?) that would return a pointer to a formated string. This way, > > I could just pass it to my uart_send_byte_ptr()... > > char outstr[20]; > > sprintf(outstr,"boing %d",42); > > =) > Still does not work. Here is the log from fceuxdsp, my debugger, and that's using sprintf. I thought that they would be using the same calling methods, which they do. $84B8:88 DEY A:00 X:60 Y:01 P:nvubdIZC $84B9:A5 0C LDA $000C = #$06 A:00 X:60 Y:00 P:nvubdIZC $84BB:91 02 STA ($02),Y @ $07DC = #$06 A:06 X:60 Y:00 P:nvubdIzC $84BD:20 00 60 JSR $6000 A:06 X:60 Y:00 P:nvubdIzC $6000:01 01 ORA ($01,X) @ $0000 = #$00 A:06 X:60 Y:00 P:nvubdIzC $6002:01 00 ORA ($00,X) @ $0000 = #$00 A:06 X:60 Y:00 P:nvubdIzC The culprit here is JSR $6000. As I said before, this corresponds to the calloutfunc. Did anyone checked this out before? JA ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Mon Feb 12 19:27:13 2007
This archive was generated by hypermail 2.1.8 : 2007-02-12 19:27:16 CET