comparison src/surfmode.asm @ 275:653a3ab08062

rename into hwOS
author heinrichsweikamp
date Thu, 07 May 2015 13:11:14 +0200
parents 5b4ef0b9090d
children 5c6da9fa5cb0
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-08-07 : [mH] moving from OSTC code 10 ; 2011-08-07 : [mH] moving from OSTC code
11 11
12 #include "ostc3.inc" ; Mandatory header 12 #include "hwos.inc" ; Mandatory header
13 #include "shared_definitions.h" ; Mailbox from/to p2_deco.c 13 #include "shared_definitions.h" ; Mailbox from/to p2_deco.c
14 #include "start.inc" 14 #include "start.inc"
15 #include "tft.inc" 15 #include "tft.inc"
16 #include "tft_outputs.inc" 16 #include "tft_outputs.inc"
17 #include "isr.inc" 17 #include "isr.inc"
65 extern color_image 65 extern color_image
66 call color_image ; Show logo 66 call color_image ; Show logo
67 67
68 WIN_TOP .100 68 WIN_TOP .100
69 WIN_LEFT .34 69 WIN_LEFT .34
70 extern ostc3_logo_block 70 extern ostc_logo_block
71 movlw LOW(ostc3_logo_block) 71 movlw LOW(ostc_logo_block)
72 movwf TBLPTRL 72 movwf TBLPTRL
73 movlw HIGH ostc3_logo_block;&0xFFFF 73 movlw HIGH ostc_logo_block;&0xFFFF
74 movwf TBLPTRH 74 movwf TBLPTRH
75 movlw UPPER(ostc3_logo_block) 75 movlw UPPER(ostc_logo_block)
76 movwf TBLPTRU 76 movwf TBLPTRU
77 call color_image 77 call color_image
78 call TFT_Display_FadeIn ; Show splash 78 call TFT_Display_FadeIn ; Show splash
79 call TFT_serial ; Show serial and firmware version 79 call TFT_serial ; Show serial and firmware version
80 80
127 call TFT_standard_color 127 call TFT_standard_color
128 128
129 ; Logo 129 ; Logo
130 WIN_TOP .0 130 WIN_TOP .0
131 WIN_LEFT .70 131 WIN_LEFT .70
132 movlw LOW(ostc3_logo_block) 132 movlw LOW(ostc_logo_block)
133 movwf TBLPTRL 133 movwf TBLPTRL
134 movlw HIGH ostc3_logo_block;&0xFFFF 134 movlw HIGH ostc_logo_block;&0xFFFF
135 movwf TBLPTRH 135 movwf TBLPTRH
136 movlw UPPER(ostc3_logo_block) 136 movlw UPPER(ostc_logo_block)
137 movwf TBLPTRU 137 movwf TBLPTRU
138 call color_image 138 call color_image
139 139
140 call TFT_clock ; display time 140 call TFT_clock ; display time
141 call update_surfloop60 141 call update_surfloop60