Extremely simple 6502 C program

Building your first 6502-based project? We'll help you get started here.
unclouded
Posts: 81
Joined: 24 Feb 2015

Re: Extremely simple 6502 C program

Post by unclouded »

rdb9879 wrote:
If I understand the architecture correctly, there needs to be a reset vector placed at $FFFC and $FFFD in order for the processor to jump to the correct start routine.
There's an example of using cc65 to set the vectors using linker.cfg to choose the location of the VECTORS segment then assembling to that segment later on.
Post Reply