summaryrefslogtreecommitdiff
path: root/runtime.S
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2012-12-27 21:19:58 -0800
committerMike Pavone <pavone@retrodev.com>2012-12-27 21:19:58 -0800
commite20c4dfeab1bbfb208f5ecfcf25ca4185babe750 (patch)
tree5c54203478db0263576f8bf246919b9b24fa164d /runtime.S
parent604066b43154d773f536fa2a86869949a7cc8a83 (diff)
Initial work on allowing dynamic branches and code in RAM plus a small fix to effective address decoding
Diffstat (limited to 'runtime.S')
-rw-r--r--runtime.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime.S b/runtime.S
index 69b2dc2..b19b26b 100644
--- a/runtime.S
+++ b/runtime.S
@@ -413,8 +413,8 @@ m68k_native_addr_and_sync:
call sync_components
pop %rsi
push %rax
- mov 144(%rax), %rdi
- call get_native_address
+ mov %rax, %rdi
+ call get_native_address_trans
mov %rax, %rcx
pop %rsi
call m68k_load_context
@@ -424,9 +424,9 @@ m68k_native_addr_and_sync:
m68k_native_addr:
call m68k_save_context
push %rsi
- mov 144(%rsi), %rdi
+ mov %rsi, %rdi
mov %ecx, %esi
- call get_native_address
+ call get_native_address_trans
mov %rax, %rcx
pop %rsi
call m68k_load_context