[cc65] Update on cc65 and Custom Hardware

Date view Thread view Subject view

From: Geoffrey Wossum (geoffrey_at_pager.net)
Date: 2003-10-30 18:26:10


Hi all,

I now have cc65 happily producing code for custom hardware.  Thanks for the 
great compiler and tips, Uz!

A few notes people might be interested in:

1) I needed Intel hex files for my ICE.  I used srecord 
(http://srecord.sf.net) to produce the files from cc65's binary output, and 
to relocate the hex file to the proper starting address.  There was an email 
about this issue in the list archives, but no definitive answer to it.

2) I'm using an EasyICE 6502 for development.  This ICE crossreferences a list 
file with the hex file in order to show the source while debugging the code.  
I wrote a small Ruby script which does the following:

i) Examines at the ld65 map file output to determine which object files the 
finished binary contains.

ii) Concatenates the list files for the used object files into one list file.

iii) Uses the map file to relocate the addresses of machine code to their 
addresses in the final binary.

iv) Transforms the list file into the syntax EasyICE 6502 expects.

All this allows me to develop code with cc65 and use EasyICE's full 
capabilities.  If anyone is interested in this script, let me know and I can 
either post it to a website or this list.  It probably won't work out of the 
box for anyone since it was a fast hack and makes assumptions based on my 
particular build process, but it's a starting point.

---
Geoffrey Wossum
Software Engineer
Long Range Systems - http://www.pager.net
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-10-30 18:34:07 CET