So TTram found..
No TTram found.
Now I can use that logic for my fast rom stuff soon
By all the code you mean the whole operating system ? There is a limit on what you can paste and the more complicated problem is that more likely you will not find issue I think..Cyprian wrote: Fri Jun 13, 2025 6:34 am Wow GTP can be useful though.
Did you paste it all the code or just part of it?

You sort of can if instead of jsr you use bsr and place the return address in a register (and your subroutine knows about this calling system).exxos wrote: Fri Jun 13, 2025 3:31 pm Assembly code is hard work !Cant call a subroutine within the bus error handler.. super sulky where you put code and data...
Code: Select all
DATA
error_flag: dc.b 0
TEXTCode: Select all
clr.b error_flag /* clear error flag */Code: Select all
tst.b error_flag
Code: Select all
error_flag: equ $00010000 /* safe ST-RAM location */