diff code_part1/OSTC_code_asm_part1/divemode.asm @ 64:e8756eba54ee

1.71beta - more deco
author heinrichsweikamp
date Sat, 02 Oct 2010 23:34:08 +0200
parents fee7c62b4de1
children d0b677e1e9a5
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/divemode.asm	Wed Sep 29 15:25:53 2010 +0200
+++ b/code_part1/OSTC_code_asm_part1/divemode.asm	Sat Oct 02 23:34:08 2010 +0200
@@ -1292,9 +1292,11 @@
 	call	deco_main_gradient_array
 	movlb	b'00000001'					; select ram bank 1
 
+	btfss	restore_deco_data			; Restore decodata?
+	goto	surfloop					; and return to surfaceloop
+;new 1.71beta:
 	clrf	surface_interval+0
 	clrf	surface_interval+1		; Clear surface interval timer
-
 	goto	surfloop					; and return to surfaceloop
 
 timeout_divemode: