Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 574:101fec6a6137
New Custom Functions III menu (CF64-CF95)
author | heinrichsweikamp |
---|---|
date | Sat, 21 Apr 2012 13:58:30 +0200 |
parents | 80a1d2d5a9ee |
children | ab2686087bce |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm Sat Apr 21 12:09:37 2012 +0200 +++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm Sat Apr 21 13:58:30 2012 +0200 @@ -912,131 +912,6 @@ STRCPY_PRINT "\xB7" return -PLED_static_raw_data: - WIN_FONT FT_SMALL - WIN_LEFT .0 - WIN_TOP .27 - STRCPY "C1:" - movff C1+0,lo - movff C1+1,hi - output_16 - call word_processor - WIN_LEFT .80 - WIN_TOP .27 - STRCPY "C2:" - movff C2+0,lo - movff C2+1,hi - output_16 - call word_processor - - WIN_LEFT .0 - WIN_TOP .52 - STRCPY "C3:" - movff C3+0,lo - movff C3+1,hi - output_16 - call word_processor - WIN_LEFT .80 - WIN_TOP .52 - STRCPY "C4:" - movff C4+0,lo - movff C4+1,hi - output_16 - call word_processor - - WIN_LEFT .0 - WIN_TOP .77 - STRCPY "C5:" - movff C5+0,lo - movff C5+1,hi - output_16 - call word_processor - WIN_LEFT .80 - WIN_TOP .77 - STRCPY "C6:" - movff C6+0,lo - movff C6+1,hi - output_16 - call word_processor - return - -PLED_update_raw_data: - WIN_LEFT .0 - WIN_TOP .102 - STRCPY "D1:" - movff D1+0,lo - movff D1+1,hi - output_16 - call word_processor - WIN_LEFT .80 - WIN_TOP .102 - STRCPY "D2:" - movff D2+0,lo - movff D2+1,hi - output_16 - call word_processor - - WIN_LEFT .0 - WIN_TOP .127 - STRCPY "OFF:" - movff OFF+0,lo - movff OFF+1,hi - output_16 - call word_processor - WIN_LEFT .80 - WIN_TOP .127 - STRCPY "SENS:" - movff SENS+0,lo - movff SENS+1,hi - output_16 - call word_processor - - WIN_LEFT .0 - WIN_TOP .152 - STRCPY "xdT:" - movff xdT+0,lo - movff xdT+1,hi - output_16 - call word_processor - WIN_LEFT .80 - WIN_TOP .152 - STRCPY "xdT2:" - movff xdT2+0,lo - movff xdT2+1,hi - output_16 - call word_processor - - WIN_LEFT .0 - WIN_TOP .177 - STRCPY "amb:" - SAFE_2BYTE_COPY amb_pressure, lo - output_16 - call word_processor - WIN_LEFT .80 - WIN_TOP .177 - STRCPY "temp:" - SAFE_2BYTE_COPY temperature, lo - call PLED_convert_signed_temperature ; converts lo:hi into signed-short and adds '-' to POSTINC2 if required - output_16 - call word_processor - - call get_battery_voltage ; get battery voltage - WIN_LEFT .0 - WIN_TOP .202 - STRCPY "AD0:" - movff ADRESL,lo - movff ADRESH,hi - output_16 - call word_processor - WIN_LEFT .80 - WIN_TOP .202 - STRCPY "BATT:" - movff batt_voltage+0,lo - movff batt_voltage+1,hi - output_16 - call word_processor - return - PLED_menu_mask: call PLED_topline_box WIN_INVERT .1 ; Init new Wordprocessor @@ -1057,7 +932,7 @@ WIN_INVERT .0 ; Init new Wordprocessor DISPLAYTEXT .99 ; Custom FunctionsI DISPLAYTEXT .153 ; Custom FunctionsII - DISPLAYTEXTH .276 ; Salinity: + DISPLAYTEXTH .295 ; Custom FunctionsIII DISPLAYTEXT .100 ; Decotype: DISPLAYTEXT .142 ; More... DISPLAYTEXT .11 ; Exit @@ -1071,7 +946,7 @@ DISPLAYTEXTH .257 ; Date format: DISPLAYTEXT .129 ; Debug: DISPLAYTEXT .187 ; Show License - DISPLAYTEXTH .295 ; Show raw data + DISPLAYTEXTH .276 ; Salinity: DISPLAYTEXTH .280 ; Brightness: DISPLAYTEXT .11 ; Exit return