comparison code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 292:21a0f7393468

New CNS calculation in decoplan. BUGFIX set current gas in decoplan.
author JeanDo
date Mon, 25 Apr 2011 19:42:44 +0200
parents 4dbff2aa31ee
children 2986e7cdb68c
comparison
equal deleted inserted replaced
291:916df3161d52 292:21a0f7393468
2424 sublw .168 ; Yes: bottom row in divemode 2424 sublw .168 ; Yes: bottom row in divemode
2425 btfss divemode ; In dive mode ? 2425 btfss divemode ; In dive mode ?
2426 sublw .240 ; No: bottom row in planning 2426 sublw .240 ; No: bottom row in planning
2427 movff WREG,win_height 2427 movff WREG,win_height
2428 2428
2429 WIN_LEFT .82 ; Full divemenu width 2429 WIN_LEFT .85 ; Full divemenu width
2430 movlw .160-.82+1 2430 movlw .160-.85+1
2431 movff WREG,win_width 2431 movff WREG,win_width
2432 2432
2433 clrf WREG ; Fill with black 2433 clrf WREG ; Fill with black
2434 movff WREG,win_color1 2434 movff WREG,win_color1
2435 movff WREG,win_color2 2435 movff WREG,win_color2
2713 2713
2714 bcf leftbind 2714 bcf leftbind
2715 return ; no, return 2715 return ; no, return
2716 2716
2717 PLED_clear_divemode_menu: 2717 PLED_clear_divemode_menu:
2718 WIN_BOX_BLACK .0, .168, .82, .160 ;top, bottom, left, right 2718 WIN_BOX_BLACK .0, .168, .85, .160 ;top, bottom, left, right
2719 return 2719 return
2720 2720
2721 PLED_divemenu_cursor: 2721 PLED_divemenu_cursor:
2722 ostc_debug 'l' ; Sends debug-information to screen if debugmode active 2722 ostc_debug 'l' ; Sends debug-information to screen if debugmode active
2723 2723