Hi, I get the code to work but ld65 complains. I define a storage for my score pointer in test.s like: .export _abc_score_ptr0 .zeropage _abc_score_ptr0: .res 2 Then I want to monitor things in my myprog.c like: extern char *abc_score_ptr0[]; int main(void) { char *tmp; tmp = *abc_score_ptr0; } At compile time I get a warning: cl65 -t lynx -C lynx.cfg lynxexehdr.o myprog.c test.s ld65: Warning: Address size mismatch for `_abc_score_ptr0', export in test.s(1), import in myprog.s(12) The reason I use zero page is that my driver code in assembler uses the location as: lda (_abc_score_ptr0),y -- Thanks for any comments, karri ---------------------------------------------------------------------- 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 Oct 5 08:02:13 2004
This archive was generated by hypermail 2.1.8 : 2004-10-05 08:02:23 CEST