Mercurial > repos > blastem
diff runtime.S @ 543:915a1cb98bac
Generate retrans_stub at runtime so it can use the generated save/load_context functions
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 16 Feb 2014 18:17:59 -0800 |
parents | 5d57fd8b44f8 |
children | 8a26567852b7 |
line wrap: on
line diff
--- a/runtime.S Sun Feb 16 16:50:10 2014 -0800 +++ b/runtime.S Sun Feb 16 18:17:59 2014 -0800 @@ -185,16 +185,6 @@ call m68k_load_context ret - .global m68k_retrans_stub -m68k_retrans_stub: - call m68k_save_context - push %rsi - call m68k_retranslate_inst - pop %rsi - mov %rax, %rcx - call m68k_load_context - jmp *%rcx - .global m68k_save_context m68k_save_context: mov %bl, 1(%rsi) /* N Flag */