Hi,
ich programmiere mit ca65 und habe ein Problem mit der Speicherconfig. Ich möchte ein SID-File binär bei $c000 ablegen. Ich hab folgende c64-asm.cfg:
Code
- FEATURES {
- STARTADDRESS: default = $0801;
- }
- SYMBOLS {
- __LOADADDR__: type = import;
- }
- MEMORY {
- ZP: file = "", start = $0002, size = $00FE, define = yes;
- LOADADDR: file = %O, start = %S-2, size = $0002;
- MAIN: file = %O, start = %S, size = $2200-%S, fill = yes;
- SPR: file = %O, start = $2200, size = $0240;
- BG: file = %O, start = $2440, size = $0FA4;
- MUS: file = %O, start = $C000, size = $05f4;
- }
- SEGMENTS {
- ZEROPAGE: load = ZP, type = zp, optional = yes;
- LOADADDR: load = LOADADDR, type = ro;
- EXEHDR: load = MAIN, type = ro, optional = yes;
- CODE: load = MAIN, type = rw;
- RODATA: load = MAIN, type = ro, optional = yes;
- DATA: load = MAIN, type = rw, optional = yes;
- BSS: load = MAIN, type = bss, optional = yes, define = yes;
- START: load = MAIN type = ro;
- IRQ: load = MAIN, type = ro;
- SPRITES: load = SPR, type = ro;
- BACKGROUNDS: load = BG, type = ro;
- MUSIC: load = MUS, type = ro;
- }
Die Musik wird aber nur richtig abgelegt, wenn ich die size von BG bis zum Beginn von $c000 auf $9bc0 vergrössere und fill = yes setze. Kann ich das irgendwie konfigurieren, dass die Lücke bleibt und die Musik trotzdem bei $cooo abgelegt wird?