Mercurial > repos > blastem
diff runtime.S @ 540:4ca826862174
Generate m68k_start_context at runtime so it can use the generated load_context and save_context
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 15 Feb 2014 21:25:36 -0800 |
parents | b449af228c63 |
children | a59ac6b4b5b5 |
line wrap: on
line diff
--- a/runtime.S Fri Feb 14 19:56:18 2014 -0800 +++ b/runtime.S Sat Feb 15 21:25:36 2014 -0800 @@ -264,22 +264,3 @@ mov 80(%rsi), %eax /* current cycle count */ ret - .global m68k_start_context -m68k_start_context: - push %rbp - push %r12 - push %r13 - push %r14 - push %r15 - - call m68k_load_context - call *%rdi - call m68k_save_context - - pop %r15 - pop %r14 - pop %r13 - pop %r12 - pop %rbp - - ret