Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


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

Registered: Jul 2010
Posts: 222
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 11:39
ruk

Registered: Jan 2012
Posts: 43
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 21:48
Trap

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

Registered: Jan 2012
Posts: 43
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 07:27
Trap

Registered: Jul 2010
Posts: 222
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
Brix/Plush
Alakran_64
Apollyon/ALD
Sokrates
Hairdog/BOOM!^Dream
Dano/Padua
aNdy/AL/Cosine
Guests online: 140
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Bromance  (9.6)
10 Memento Mori  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Diskmag Editors
1 Jazzcat  (9.4)
2 Magic  (9.4)
3 hedning  (9.2)
4 Newscopy  (9.1)
5 Elwix  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.034 sec.