comparison code_part1/OSTC_code_asm_part1/menu_gassetup.asm @ 3:3cf8af30b36e

v1.51 beta
author heinrichsweikamp
date Thu, 04 Feb 2010 14:56:12 +0100
parents 96a35aeda5f2
children d4f0c097a7fa
comparison
equal deleted inserted replaced
2:d11ef8dc4b2c 3:3cf8af30b36e
196 movlw 'm' 196 movlw 'm'
197 movwf POSTINC2 197 movwf POSTINC2
198 call menu_gassetup_grey_inactive ; Sets Greyvalue for inactive gases 198 call menu_gassetup_grey_inactive ; Sets Greyvalue for inactive gases
199 call word_processor 199 call word_processor
200 200
201 WIN_COLOR color_white 201 call PLED_standard_color
202 202
203 incf decodata+0,F 203 incf decodata+0,F
204 movlw d'5' 204 movlw d'5'
205 cpfseq decodata+0 205 cpfseq decodata+0
206 goto menu_gassetup_list 206 goto menu_gassetup_list
1048 incf lo,F ; 1-5 1048 incf lo,F ; 1-5
1049 menu_gassetup_list1: 1049 menu_gassetup_list1:
1050 rrcf EEDATA ; roll flags into carry 1050 rrcf EEDATA ; roll flags into carry
1051 decfsz lo,F ; max. 5 times... 1051 decfsz lo,F ; max. 5 times...
1052 bra menu_gassetup_list1 1052 bra menu_gassetup_list1
1053 movlw color_white 1053
1054 btfss STATUS,C ; test carry 1054 btfss STATUS,C ; test carry
1055 bra menu_gassetup_list1_grey
1056
1057 GETCUSTOM8 d'35' ;movlw color_white
1058 call PLED_set_color ; grey out inactive gases!
1059 return
1060
1061 menu_gassetup_list1_grey:
1055 movlw color_grey 1062 movlw color_grey
1056 call PLED_set_color ; grey out inactive gases! 1063 call PLED_set_color ; grey out inactive gases!
1057 return 1064 return
1058 1065
1059 gassetup_show_ppO2: 1066 gassetup_show_ppO2: