I'm agree with AGN about devpac labels : I use devpac 2, and I have same errors. If you want to use same label in other sub routine, try to call it .label or _label
example:
Code:
rout1:
...
.blit_char:
...
bne.s .blitchar
...
rout2:
...
.blit_char:
...
bne.s .blit_char
2nd point : your sinus don't move like wave ?!? add only 1 line at "next_word" after dbra:
Code:
dbra d2,sin_blits
addq.l #1,mstr_sin_ptr ;<----
bra.s interrupt_done
3rd : you can put some datas in code, and not in "data_c", like variables system and variables mine, and also the text and sintab. no need to be in chip "video" ram.
and when your variables are in same hunk than your code, you can call them with the Program Counter, avoid your code to be better relocatable:
Code:
move.l scroll_ptr(pc),a0
you can take a look at some sources code
here. using 2 types of my personal startup code and differents ways of sinscroller from wellknown cracktros. (
main sources menu)