comparison code_part1/OSTC_code_asm_part1/start.asm @ 167:cb055a7d75f3

+ Use overlay local vars. + Make all private functions static. + Merge calc_tissue 2sec and 1min + Merge sim_tissue 1min and 10min + Expose basic display utilities for c-code. + Prepare stand-alone utilities for p2_main.c testing platform. + New c utility: int read_custom_function(cf#)
author JeanDo
date Mon, 24 Jan 2011 23:31:57 +0100
parents 144822282fa3
children e26f49674956
comparison
equal deleted inserted replaced
166:80de93d72a17 167:cb055a7d75f3
147 clrf flag12 147 clrf flag12
148 clrf flag13 148 clrf flag13
149 clrf flag14 149 clrf flag14
150 clrf flag15 150 clrf flag15
151 151
152 bsf flag1,0 152 bsf flag1,0 ; Should we set win_flip_screen ?
153 clrf EEADRH ; Reset EEADRH 153 clrf EEADRH ; Reset EEADRH
154 read_int_eeprom d'1' 154 read_int_eeprom d'1'
155 movlw .7 155 movlw .7
156 cpfsgt EEDATA ; >2048? 156 cpfsgt EEDATA ; >2048?
157 bcf flag1,0 157 bcf flag1,0
158 movff flag1,win_flags ; store in Bank0 register 158 movff flag1,win_flags ; store in Bank0 register
159 clrf flag1 ; Clear flag1 (again) 159 clrf flag1 ; Clear flag1 (again)
160 movlw .0 160 movlw .0
161 cpfsgt EEDATA ; >256 161 cpfsgt EEDATA ; >256
162 bsf nsm ; For hardware debugging 162 bsf nsm ; NO-SLEEP-MODE : for hardware debugging
163 163
164 call gassetup_sort_gaslist ; Sorts Gaslist according to change depth 164 call gassetup_sort_gaslist ; Sorts Gaslist according to change depth
165 call PLED_boot ; PLED boot (Incl. Clear Screen!) 165 call PLED_boot ; PLED boot (Incl. Clear Screen!)
166 WIN_TOP .0 166 WIN_TOP .0
167 WIN_LEFT .0 167 WIN_LEFT .0