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-10-06 20:06
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?

2012-10-07 07:32
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.
2012-10-15 15:10
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.
2012-10-15 20:58
Digger

Registered: Mar 2005
Posts: 421
Love you Slammer! Just-in-time before the X! :)
2012-11-11 01:51
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"
2012-11-11 08:38
Mace

Registered: May 2002
Posts: 1799
I suggest you read chapter 10 of the manual, Modifiers.
2012-11-11 15:58
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

2012-11-11 16:27
TWW

Registered: Jul 2009
Posts: 541
ok mace/slammer, thanx. That's what I thought. Time to brush up on java :-)
2012-11-27 17:32
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...
2012-11-27 17:35
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
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
Menace/Spaceballs
Didi/Laxity
Mason/Unicess
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 Wonderland XIV  (9.6)
9 Bromance  (9.6)
10 Memento Mori  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
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 Graphicians
1 Sulevi  (10)
2 Mirage  (9.8)
3 Lobo  (9.7)
4 Mikael  (9.7)
5 Archmage  (9.7)

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