Re: [cc65] Interrupt driven SID player

From: <silverdr1wfmh.org.pl>
Date: 2013-07-06 21:15:45
On 2013-07-06, at 20:32, Maik Merten wrote:

> ---------------------------------
> 
> sid_init = $1000
> sid_play = $1003
> 
> ; ######## include a SID file for which xsidplay reports $1000 and $1003
> .org $1000
> _siddata: .incbin "Xoo_Divided.sid",$7c+2 ; skip header and two bytes of load address
> .reloc

.org directive in ca65 works differently than in other assemblers (for a reason). using .org $1000 alone, won't make your code (or data) load at $1000. I'd suggest consulting the documentation on how to use it together with appropriate linker config.

-- 
SD!----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Jul 6 21:22:36 2013

This archive was generated by hypermail 2.1.8 : 2013-07-06 21:22:38 CEST