Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/definitions.asm @ 316:48685a69735e
Merge with @5 escape TTS
author | JeanDo |
---|---|
date | Wed, 04 May 2011 10:46:16 +0200 |
parents | b7e4e74c0e17 |
children | 08a3f503e93e |
comparison
equal
deleted
inserted
replaced
311:91371c7553f5 | 316:48685a69735e |
---|---|
385 | 385 |
386 ; Bank0 flags | 386 ; Bank0 flags |
387 #DEFINE win_flip_screen win_flags,0 ; 180° rotation of the OLED screen. | 387 #DEFINE win_flip_screen win_flags,0 ; 180° rotation of the OLED screen. |
388 | 388 |
389 ; Flags | 389 ; Flags |
390 #DEFINE FLAG_scale flag1,0 ; Wordprocessor | 390 #DEFINE tts_extra_time flag1,0 ; unused |
391 #DEFINE FLAG_truncated flag1,1 ; Wordprocessor | 391 #DEFINE FLAG_2 flag1,1 ; unused |
392 #DEFINE pre_zero_flag flag1,2 ; leading zeros | 392 #DEFINE pre_zero_flag flag1,2 ; leading zeros |
393 #DEFINE neg_flag flag1,3 ; e.g. Sub_16 (sub_c = sub_a - sub_b) | 393 #DEFINE neg_flag flag1,3 ; e.g. Sub_16 (sub_c = sub_a - sub_b) |
394 #DEFINE FLAG_row_prime flag1,4 ; Wordproceesor | 394 #DEFINE FLAG_3 flag1,4 ; unused |
395 #DEFINE leading_zeros flag1,5 ; display leading zeros? | 395 #DEFINE leading_zeros flag1,5 ; display leading zeros? |
396 #DEFINE show_last3 flag1,6 ; show only three figures | 396 #DEFINE show_last3 flag1,6 ; show only three figures |
397 #DEFINE leftbind flag1,7 ; leftbinded output | 397 #DEFINE leftbind flag1,7 ; leftbinded output |
398 | 398 |
399 #DEFINE onesecupdate flag2,0 ;=1 after any second | 399 #DEFINE onesecupdate flag2,0 ;=1 after any second |
425 #DEFINE second_FD flag4,7 ; 2nd 0xFD in EEPROM found | 425 #DEFINE second_FD flag4,7 ; 2nd 0xFD in EEPROM found |
426 #DEFINE second_FA flag4,7 ; 2nd 0xFA in EEPROM found | 426 #DEFINE second_FA flag4,7 ; 2nd 0xFA in EEPROM found |
427 | 427 |
428 #DEfINE eeprom_overflow flag5,0 ; EEPROM overflowed (>32KB) | 428 #DEfINE eeprom_overflow flag5,0 ; EEPROM overflowed (>32KB) |
429 #DEFINE eeprom_blockwrite flag5,1 ; EEPROM blockwrite active | 429 #DEFINE eeprom_blockwrite flag5,1 ; EEPROM blockwrite active |
430 #DEFINE neg_flag_xdT flag5,2 ; xdT negative (2nd order temperature calculation) | 430 #DEFINE Flag_4 flag5,2 ; unused |
431 #DEFINE low_battery_state flag5,3 ;=1 if battery low | 431 #DEFINE low_battery_state flag5,3 ;=1 if battery low |
432 #DEFINE DP_done flag5,4 ; valconv | 432 #DEFINE DP_done flag5,4 ; valconv |
433 #DEFINE DP_done2 flag5,5 ; valconv | 433 #DEFINE DP_done2 flag5,5 ; valconv |
434 #DEFINE pressure_refresh flag5,6 ; Pressure and temperature refreshed | 434 #DEFINE pressure_refresh flag5,6 ; Pressure and temperature refreshed |
435 #DEFINE no_sensor_int flag5,7 ; block any further access to pressure sensor | 435 #DEFINE no_sensor_int flag5,7 ; block any further access to pressure sensor |
511 #DEFINE is_bailout flag14,2 ;=1: CC mode, but bailout active! | 511 #DEFINE is_bailout flag14,2 ;=1: CC mode, but bailout active! |
512 #DEFINE standalone_simulator flag14,3 ;=1: Standalone Simulator active | 512 #DEFINE standalone_simulator flag14,3 ;=1: Standalone Simulator active |
513 #DEFINE display_set_simulator flag14,4 ;=1: Show Divemode simulator menu | 513 #DEFINE display_set_simulator flag14,4 ;=1: Show Divemode simulator menu |
514 #DEFINE displaytext_high flag14,5 ;=1: Show/Use Texts 255-511 in Texttable | 514 #DEFINE displaytext_high flag14,5 ;=1: Show/Use Texts 255-511 in Texttable |
515 #DEFINE better_gas_available flag14,6 ;=1: A better gas is available and a gas change is advised in divemode | 515 #DEFINE better_gas_available flag14,6 ;=1: A better gas is available and a gas change is advised in divemode |
516 #DEFINE displaytext_invert flag14,7 ;=1: inverts word prozessor output | 516 #DEFINE Flag_5 flag14,7 ;=1: unused |
517 | 517 |
518 #DEFINE restore_deco_data flag15,0 ;=1: Restore Decodata after the dive from 0x380 buffer | 518 #DEFINE restore_deco_data flag15,0 ;=1: Restore Decodata after the dive from 0x380 buffer |
519 #DEFINE uart_store_tissue_data flag15,1 ;=1: Store tissue data for next simualted dive! | 519 #DEFINE uart_store_tissue_data flag15,1 ;=1: Store tissue data for next simualted dive! |
520 #DEFINE reset_average_depth flag15,2 ;=1: Average Depth will be resetted | 520 #DEFINE reset_average_depth flag15,2 ;=1: Average Depth will be resetted |
521 #DEFINE blinking_better_gas flag15,3 ;=1: Gas is currently blinking | 521 #DEFINE blinking_better_gas flag15,3 ;=1: Gas is currently blinking |