User forums > Embedded development

cc65 (6502/6510) toolchain for hobbyist retro work -- need help...

<< < (5/5)

rchennau:
I just wanted to say thanks for posting this setup guide.  I've modified it to fit CC65 to build for the Atari.

Attached is the cbp file.

Steps:
1. Download the attached files Atari.cbp.txt and main.c.txt and rename without the .txt
2. Install code blocks (C::B) using your favorite linux installer (user@hostname: ~$apt-get add codeblocks)
3. Launch C::B
4. Make a subdirectory in your .codeblocks/UserTemplates directory of Atari
5. copy downloaded files to .codeblocks/UserTemplates/Atari
6. File->New->From Template...
7. Choose Atari

Happy coding!   :D

The steps I changed from the original setup for C64 differ in the following ways.
1. I removed all C::B checked build flags in compiler.
2. I added project custom build flags of -v -t atari -Oi
3. I added project custom link flags of -v
4. I changed the project link library under linker settings to atari.lib
5. I removed the steps around adding .s files in the menu->settings->compiler and debugger->other settings->advanced options
6. I added .o files in the advanced options compile routines
7. I changed the compiler logging to full command line under other settings.

I'm going to cross post this on the CC65 wiki as a setup guide.   


[attachment deleted by admin]

DigitalMonk:
Cool!  Glad to be of help.  I have to admit that having a little retro-dev IDE that I can carry anywhere is a lot of fun, and I hope it will be for you as well.

Navigation

[0] Message Index

[*] Previous page

Go to full version