itszor / gcc-6502

A port of GCC to the 6502 processor family.
GNU General Public License v2.0
97 stars 18 forks source link

c64 Linker configuration #2

Closed daybyter closed 8 years ago

daybyter commented 8 years ago

Hi!

It seems the c64 Linker configuration lacks the start address in the executable, a basic line to start the generated code and the stack is under the kernal rom?

Claus @ forum64.de wrote a modified cfg File that seems to work better:

http://www.forum64.de/index.php?thread/66857-gcc-6502/&postID=1047882#post1047882

He also wrote a minimal stub for the load address and a basic line to start the code (just 1 sys command to call the machine code).

itszor commented 8 years ago

Fixed by pull request #4, thanks.