Issue with KickAss cruncher setup
Hi,
After a PC reinstall I'm having a few problems with the Triad KickAss cruncher plugin.
The following code:
.plugin "se.triad.kickass.CruncherPlugins"
//////////////////////////////////////////////////////////////////////////////// /
// Constants
//////////////////////////////////////////////////////////////////////////////// /
.const EXO_LITERAL_SEQUENCES_USED = true // Import the cruncher plugin and set definitions
.const EXO_ZP_BASE = $02
.const EXO_DECRUNCH_TABLE = $0200
//////////////////////////////////////////////////////////////////////////////// /
// Basic run
//////////////////////////////////////////////////////////////////////////////// /
.pc = $0801 "BasicUpstart"
:BasicUpstart($0810)
.pc = $0810 "Code"
Start:
:EXO_DECRUNCH(EXAMPLE)
inc $d020
jmp *-3
#import "Includes\exodecr.asm"
.pc = $1000 "Music"
.pc = $2400 "Packed data"
.modify MemExomizer() {
.pc = $1000
.var music_End = LoadSid("PackedData/Example.sid")
.fill music_End.size, music_End.getData(i)
}
.label EXAMPLE = *
Generates this output:
//------------------------------------------------------
//------------------------------------------------------
// Kick Assembler v4.17 by Mads Nielsen
//------------------------------------------------------
//------------------------------------------------------
parsing
flex pass 1
MemExomizer: Unnamed $1000 - $2123 Packed size $0bf4 (69%) Safety distance: $0002
flex pass 2
.pc = $0810 "Code"
Start:
:EXO_DECRUNCH(EXAMPLE)
^
Error: Value can't be resolved
at line 20, column 36 in Main.asm
[Finished in 0.6s with exit code 1]
I'm using Sublime, and the build file looks like this:
// Build and Run (F7)
"name": "Build and Run",
"cmd": ["java -cp kickass-cruncher-plugins.jar:KickAss.jar cml.kickass.KickAssembler '${file_name}' -log '${file_base_name}_BuildLog.txt' -o '${file_base_name}.prg' -vicesymbols -showmem -aom -symbolfiledir . -execute 'x64 +confirmexit -moncommands ${file_base_name}.vs'"],
"windows":
{
"cmd": ["java", "cml.kickass.KickAssembler", "${file_name}", "-log", "${file_base_name}_BuildLog.txt", "-o", "${file_base_name}.prg", "-vicesymbols", "-aom", "-showmem", "-symbolfiledir", ".", "-execute", "X64 +confirmexit -moncommands \"${file_base_name}.vs\""],
"env" : {"CLASSPATH":"%CLASSPATH%;C:/C64/Tools/KickAssembler/kickass-cruncher-plugins.ja r;C:/C64/Tools/KickAssembler/KickAss.jar"},
"path": "%PATH%;C:\\C64\\Tools\\Vice\\;%programfiles%\\Java\\jre7\\bin;%programfiles%\\J ava\\jre6\\bin;%programfiles%\\Java\\jre5\\bin;%programfiles(x86)%\\Java\\jre7\\ bin;%programfiles(x86)%\\Java\\jre6\\bin;%programfiles(x86)%\\Java\\jre5\\bin;%w indir%\\SysWOW64;"
}
I think the problem is in the second "cmd" line in the above, but I'm not sure what would be the right way to write it.
/Trap