Mercurial > public > hwos_code
comparison src/start.asm @ 165:9b82239fa062
testing consumption
author | heinrichsweikamp |
---|---|
date | Thu, 11 Sep 2014 15:41:48 +0200 |
parents | 5f71e31bd5b3 |
children | 669b5d00706d |
comparison
equal
deleted
inserted
replaced
164:b5b55df4d83f | 165:9b82239fa062 |
---|---|
270 movwf sub_a+0 | 270 movwf sub_a+0 |
271 call subU16 ; sub_c = sub_a - sub_b | 271 call subU16 ; sub_c = sub_a - sub_b |
272 btfss neg_flag ; Result negative (Ambient>880mbar)? | 272 btfss neg_flag ; Result negative (Ambient>880mbar)? |
273 bsf high_altitude_mode ; No, Set Flag! | 273 bsf high_altitude_mode ; No, Set Flag! |
274 | 274 |
275 btfss c3_hardware | |
276 bsf TRISB,3 | |
277 btfss c3_hardware | |
278 bsf TRISG,0 | |
275 call ext_flash_disable_protection ; Disable write protection for external flash | 279 call ext_flash_disable_protection ; Disable write protection for external flash |
276 | 280 |
277 bsf flip_screen ; Flip 180° | 281 bsf flip_screen ; Flip 180° |
278 TSTOSS opt_flip_screen ; =1: Flip the screen | 282 TSTOSS opt_flip_screen ; =1: Flip the screen |
279 bcf flip_screen ; Normal orientation | 283 bcf flip_screen ; Normal orientation |