| |
Slammer
Registered: Feb 2004 Posts: 416 |
Kick Assembler
I recently did a new 6510 assembler and I hereby make it open to the public so you can use it too.
Kick Assembler is the combination of an assembler for doing 6510 machine code and a high level script language. With the assembler functionalities, you can write your assembler programs, and with the script language, you can write programs that generate data to use in the assembler programs. This could be data such as sine waves, coordinates for a vector object, or graphic converters. In addition, you can combine assembler commands and scripting commands which is a powerful combination. A little example: Where other assemblers can do simple unrolling of loops, Kick Assembler can base the unrolling of a loop on a list generated by the script language and select the content of the loop body based on the content of the list. This makes it more flexible when generating speed code.
The script language can handle values such as Numbers, Booleans, Strings, Lists, Vectors, Hashtables, Matrixes and you can define your own structures if the build in doesnt meet your needs. The assembler contains a replica of the java math library + a special 3d library for doing vector math (Rotation, move and projection matrixes). You can also define your own functions.
Finally, I want to mention that the assembler contains some special objects that makes it easy to import graphics (and convert it into you own spooky format which fits into the part you are working on) and music. Since finding the correct play address for a tune has recently been an issue in the *stupid* ASM Sid Player Example- thread I will here show how its done in kick Assembler. You simply load you PSID file into a variable in the script language and then read the things you need to know from the variable.
// Load the music into an object in the script language
.var music = LoadSid("C:/C64Music/Tel_Jeroen/Closing_In.sid")
// init the music
lda #music.startSong-1
jsr music.init
// play the music
jsr music.play
(The full example is listed in the manual)
Feel free to check out the assembler at http://www.theweb.dk/KickAssembler.htm
|
|
| |
HCL
Registered: Feb 2003 Posts: 728 |
Impressing!! Think i'll try this sometimebutnotnow :). |
| |
WVL
Registered: Mar 2002 Posts: 902 |
w000t :D Have to try this :)) |
| |
Cruzer
Registered: Dec 2001 Posts: 1048 |
About time! ;) Finally people can compie the source for my last couple of 256b'ers. |
| |
Slammer
Registered: Feb 2004 Posts: 416 |
HCL: Thanks for the letter. Always nice with some feedback.
Cruzer: Ahh.. I suspected you had a hidden agenda when you argued for a soon release :-D |
| |
Monte Carlos
Registered: Jun 2004 Posts: 359 |
Great work, did you get motivated by Cruzers "dont know the routine" demos? Or was it the other way round?
I'm looking forward on the time after my diploma ...
Monte
|
| |
Ghostrider Administrator
Posts: 45 |
OMG this is too good to be true!! I'm halfway through the reference manual, and I don't believe my eyes. Modern compiler technology working in the service of our dear old C64! This could change the way we code - the ease of developing demos - the convenience!! |
| |
Burglar
Registered: Dec 2004 Posts: 1101 |
this sounds really promising, but uhm...
inflating: KickAssembler_BetaRelease2/KickAss.jar bad CRC 7e255f76 (should be 70d1f6ab)
|
| |
Danzig
Registered: Jun 2002 Posts: 440 |
@enno: syhte! the same :( |
| |
Moloch
Registered: Jan 2002 Posts: 2928 |
A R G H !
|
| |
Slammer
Registered: Feb 2004 Posts: 416 |
Sorry guys. Hcl was so kind to point out some typos in the manual. I quickly made a re-release, but the upload resulted in a bad file on the server. It should be fixed now. (Remember to clear your cache so the browser dosnt download the cached old file) |
... 251 posts hidden. Click here to view all posts.... |
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | ... | 26 | 27 - Next |