comparison code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 183:f720ce017244

Spanish special chars. + Avoid uppercase accents. + Tweak a pair of screen position.
author JeanDo
date Sun, 06 Feb 2011 19:29:43 +0100
parents 0651d5dc3f42
children caf6153b26cb
comparison
equal deleted inserted replaced
182:adadccc367a6 183:f720ce017244
505 call PLED_standard_color 505 call PLED_standard_color
506 return 506 return
507 507
508 PLED_simulator_data: 508 PLED_simulator_data:
509 WIN_TOP .65 509 WIN_TOP .65
510 WIN_LEFT .105 510 WIN_LEFT .112 ; +7 for spanish.
511 WIN_FONT FT_SMALL 511 WIN_FONT FT_SMALL
512 call PLED_standard_color 512 call PLED_standard_color
513 lfsr FSR2,letter 513 lfsr FSR2,letter
514 movff logbook_temp1,lo 514 movff logbook_temp1,lo
515 bsf leftbind 515 bsf leftbind
751 WIN_INVERT .1 ; Init new Wordprocessor 751 WIN_INVERT .1 ; Init new Wordprocessor
752 DISPLAYTEXT .98 ; Setup Menu: 752 DISPLAYTEXT .98 ; Setup Menu:
753 WIN_INVERT .0 ; Init new Wordprocessor 753 WIN_INVERT .0 ; Init new Wordprocessor
754 DISPLAYTEXT .99 ; Custom FunctionsI 754 DISPLAYTEXT .99 ; Custom FunctionsI
755 DISPLAYTEXT .153 ; Custom FunctionsII 755 DISPLAYTEXT .153 ; Custom FunctionsII
756 DISPLAYTEXTH .276 ; Salinity: 756 DISPLAYTEXTH .276 ; Salinity:
757 DISPLAYTEXT .100 ; Decotype: 757 DISPLAYTEXT .100 ; Decotype:
758 DISPLAYTEXT .142 ; More... 758 DISPLAYTEXT .142 ; More...
759 DISPLAYTEXT .11 ; Exit 759 DISPLAYTEXT .11 ; Exit
760 return 760 return
761 761
1420 movff rel_pressure+0,lo 1420 movff rel_pressure+0,lo
1421 call adjust_depth_with_salinity ; computes salinity setting into lo:hi [mBar] 1421 call adjust_depth_with_salinity ; computes salinity setting into lo:hi [mBar]
1422 1422
1423 movlw .039 1423 movlw .039
1424 cpfslt hi 1424 cpfslt hi
1425 bra depth_greater_99_84mtr 1425 bra depth_greater_99_84mtr
1426 1426
1427 btfsc depth_greater_100m ; Was depth>100m during last call 1427 btfsc depth_greater_100m ; Was depth>100m during last call
1428 call PLED_clear_depth ; Yes, clear depth area 1428 call PLED_clear_depth ; Yes, clear depth area
1429 bcf depth_greater_100m ; Do this once only... 1429 bcf depth_greater_100m ; Do this once only...
1430 1430