# HG changeset patch # User heinrichsweikamp # Date 1294839504 -3600 # Node ID e5f1cfec8113a35b565a120ca427adfb1757a0a6 # Parent c3ac603ba248af47cba4347bdab3d8e850f546f0 * for better gas again diff -r c3ac603ba248 -r e5f1cfec8113 code_part1/OSTC_code_asm_part1/pled_outputs.asm --- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm Mon Jan 10 20:03:30 2011 +0100 +++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm Wed Jan 12 14:38:24 2011 +0100 @@ -980,8 +980,15 @@ movff WREG,letter+5 ; collision with sat graphs bcf leftbind call word_processor + rcall PLED_active_gas_divemode_better_gas ; show *, if required return +PLED_active_gas_divemode_better_gas: + WIN_TOP .192 + WIN_LEFT .42 + WIN_FONT FT_SMALL + call PLED_standard_color + lfsr FSR2,letter movlw ' ' btfsc better_gas_available ;=1: A better gas is available and a gas change is advised in divemode movlw '*' @@ -1001,19 +1008,9 @@ movff WREG,letter+5 ; collision with sat graphs bcf leftbind call word_processor + rcall PLED_active_gas_divemode_better_gas ; show *, if required return - - movlw ' ' - btfsc better_gas_available ;=1: A better gas is available and a gas change is advised in divemode - movlw '*' - movwf POSTINC2 - bcf leftbind - call word_processor - return - - - PLED_display_decotype_surface: WIN_LEFT .85 WIN_FONT FT_SMALL