From: Martin Ancher Holm (mah_at_wwww.dk)
Date: 2000-04-10 21:24:05
I've tried to use the .ORG statement like this: .RODATA .ORG $2000 .INCBIN "gfx-file" to get my graphics at this particular address, but it doesn't work. Why is the compiler ignoring this? How can I specify where my data should be located? I wan't to do it with more binary files. Like: .RODATA .ORG $1000 .INCBIN "music-file" .ORG $2000 .INCBIN "gfx-file" Now i solve the problem by adding a .RES command: .CODE bla bla .RODATA .RES 342 .INCBIN "music-file" .RES 123 .INCBIN "gfx-file" This is irritating, because I the code-size changes as I develop, and the graphics and music may change as well. This leaves a lot of calculating back and forth, until the right memory-positions are reached. Yours faithfully Martin Ancher Holm <mah_at_wwww.dk> http://wwww.dk Ancher of Rebirth ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:36 CET