diff code_part1/OSTC_code_asm_part1/surfmode.asm @ 116:14a074e1a375

Split C code, and use direct linking.
author JeanDo
date Sun, 26 Dec 2010 14:30:13 +0100
parents 8aa8acada0fd
children 2907b42c195b
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/surfmode.asm	Fri Dec 24 15:40:27 2010 +0100
+++ b/code_part1/OSTC_code_asm_part1/surfmode.asm	Sun Dec 26 14:30:13 2010 +0100
@@ -101,7 +101,7 @@
 	GETCUSTOM8	d'11'					; Saturation multiplier %
 	movwf	wait_temp
 	movff	wait_temp,char_I_saturation_multiplier
-	call	deco_main_calc_desaturation_time; calculate desaturation time
+	call	deco_calc_desaturation_time ; calculate desaturation time
 	movlb	b'00000001'					; select ram bank 1
 	ostc_debug	'H'						; Sends debug-information to screen if debugmode active
 
@@ -272,7 +272,7 @@
 	movwf	wait_temp
 	movff	wait_temp,char_I_desaturation_multiplier
 
-	call	deco_main_calc_wo_deco_step_1_m				; calculate deco in surface mode 
+	call	deco_calc_wo_deco_step_1_min    ; calculate deco in surface mode 
 	movlb	b'00000001'									; select ram bank 1
 	ostc_debug	'J'		; Sends debug-information to screen if debugmode active
 	bcf		LED_red