Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/menu_logbook.asm @ 506:ab819be6193f
small cleanup in the logbook
author | heinrichsweikamp |
---|---|
date | Sun, 20 Nov 2011 17:00:49 +0100 |
parents | 8d69c040b9fc |
children | 56da3e962e98 |
comparison
equal
deleted
inserted
replaced
505:24e018713ea2 | 506:ab819be6193f |
---|---|
1298 movff max_pressure+0,divemins+0 | 1298 movff max_pressure+0,divemins+0 |
1299 movff max_pressure+1,divemins+1 | 1299 movff max_pressure+1,divemins+1 |
1300 movff mintemp+0, divenumber | 1300 movff mintemp+0, divenumber |
1301 decf divenumber,F | 1301 decf divenumber,F |
1302 bcf all_dives_shown | 1302 bcf all_dives_shown |
1303 | |
1304 decf menupos2,F | |
1305 | |
1306 clrf menupos3 ; here: used row on current page | 1303 clrf menupos3 ; here: used row on current page |
1307 movlw d'5' | 1304 movlw d'5' |
1308 movwf menupos ; here: active row on current page | 1305 movwf menupos ; here: active row on current page |
1309 incf menupos2,F ; start new page | |
1310 call PLED_ClearScreen ; clear details/profile | 1306 call PLED_ClearScreen ; clear details/profile |
1311 goto menu_logbook1b ; start search | 1307 goto menu_logbook1b ; start search |
1312 | 1308 |
1313 next_logbook2: | 1309 next_logbook2: |
1314 btfsc all_dives_shown ; all shown | 1310 btfsc all_dives_shown ; all shown |