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 > Kick Assembler Thread 2
2009-07-21 17:20
Slammer

Registered: Feb 2004
Posts: 416
Kick Assembler Thread 2

The previous thread took a little long to load, so this is a new fresh one..
 
... 592 posts hidden. Click here to view all posts....
 
2009-12-12 20:42
LOGAN
Account closed

Registered: Aug 2003
Posts: 71
The only thing I still would like to see is a way to feed it ACME or another assembler based source codes that could be converted on the fly to KickAssembler as a kind of pre-processor pass. This way people could use their old sources without the need to rewrite it.

For example someone using Acme supplies a short routine that's used by someone using KickAss. The source still can be updated by the acme coder and be used seamless in kickassembler.

Anyway would be cool as some translation table as ini files.
(Or able to be implemented as pseudo ops, though remarks using ; would through kickass off. Can't kickass not check somehow if its used as comment or seperator?


off topic:
I almost feel the different assemblers could use their own file extension. For example .tas for turbo assembler, kas for kick assembler, .acm for acme, etc. Is there some standard?

Anyway, keep up the good work, this is my fav assembler. (Hope you have added additional image formats support)
2010-03-12 08:00
Mace

Registered: May 2002
Posts: 1799
The other day I made some 64TASS code to create sprites for a certain routine I'm working on.
The result was 52 lines of code.

I reworked it in Kick Assembler and it became 5 lines!

It could have been even shorter if there was some possibility to do a pattern fill:

.fill [no. of repeats],[comma separated byte pattern]

(There's a feature request hidden inside this post ;-) )
2010-03-12 10:35
Nitro
Account closed

Registered: Aug 2008
Posts: 13
I've just tried the executable version hoping to get the speedup, but it worked the other way: it works very slow when there are many files included. Also file handling is different, it looks for files to include in the kickass directory, not the source directory.
2010-03-12 10:50
Mace

Registered: May 2002
Posts: 1799
I just tried:

.pc = $2000
  .for(var x=0; x<64; x++) {
    .print x
  }
Result:
Made no progress and cant solve the program.. You should have gotten an error. Contact the author!

However, the parsing went okay when I tried:
.pc = $2000
  lda #$01
  sta $d020
  rts
What's wrong?

[edit]
I tried V2.25 and that one worked okay.
So the problem is in V3.12 (both Java and executable).
2010-03-13 10:42
Slammer

Registered: Feb 2004
Posts: 416
Mace:
If you want to fill patterns you can do it like this:
.fill $100, List().add($fe,$82,$82,$82,$82,$82,$fe,$00).get(mod(i,8)) 
There was a minor error in the progress detection in the for loop, if you have a program that assembles in one pass with a forloop the error will occur. I have fixed the problem and there will be a v3.13 out later this weekend.

Nitro:
I haven't noticed that about the speed (but I tend to use the java version). I will check out file problem - the java-compiler has some differences in this area.
2010-03-13 10:46
Mace

Registered: May 2002
Posts: 1799
Quote:
.fill $100, List().add($fe,$82,$82,$82,$82,$82,$fe,$00).get(mod(i,8))
This is so cool :-)
I will see how to modify this into what I need.
Thanks!
2010-03-13 16:49
Slammer

Registered: Feb 2004
Posts: 416
The site can't be updated right now, so I uploaded the new release to CSDB.

** It also seems that my email is dead, so pm me here on CSDB instead (The feedback on the site, and the kickass@theweb.dk address won't work) **

Nitro: I fixed the dir bug, however because of the filesize of the executable I can't upload it to csdb. About execution times, I noticed that it takes some time to load the first time you run KickAss.exe, but then it gets faster (probably some libraries have to be loaded or something). Have you tried to time it with the -time option? If the performance seems much worse let me know.
2010-03-14 10:10
Nitro
Account closed

Registered: Aug 2008
Posts: 13
I wasn't talking about the executable load time but assemble time, the differences are huge :)
EXE: Assemble time = 9168 ms
JAR: Assemble time = 2010 ms
I'm including about 33 files, 4,85kb each.
2010-03-14 12:18
Mace

Registered: May 2002
Posts: 1799
Haha, and then ppl say JAVA is slow!
2010-03-14 12:18
Slammer

Registered: Feb 2004
Posts: 416
Ok, I wasn't aware of this. I can only recomend using the java version then. I might tweak the compiler to produce faster code, but my hopes are not high (Perhaps they forgot to buffer the input in the load library)
Previous - 1 | ... | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | ... | 61 - Next
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
Magic/Nah-Kolor
Hoild/Ultimate Newco..
JCH/Vibrants
tlr
Soren/Camelot, MoN, ..
Nicron
TBH
Frost/Triad
syntaxerror
Oswald/Resource
ptoing
sln.pixelrat
CA$H/TRiAD
Guests online: 78
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.7)
6 Uncensored  (9.6)
7 Comaland 100%  (9.6)
8 No Bounds  (9.6)
9 Aliens in Wonderland  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Cubic Dream  (9.6)
3 Party Elk 2  (9.6)
4 Copper Booze  (9.6)
5 Rainbow Connection  (9.5)
6 It's More Fun to Com..  (9.5)
7 Dawnfall V1.1  (9.5)
8 Morph  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Nostalgia  (9.4)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Offence  (9.3)
Top Crackers
1 Mr. Z  (9.9)
2 Antitrack  (9.8)
3 OTD  (9.8)
4 S!R  (9.7)
5 Fungus  (9.7)

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