| |
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.... |
| |
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. |
| |
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. |
| |
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!
|
| |
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.
|
| |
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. |
| |
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. |
| |
tlr
Registered: Sep 2003 Posts: 1714 |
@slammer: Very cool feature! |
| |
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) |
| |
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'? |
| |
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 |