Hi, I was able to find a fix for it: The loader seems to create a wrong .nes file, with two bad addresses. Maybe its with my configuration (im using the built-in NES configuration file). But doing this fix allows me to pipe the printf to my serial port successfully. First, I need to get the __DESTRUCTOR_TABLE__ address from my map.txt file. Once ive got this, i change the data at the addresses: $801F and $8023 to reflect the right address. I dont have a clue why ld65 is putting in the wrong address, but once this is done, then it runs perfectly. Is there anything that I am missing or doing wrong? Why is it that the wrong addresses are inserted in the STARTUP code? $801E:A9 0B LDA #$..;here is the wrong address $8020:85 0A STA $000A = #$9A $8022:A9 8E LDA #$..;and here too! $8024:85 0B STA $000B = #$8C If someone knows the right way of doing this, I would really, really appreciate. The bad thing is that we have deployed some applications successfully without ever noticing that there was something wrong (UIP actually works smoothly without any patch). Many thanks! 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 Tue Feb 13 03:50:53 2007
This archive was generated by hypermail 2.1.8 : 2007-02-13 03:50:58 CET