diff code_part1/OSTC_code_asm_part1/simulator.asm @ 47:56aea9fcdd8f

1.65beta release
author heinrichsweikamp
date Thu, 15 Jul 2010 18:09:58 +0200
parents 8457bb96b860
children cd5b650920f6
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/simulator.asm	Wed Jul 14 14:01:34 2010 +0200
+++ b/code_part1/OSTC_code_asm_part1/simulator.asm	Thu Jul 15 18:09:58 2010 +0200
@@ -167,6 +167,10 @@
 	movlb	b'00000001'						; select ram bank 1
 	call	calculate_noflytime				; Calc NoFly time
 	ostc_debug	'H'		; Sends debug-information to screen if debugmode active
+
+	; Calculate CNS	
+	call	main_calc_CNS_fraction		; calculate CNS
+	movlb	b'00000001'					; rambank 1 selected
 	return
 	
 simulator_show_decoplan: