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: 223
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: 223
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: 223
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
Dr.j/Delysid
Vent
wacek/arise
t0m3000/hf^boom!^ibx
Guests online: 98
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 No Listen  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Diskmag Editors
1 Magic  (9.8)
2 hedning  (9.6)
3 Jazzcat  (9.5)
4 Elwix  (9.1)
5 Remix  (9.1)

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