Mercurial > public > mk2
comparison 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 |
comparison
equal
deleted
inserted
replaced
63:fee7c62b4de1 | 64:e8756eba54ee |
---|---|
1290 call simulator_restore_tissue_data ; Yes! | 1290 call simulator_restore_tissue_data ; Yes! |
1291 | 1291 |
1292 call deco_main_gradient_array | 1292 call deco_main_gradient_array |
1293 movlb b'00000001' ; select ram bank 1 | 1293 movlb b'00000001' ; select ram bank 1 |
1294 | 1294 |
1295 btfss restore_deco_data ; Restore decodata? | |
1296 goto surfloop ; and return to surfaceloop | |
1297 ;new 1.71beta: | |
1295 clrf surface_interval+0 | 1298 clrf surface_interval+0 |
1296 clrf surface_interval+1 ; Clear surface interval timer | 1299 clrf surface_interval+1 ; Clear surface interval timer |
1297 | |
1298 goto surfloop ; and return to surfaceloop | 1300 goto surfloop ; and return to surfaceloop |
1299 | 1301 |
1300 timeout_divemode: | 1302 timeout_divemode: |
1301 btfss realdive ; Dive longer then one minute | 1303 btfss realdive ; Dive longer then one minute |
1302 return | 1304 return |