Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/menu_logbook.asm @ 337:6bdf80d7276c ScreenDump
Added screen dumps of general menus.
Added screen dumps in logbook, gassetup, license.
Added screen dumps in altimeter, decoplan.
author | JeanDo |
---|---|
date | Tue, 17 May 2011 01:05:04 +0200 |
parents | 36cc8f0c1d73 |
children | ed137d66ac65 |
comparison
equal
deleted
inserted
replaced
336:9ee86a19f1fa | 337:6bdf80d7276c |
---|---|
333 incf sim_pressure+0,F ; increase one, because there may be a remainder | 333 incf sim_pressure+0,F ; increase one, because there may be a remainder |
334 movlw d'0' | 334 movlw d'0' |
335 addwfc sim_pressure+1,F | 335 addwfc sim_pressure+1,F |
336 movlw LOW d'164000' ; 164pixel*1000 height | 336 movlw LOW d'164000' ; 164pixel*1000 height |
337 movwf xC+0 | 337 movwf xC+0 |
338 movlw HIGH d'164000' ; 164pixel*1000 height | 338 movlw HIGH (d'164000' & h'FFFF') ; 164pixel*1000 height |
339 movwf xC+1 | 339 movwf xC+1 |
340 movlw UPPER d'164000' ; 164pixel*1000 height | 340 movlw UPPER d'164000' ; 164pixel*1000 height |
341 movwf xC+2 | 341 movwf xC+2 |
342 clrf xC+3 | 342 clrf xC+3 |
343 | 343 |
1064 check_switches_logbook: | 1064 check_switches_logbook: |
1065 btfsc switch_right | 1065 btfsc switch_right |
1066 bsf menubit3 | 1066 bsf menubit3 |
1067 btfsc switch_left | 1067 btfsc switch_left |
1068 bsf menubit2 ; Enter | 1068 bsf menubit2 ; Enter |
1069 | |
1070 btfsc uart_dump_screen ; Dumps screen contains ? | |
1071 call dump_screen ; Yes! | |
1072 | |
1069 return | 1073 return |
1070 | 1074 |
1071 next_logbook3: | 1075 next_logbook3: |
1072 incf menupos,F | 1076 incf menupos,F |
1073 movlw d'7' | 1077 movlw d'7' |