Mercurial > public > hwos_code
diff src/simulator.asm @ 197:3bbfac29ba3e
cleanup
author | heinrichsweikamp |
---|---|
date | Thu, 06 Nov 2014 15:28:59 +0100 |
parents | e79bc535ef9e |
children | 53771bd3d567 |
line wrap: on
line diff
--- a/src/simulator.asm Thu Nov 06 12:00:44 2014 +0100 +++ b/src/simulator.asm Thu Nov 06 15:28:59 2014 +0100 @@ -130,6 +130,9 @@ rcall get_first_gas_to_WREG ; Gets first gas (0-4) into WREG movff WREG,char_I_first_gas ; Copy for compatibility + banksel char_I_first_gas + incf char_I_first_gas,F ; 0-4 -> 1-5 + banksel common extern setup_gas_registers call setup_gas_registers ; With WREG=Gas 0-4, set current N2/He/O2 ratios. extern set_actual_ppo2