> exomizer.exe mem -f -o compressed.prg test.prg Reading ".\test.prg", loading from $9D00 to $D000. Crunched data reduced 10677 bytes (81.78%) Writing ".\compressed.prg" as prg, saving from $C6B5 to $D002.
When I read Ruk's documentation Exomizer3 is not the default setting (Krill, Do you expect V3 these days?)
Correct me if I'm wrong - but files are always loaded to the loadaddress (no matter compressed or not). So $0002 just can't work.
.disk [filename="lazy.d64", name="A", id="1"] { [name="EXOMIZER", type="prg", segments="ExoFile"] } .segment ExoFile [start = $5000] .segmentout [prgFiles="a.prg", modify="MemExomizer", _forwardCrunching]
Since the sid-example worked the only thing wrong can be the load bytes.
.plugin "kickass.bdloader.BdLoader" //------------------------------------------------------------------------ .disk BoozeDisk [filename="myDisk.d64", name="TESTDISK", id ="2021!", diskno=3] { [name=">>MUSICLOADER!<<", type="prg", segments="DRIVER"], [name="----------------", type="rel"], [name="MUSIC 1 ", type="b2l", prgFiles="data/Angular.prg"], [name="MUSIC 2 ", type="b2l", prgFiles="data/OddFellow.prg"] } //------------------------------------------------------------------------ .segment DRIVER [] BasicUpstart2(start) // Install loader in the drive start: jsr install .. some init.. // Init disk lda #$83 // Disk 3 jsr load // Load music loop1: lda #0 sta $d418 mNo: lda #0 // File index and #$01 inc mNo+1 jsr load // Init and play music ... some play code jmp loop1 *=$0a00 load: LoaderLoadCode() // Macro for importing the loader code *=$2000 install: LoaderInstallCode() // Macro for importing the installer code
[name="MUSIC 1 ", type="b2l", prgFiles="data/Angular.prg"], [name="MUSIC 2 ", type="b2l", prgFiles="data/OddFellow.prg"]
.segment ExoFile [start = $5000] .segmentout [prgFiles="a.prg", modify="MemExomizer", _forwardCrunching]
.disk [filename="lazy.d64", name="A", id="1"] { [name="EXOMIZER", type="prg", prgFiles="a.prg", modify="ForwardExomizer", realloc=$3000] }
.disk ExoDisk [filename="lazy.d64", name="A", id="1"] { [name="EXOMIZER", type="exl", prgFiles="a.prg"] }