-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
Goals:
- Stack popping should be replaced by macro(s) in source code in Stevie.
- Spectra2 should contain code for putting register pop instructions into scratch PAD RAM for reducing wait state. >8342 - >8352 seem to be good location as they are still empty.
- With (1) and (2) implemented, macros can be rewritten so they branch to scratch pad. This should be made optional so we can fallback to original behaviour for trouble-shooting.
Macro's should be smart enough so that branching to scratchpad ram only happens if there's speed and code size benefit, otherwise just inline.
With (1), (2) and (3) in place, we're freeing up quite some space in ROM bank 1 due to the high amount of routines. Also speed could be improved, but need to confirm. Didn't do the necessary calculations yet.