Hi, I'm having a problem using .align. I have the following code: .segment "CODE1" .align $400 foo: .incbin "something.bin" .export foo And the following linker configuration: memory { HEADER: start = 0, size = $10, type = ro, fill = yes; PRG: start = $8000, size = $6000, type = ro, fill = yes; FIXEDPRG: start = $E000, size = $2000, type = ro, fill = yes; ZP: start = 0, size = $100, type = rw; RAM: start = $200, size = $600, type = rw; CHR: start = 0, size = $2000, type = ro, fill = yes; } segments { HEADER: load = HEADER, type = ro; CODE1: load = PRG, type = ro, align = $1000; CODE: load = FIXEDPRG, type = ro, align = $1000; RODATA: load = FIXEDPRG, type = ro, optional = yes; VECTORS: load = FIXEDPRG, type = ro, start = $FFFA; ZEROPAGE: load = PRG, run = ZP, type = rw, optional = yes, define = yes; SHADOWOAM: load = RAM, type = bss, optional = yes, define = yes, start = $200; DATA: load = PRG, run = RAM, type = rw, optional = yes, define = yes; BSS: load = RAM, type = bss, optional = yes, define = yes, align = $100; CHR: load = CHR, type = ro, optional = yes; } Code compiles without warnings, but in the map file (under exports list) I see this: foo 008300 RLA Why is it not $400 aligned, what am I doing wrong? :) -thefox ---------------------------------------------------------------------- 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 Jun 7 11:34:13 2011
This archive was generated by hypermail 2.1.8 : 2011-06-07 11:34:16 CEST