Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/start.asm @ 142:8b75ba28d641
Screen-flipping custom function.
- Fix bank safe addressings.
author | JeanDo |
---|---|
date | Fri, 07 Jan 2011 03:01:02 +0100 |
parents | e6aa4a74c3c2 |
children | 17de42ab02b6 |
comparison
equal
deleted
inserted
replaced
141:622da16b768f | 142:8b75ba28d641 |
---|---|
131 bcf LED_red | 131 bcf LED_red |
132 bcf LED_blue ; all LEDs off | 132 bcf LED_blue ; all LEDs off |
133 GETCUSTOM8 d'48' ; time correction value | 133 GETCUSTOM8 d'48' ; time correction value |
134 movff WREG, time_correction_value ; store in Bank0 register | 134 movff WREG, time_correction_value ; store in Bank0 register |
135 | 135 |
136 GETCUSTOM8 d'63' ; OLED flip_screen flag(s). | |
137 movff WREG,win_flags ; store in Bank0 register | |
138 | |
136 clrf flag1 ; clear all flags | 139 clrf flag1 ; clear all flags |
137 clrf flag2 | 140 clrf flag2 |
138 clrf flag3 | 141 clrf flag3 |
139 clrf flag4 | 142 clrf flag4 |
140 clrf flag5 | 143 clrf flag5 |
146 clrf flag11 | 149 clrf flag11 |
147 clrf flag12 | 150 clrf flag12 |
148 clrf flag13 | 151 clrf flag13 |
149 clrf flag14 | 152 clrf flag14 |
150 clrf flag15 | 153 clrf flag15 |
151 call gassetup_sort_gaslist ; Sorts Gaslist according to change depth | 154 call gassetup_sort_gaslist ; Sorts Gaslist according to change depth |
152 call PLED_boot ; PLED boot (Incl. Clear Screen!) | 155 call PLED_boot ; PLED boot (Incl. Clear Screen!) |
153 WIN_TOP .0 | 156 WIN_TOP .0 |
154 WIN_LEFT .0 | 157 WIN_LEFT .0 |
155 WIN_FONT FT_SMALL | 158 WIN_FONT FT_SMALL |
156 WIN_INVERT .0 ; Init new Wordprocessor | 159 WIN_INVERT .0 ; Init new Wordprocessor |
157 setf WREG | 160 setf WREG |