-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathTDL_GLOB.PAS
72 lines (57 loc) · 1.64 KB
/
TDL_GLOB.PAS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
unit tdl_glob;
{
Contains global constants and type definitions.
}
interface
uses
support;
const
maxTitles=maxbufsize div sizeof(word);
maxCacheableTitles=maxbufsize div sizeof(longint);
TDLtitleFull='The Total DOS Launcher, v. 20240402';
TDLtitle='The Total DOS Launcher';
(*TDLstatus='F1=Help~³~'#24'/'#25'/PgUp/PgDn/Home/End = Navigate~³~Enter = START~³~ESC=exit~³~';*)
TDLstatus='F1=Help~³~'#24'/'#25'/PgUp/PgDn/Home/End = Navigate~³~Enter = LAUNCH~³~ESC = exit~³~';
jumpLabel='Jump by letter: ';
numAboutLines=9;
AboutText:array[0..numAboutLines-1] of pChar=(
'',
' Project originator: Jim Leonard',
' ',
' We owe a debt of gratitude to:',
' Randy Hyde (swapping tech)',
' Duncan Murdoch (stream tricks)',
' Norbert Juffa (system library optimization)',
' Bob Ainsbury (interface primitives)',
''
);
{metadata bitflag icon indicators}
favicon=#03; {heart}
favIconCol:byte=$0f;
unpicon=#18;
unpIconCol:byte=$0f;
immediateExit:boolean=false;
type
PTitleArray=^TTitleArray;
TTitleArray=array[0..maxTitles] of word;
PTitleOffsets=^TTitleOffsets;
TTitleOffsets=array[0..maxCacheableTitles-1] of longint;
baseftype=string[12];
cmdlinetype=string[127-sizeof(baseftype)];
titleStrType=string[132]; {Max screenmode we'll support is 132x60}
handlertype=(extraction,execution);
userlevels=(kiosk,regular,power);
MD5hash=array[0..15] of byte;
PFileStruct=^TFileStruct;
TFileStruct=record
ID:word;
name:array[0..12-1] of char;
end;
PTitleStruct=^TTitleStruct;
TTitleStruct=record
ID:word;
Hash:MD5hash;
title:titleStrType;
end;
implementation
end.