Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/simulator.asm @ 415:d022c62a1df5
fixing issue with end-of-dive threshold in high-altitude mode
simulator now works up to 120m depth
fix internal logbook hung up on bad profile data
author | heinrichsweikamp |
---|---|
date | Sun, 17 Jul 2011 17:23:25 +0200 |
parents | ab962c4b19d6 |
children | f36b93f2fbed |
comparison
equal
deleted
inserted
replaced
414:dd4a1aa96232 | 415:d022c62a1df5 |
---|---|
118 bra menu_simulator2 | 118 bra menu_simulator2 |
119 | 119 |
120 simulator_inc_maxdepth: | 120 simulator_inc_maxdepth: |
121 movlw d'3' | 121 movlw d'3' |
122 addwf logbook_temp2,F ; Here: Maxdepth in m | 122 addwf logbook_temp2,F ; Here: Maxdepth in m |
123 movlw d'99' | 123 movlw d'120' |
124 cpfslt logbook_temp2 | 124 cpfslt logbook_temp2 |
125 movwf logbook_temp2 | 125 movwf logbook_temp2 |
126 movlw d'4' | 126 movlw d'4' |
127 movwf menupos | 127 movwf menupos |
128 bra menu_simulator2 | 128 bra menu_simulator2 |