# HG changeset patch # User heinrichsweikamp # Date 1329248340 -3600 # Node ID 880e98ecf1ea74b44f6bfac870b49e3ffe965ab2 # Parent 43296991c283003778a7739593f47661a14ef20c don't show normal ppO2 in pSCR mode diff -r 43296991c283 -r 880e98ecf1ea code_part1/OSTC_code_asm_part1/pled_outputs.asm --- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm Mon Feb 13 00:18:13 2012 +0100 +++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm Tue Feb 14 20:39:00 2012 +0100 @@ -1146,6 +1146,12 @@ return PLED_show_ppO2: ; Show ppO2 (ppO2 stored in xC) + GETCUSTOM8 d'61' ; Show pSCR ppO2? + decfsz WREG,F ; WREG=1? + bra PLED_show_ppO2a ; No + return ; Do not display ppO2 in pSCR Mode + +PLED_show_ppO2a: ostc_debug 't' ; Sends debug-information to screen if debugmode active WIN_TOP .117 WIN_LEFT .0 @@ -3474,7 +3480,7 @@ call PLED_divemask_color ; Set Color for Divemode mask lfsr FSR2,letter OUTPUTTEXTH .266 ; "pSCR Info" - call word_processor; pCCR + call word_processor ; pCCR movff char_I_O2_ratio,WREG sublw .100 ; 100-char_I_O2_ratio -> WREG diff -r 43296991c283 -r 880e98ecf1ea code_part1/OSTC_code_c_part2/p2_deco.o Binary file code_part1/OSTC_code_c_part2/p2_deco.o has changed