comparison src/tft_outputs.asm @ 275:653a3ab08062

rename into hwOS
author heinrichsweikamp
date Thu, 07 May 2015 13:11:14 +0200
parents e2fd372a917a
children 5ad479f2a868
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 "tft.inc" 14 #include "tft.inc"
15 #include "wait.inc" 15 #include "wait.inc"
16 #include "strings.inc" 16 #include "strings.inc"
17 #include "convert.inc" 17 #include "convert.inc"
2453 bcf leftbind 2453 bcf leftbind
2454 STRCAT_PRINT "" ; Show seconds in small font 2454 STRCAT_PRINT "" ; Show seconds in small font
2455 return 2455 return
2456 2456
2457 ;============================================================================= 2457 ;=============================================================================
2458 ; Writes ostc3 #Serial and Firmware version in splash screen 2458 ; Writes ostc #Serial and Firmware version in splash screen
2459 ; 2459 ;
2460 global TFT_serial 2460 global TFT_serial
2461 TFT_serial: 2461 TFT_serial:
2462 WIN_TINY .5,.225 2462 WIN_TINY .5,.225
2463 STRCPY "OSTC" ; Won't translate that... 2463 STRCPY "OSTC" ; Won't translate that...
2552 call TFT_set_color 2552 call TFT_set_color
2553 bsf win_invert ; Set invert flag 2553 bsf win_invert ; Set invert flag
2554 return 2554 return
2555 2555
2556 ;----------------------------------------------------------------------------- 2556 ;-----------------------------------------------------------------------------
2557 ; For the Information menu: append serial number ostc3#42. 2557 ; For the Information menu: append serial number
2558 global info_menu_serial 2558 global info_menu_serial
2559 extern tSerial 2559 extern tSerial
2560 info_menu_serial: 2560 info_menu_serial:
2561 lfsr FSR1,tSerial 2561 lfsr FSR1,tSerial
2562 call strcat_text 2562 call strcat_text