comparison code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 63:fee7c62b4de1

1.71beta - clock in divemode (CF39)
author heinrichsweikamp
date Wed, 29 Sep 2010 15:25:53 +0200
parents 2972a06b0785
children e8756eba54ee
comparison
equal deleted inserted replaced
62:2972a06b0785 63:fee7c62b4de1
553 movwf POSTINC2 553 movwf POSTINC2
554 decfsz temp1,F 554 decfsz temp1,F
555 bra PLED_display_clear_common2 555 bra PLED_display_clear_common2
556 call word_processor 556 call word_processor
557 WIN_FONT FT_SMALL 557 WIN_FONT FT_SMALL
558 return
559
560 PLED_diveclock:
561 GETCUSTOM8 d'39' ; =1: Show clock in Divemode
562 movwf lo
563 movlw d'1'
564 cpfseq lo ; =1?
565 return ; No, Done.
566
567 btfsc menubit ; is the Dive mode menu displayed?
568 return ; Yes
569
570 WIN_TOP .2
571 WIN_LEFT .64
572 WIN_FONT FT_SMALL
573 WIN_INVERT .0 ; Init new Wordprocessor
574 call PLED_standard_color
575 lfsr FSR2,letter
576 movff hours,lo
577 output_99x
578 movlw ':'
579 movwf POSTINC2
580 movff mins,lo
581 output_99x
582 call word_processor
558 return 583 return
559 584
560 PLED_clock: 585 PLED_clock:
561 ostc_debug 'c' 586 ostc_debug 'c'
562 587