Mercurial > public > hwos_code
comparison src/tft.asm @ 275:653a3ab08062
rename into hwOS
author | heinrichsweikamp |
---|---|
date | Thu, 07 May 2015 13:11:14 +0200 |
parents | 31088352ee32 |
children | b2f6a4b01e64 |
comparison
equal
deleted
inserted
replaced
274:9347893b74ce | 275:653a3ab08062 |
---|---|
7 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved. | 7 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved. |
8 ;============================================================================= | 8 ;============================================================================= |
9 ; HISTORY | 9 ; HISTORY |
10 ; 2011-05-24 : [jDG] Cleanups from initial Matthias code. | 10 ; 2011-05-24 : [jDG] Cleanups from initial Matthias code. |
11 | 11 |
12 #include "ostc3.inc" | 12 #include "hwos.inc" |
13 #include "wait.inc" | 13 #include "wait.inc" |
14 #include "varargs.inc" | 14 #include "varargs.inc" |
15 #include "external_flash.inc" | 15 #include "external_flash.inc" |
16 #include "tft_outputs.inc" | 16 #include "tft_outputs.inc" |
17 #include "eeprom_rs232.inc" | 17 #include "eeprom_rs232.inc" |
392 ; [draw splash screen] | 392 ; [draw splash screen] |
393 ; call TFT_DisplayFadeIn | 393 ; call TFT_DisplayFadeIn |
394 ; | 394 ; |
395 global TFT_Display_FadeIn | 395 global TFT_Display_FadeIn |
396 TFT_Display_FadeIn: | 396 TFT_Display_FadeIn: |
397 movlw CCP1CON_VALUE ; See ostc3.inc | 397 movlw CCP1CON_VALUE ; See hwos.inc |
398 movwf CCP1CON | 398 movwf CCP1CON |
399 bsf tft_is_dimming ; TFT is dimming, ignore ambient sensor! | 399 bsf tft_is_dimming ; TFT is dimming, ignore ambient sensor! |
400 clrf CCPR1L ; Backlight off - to be sure | 400 clrf CCPR1L ; Backlight off - to be sure |
401 movff max_CCPR1L,PRODL | 401 movff max_CCPR1L,PRODL |
402 TFT_Display_FadeIn_0: | 402 TFT_Display_FadeIn_0: |