Mercurial > public > hwos_code
diff src/divemode.asm @ 197:3bbfac29ba3e
cleanup
author | heinrichsweikamp |
---|---|
date | Thu, 06 Nov 2014 15:28:59 +0100 |
parents | bca0f054f023 |
children | 93085f540746 |
line wrap: on
line diff
--- a/src/divemode.asm Thu Nov 06 12:00:44 2014 +0100 +++ b/src/divemode.asm Thu Nov 06 15:28:59 2014 +0100 @@ -1241,8 +1241,10 @@ extern get_first_gas_to_WREG call get_first_gas_to_WREG ; Gets first gas (0-4) into WREG movff WREG,char_I_first_gas ; Copy for compatibility - movff WREG,active_gas ; Set for logbook and display rcall setup_gas_registers ; With WREG=Gas 0-4 + banksel char_I_first_gas + incf char_I_first_gas,F ; 0-4 -> 1-5 + banksel common return dive_boot_cc: @@ -1257,8 +1259,10 @@ extern get_first_dil_to_WREG call get_first_dil_to_WREG ; Gets first gas (0-4) into WREG movff WREG,char_I_first_gas ; Copy for compatibility - movff WREG,active_gas ; Set for logbook and display rcall setup_dil_registers ; With WREG=Gas 0-4 + banksel char_I_first_gas + incf char_I_first_gas,F ; 0-4 -> 1-5 + banksel common return diveloop_boot: