Mercurial > public > hwos_code
comparison src/logbook.asm @ 275:653a3ab08062
rename into hwOS
author | heinrichsweikamp |
---|---|
date | Thu, 07 May 2015 13:11:14 +0200 |
parents | ad62dff7739a |
children | e4cb495aed3d |
comparison
equal
deleted
inserted
replaced
274:9347893b74ce | 275:653a3ab08062 |
---|---|
11 | 11 |
12 ;============================================================================= | 12 ;============================================================================= |
13 ; Temp data, local to this module, moved to ACCES0 area. | 13 ; Temp data, local to this module, moved to ACCES0 area. |
14 ; | 14 ; |
15 | 15 |
16 #include "ostc3.inc" ; Mandatory header | 16 #include "hwos.inc" ; Mandatory header |
17 #include "tft.inc" | 17 #include "tft.inc" |
18 #include "external_flash.inc" | 18 #include "external_flash.inc" |
19 #include "math.inc" | 19 #include "math.inc" |
20 #include "strings.inc" | 20 #include "strings.inc" |
21 #include "convert.inc" | 21 #include "convert.inc" |
1764 | 1764 |
1765 bra display_details_loop ; wait for something to do | 1765 bra display_details_loop ; wait for something to do |
1766 | 1766 |
1767 global logbook_preloop_tasks | 1767 global logbook_preloop_tasks |
1768 logbook_preloop_tasks: | 1768 logbook_preloop_tasks: |
1769 movlw CCP1CON_VALUE ; See ostc3.inc | 1769 movlw CCP1CON_VALUE ; See hwos.inc |
1770 movwf CCP1CON ; Power-on backlight | 1770 movwf CCP1CON ; Power-on backlight |
1771 call TFT_standard_color | 1771 call TFT_standard_color |
1772 bcf sleepmode ; clear some flags | 1772 bcf sleepmode ; clear some flags |
1773 bcf switch_right | 1773 bcf switch_right |
1774 bcf switch_left | 1774 bcf switch_left |