diff code_part1/OSTC_code_asm_part1/start.asm @ 647:e6ac142e82b0

New Diluent Submenu in Divemode
author heinrichsweikamp
date Sun, 07 Oct 2012 21:31:19 +0200
parents f87205426add
children ea2bc3b9224e
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/start.asm	Fri Oct 05 00:03:59 2012 +0200
+++ b/code_part1/OSTC_code_asm_part1/start.asm	Sun Oct 07 21:31:19 2012 +0200
@@ -212,18 +212,6 @@
 	btfss	neg_flag				; Result negative (Ambient>880mBar)?
 	bsf		high_altitude_mode		; No, Set Flag!
 	
-	; Should we disable sleep (hardware emulator)
-  Ifndef TESTING
-restart_loop:
-	btfss	0xF81,0,A
-	bra		restart_loop
-	btfss	0xF81,1,A
-	bra		restart_loop
-	movlw	0x80
-	cpfslt	0xFB3,A
-	bsf		nsm						; NO-SLEEP-MODE : for hardware debugging
-  Endif
-
 	call	gassetup_sort_gaslist       ; Sorts Gaslist according to change depth
 	WIN_TOP		.0
 	WIN_LEFT	.0