Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/outputs.asm @ 768:b23b43d6d50d
BUGFIX: Italian language fix (Divemode menu)
BUGFIX: Gas change depth display in divemode menu (OSTC 2C only)
author | heinrichsweikamp |
---|---|
date | Tue, 28 Jan 2014 08:47:54 +0100 |
parents | aac1379d6983 |
children | 3b69d3e23051 |
comparison
equal
deleted
inserted
replaced
767:42cb04f57b2e | 768:b23b43d6d50d |
---|---|
924 bra DISP_show_deco_gas2 | 924 bra DISP_show_deco_gas2 |
925 output_8 ; Change depth | 925 output_8 ; Change depth |
926 bcf leftbind | 926 bcf leftbind |
927 STRCAT "m " | 927 STRCAT "m " |
928 clrf WREG | 928 clrf WREG |
929 movff WREG,letter+9 ; Limit to 8 chars | 929 movff WREG,letter+.9 ; Limit to 9 chars |
930 STRCAT_PRINT "" | 930 STRCAT_PRINT "" |
931 | 931 |
932 WIN_TOP .216 | 932 WIN_TOP .216 |
933 movff char_O_deco_gas+1,lo | 933 movff char_O_deco_gas+1,lo |
934 tstfsz lo ; =0? | 934 tstfsz lo ; =0? |
950 bra DISP_show_deco_gas3 | 950 bra DISP_show_deco_gas3 |
951 output_8 ; Change depth | 951 output_8 ; Change depth |
952 bcf leftbind | 952 bcf leftbind |
953 STRCAT "m " | 953 STRCAT "m " |
954 clrf WREG | 954 clrf WREG |
955 movff WREG,letter+9 ; Limit to 8 chars | 955 movff WREG,letter+.9 ; Limit to 9 chars |
956 STRCAT_PRINT "" | 956 STRCAT_PRINT "" |
957 return | 957 return |
958 | 958 |
959 DISP_show_deco_gas2: | 959 DISP_show_deco_gas2: |
960 WIN_BOX_BLACK .192, .239, .90, .159 ;top, bottom, left, right | 960 WIN_BOX_BLACK .192, .239, .90, .159 ;top, bottom, left, right |
3095 addlw d'28' ; offset in memory | 3095 addlw d'28' ; offset in memory |
3096 movwf EEADR | 3096 movwf EEADR |
3097 call read_eeprom ; Low-value | 3097 call read_eeprom ; Low-value |
3098 movff EEDATA,lo | 3098 movff EEDATA,lo |
3099 output_8 ; Show gas number | 3099 output_8 ; Show gas number |
3100 STRCAT_PRINT TXT_METER2 ; "m " | 3100 STRCAT "m " |
3101 clrf WREG | |
3102 movff WREG,letter+.9 ; Limit to 9 chars | |
3103 STRCAT_PRINT "" | |
3101 bcf leftbind | 3104 bcf leftbind |
3102 call DISP_standard_color | 3105 call DISP_standard_color |
3103 return | 3106 return |
3104 | 3107 |
3105 DISP_show_change_depth_clear: | 3108 DISP_show_change_depth_clear: |