diff code_part1/OSTC_code_asm_part1/simulator.asm @ 44:475a9e536d77

1.63beta release
author heinrichsweikamp
date Thu, 01 Jul 2010 17:45:01 +0200
parents 92001c045088
children 8457bb96b860
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/simulator.asm	Thu Jun 24 22:12:32 2010 +0200
+++ b/code_part1/OSTC_code_asm_part1/simulator.asm	Thu Jul 01 17:45:01 2010 +0200
@@ -152,6 +152,7 @@
 	ostc_debug	'S'							; Sends debug-information to screen if debugmode active
 	call	main_push_tissues_to_vault
 	movlb	0x01							; Back to RAM Bank1
+	movff	char_O_CNS_fraction,temp7		; Store CNS
 	ostc_debug	'T'							; Sends debug-information to screen if debugmode active
 	return
 
@@ -160,6 +161,7 @@
 	ostc_debug	'S'							; Sends debug-information to screen if debugmode active
 	call	main_pull_tissues_from_vault
 	movlb	0x01						; Back to RAM Bank1
+	movff	temp7,char_O_CNS_fraction		; Reset CNS to real value
 	ostc_debug	'T'							; Sends debug-information to screen if debugmode active
 
 	ostc_debug	'G'		; Sends debug-information to screen if debugmode active