Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/pled_outputs.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 | 31fa973a70fd |
children | 0f4c175ef824 |
comparison
equal
deleted
inserted
replaced
82:bc3092c41335 | 83:3e351e25f5d1 |
---|---|
1974 movff WREG,box_temp+2 ; row bottom (0-239) | 1974 movff WREG,box_temp+2 ; row bottom (0-239) |
1975 movlw .2 | 1975 movlw .2 |
1976 movff WREG,box_temp+3 ; column left (0-159) | 1976 movff WREG,box_temp+3 ; column left (0-159) |
1977 movff wait_temp,box_temp+4 ; column right (0-159) | 1977 movff wait_temp,box_temp+4 ; column right (0-159) |
1978 call PLED_box | 1978 call PLED_box |
1979 | |
1980 ; Then clear use EMPTY part of the battery | |
1981 clrf box_temp+0 ; Black background | |
1982 movff wait_temp,box_temp+3; Last filled column | |
1983 incf box_temp+3, BANKED ; +1 -> first cleared one. | |
1984 movlw .31 ; end of battery | |
1985 movwf box_temp+4 | |
1986 call PLED_box | |
1987 | 1979 |
1988 call PLED_standard_color | 1980 call PLED_standard_color |
1989 return | 1981 return |
1990 | 1982 |
1991 update_batt_voltage2_empty: | 1983 update_batt_voltage2_empty: |