Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user AnDruid ! (Registered 2018-04-20) You are not logged in 
CSDb User Forums


Forums > C64 Coding > Issue with KickAss cruncher setup
2018-01-20 09:42
Trap

Registered: Jul 2010
Posts: 170
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
2018-01-20 12:39
ruk

Registered: Jan 2012
Posts: 42
It feels like something fishy is going on...

A regression bug with kickass 4.17? Slammer?

EDIT: this works with 4.14, not 4.17

.plugin "se.booze.byteboozer.B2"

.modify B2() {
    .byte 1
}
EXAMPLE:
    inc EXAMPLE
2018-01-22 22:48
Trap

Registered: Jul 2010
Posts: 170
Yup. I can confirm that it works with 4.14 and not with 4.17.
2018-01-29 22:39
ruk

Registered: Jan 2012
Posts: 42
Slammer has taken care of the issue, all is good since KickAssembler 4.18

http://www.theweb.dk/KickAssembler/Main.html#updates
2018-01-30 08:27
Trap

Registered: Jul 2010
Posts: 170
Yes, He's a darling <3

Thanks for the follow-up Ruk.

/Trap
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Kitty
Alakran_64
insane/altair^rab^tscc
Guests online: 31
Top Demos
1 Uncensored  (9.7)
2 Edge of Disgrace  (9.7)
3 Coma Light 13  (9.6)
4 The Shores of Reflec..  (9.6)
5 Comaland 100%  (9.6)
6 We Come in Peace  (9.6)
7 Lunatico  (9.6)
8 Incoherent Nightmare  (9.5)
9 Wonderland XII  (9.5)
10 Wonderland XIII  (9.5)
Top onefile Demos
1 Dawnfall V1.1  (9.5)
2 Synthesis  (9.5)
3 FMX Music Demo  (9.5)
4 Pandemoniac Part 2 o..  (9.5)
5 Daah, Those Acid Pil..  (9.5)
6 Treu Love [reu]  (9.5)
7 Merry Xmas 2017  (9.4)
8 Dawnfall  (9.4)
9 Gubbdata 2017 Invite  (9.3)
10 SidRok  (9.3)
Top Groups
1 Oxyron  (9.4)
2 Booze Design  (9.4)
3 Censor Design  (9.4)
4 Finnish Gold  (9.4)
5 Crest  (9.3)
Top Swappers
1 Derbyshire Ram  (10)
2 Splatterhead  (9.8)
3 Zyron  (9.8)
4 Acidchild  (9.8)
5 Walker  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2018
Page generated in: 0.236 sec.