;This is the application header definition area required for all apps. SEGMENT Header ;Field: Program length DB 080h,0Fh ;Length=0 (N/A for unsigned apps) DB 00h,00h,00h,00h ;Field: Program type DB 080h,012h DB 01h,04h ;Field: App ID DB 080h,021h ;Id = 1 DB 01h ;Field: App Build DB 080h,031h ;Build = 4 DB 0A4h ;Field: App Name DB 080h,048h ;App Name = APPNAME DB AppName ;Field: App Pages DB 080h,081h ;App Pages = 1 DB 01h ;No default splash screen DB 080h,090h ;Field: Date stamp - 5/12/1999 DB 003h,026h,009h,004h,004h,06fh,01bh,080h ;Dummy encrypted TI date stamp signature DB 002h ,00dh ,040h DB 0a1h ,06bh ,099h ,0f6h ,059h ,0bch ,067h DB 0f5h ,085h ,09ch ,009h ,06ch ,00fh ,0b4h ,003h ,09bh ,0c9h DB 003h ,032h ,02ch ,0e0h ,003h ,020h ,0e3h ,02ch ,0f4h ,02dh DB 073h ,0b4h ,027h ,0c4h ,0a0h ,072h ,054h ,0b9h ,0eah ,07ch DB 03bh ,0aah ,016h ,0f6h ,077h ,083h ,07ah ,0eeh ,01ah ,0d4h DB 042h ,04ch ,06bh ,08bh ,013h ,01fh ,0bbh ,093h ,08bh ,0fch DB 019h ,01ch ,03ch ,0ech ,04dh ,0e5h ,075h ;Field: Program Image length DB 80h,7Fh DB 0,0,0,0 ;Length=0, N/A DB 0,0,0,0 ;Reserved DB 0,0,0,0 ;Reserved DB 0,0,0,0 ;Reserved DB 0,0,0,0 ;Reserved jp DoAbout DB 0,0,0,0 ;4087h header DB 96h,0E2h,00h,01h ;magic value searched for by _FindSpecialAppHeader DW SpecialAppHeaderTable SpecialAppHeaderTable: DW (SpecialAppHeaderTableEnd-SpecialAppHeaderTableStart)/(2+2) SpecialAppHeaderTableStart: ;Fill this area with the special header tables you want to include. ;They are of the following format: ; DW wTableType ; DW wTableAddress ;wTableType is one of the following: ; 0001h: this is a table of entry points you want to expose (with BCALL _RunAppLib (50ECh)). ; 0002h: this is the OpenLib(/ExecLib table. ; 0003h: this is the USB auto-launch data, as used by msd8x and EasyData. ;wTableAddress is the address of arbitrary data you want to expose; this is interpreted differently ; according to wTableType. DW 0001h DW EntryPointTable SpecialAppHeaderTableEnd: EntryPointTable: DW (EntryPointTableEnd-EntryPointTableStart)/(8+2) EntryPointTableStart: DB "SendData" DW EP_SendData DB "RecvData" DW EP_RecvData EntryPointTableEnd: EP_SendData: EP_RecvData: ret