# Unit system

Description
Uses
Classes, Interfaces, Objects and Records
Functions and Procedures
Types
Constants
Variables

## Description

Include->`System` - Base Types & Structures.

## Overview

### Types

`cardinal = 0..$FFFFFFFF;`
`hresult = cardinal;`
`dword = cardinal;`
`integer = longint;`
`pchar = ˆchar;`
`uInt8 = BYTE;`
`uInt16 = WORD;`
`uInt32 = DWORD;`
`uInt64 = QWORD;`
`sInt8 = shortint;`
`sInt16 = smallint;`
`sInt32 = integer;`
`sInt64 = longint;`
`Float = Single;`
`PuByte = ˆByte;`
`PuInt8 = PuByte;`
`PuInt16 = ˆuInt16;`
`PuInt32 = ˆuInt32;`
`PuInt64 = ˆuInt64;`
`PsInt8 = ˆsInt8;`
`PsInt16 = ˆsInt16;`
`PsInt32 = ˆsInt32;`
`PsInt64 = ˆsInt64;`
`PFloat = ˆFloat;`
`PDouble = ˆDouble;`
`Void = ˆuInt32;`
`HWND = uint32;`
`UBit1 = 0..(1 shl 01) - 1;`
`UBit2 = 0..(1 shl 02) - 1;`
`UBit3 = 0..(1 shl 03) - 1;`
`UBit4 = 0..(1 shl 04) - 1;`
`UBit5 = 0..(1 shl 05) - 1;`
`UBit6 = 0..(1 shl 06) - 1;`
`UBit7 = 0..(1 shl 07) - 1;`
`UBit9 = 0..(1 shl 09) - 1;`
`UBit10 = 0..(1 shl 10) - 1;`
`UBit11 = 0..(1 shl 11) - 1;`
`UBit12 = 0..(1 shl 12) - 1;`
`UBit13 = 0..(1 shl 13) - 1;`
`UBit14 = 0..(1 shl 14) - 1;`
`UBit15 = 0..(1 shl 15) - 1;`
`UBit16 = 0..(1 shl 16) - 1;`
`UBit17 = 0..(1 shl 17) - 1;`
`UBit18 = 0..(1 shl 18) - 1;`
`UBit19 = 0..(1 shl 19) - 1;`
`UBit20 = 0..(1 shl 20) - 1;`
`UBit21 = 0..(1 shl 21) - 1;`
`UBit22 = 0..(1 shl 22) - 1;`
`UBit23 = 0..(1 shl 23) - 1;`
`UBit24 = 0..(1 shl 24) - 1;`
`UBit25 = 0..(1 shl 25) - 1;`
`UBit26 = 0..(1 shl 26) - 1;`
`UBit27 = 0..(1 shl 27) - 1;`
`UBit28 = 0..(1 shl 28) - 1;`
`UBit30 = 0..(1 shl 30) - 1;`
`UBit31 = 0..(1 shl 31) - 1;`
`TBitMask = bitpacked record b0,b1,b2,b3,b4,b5,b6,b7 : Boolean; end;`
`PBitMask = ˆTBitMask;`
`TMask = bitpacked array[0..7] of Boolean;`
`PMask = ˆTMask;`
`TRGB565 = bitpacked record B : UBit5; G : UBit6; R : UBit5 end;`
`PRGB565 = ˆTRGB565;`
`TRGB565Pair = bitpacked record Background : TRGB565; Foreground : TRGB565; end;`
`PRGB565Pair = ˆTRGB565Pair;`

### Constants

`KERNEL_VIRTUAL_BASE = $C0000000;`
`KERNEL_PAGE_NUMBER = KERNEL_VIRTUAL_BASE SHR 22;`
`BSOD_ENABLE = true;`
`TRACER_ENABLE = true;`
`CONSOLE_SLOW_REDRAW = false;`

## Description

### Types

`cardinal = 0..$FFFFFFFF;`
Redraws the Window manager after every character, but slows performance. internal types

`hresult = cardinal;`

`dword = cardinal;`

`integer = longint;`

`pchar = ˆchar;`

`uInt8 = BYTE;`
Standard Types

`uInt16 = WORD;`

`uInt32 = DWORD;`

`uInt64 = QWORD;`

`sInt8 = shortint;`

`sInt16 = smallint;`

`sInt32 = integer;`

`sInt64 = longint;`

`Float = Single;`

`PuByte = ˆByte;`
Pointer Types

`PuInt8 = PuByte;`

`PuInt16 = ˆuInt16;`

`PuInt32 = ˆuInt32;`

`PuInt64 = ˆuInt64;`

`PsInt8 = ˆsInt8;`

`PsInt16 = ˆsInt16;`

`PsInt32 = ˆsInt32;`

`PsInt64 = ˆsInt64;`

`PFloat = ˆFloat;`

`PDouble = ˆDouble;`

`Void = ˆuInt32;`

`HWND = uint32;`

`UBit1 = 0..(1 shl 01) - 1;`
Alternate Types

`UBit2 = 0..(1 shl 02) - 1;`

`UBit3 = 0..(1 shl 03) - 1;`

`UBit4 = 0..(1 shl 04) - 1;`

`UBit5 = 0..(1 shl 05) - 1;`

`UBit6 = 0..(1 shl 06) - 1;`

`UBit7 = 0..(1 shl 07) - 1;`

`UBit9 = 0..(1 shl 09) - 1;`

`UBit10 = 0..(1 shl 10) - 1;`

`UBit11 = 0..(1 shl 11) - 1;`

`UBit12 = 0..(1 shl 12) - 1;`

`UBit13 = 0..(1 shl 13) - 1;`

`UBit14 = 0..(1 shl 14) - 1;`

`UBit15 = 0..(1 shl 15) - 1;`

`UBit16 = 0..(1 shl 16) - 1;`

`UBit17 = 0..(1 shl 17) - 1;`

`UBit18 = 0..(1 shl 18) - 1;`

`UBit19 = 0..(1 shl 19) - 1;`

`UBit20 = 0..(1 shl 20) - 1;`

`UBit21 = 0..(1 shl 21) - 1;`

`UBit22 = 0..(1 shl 22) - 1;`

`UBit23 = 0..(1 shl 23) - 1;`

`UBit24 = 0..(1 shl 24) - 1;`

`UBit25 = 0..(1 shl 25) - 1;`

`UBit26 = 0..(1 shl 26) - 1;`

`UBit27 = 0..(1 shl 27) - 1;`

`UBit28 = 0..(1 shl 28) - 1;`

`UBit30 = 0..(1 shl 30) - 1;`

`UBit31 = 0..(1 shl 31) - 1;`

`TBitMask = bitpacked record b0,b1,b2,b3,b4,b5,b6,b7 : Boolean; end;`

`PBitMask = ˆTBitMask;`

`TMask = bitpacked array[0..7] of Boolean;`

`PMask = ˆTMask;`

`TRGB565 = bitpacked record B : UBit5; G : UBit6; R : UBit5 end;`

`PRGB565 = ˆTRGB565;`

`TRGB565Pair = bitpacked record Background : TRGB565; Foreground : TRGB565; end;`

`PRGB565Pair = ˆTRGB565Pair;`

### Constants

`KERNEL_VIRTUAL_BASE = $C0000000;`

`KERNEL_PAGE_NUMBER = KERNEL_VIRTUAL_BASE SHR 22;`

`BSOD_ENABLE = true;`

`TRACER_ENABLE = true;`

`CONSOLE_SLOW_REDRAW = false;`

## Authors

- Kieron Morris <kjm@kieronmorris.me>
- Aaron Hance <ah@aaronhance.me>

Generated by PasDoc 0.15.0.