comparison code_part1/OSTC_code_asm_part1/divemode.asm @ 163:144822282fa3

Fusion declaration of shared C/ASM variables. + remove unused variables. + sort all in variables in BANK3, and out variables in BANK2.
author JeanDo
date Fri, 21 Jan 2011 01:44:37 +0100
parents 622da16b768f
children cb055a7d75f3
comparison
equal deleted inserted replaced
162:fdebc43c8372 163:144822282fa3
1281 bcf simulatormode_active ; if we were in simulator mode 1281 bcf simulatormode_active ; if we were in simulator mode
1282 1282
1283 btfsc restore_deco_data ; Restore decodata? 1283 btfsc restore_deco_data ; Restore decodata?
1284 call simulator_restore_tissue_data ; Yes! 1284 call simulator_restore_tissue_data ; Yes!
1285 1285
1286 call deco_gradient_array
1287 movlb b'00000001' ; select ram bank 1
1288
1289 goto surfloop ; and return to surfaceloop 1286 goto surfloop ; and return to surfaceloop
1290 1287
1291 timeout_divemode: 1288 timeout_divemode:
1292 btfss realdive ; Dive longer then one minute 1289 btfss realdive ; Dive longer then one minute
1293 return 1290 return