diff code_part1/OSTC_code_asm_part1/simulator.asm @ 415:d022c62a1df5

fixing issue with end-of-dive threshold in high-altitude mode simulator now works up to 120m depth fix internal logbook hung up on bad profile data
author heinrichsweikamp
date Sun, 17 Jul 2011 17:23:25 +0200
parents ab962c4b19d6
children f36b93f2fbed
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/simulator.asm	Sat Jul 16 13:25:23 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/simulator.asm	Sun Jul 17 17:23:25 2011 +0200
@@ -120,7 +120,7 @@
 simulator_inc_maxdepth:
 	movlw	d'3'
 	addwf	logbook_temp2,F				; Here: Maxdepth in m
-	movlw	d'99'
+	movlw	d'120'
 	cpfslt	logbook_temp2
 	movwf	logbook_temp2
 	movlw	d'4'