symon icon indicating copy to clipboard operation
symon copied to clipboard

compile issue with ca65

Open lorenxviola opened this issue 10 months ago • 0 comments

Hello Seth,

I´m assembling the Ben´s breadboard 6502, I found your simulator and I wanted to try out couple of things.... Basically I found very helpful the cc65 in order to avoid tonns of ASM... I do cc65, ca65, ld65 and thereafter sim65 for my "hello world" (below it´s a shortcut).... when I try to load mine into your Simulator, it doesn´t work and what I find just weird, your code/samples are not compiled by ca65 (several syntax issues).

////////////////////////////// here is my code (example.c): #include <stdio.h> int main() { printf("Hello!\n"); return 5; } ////////////////////////////// Build and run: cl65 -t sim6502 -o example.prg example.c sim65 example.prg ////////////////////////////// if you pick one of your samples, try to compile with: ca65 -t sim6502 -o example.o example.s //////////////////////////////

I donwloaded cc65 from https://cc65.github.io/ as Ben reccomends in the video!

lorenxviola avatar Apr 05 '25 15:04 lorenxviola