Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
R
 rand
 Read3C0
 Read3C2
 Read3C4
 Read3C6
 Read3CE
 Read3D4
 ReadKey
 ReadKeyboard
 ReadPageTableEntry32Hole
 realloc
 Release, MCObject
 ReleaseMemoryLocks
 RemoveInterface, MCQueryUtility
 RemoveMemoryReference32
 RequestAddress32
 RequestGDT32Entry
 RequestMemory32
 Retain, MCObject
 routealloc
 RouteAlloc
 routefind
 RouteFind
 RunATITest
 RunInterrupt
S
 Schedule
 Scheduler_Common
 Scheduler_Launchuser
 SetCPUBits
 SetIDTEntry32
 SetIDTEntry32Public
 SetInterruptEntry
 SetInterruptVector
 SetPageDirEntry32Hole
 SetPageEntry
 SetPageTableEntry32Hole
 setredirectbits
 SetRedirectBits
 SetTaskRegisters
 sin
 sinf
 sinl
 srand
 strcat
 strchr
 strcmp
 strcoll
 strcpy
 strcspn
 strlen
 strncat
 strncmp
 strncpy
 strnput
 strpbrk
 strrchr
 strspn
 strstr
 strtok
 strtol
 strtoll
 strtoul
 strtoull
 strxfrm
 SwitchGDT32
 SwitchIDT32
int rand(void)
Returns a random number between 0 and RAND_MAX
Function Read3C0 Cdecl Alias "Read3C0" (ByVal index As Byte) As Unsigned Byte
Reads an value from the indexed VGA register 3C0 (Attribute Control Register)
Function Read3C2 Cdecl Alias "Read3C2" () As Unsigned Byte
Reads the value from VGA register 3C2 (Miscellaneous Output Register)
Function Read3C4 Cdecl Alias "Read3C4" (ByVal index As Byte) As Unsigned Byte
Reads an value from the indexed VGA register 3C4 (Sequencer Register)
Function Read3C6 Cdecl Alias "Read3C6" As Unsigned Byte
Reads the value from VGA register 3C6 (DAC Mask)
Function Read3CE Cdecl Alias "Read3CE" (ByVal index As Byte) As Unsigned Byte
Reads an value from the indexed VGA register 3CE (Graphics Controller Register)
Function Read3D4 Cdecl Alias "Read3D4" (ByVal index As Byte) As Unsigned Byte
Reads an value from the indexed VGA register 3D4 (CRTC Register)
Function ReadKey() As Byte
Waits for a keypress, then returns the associated character.
Function ReadKeyboard() As Unsigned Byte
reads a keypress from the kbc and adjusts the state accordingly
Sets a page table entry if allowed.
void * realloc(void *ptr,
size_t size)
Attempts to resize the allocated block of memory given in ptr.
Declare Sub Release()
Release ownership of an object
Releases memory locks as given by findmemory and relatives
Declare Sub RemoveInterface(ByVal interface As Integer)
Removes an interface from the exposed list
Decrements the reference count to a memory location.
Requests ownership of one location in the physical address space
Requests ownership of one specified GDT entry
Requests ownership of one memory location
Declare Sub Retain()
Claim (co-)ownership of an object
Publicate a named port
Requests a name to be bound to a port
Find a port given its name
Requests to find a gate
Public Sub RunATITest (vram As Byte Ptr,
lfb As Byte Ptr,
aperture As Long Ptr,
portbase As Long)
Runs the ATI Mach64 Test suite
Function RunInterrupt(ax as integer,
cx as integer,
bx as integer) As Byte
Calls a VBE interrupt
Causes execution to be suspended and the next thread to be readied.
this function will browse through the scheduler list and pick a new task to run.
return stub that gets us into userland
loads CR0/CR4 with the appropriate bits
Points an IDT entry to a given function
Points an IDT entry to a given function, and allow it to be called from userland
sets and IDT entry
sets the vector for interrupt handling
Sets a page directory entry if allowed.
Loads a page table with a given entry
Sets a page table entry if allowed.
Set bits in the Interrupt Redirection Bitmap
Sets redirection bits in the Interrupt Redirection Bitmap
set GPRs for a given task
double sin(double x)
computes and returns the sine of x (using a taylor expansion)
float sinf(float x)
computes and returns the sine of x (using a taylor expansion)
long double sinl(long double x)
computes and returns the sine of x (using a taylor expansion)
void srand(unsigned int seed)
Sets the new seed to be used by rand
char * strcat(char * _PDCLIB_restrict s1,
const char * _PDCLIB_restrict s2)
Appends the null terminated string s2 to the end of s1
char * strchr(const char *s,
int c)
Finds the first occurance of the character c in the null-terminated string s
int strcmp(const char *s1,
const char *s2)
Compares s1 to s2
int strcoll(const char *s1,
const char *s2)
Compares s1 to s2
char * strcpy(char * _PDCLIB_restrict s1,
const char * _PDCLIB_restrict s2)
Copies the null terminated string s2 to s1
size_t strcspn(const char *s1,
const char *s2)
Tests characters in s1 for an occurance in s2 until a match is found
size_t strlen(const char *s)
Calculates the length of s
char * strncat(char * _PDCLIB_restrict s1,
const char * _PDCLIB_restrict s2,
size_t n)
Appends up to n characters from the null terminated string s2 to the end of s1.
int strncmp(const char *s1,
const char *s2,
size_t n)
Compares at most n bytes of s1 to s2
char * strncpy(char * _PDCLIB_restrict s1,
const char * _PDCLIB_restrict s2,
size_t n)
Copies the null terminated string s2 to s1, up to n characters The remaining space, if any, is filled with zeroes
static int strnput(char *out,
const char *in,
size_t max)
safe write returning written length as neither strncpy nor strncat can do this efficiently A null terminator will always be placed.
char * strpbrk(const char *s1,
const char *s2)
Finds the first character in s1 that occurs in s2
char * strrchr(const char *s,
int c)
Finds the last character in s that matches c
size_t strspn(const char *s1,
const char *s2)
Tests characters in s1 for an occurance in s2 until no match is found
char * strstr(const char *s1,
const char *s2)
Finds the first occurance of s1 in s2
char * strtok(char * _PDCLIB_restrict s1,
const char * _PDCLIB_restrict s2)
Split s1 on each and any character in s2 Supply NULL to continue searching the previous string.
long int strtol(const char *s,
char **endptr,
int base)
Converts a string in s to an long.
long long int strtoll(const char *s,
char **endptr,
int base)
Converts a string in s to an long long.
unsigned long int strtoul(const char *s,
char **endptr,
int base)
Converts a string in s to an unsigned long.
unsigned long long int strtoull(const char *s,
char **endptr,
int base)
Converts a string in s to an unsigned long long.
size_t strxfrm(char * _PDCLIB_restrict s1,
const char * _PDCLIB_restrict s2,
size_t n)
Copies the null terminated string s2 to s1, if s2 is not more than n bytes long
Switches to the 32 bit GDT
Switches to the 32 bit IDT