comparison code_part1/OSTC_code_asm_part1/definitions.asm @ 124:4f9f477bb452

Rewrite display of decoplan: * Common stuff - fix clearing bottom of list, for fleecker-free updates. - fix "Wait..." topline_box while computing deco in planning - fix 'No Deco" std color and mark last page. - Allow stops up to 240' * ZHL-16c model: - 6 lines max (sim or dive) - Print exceed stops as "add: ddd'" * GF model - 6 lines in divemode, 8 in planning. - any suitable number of pages. - "more..." when not the last page displayed. - fix displaying special depth for last stop (CF#29). - fix 0-time stops: just skip display. - fix end of list when reached the deepest stop. - fix no need to buffer decoplan twice.
author JeanDo
date Sat, 01 Jan 2011 01:57:50 +0100
parents 6a94f96e9cea
children 2907b42c195b
comparison
equal deleted inserted replaced
123:6a94f96e9cea 124:4f9f477bb452
85 win_height ; String (and font) height 85 win_height ; String (and font) height
86 win_leftx2 86 win_leftx2
87 win_width ; String width (more than 255 for aa_wordprocessor !) 87 win_width ; String width (more than 255 for aa_wordprocessor !)
88 win_font 88 win_font
89 win_invert 89 win_invert
90 ENDC
91
92 ; the following is used by the C-code up to 0x0E0!!
93 CBLOCK 0x0E0 ;Bank 0
94 gf_decolist_copy:.32
95 ENDC 90 ENDC
96 91
97 CBLOCK 0x100 ;Bank 1 92 CBLOCK 0x100 ;Bank 1
98 wreg_temp ;variables used for context saving during ISR 93 wreg_temp ;variables used for context saving during ISR
99 status_temp 94 status_temp
265 profile_temp:2 ; temp variable for profile view 260 profile_temp:2 ; temp variable for profile view
266 profile_temp2:2 ; temp variable for profile view 261 profile_temp2:2 ; temp variable for profile view
267 262
268 nofly_time:2 ; No Fly time in Minutes (Calculated after Dive) 263 nofly_time:2 ; No Fly time in Minutes (Calculated after Dive)
269 264
270 deco_status ; =0 if decompression calculation done
271
272 cf_checker_counter ; counts custom functions to check for warning symbol 265 cf_checker_counter ; counts custom functions to check for warning symbol
273 266
274 char_I_O2_ratio ; 02 ratio 267 char_I_O2_ratio ; 02 ratio
275 268
276 active_gas ; Holds number of active gas 269 active_gas ; Holds number of active gas
293 customfunction_temp1 ; start of custom function descriptors 286 customfunction_temp1 ; start of custom function descriptors
294 customfunction_temp2 ; used in GETCUSTOM8 and GETCUSTOM15 287 customfunction_temp2 ; used in GETCUSTOM8 and GETCUSTOM15
295 288
296 switch_timeout ; used for hold-down count function 289 switch_timeout ; used for hold-down count function
297 290
298 temp5 ; used in PLED_MultiGF,... 291 decoplan_page ; used in PLED_MultiGF,...
299 temp6 ; used in PLED_MultiGF,... 292 temp10 ; used in customview
300 temp7 ; used in PLED_MultiGF,...
301 temp8 ; used in PLED_MultiGF,...
302 temp9 ; used in PLED_MultiGF,...
303 temp10 ; used in PLED_MultiGF,...
304 293
305 fatal_error_code ; holds error code value 294 fatal_error_code ; holds error code value
306 295
307 logbook_temp1 ; Temp used in logbook display&Divemode&Gassetup 296 logbook_temp1 ; Temp used in logbook display&Divemode&Gassetup
308 logbook_temp2 ; Temp used in logbook display&Divemode&Gassetup 297 logbook_temp2 ; Temp used in logbook display&Divemode&Gassetup
332 CBLOCK 0x24E ;Bank 2 321 CBLOCK 0x24E ;Bank 2
333 char_O_GF_low_pointer; // 0x24E 322 char_O_GF_low_pointer; // 0x24E
334 char_O_actual_pointer; // 0x24F 323 char_O_actual_pointer; // 0x24F
335 ENDC 324 ENDC
336 CBLOCK 0x250 ;Bank 2 325 CBLOCK 0x250 ;Bank 2
337 char_IO_deco_table:.32; // 0x250 326 char_O_deco_table:.32; // 0x250
338 ENDC 327 ENDC
339 CBLOCK 0x270 ;Bank 2 328 CBLOCK 0x270 ;Bank 2
340 char_I_table_deco_done:.32; // 0x270 329 char_I_table_deco_done:.32; // 0x270
341 ENDC 330 ENDC
342 CBLOCK 0x290 ;Bank 2 331 CBLOCK 0x290 ;Bank 2