You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each bank currently has an individual stub file with routines that are needed in the bank, but are located in other banks, e.g. in bank 1 there is the following stub
**************************************************************
* Stub for "edb.clear.sams"
* bank5 vec.1
********|*****|*********************|**************************
edb.clear.sams:
mov @edb.clear.sams.vector,@trmpvector
jmp _trampoline.bank5.ret ; Longjump
edb.clear.sams.vector:
data vec.1
The point is, that this snippet is located in the file rom.stubs.bank1.asm which is copied in stevie_b1.asm
I think this logic should be changed in such way, that all functions that are exported in a bank (have vector) should have a corresponding stubs file.
For the above example it means that the stub should be in the file rom.stubs.bank5.asm which is then copied in stevie_b1.asm
If the stubs can be compressed far enough by shorter code then we can have a single stub file that is included in all banks.
Also thinking about increasing number of vectors per bank from 32 to perhaps 96 or 128.
That would only need 256 bytes of ROM space.
The text was updated successfully, but these errors were encountered:
Each bank currently has an individual stub file with routines that are needed in the bank, but are located in other banks, e.g. in bank 1 there is the following stub
The point is, that this snippet is located in the file rom.stubs.bank1.asm which is copied in stevie_b1.asm
I think this logic should be changed in such way, that all functions that are exported in a bank (have vector) should have a corresponding stubs file.
For the above example it means that the stub should be in the file rom.stubs.bank5.asm which is then copied in stevie_b1.asm
If the stubs can be compressed far enough by shorter code then we can have a single stub file that is included in all banks.
Also thinking about increasing number of vectors per bank from 32 to perhaps 96 or 128.
That would only need 256 bytes of ROM space.
The text was updated successfully, but these errors were encountered: