3
This file is part of the Free Pascal run time library.
4
Copyright (c) 1999-2000 by Florian Klaempfl
5
member of the Free Pascal development team
7
See the file COPYING.FPC, included in this distribution,
8
for details about the copyright.
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14
**********************************************************************}
24
{Platform specific information}
28
DirectorySeparator = '/';
31
FileNameCaseSensitive = false;
32
CtrlZMarksEOF: boolean = false; (* #26 not considered as end of file *)
33
maxExitCode = 255; {$ERROR TODO: CONFIRM THIS}
37
{ type and constant declartions doesn't hurt }
38
LongInt = $80000000..$7fffffff;
39
Integer = -32768..32767;
49
{ The Cardinal data type isn't currently implemented for the m68k }
53
{ Zero - terminated strings }
58
TProcedure = Procedure;
61
{ max. values for longint and int }
62
MaxLongint = High(LongInt);
63
MaxInt = High(Integer);
65
{ Must be determined at startup for both }
69
{ Palm specific data types }
75
{ this variables are passed to PilotMain by the PalmOS }
82
{ mimic the C start code }
83
function PilotMain(_cmd : Word;_cmdPBP : Ptr;_launchFlags : Word) : DWord;cdecl;public;
88
launchFlags:=_launchFlags;
95
{*****************************************************************************
96
System Dependent Exit code
97
*****************************************************************************}
98
Procedure system_exit;
102
function GetProcessID: SizeUInt;
107
function CheckInitialStkLen(stklen : SizeUInt) : SizeUInt;
113
StackLength := CheckInitialStkLen (InitialStkLen);