| |
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.... |
| |
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. |
| |
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 |
| |
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 |
| |
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. |
| |
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 |
| |
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
|
| |
Frantic
Registered: Mar 2003 Posts: 1648 |
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/ |
| |
HCL
Registered: Feb 2003 Posts: 728 |
@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.. |
| |
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.
|
| |
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 |