You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 25, 2026. It is now read-only.
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
//////////////////////////////
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!