normally i'm working with retroAssembler for my sbc. But jesterday, purely out of curiosity, i had a look into CC65 and the CA65.
But i didn't get that working. In my asm file i have some jump tables just like this:
Code: Select all
jump_table:
.segment "JUMPTABLE"
.org $FF00 ; STROUT output string, A = high, X = low
jmp do_strout
.org $FF81 ; SCINIT Initialize "Screen output", (here only the serial monitor)
jmp do_scinit
.org $FF84 ; IOINIT Initialize VIA & IRQ
jmp do_ioinit
.org $FF87 ; RAMTAS RAM test and search memory end
jmp do_ramtas
.org $FF8A ; RESTOR restore default kernel vectors
jmp do_restor