1 The CRT unit.
1.1 Types, Variables, Constants
1.2 Procedures and Functions
AssignCrt
CursorBig
ClrEol
ClrScr
CursorOff
CursorOn
Delay
DelLine
GotoXY
HighVideo
InsLine
KeyPressed
LowVideo
NormVideo
NoSound
ReadKey
Sound
TextBackground
TextColor
TextMode
WhereX
WhereY
Window
2 The DOS unit.
2.1 Types, Variables, Constants
Constants
Types
Variables
2.2 Function list by category
File handling
Directory and disk handling
Process handling
System information
2.3 Functions and Procedures
AddDisk
DiskFree
DiskSize
DosExitCode
DosVersion
EnvCount
EnvStr
Exec
FExpand
FindClose
FindFirst
FindNext
FSearch
FSplit
GetCBreak
GetDate
GetEnv
GetFAttr
GetFTime
GetIntVec
GetLongName
GetShortName
GetTime
GetVerify
Intr
Keep
MSDos
PackTime
SetCBreak
SetDate
SetFAttr
SetFTime
SetIntVec
SetTime
SetVerify
SwapVectors
UnPackTime
3 The DXELOAD unit
3.1 Introduction
3.2 Constants, types and variables
Constants
Types
3.3 Functions and Procedures
dxe____load
4 The EMU387 unit
4.1 Functions and procedures
npxsetup
5 The GETOPTS unit.
5.1 Types, Constants and variables :
Constants
Types
Variables
5.2 Procedures and functions
GetLongOpts
Getopt
6 The GPM unit
6.1 Introduction
6.2 Constants, types and variables
constants
Types
Variables
6.3 Functions and procedures
Gpm____AnyDouble
Gpm____AnySingle
Gpm____AnyTriple
Gpm____Close
Gpm____FitValues
Gpm____FitValuesM
Gpm____GetEvent
Gpm____GetLibVersion
Gpm____GetServerVersion
Gpm____GetSnapshot
Gpm____LowerRoi
Gpm____Open
Gpm____PopRoi
Gpm____PushRoi
Gpm____RaiseRoi
Gpm____Repeat
Gpm____StrictDouble
Gpm____StrictSingle
Gpm____StrictTriple
7 The GO32 unit
7.1 Introduction
7.2 Protected mode memory organization
What is DPMI
Selectors and descriptors
FPC specialities
dos memory access
I/O port access
Processor access
Interrupt redirection
Handling interrupts with DPMI
Protected mode interrupts vs. Real mode interrupts
Creating own interrupt handlers
Disabling interrupts
Hardware interrupts
Software interrupts
Real mode callbacks
7.3 Types, Variables and Constants
Constants
Predefined types
Variables.
7.4 Functions and Procedures
allocate____ldt____descriptors
allocate____memory____block
copyfromdos
copytodos
create____code____segment____alias____descriptor
disable
dosmemfillchar
dosmemfillword
dosmemget
dosmemmove
dosmemput
enable
free____ldt____descriptor
free____memory____block
free____rm____callback
get____cs
get____descriptor____access____rights
get____ds
get____linear____addr
get____meminfo
get____next____selector____increment____value
get____page____size
get____pm____interrupt
get____rm____callback
get____rm____interrupt
get____run____mode
get____segment____base____address
get____segment____limit
get____ss
global____dos____alloc
global____dos____free
inportb
inportl
inportw
lock____code
lock____data
lock____linear____region
outportb
outportl
outportw
realintr
seg____fillchar
seg____fillword
segment____to____descriptor
seg____move
set____descriptor____access____rights
set____pm____interrupt
set____rm____interrupt
set____segment____base____address
set____segment____limit
tb____size
transfer____buffer
unlock____code
unlock____data
unlock____linear____region
8 The GRAPH unit.
8.1 Introduction
Requirements
A word about mode selection
8.2 Constants, Types and Variables
Types
8.3 Function list by category
Initialization
screen management
Color management
Drawing primitives
Filled drawings
Text and font handling
8.4 Functions and procedures
Arc
Bar
Bar3D
Circle
ClearDevice
ClearViewPort
CloseGraph
DetectGraph
DrawPoly
Ellipse
FillEllipse
FillPoly
FloodFill
GetArcCoords
GetAspectRatio
GetBkColor
GetColor
GetDefaultPalette
GetDriverName
GetFillPattern
GetFillSettings
GetGraphMode
GetImage
GetLineSettings
GetMaxColor
GetMaxMode
GetMaxX
GetMaxY
GetModeName
GetModeRange
GetPalette
GetPaletteSize
GetPixel
GetTextSettings
GetViewSettings
GetX
GetY
GraphDefaults
GraphErrorMsg
GraphResult
ImageSize
InitGraph
InstallUserDriver
InstallUserFont
Line
LineRel
LineTo
MoveRel
MoveTo
OutText
OutTextXY
PieSlice
PutImage
PutPixel
Rectangle
RegisterBGIDriver
RegisterBGIFont
RestoreCRTMode
Sector
SetActivePage
SetAllPallette
SetAspectRatio
SetBkColor
SetColor
SetFillPattern
SetFillStyle
SetGraphBufSize
SetGraphMode
SetLineStyle
SetPalette
SetRGBPalette
SetTextJustify
SetTextStyle
SetUserCharSize
SetViewPort
SetVisualPage
SetWriteMode
TextHeight
TextWidth
8.5 Target specific issues
dos
Windows
linux
9 The HEAPTRC unit.
9.1 Purpose
9.2 Usage
9.3 Constants, Types and variables
9.4 Functions and procedures
DumpHeap
MarkHeap
SetExtraInfo
SetHeapTraceOutput
10 The IPC unit.
10.1 Types, Constants and variables :
Variables
Constants
Types
10.2 Functions and procedures
ftok
msgget
msgsnd
msgrcv
msgctl
semget
semop
semctl
shmget
shmat
shmdt
shmctl
11 The KEYBOARD unit
11.1 Constants, Type and variables
Constants
Types
11.2 Functions and Procedures
DoneKeyboard
FunctionKeyName
GetKeyboardDriver
GetKeyEvent
GetKeyEventChar
GetKeyEventCode
GetKeyEventFlags
GetKeyEventShiftState
GetKeyEventUniCode
InitKeyBoard
IsFunctionKey
KeyEventToString
PollKeyEvent
PollShiftStateEvent
PutKeyEvent
SetKeyboardDriver
ShiftStateToString
TranslateKeyEvent
TranslateKeyEventUniCode
11.3 Keyboard scan codes
11.4 Writing a keyboard driver
12 The LINUX unit.
12.1 Type, Variable and Constant declarations
Types
Variables
Constants
12.2 Function list by category
File Input/Output routines
General File handling routines
Pipes, FIFOs and streams
Directory handling routines
Process handling
Signals
System information
Terminal functions
Port input/output
Utility routines
12.3 Functions and procedures
Access
Alarm
AssignPipe
AssignStream
BaseName
CFMakeRaw
CFSetISpeed
CFSetOSpeed
Chown
Chmod
Clone
CloseDir
CreateShellArgV
DirName
Dup
Dup2
EpochToLocal
Execl
Execle
Execlp
Execv
Execve
Execvp
FD____ZERO
FD____Clr
FD____IsSet
FD____Set
fdClose
fdFlush
fdOpen
fdRead
fdSeek
fdTruncate
fdWrite
FExpand
FLock
FNMatch
FSearch
FSplit
FSStat
FStat
Fcntl
Fcntl
Fork
FRename
GetDate
GetDateTime
GetDomainName
GetEGid
GetEUid
GetEnv
GetEpochTime
GetFS
GetGid
GetHostName
GetLocalTimezone
GetPid
GetPPid
GetPriority
GetTime
GetTimeOfDay
GetTimeOfDay
GetTimezoneFile
GetUid
Glob
GlobFree
IOCtl
IOperm
IsATTY
S____ISBLK
S____ISCHR
S____ISDIR
S____ISFIFO
S____ISLNK
S____ISREG
S____ISSOCK
Kill
LStat
Link
LocalToEpoch
MkFifo
MMap
MUnMap
NanoSleep
Nice
Octal
OpenDir
pause
PClose
POpen
ReadDir
ReadLink
ReadPort
ReadPortB
ReadPortL
ReadPortW
ReadTimezoneFile
SeekDir
Select
SelectText
SetPriority
Shell
SigAction
SigPending
SigProcMask
SigRaise
SigSuspend
Signal
StringToPPchar
SymLink
SysInfo
TCDrain
TCFlow
TCFlush
TCGetAttr
TCGetPGrp
TCSendBreak
TCSetAttr
TCSetPGrp
TTYName
TellDir
Umask
Uname
UnLink
Utime
WaitPid
WritePort
WritePortB
WritePortL
WritePortW
13 The MATH unit
13.1 Constants and types
13.2 Function list by category
Min/max determination
Angle conversion
Trigoniometric functions
Hyperbolic functions
Exponential and logarithmic functions
Number converting
Statistical functions
Geometrical functions
13.3 Functions and Procedures
arccos
arcosh
arcsin
arctan2
arsinh
artanh
ceil
cosh
cotan
cycletorad
degtograd
degtorad
floor
frexp
gradtodeg
gradtorad
hypot
intpower
ldexp
lnxp1
log10
log2
logn
max
maxIntValue
maxvalue
mean
meanandstddev
min
minIntValue
minvalue
momentskewkurtosis
norm
popnstddev
popnvariance
power
radtocycle
radtodeg
radtograd
randg
sincos
sinh
stddev
sum
sumofsquares
sumsandsquares
tan
tanh
totalvariance
variance
14 The MMX unit
14.1 Variables, Types and constants
14.2 Functions and Procedures
Emms
15 The MOUSE unit
15.1 Constants, Types and Variables
Constants
Types
Variables
15.2 Functions and procedures
DetectMouse
DoneMouse
GetMouseButtons
GetMouseDriver
GetMouseEvent
GetMouseX
GetMouseY
HideMouse
InitMouse
PollMouseEvent
PutMouseEvent
SetMouseDriver
SetMouseXY
ShowMouse
15.3 Writing a custom mouse driver
16 The MsMouse unit
16.1 Constants, types and variables
16.2 Functions and procedures
GetLastButtonPress
GetLastButtonRelease
GetMouseState
HideMouse
InitMouse
LPressed
MPressed
RPressed
SetMouseAscii
SetMouseHideWindow
SetMousePos
SetMouseShape
SetMouseSpeed
SetMouseWindow
SetMouseXRange
SetMouseYRange
ShowMouse
17 The Objects unit.
17.1 Constants
17.2 Types
17.3 Procedures and Functions
NewStr
DisposeStr
Abstract
RegisterObjects
RegisterType
LongMul
LongDiv
17.4 TRect
TRect.Empty
TRect.Equals
TRect.Contains
TRect.Copy
TRect.Union
TRect.Intersect
TRect.Move
TRect.Grow
TRect.Assign
17.5 TObject
TObject.Init
TObject.Free
TObject.Done
17.6 TStream
TStream.Get
TStream.StrRead
TStream.GetPos
TStream.GetSize
TStream.ReadStr
TStream.Open
TStream.Close
TStream.Reset
TStream.Flush
TStream.Truncate
TStream.Put
TStream.StrWrite
TStream.WriteStr
TStream.Seek
TStream.Error
TStream.Read
TStream.Write
TStream.CopyFrom
17.7 TDosStream
TDosStream.Init
TDosStream.Done
TDosStream.Close
TDosStream.Truncate
TDosStream.Seek
TDosStream.Open
TDosStream.Read
TDosStream.Write
17.8 TBufStream
TBufStream.Init
TBufStream.Done
TBufStream.Close
TBufStream.Flush
TBufStream.Truncate
TBufStream.Seek
TBufStream.Open
TBufStream.Read
TBufStream.Write
17.9 TMemoryStream
TMemoryStream.Init
TMemoryStream.Done
TMemoryStream.Truncate
TMemoryStream.Read
TMemoryStream.Write
17.10 TCollection
TCollection.Init
TCollection.Load
TCollection.Done
TCollection.At
TCollection.IndexOf
TCollection.GetItem
TCollection.LastThat
TCollection.FirstThat
TCollection.Pack
TCollection.FreeAll
TCollection.DeleteAll
TCollection.Free
TCollection.Insert
TCollection.Delete
TCollection.AtFree
TCollection.FreeItem
TCollection.AtDelete
TCollection.ForEach
TCollection.SetLimit
TCollection.Error
TCollection.AtPut
TCollection.AtInsert
TCollection.Store
TCollection.PutItem
17.11 TSortedCollection
TSortedCollection.Init
TSortedCollection.Load
TSortedCollection.KeyOf
TSortedCollection.IndexOf
TSortedCollection.Compare
TSortedCollection.Search
TSortedCollection.Insert
TSortedCollection.Store
17.12 TStringCollection
TStringCollection.GetItem
TStringCollection.Compare
TStringCollection.FreeItem
TStringCollection.PutItem
17.13 TStrCollection
TStrCollection.GetItem
TStrCollection.Compare
TStrCollection.FreeItem
TStrCollection.PutItem
17.14 TUnSortedStrCollection
TUnSortedStrCollection.Insert
17.15 TResourceCollection
TResourceCollection.KeyOf
TResourceCollection.GetItem
TResourceCollection.FreeItem
TResourceCollection.PutItem
17.16 TResourceFile
TResourceFile Fields
TResourceFile.Init
TResourceFile.Done
TResourceFile.Count
TResourceFile.KeyAt
TResourceFile.Get
TResourceFile.SwitchTo
TResourceFile.Flush
TResourceFile.Delete
TResourceFile.Put
17.17 TStringList
TStringList.Load
TStringList.Done
TStringList.Get
17.18 TStrListMaker
TStrListMaker.Init
TStrListMaker.Done
TStrListMaker.Put
TStrListMaker.Store
18 The PORTS unit
18.1 Introduction
18.2 Types,constants and variables
Types
variables
19 The PRINTER unit.
19.1 Types, Constants and variables :
19.2 Procedures and functions
AssignLst
20 The SOCKETS unit.
20.1 Types, Constants and variables :
20.2 Functions and Procedures
Accept
Accept
Accept
Accept
Bind
Bind
Connect
Connect
Connect
Connect
GetPeerName
GetSocketName
GetSocketOptions
Listen
Recv
Send
SetSocketOptions
Shutdown
Sock2File
Sock2Text
Socket
SocketPair
Str2UnixSockAddr
21 The STRINGS unit.
21.1 Functions and procedures.
StrAlloc
StrCat
StrComp
StrCopy
StrDispose
StrECopy
StrEnd
StrIComp
StrLCat
StrLComp
StrLCopy
StrLen
StrLIComp
StrLower
StrMove
StrNew
StrPas
StrPCopy
StrPos
StrRScan
StrScan
StrUpper
22 The SYSUTILS unit.
22.1 Constants and types
22.2 Function list by category
String functions
Formatting strings
File input/output routines
File handling routines
Date/time routines
22.3 Miscellaneous conversion routines
22.4 Date and time functions
Date and time formatting characters
TDateTime
Date
DateTimeToFileDate
DateTimeToStr
DateTimeToString
DateTimeToSystemTime
DateTimeToTimeStamp
DateToStr
DayOfWeek
DecodeDate
DecodeTime
EncodeDate
EncodeTime
FileDateToDateTime
FormatDateTime
IncMonth
IsLeapYear
MSecsToTimeStamp
Now
StrToDate
StrToDateTime
StrToTime
SystemTimeToDateTime
Time
TimeStampToDateTime
TimeStampToMSecs
TimeToStr
22.5 Disk functions
AddDisk (Linux only)
CreateDir
DiskFree
DiskSize
GetCurrentDir
RemoveDir
SetCurrentDir
22.6 File handling functions
ChangeFileExt
DeleteFile
DoDirSeparators
ExpandFileName
ExpandUNCFileName
ExtractFileDir
ExtractFileDrive
ExtractFileExt
ExtractFileName
ExtractFilePath
ExtractRelativePath
FileAge
FileClose
FileCreate
FileExists
FileGetAttr
FileGetDate
FileOpen
FileRead
FileSearch
FileSeek
FileSetAttr (Not on Linux)
FileSetDate (Not on Linux)
FileTruncate
FileWrite
FindClose
FindFirst
FindNext
GetDirs
RenameFile
SetDirSeparators
22.7 PChar functions
Introduction
StrAlloc
StrBufSize
StrDispose
StrPCopy
StrPLCopy
StrPas
22.8 String handling functions
AdjustLineBreaks
AnsiCompareStr
AnsiCompareText
AnsiExtractQuotedStr
AnsiLastChar
AnsiLowerCase
AnsiQuotedStr
AnsiStrComp
AnsiStrIComp
AnsiStrLastChar
AnsiStrLComp
AnsiStrLIComp
AnsiStrLower
AnsiStrUpper
AnsiUpperCase
AppendStr
AssignStr
BCDToInt
CompareMem
CompareStr
CompareText
DisposeStr
FloatToStr
FloatToStrF
FloatToText
FmtStr
Format
FormatBuf
FormatFloat
IntToHex
IntToStr
IsValidIdent
LastDelimiter
LeftStr
LoadStr
LowerCase
NewStr
QuotedStr
RightStr
StrFmt
StrLFmt
StrToFloat
StrToInt
StrToIntDef
TextToFloat
Trim
TrimLeft
TrimRight
UpperCase
23 The TYPINFO unit
23.1 Constants, Types and variables
Constants
types
23.2 Function list by category
Examining published property information
Getting or setting property values
Auxiliary functions
23.3 Functions and Procedures
FindPropInfo
GetEnumName
GetEnumProp
GetEnumValue
GetFloatProp
GetInt64Prop
GetMethodProp
GetObjectProp
GetObjectPropClass
GetOrdProp
GetPropInfo
GetPropInfos
GetPropList
GetPropValue
GetSetProp
GetStrProp
GetTypeData
GetVariantProp
IsPublishedProp
IsStoredProp
PropIsType
PropType
SetEnumProp
SetFloatProp
SetInt64Prop
SetMethodProp
SetObjectProp
SetOrdProp
SetPropValue
SetSetProp
SetStrProp
SetToString
SetVariantProp
StringToSet
24 The VIDEO unit
24.1 Constants, Type and variables
Constants
Types
Variables
24.2 Functions and Procedures
ClearScreen
DefaultErrorHandler
DoneVideo
GetCapabilities
GetCursorType
GetLockScreenCount
GetVideoDriver
GetVideoMode
GetVideoModeCount
GetVideoModeData
InitVideo
LockScreenUpdate
SetCursorPos
SetCursorType
SetVideoDriver
SetVideoMode
UnlockScreenUpdate
UpdateScreen
24.3 Writing a custom video driver