Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/menu_custom.asm @ 83:3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
author | heinrichsweikamp |
---|---|
date | Tue, 07 Dec 2010 22:36:19 +0100 |
parents | 69c462400279 |
children | 0f4c175ef824 |
comparison
equal
deleted
inserted
replaced
82:bc3092c41335 | 83:3e351e25f5d1 |
---|---|
224 call read_eeprom ; Highbyte | 224 call read_eeprom ; Highbyte |
225 movff EEDATA,hi | 225 movff EEDATA,hi |
226 | 226 |
227 #ifdef NO_CF_TYPES | 227 #ifdef NO_CF_TYPES |
228 movlw binary_cf1 | 228 movlw binary_cf1 |
229 subwf apnoe_mins,W ; Binary cf? | 229 subwf apnoe_mins,W ; Binary cf? |
230 bz menu_custom_functions10c ; Yes | 230 bz menu_custom_functions10c ; Yes |
231 | 231 |
232 movlw binary_cf2 | 232 movlw binary_cf2 |
233 subwf apnoe_mins,W ; Binary cf? | 233 subwf apnoe_mins,W ; Binary cf? |
234 bz menu_custom_functions10c ; Yes | 234 bz menu_custom_functions10c ; Yes |
235 | 235 |
236 movlw binary_cf3 | 236 movlw binary_cf3 |
237 subwf apnoe_mins,W ; Binary cf? | 237 subwf apnoe_mins,W ; Binary cf? |
238 bz menu_custom_functions10c ; Yes | 238 bz menu_custom_functions10c ; Yes |
239 | 239 |
240 movlw binary_cf4 | 240 movlw binary_cf4 |
241 subwf apnoe_mins,W ; Binary cf? | 241 subwf apnoe_mins,W ; Binary cf? |
242 bz menu_custom_functions10c ; Yes | 242 bz menu_custom_functions10c ; Yes |
243 | 243 |
244 movlw binary_cf5 | 244 movlw binary_cf5 |
245 subwf apnoe_mins,W ; Binary cf? | 245 subwf apnoe_mins,W ; Binary cf? |
246 bz menu_custom_functions10c ; Yes | 246 bz menu_custom_functions10c ; Yes |
247 | 247 |
248 movlw binary_cf6 | 248 movlw binary_cf6 |
249 subwf apnoe_mins,W ; Binary cf? | 249 subwf apnoe_mins,W ; Binary cf? |
250 bz menu_custom_functions10c ; Yes | 250 bz menu_custom_functions10c ; Yes |
251 | 251 |
252 bra menu_custom_functions10a ; Not a binary CF... | 252 bra menu_custom_functions10a ; Not a binary CF... |
253 #else | 253 #else |
254 movf hi,W ; Is it a ON/OFF flag ? | 254 movf hi,W ; Is it a ON/OFF flag ? |
255 xorlw CF_BOOL | 255 xorlw CF_BOOL |
256 bnz menu_custom_functions10a ; Not a binary CF selected | 256 bnz menu_custom_functions10a ; Not a binary CF selected |