| |
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.... |
| |
Claus_2015
Registered: Oct 2012 Posts: 53 |
Hi tlr,
I am not sure if I correctly understand your idea with the segments (I guess you are refering to his? The link only jumps to the beginning of the thread). It is more or less splitting memory areas into several parts, with the content being defined (or reserved) at arbitrary places in the source code, correct? How would that help the problem with the nested pseudopcs?
|
| |
tlr
Registered: Sep 2003 Posts: 1714 |
Nested segments can contain different .pc which could be made to allow generating what you want.
Segments aren't strictly necessary but a concept of nestable scopes with different .pc settings will do the trick.
A way of dereferencing a particular label in any of the available scopes would be very useful too. I.e getting the non-virtual address of any virtual label an vice versa. I've suggested that elsewhere.
This of course gets a bit trickier to express with nested virtual .pc. |
| |
Slammer
Registered: Feb 2004 Posts: 416 |
New Manuals are out now.
- The PDF-version can be found here. (Now clickable)
- The WebHelp-version can be found here here. (Even more clickable)
Btw. I added a suggested reading for new users in the introduction. |
| |
Digger
Registered: Mar 2005 Posts: 421 |
Love you Slammer! Just-in-time before the X! :) |
| |
TWW
Registered: Jul 2009 Posts: 541 |
Hiho
I would like to code some stuff which gets encoded (rearranging bits and such) in the output file. Anyone who can give me a pointer on how to approach this task with the KA-Script language?
instead of:
lda #$00
becomming
#$a9 #$00
it would become somthing else when assembled.
Also, typo in your manual, page 16, table 4.2. String Values, "Converts the string to a oolean value (eg,
true.asBoolean())."
Should probably be "boolean value" |
| |
Mace
Registered: May 2002 Posts: 1799 |
I suggest you read chapter 10 of the manual, Modifiers. |
| |
Slammer
Registered: Feb 2004 Posts: 416 |
As Mace said, look at the modifiers functionality:
http://theweb.dk/KickAssembler/webhelp/content/cpt_Modifiers.ht..
Currently you will need to do it as a java plugin:
http://theweb.dk/KickAssembler/webhelp/content/cpt_Plugins.html
|
| |
TWW
Registered: Jul 2009 Posts: 541 |
ok mace/slammer, thanx. That's what I thought. Time to brush up on java :-) |
| |
The Gothicman Account closed
Registered: Aug 2011 Posts: 40 |
Since this a Kickass-thread, this might a suitable place for my (surely stupid) question...
After 25 years I decided to have a little fun with c64 again.
Some things work, some not...
Anyway! My problem is:
Back in those days I used the following code to put some datas somewhere:
lda $0f00 (assume this would be located at $1000)
sta $d800,x
inx
blabla.
and then
inc $1001
lda $1001
cmp #$60
beq xxx
...
lda #$00
sta $1001
But how the hell can this be done in Kickass???
I'm sure it's fucking simple, but actually it drives me fuckin' crazy... :(
Thanx in advance... |
| |
chatGPZ
Registered: Dec 2001 Posts: 11111 |
simply use labels :)
yourlabel:
lda table,x
...
inc yourlabel+1
...
table:
|
Previous - 1 | ... | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | ... | 61 - Next |