Timex M851 Watch User Manual


 
M851 WristApp Design Guide Rev 1.2
Timex Corporation 13
022H COREAPPTYPESYNCHROTIMER
023H COREAPPTYPECOUNTER
040H COREAPPTYPECONTACT
050H COREAPPTYPETASK
060H COREAPPTYPENOTES
070H COREAPPTYPESCHEDULE
080H COREAPPTYPETIDE
090H COREAPPTYPEDEMO
0A0H COREAPPTYPEGAME
0E0H COREAPPTYPEALARM
0E1H COREAPPTYPEAPPOINTMENT
0E2H COREAPPTYPEOCCASION
Application types above index 0xDF are considered to be applications that is dependent upon the primary
time zone settings. This will allow the background handler of these application to be called with the event
COREEVENT_PRIMARY_TIME_CHANGE whenever the primary time zone data changes.
NOTE: The instance number may be different than the value specified in this parameter table if
downloaded through a PIM.
4.3.7 Address Control Block
The kernel uses these parameters to locate the start address of both data and code used during application
execution. With the data in the Application Offset Mask, the kernel will convert the offset parameters into
absolute memory addresses.
Word (16-bit) Description
0 System Data Address/Offset
1 Database Data Address/Offset
2 State Manager Address/Offset
3 Resource Handler Address/Offset
4 Application Banner Name Address/Offset
The WristApp build script provides equates to plug into offset 2 and 3 of the Address Control Block. So
use the following below:
Word (16-bit) Description
0 System Data Address/Offset
1 Database Data Address/Offset
2
CODESTATEADDRESS
3
CODECOMMONADDRESS
4 Application Banner Name Address/Offset
NOTE: The string data array referenced by the Application Banner Name must follow the Application
Banner Message Format.
4.3.8 Sample Application Parameter Template
The following is a sample application parameter template for a WristApp.
;============================================================
; ACB offset mask.
;============================================================