georgjz/neko

Add subroutine callers

Opened this issue · 0 comments

I want to improve performance by adding subroutines callers that use RTS Jump Tables.

I'm using this mechanism in other SNES project and I find it superior to the standard jsr/jsl and rts/rtl combination.

The method described in the link is tailored towards 6502 CPUs; I'm not sure if there might be problems with page boundaries, long/far addresses, etc. I'm still investigating this.