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..
 
... 590 posts hidden. Click here to view all posts....
 
2012-06-18 09:25
Slammer

Registered: Feb 2004
Posts: 416
Ok, no problem, I did a more flexible memory block management routine yesterday. There will be a new version out soon.

I guess you can use the -binfile option to make a binary file (So you won't get the two address bytes at the start of the file). Then don't worry about setting the .pc to zero, just write the header bytes and include the code in pseudo blocks. I guess you can write .crt files directly this way without any workarounds.
2012-06-19 09:29
Cruzer

Registered: Dec 2001
Posts: 1048
Very nice with the new Java plugin feature! I think that would call for more than the usual 0.01 increase in version number. I converted a pretty heavy precalc script, which immediately reduced the compile time from about 45 to 7 seconds, and there's even still some unconverted scripts left in the asm code.

Feature requests:
- Booleans as parameters for the Java macros
- List's and other "advanced" data structures as parameters. At least a list of numbers (double values) would be nice.
- Access to some of the usual KickAss functionality, e.g. for getting single/multicolor bytes from pics.
2012-06-19 12:52
Conjuror

Registered: Aug 2004
Posts: 168
Slammer,

Thanks for the JAVA plugin, didn't expect it so soon! This will really help with my plan to build more in JAVA before ASM but then reuse the data model.

Great work!
2012-06-20 14:47
Slammer

Registered: Feb 2004
Posts: 416
V3.24 is now on the website

Conrad: With the -maxaddr option you can set the maximum memory address or set unlimited memory.

Cruzer: Thanks. To make it a major number higher something has to change with the underlying algorithm or framework:

Version 1 (which was never released) was a normal assembler.
Version 2 made it object oriented (values was not just numbers) and the script language was added.
Version 3 made it a flexible pass instead of a fixed pass assembler. Script calculations of previous passes are saved so they only get to be calculated once etc.

Seen in this context, plugins are just an extra feature.

Booleans was intended to be in the first release, but just didn't make it. List of values was saved for a later release. Both of them will come soon and probably other standard data structures such as hash tables. Specialized values like pictures are not the plan though.



2012-06-20 19:30
Cruzer

Registered: Dec 2001
Posts: 1048
Sounds good, Slammer! I didn't mean pictures as parameters, but to have access to an API with some of the same tools as you can currently access from KickAss scripts, e.g. for picture import.
2012-07-05 20:33
Slammer

Registered: Feb 2004
Posts: 416
Hi. It's now possible to write modifier plugins. With these its possible to modify assembled bytes, eg. do packing, crunching, encrypting, call external executables or whatever. You can modify small pieces of code or the whole file.

Eg:
//----------------------------------------------------------------
	jsr depack
	jmp effect
//----------------------------------------------------------------
depack: .modify Pack(PK_INCLUDE_DEPACK) {

	.pc = $2000
effect:
	lda #12
	sta $1234
	……

	.pc = $8000
data: .byte 1,2,3

}
//----------------------------------------------------------------


Kick Assembler won't be open source in the nearest future, but If you want to help improve Kick Assembler, then do a cool plugin and share it.
2012-07-06 15:14
tlr

Registered: Sep 2003
Posts: 1714
@slammer: Very cool feature!
2012-07-19 20:07
gryf
Account closed

Registered: Aug 2006
Posts: 14
Slammer,

Good job!

BTW, is it possible to attach short changelog for each release, just to make it easier to track changes/additions in the assembler syntax/additional directives?
It would be much easier to synchronize syntax highlighting for example. Also, documentation in html form would be awesome too :)

BTW, if anyone interested, i've made syntax highlight for vim (http://www.vim.org/scripts/script.php?script_id=4121)
2012-07-20 07:08
Slammer

Registered: Feb 2004
Posts: 416
The change log can be found here: http://www.theweb.dk/KickAssembler/Updates.php

I have been thinking of having the documentation in html on the website. But I also want to make the work cycle for a release as short as possible, which means make testing, creating zips and docs.

So can anyone tell me, is there an editor+text format that can generate both a pdf file and html pages from the same 'source text'?
2012-07-20 07:18
andym00

Registered: Jun 2009
Posts: 44
Not exactly the answer you're looking for I think, but I've been recently started using MS Word 2010 for generating both PDF and HTML versions of docs I've been writing.. It's not pretty HTML, but it does the job for me :)
Previous - 1 | ... | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | ... | 60 - 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
goto80/HT
Brittle/Dentifrice^(?)
Didi/Laxity
MightyAxle
Krill/Plush
6R6/shape/[n0]
dillof
Perplex/Offence
AlexC
Twoflower/ΤRIΛD
Guests online: 81
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 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (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 Coders
1 Axis  (9.8)
2 Graham  (9.8)
3 Lft  (9.8)
4 Crossbow  (9.8)
5 HCL  (9.8)

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