Hi! Is there an example on how to use the VIC struct in inline assembler commands? I'm trying to do something like __asm__( "sta %v", VIC.spr1_x); , which does not work. Seems to be understandable, since VIC.spr1_x is a byte value and I want the address. What I'd actually write would be something like __asm__( "sta %v", VIC.spr ## SHOT_SPRITE ## _x); and use a define for SHOT_SPRITE, but I guess there's no chance to get such a construct to work? I tried to google for cc65 assembler struct, but I've only found the example in the docs. Thanks for any hints, Andreas -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.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 Wed Nov 30 21:52:11 2011
This archive was generated by hypermail 2.1.8 : 2011-11-30 21:52:15 CET