Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Sepa ! (Registered 2024-05-13) You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > C64 crossdeveloping suggestions?
2008-09-05 07:02
Optimus

Registered: Jan 2002
Posts: 122
C64 crossdeveloping suggestions?

Yep. I am motivated to start coding something on the C64 again. I need to use some helpful tools that will speed up developing and make things less frustrating. I am searching for crossdeveloping tools on the C64.

I am already considering kick assembler. But I might want to hear more suggestions. Btw,. is there a C64 emulator coming with internal assembler? Something like the thing I use on CPC, the Winape32 emulator/assembler? That would be great!
 
... 66 posts hidden. Click here to view all posts....
 
2008-09-07 13:38
Radiant

Registered: Sep 2004
Posts: 639
ca65 (in the cc65 suite) is an excellent choice of cross assembler if you want to do more fancy/beardy stuff, but the advantages mostly come into play with larger codebases. gvim is my editor of choice, and I use GNU Make for the build system.
2008-09-07 17:45
kamelito
Account closed

Registered: Mar 2006
Posts: 14
RadiantX does CA65 is better than KickAss, I heard that version 3 is planned but don't know the feature list.

Regards
Kamelito
2008-09-07 18:34
kamelito
Account closed

Registered: Mar 2006
Posts: 14
I've read many posts about C64 cross dev but nobody ever recommended Snasm, made by an old DMA design programmer Its bizarre cause this guy is very talented. (dailly.blogspot.com)

Regards
Kamelito
2008-09-07 18:53
Radiant

Registered: Sep 2004
Posts: 639
kamelito: Don't know about that really; I have only looked very briefly at KickAss. How well does it handle things like relocatable code?

My main gripe with ca65 is that the preprocessor language can be a bit odd at times; apart from that I think it's perfect.
2008-09-07 20:00
kamelito
Account closed

Registered: Mar 2006
Posts: 14
RadiantX: there a .pseudopc directive that let you assemble to a specific address while having code be like it was assembled to another.

Regards
Kamelito
2008-09-07 22:13
kamelito
Account closed

Registered: Mar 2006
Posts: 14
I tried CA65 and I got errors, while I think I'm doing no errors.
ld65.exe: Warning: [builtin config](6): Segment `STARTUP' does not exist

I didn't find anything but one msg about it at lemon64 and one at comp.sys.cbm :-(

ca65 -t c64 clearscreen.asm
ld65 -S 4096 -t c64 -o clears.prg clearscreen.o

The file is created I got a clears.prg load ok through Vice but nothing at $1000.
And this error (see above)
Any idea ? (Asmone on the Amiga was easier ;)

Regards
Kamelito

2008-09-08 06:27
Frantic

Registered: Mar 2003
Posts: 1629
cc65/ca65 + linker can be a little tricky to get into in the first place. You have to learn how the linker works, basically and you can't just do "* = $1000" to set the program counter from the code. In that respect KickAss, ACME or something else is a lot easier to get into.

Have you checked the docs?:
http://www.cc65.org/doc/
2008-09-08 06:29
HCL

Registered: Feb 2003
Posts: 717
@kamelito: ca65 generates obj-files, relocatable code. Then later when linking several obj-files they get absolute addresses, just like a C-compiler.

I also recon ca65 needs more setup stuff before you can get running, but i think there is a tutorial in the package..
2008-09-08 11:18
Cruzer

Registered: Dec 2001
Posts: 1048
What Shadow said, although I have on the TODO list to try some of the other tools, although I doubt assembling could get any easier - CTRL+F9, and it pops up in Vice.

Only problem I have with KickAss is that the scripting is too slow to make anything advanced. Don't know if any of the alternative assemblers are better.

2008-09-08 11:58
Zone
Account closed

Registered: Nov 2002
Posts: 7
If you want your code and data to land at certain addresses with ca65, you have to feed the linker with a link configuration file, and compile with eg. `cl65 -C [link file] mysource.s'.

But what the documentation fails to explain is that you have to append "fill=yes" to each memory segment in the link file for it to work as expected. :) It's explained in the FAQ though: http://www.cc65.org/faq.php
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 - 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
psych
Bitbreaker/Performers
Ninja/The Dreams
Copperhead
Unlock/Padua/Albion
Higgie/Kraze/Slacker..
Mibri/ATL^MSL^PRX
Mason/Unicess
rexbeng
Malmix/Fatzone
iAN CooG/HVSC
Rock/Finnish Gold
Guests online: 149
Top Demos
1 13:37  (9.8)
2 Next Level  (9.8)
3 Mojo  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 No Bounds  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 Party Elk 2  (9.7)
2 It's More Fun to Com..  (9.6)
3 Layers  (9.6)
4 Cubic Dream  (9.6)
5 Copper Booze  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Rainbow Connection  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Booze Design  (9.3)
3 Nostalgia  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Webmasters
1 Slaygon  (9.7)
2 Perff  (9.6)
3 Morpheus  (9.5)
4 Sabbi  (9.5)
5 CreaMD  (9.1)

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