diff runtime.S @ 542:5d57fd8b44f8

Removed old debug print function that is no longer needed
author Michael Pavone <pavone@retrodev.com>
date Sun, 16 Feb 2014 16:50:10 -0800
parents a59ac6b4b5b5
children 915a1cb98bac
line wrap: on
line diff
--- a/runtime.S	Sat Feb 15 22:35:18 2014 -0800
+++ b/runtime.S	Sun Feb 16 16:50:10 2014 -0800
@@ -26,33 +26,6 @@
 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 @@
 	mov %cl, (%rsi)
 	shr $8, %cx
 	mov %cl, 5(%rsi)
-	/* call debug_print_sr */
 	ret
 
 	.global set_ccr