Docsity
Docsity

Prepara tus exámenes
Prepara tus exámenes

Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity


Consigue puntos base para descargar
Consigue puntos base para descargar

Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium


Orientación Universidad
Orientación Universidad


Free Pascal document (units), Apuntes de Introducción a la Informática

Asignatura: Fonaments d'informàtica, Profesor: , Carrera: Enginyeria en Electrònica Industrial i Automàtica (GEI), Universidad: UAB

Tipo: Apuntes

Antes del 2010

Subido el 30/07/2008

sergiprc
sergiprc 🇪🇸

4

(29)

494 documentos

1 / 533

Toggle sidebar

Esta página no es visible en la vista previa

¡No te pierdas las partes importantes!

bg1
Free Pascal supplied units :
Reference guide.
Reference guide for standard Free Pascal units.
Document version 1.9
June 2003
Michaël Van Canneyt
Florian Klämpfl
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Vista previa parcial del texto

¡Descarga Free Pascal document (units) y más Apuntes en PDF de Introducción a la Informática solo en Docsity!

Free Pascal supplied units :

Reference guide.

Reference guide for standard Free Pascal units.

Document version 1.

June 2003

Michaël Van Canneyt

Florian Klämpfl

  • 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
        • File attributes
      • fmXXXX
      • Other
    • 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
        • Constants returned by get_run_mode
        • Processor flags 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.10TCollection
    • 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.11TSortedCollection
    • TSortedCollection.Init
    • TSortedCollection.Load
    • TSortedCollection.KeyOf
    • TSortedCollection.IndexOf
    • TSortedCollection.Compare
    • TSortedCollection.Search
    • TSortedCollection.Insert
    • TSortedCollection.Store
  • 17.12TStringCollection
    • TStringCollection.GetItem
    • TStringCollection.Compare
    • TStringCollection.FreeItem
    • TStringCollection.PutItem
  • 17.13TStrCollection
    • TStrCollection.GetItem
    • TStrCollection.Compare
    • TStrCollection.FreeItem
    • TStrCollection.PutItem
  • 17.14TUnSortedStrCollection
    • TUnSortedStrCollection.Insert
  • 17.15TResourceCollection
    • TResourceCollection.KeyOf
    • TResourceCollection.GetItem
    • TResourceCollection.FreeItem
    • TResourceCollection.PutItem
  • 17.16TResourceFile
    • TResourceFile Fields
    • TResourceFile.Init
    • TResourceFile.Done
    • TResourceFile.Count
    • TResourceFile.KeyAt
    • TResourceFile.Get
    • TResourceFile.SwitchTo
    • TResourceFile.Flush
    • TResourceFile.Delete
    • TResourceFile.Put
  • 17.17TStringList
    • TStringList.Load
    • TStringList.Done
    • TStringList.Get