summaryrefslogtreecommitdiff
path: root/runtime.S
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2014-02-16 16:50:10 -0800
committerMichael Pavone <pavone@retrodev.com>2014-02-16 16:50:10 -0800
commite60e8080b9946d78c9d3f67e4b7735a299b97a6c (patch)
treeda1ff493dc03917b863afd21af3ea2cb9b42af86 /runtime.S
parent15d4fb35d602498e2915e585c5011c994cc833bd (diff)
Removed old debug print function that is no longer needed
Diffstat (limited to 'runtime.S')
-rw-r--r--runtime.S28
1 files changed, 0 insertions, 28 deletions
diff --git a/runtime.S b/runtime.S
index afa3b1d..cb66d13 100644
--- a/runtime.S
+++ b/runtime.S
@@ -26,33 +26,6 @@ done_adjust:
skip_sync:
ret
-sr_msg_int:
- .asciz "SR set to $%X due to interrupt\n"
-debug_print_sr_int:
- call m68k_save_context
- push %rsi
- lea sr_msg_int(%rip), %rdi
- movzxb 5(%rsi), %rsi
- xor %rax, %rax
- call printf
- pop %rsi
- call m68k_load_context
- ret
-
-sr_msg:
- .asciz "SR set to $%X\n"
- .global debug_print_sr
-debug_print_sr:
- call m68k_save_context
- push %rsi
- lea sr_msg(%rip), %rdi
- movzxb 5(%rsi), %rsi
- xor %rax, %rax
- call printf
- pop %rsi
- call m68k_load_context
- ret
-
invalid_msg:
.asciz "Invalid instruction at %X\n"
@@ -156,7 +129,6 @@ set_sr:
mov %cl, (%rsi)
shr $8, %cx
mov %cl, 5(%rsi)
- /* call debug_print_sr */
ret
.global set_ccr