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
C
 c
_Exitabortabsallocpagesassertatexitatoiatolatollatomaxbackbufferblitbsearchbuf_allocbuf_enterbuf_exitbuf_freebuf_injectbuf_readbuf_writebuildtreebus_bind_reqbus_unbind_reqcalloccb_alloccb_entercb_exitcb_freecb_parkcb_systemceilceilfceillchannel_closechannel_event_completeclampraddclampradfclampradlclearerrclonetreecloseallcomproxycopyframebuffercopylinearoffsetcoscosfcosldac18bufferdecode_fs_providerdecode_gfxdeletemapdequeuedevmgmt_ackdigitsdispatchdivdma_constraints_freedrivercomelf-testendian_swapenqueueenumerate_ackerrnoerroreventeventstaticexecexitfatfb_RtExit()will be called from static/ libfb_ctorfb_RtInit()will be called from static/ libfb_ctorfclosefeofferrorfflushfgetcfgetposfgetsfilemodefillbufferfillbuffer_bgr15fillbuffer_bgr16fillbuffer_bgr24fillbuffer_i8fillbuffer_rgb16fillbuffer_rgb24final_cleanup_ackfloorfloorffloorlfmodfold_bbfold_cafopenfprintffputcfputsfreadfreefreebitfreenodefreopenfscanffseekfsetposftellfwritegen_copygen_freegenemitgenfreegenparsegetsgio_bind_ackgio_event_res_unusedgio_unbind_ackgio_xfer_ackgio_xfer_nakglbeginglbindbufferglblitextglclearglclearcolorglcolorfglcullfacegldisableglenableglendglgetstringglloadidentityglmaxtrixmodeglrotatedglrotatefglscaledglscalefglscissorgltexcoordfglteximage2dgltexsubimage2dgltranslatedgltranslatefglvertexglvertexfglviewportglxbeginglxbindbufferglxclearglxclearcolorglxcolor3fglxcolor4fglxcullfaceglxdisableglxenableglxendglxgetstringglxmatrixmodeglxreceiveglxscheduleglxscissorglxtexsubimage2dglxvertexfglxviewporthackmehosted_commhosted_eventhostfileidlemit_udidefidlemit_udihidlemit_udirxidlemit_uditxintr_attach_ack_unusedintr_detach_ack_unusedisalnumisalphaisblankiscntrlisdigitisgraphislowerisprintispunctisspaceisupperisxdigitlabsldivlibc_copylibc_freelibc_locklibc_unlocklibfb_file_putbacklibfb_file_putback_wstrlibfb_initlibfb_init_nullstringlibfb_sys_execlibfb_sys_getshorpathlibfb_time_decodeserdatelibfb_time_weeklibfb_time_weekdaynamelibfbtestlibtestllabslldivlocaleconvloglogfloglmainmallocmatch_pfbmatrixmcconvmei_callmem_allocmem_freememchrmemcmpmemcpymemmovememsetmglcontextmglgetconnectormglgetenginemglgetrangemglopenmglsetconnectormglsetenginemglswapbuffernull_freeopcode_lfbperrorpio_additempio_mappio_memiopio_transpio_unmappio_x86portprepreadprepwriteprintprintfprintnodeputsqsortrandreallocregion_enterregion_exitremoverenamerenderfnretrievemaprewindscanfseedsetbufsetlocalesetvbufsinsinfsinlsnprintfsprintfsqrtsqrtfsqrtlsrandsscanfstatic_usagestdargstdinitstrcatstrchrstrcmpstrcollstrcpystrcspnstrerrorstrlenstrncatstrncmpstrncpystrpbrkstrrchrstrspnstrstrstrtokstrtolstrtollstrtoulstrtoullstrtox_mainstrtox_prelimstrxfrmsubstfbsubstoffsett:: btantanftanltest-runtimetexturetmpnamtolowertouppertriflattrigoraudtritextrunctruncftruncludi_cmosudi_gfxudigenudimainudistuffumach_coreunfold_madungetcvdisasmvfprintfvfscanfvgacommandvgaenginevgapalettevgasocketvoodoostatvprintfvscanfvsnprintfvsprintfvsscanfwcscatwcschrwcscpywcscspnwcslenwcsncatwcsncmpwcsncpywcspbrkwcsrchrwcsspnwcsstrwcstokwmemchrwmemcmpwmemcpywmemmovewmemsetwritebuffer_bgr15writebuffer_bgr16writebuffer_bgr24writebuffer_bgra32writebuffer_i8writebuffer_rgb16writebuffer_rgb24Xdigits
 calloc
 can’t compare just the address because object or type could be declared in a DLL
 can’t tell difference if/ bin/ sh returned 127
 causes panic on Bochs due to kb overflow
 ceil
 ceilf
 ceill
 change base10 values for 80 bit float
 check against limits
 Check all settings for sanity
 check CTS if CS option set and start timer
 check destroyed regs
 check errors
 Check for invalid flag combinations
 check if some idiot put an PCI IDE card in a machine with an onboard ISA IDE controller
 Check open file list,flush and close file if open
 Check what happens when fflush(NULL)encounters write errors,in other libs
 Check what happens when ungetc()is called on a stream at offset 0
 check where the new bits go
 Check whether the stored state is consistent
 CheckDisabledApic
 CheckpointAP
 CheckpointBSP
 clean up
 Clean-up on TIMEOUT
 ClearPageTableEntry32Hole
 ClearScreen
 CLOCK_CNTL, Mach64_regs
 CLOCK_CNTL_ADDR, Mach64_regs
 CLOCK_CNTL_DATA, Mach64_regs
 command ID is a dword,not a byte,and is going to change
 Common tools
 COMMPORT
 Compiler workaround
 ComputeApicFrequency
 ComputeProcessorUnion
 concatenate fail to end if necessary
 ConnectorReturnBooleanRange
 ConnectorReturnConstantRange
 ConnectorReturnSimpleRange
 Constants
 Control transfers
 copy existing handles
 copy_op, mos_buf_impl_t
 cos
 cosf
 cosl
 count
 cpu_divtest
 CR0_NE does not exist on a 386
 create a thread rather than bruteforce starting things
 create something sensible here
 CreateAddressSpace
 CreateInitialTDS
 CreateThread
 createthreadremote
 CreateThreadRemote
 CreateV8086Thread
 createvtask
 Credits
 CRTC_EN, Mach64_crtc_gen_cntl
 CRTC_EXT_DISP_EN, Mach64_crtc_gen_cntl
 CRTC_GEN_CNTL, Mach64_regs
 CRTC_H_SYNC_STRT_WID, Mach64_regs
 CRTC_H_TOTAL_DISP, Mach64_regs
 CRTC_OFF_PITCH, Mach64_regs
 CRTC_V_SYNC_STRT_WID, Mach64_regs
 CRTC_V_TOTAL_DISP, Mach64_regs
 CRTC_VLINE_CRNT_VLINE, Mach64_regs
 CRTCsettings
 cyrices(and possibly others)do not support cr4
 Cyrix detection
The libc implementation
The libc implementation
The libc implementation
pdclib interface to the kernel’s memory management functions
A helper file to libc
The libc implementation
The libc implementation
The libc implementation
The libc implementation
A helper file to libc
Defines the rasterizer output
Blitting extension
The libc implementation
Create a new empty buffer object
Inject a new buffer inline into the environment
Write out a buffer
Free a logical buffer
Insert parts into a buffer object
Read from a logical buffer
Write to a logical buffer
Builds a tree from an opcode map
connect to a bus
disconnect from a bus
The libc implementation
Allocating a control block
Inject a new cb into the environment
Control blocks that leave the environment
Freeing a control block
Manage control blocks during a request
Backend-specific part of a control block
Libc implementation of ceil
Libc implementation of ceilf
Libc implementation of ceill
Close a communications channel
Respond to a general event
Definition of domain clipping tools
Definition of domain clipping tools
Definition of domain clipping tools
The libc implementation
Duplicate an entire tree
closes all open files
routing and proxy code for communication ports
contains the copy operator for a FramebufferData type
contains the copy operator for a LinearOffsetData type
Libc implementation of cos
Libc implementation of cosf
Libc implementation of cosl
Defines a buffer representing the 18-bit VGA DAC
Decoder for Filesystem calls
Decoder for GFX calls
Delete an opcode map
UDI dequeuing function
Respond to a driver management event
A helper file to libc
Decoding of glx opcodes and calls to the corresponding function
The libc implementation
free a dma constraints descriptor
manages the initial driver communication port
The ELF loader test module
Byte swap multiple data items
UDI enqueuing function
Respond to an enumeration event
global definition of the errno header
Defines the error variable
The main event loop
The default event handler list
Execute an IO transfer list
The libc implementation
The File Allocation Table filesystem driver
The libc implementation
The libc implementation
The libc implementation
the helper function for fflush
The libc implementation
The libc implementation
The libc implementation
Contains functions to decode the file open mode
interface for reading
Fills solid blocks in a R5G5B5 buffer
Fills solid blocks in a R5G6B5 buffer
Fills solid blocks in a B8G8R8 buffer
Fills solid blocks in a I8 buffer
Fills solid blocks in a R5G6B5 buffer
Fills solid blocks in a R8G8B8 buffer
Respond to a shutdown event
Libc implementation of floor
Libc implementation of floorf
Libc implementation of floorl
implementation of the libc fmod call
Fold bit listings over a tree
Retrieves constant and attribute data from a tree
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
Bitlist cleanup functions
Node cleanup functions
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
Generic data copy from a buffer segment by using the lock/unlock function
Generic free that just deletes a mos_buf_impl_t struct (and all extra bytes allocated with it)
contains the assembly emitter for compiled udiprops
contains the cleanup code
Parses an udiprops file to a memory structure.
The libc implementation
Acknowledging an GIO bind request
GIO proxy
Acknowledging an GIO unbind request
Acknowledging an GIO access
Returning an error on a GIO access
Implements the glBegin function
Implements the glBindBufferUDI extention function
Implements the glBlitEXT extention function
Implements the glClear function
Implements the glClearColor function
Implements the glColor function for floats
Implements the glCullFace function
Implements the glDisable function
Implements the glEnable function
Implements the glEnd function
Implements the glGetString function
implements the glLoadIdentity function
Implements the glMatrixMode function
implements the glRotated function
implements the glRotatef function
implements the glScaled function
implements the glScalef function
implements the glScissor function
Implements the glTexCoord function for floats
Implements the glTexImage2D function
Sets a subsection of a bitmap to the specified pixel data
implements the glTranslated function
implements the glTranslatef function
Implements the glVertex base functionality
Implements the glVertex functions for floats
implements the glViewport function
Wraps glBegin into a GLX stream
Wraps glBindBufferUDI into a GLX stream
Wraps glClear into a GLX stream
Wraps glClearColor into a GLX stream
Wraps glColor3f into a GLX stream
Wraps glColor4f into a GLX stream
Wraps glCullFace into a GLX stream
Wraps glDisable into a GLX stream
Wraps glEnable into a GLX stream
Wraps glEnd into a GLX stream
Wraps glGetString into a GLX stream
Wraps glMatrixMode into a GLX stream
Retrieves data from a GLX stream
Enqueues data in a GLX stream
Wraps glScissor into a GLX stream
Wraps glTexSubImage2D into a GLX stream
Wraps <glVertex>*f into a GLX stream
Wraps glViewport into a GLX stream
for noobs to dump their crap into
Communication primitives for external platforms, used to emulate the native event train.
A hosted event loop, designed to automatically stop when out of messages
File I/O with the host
IDL-to-code emitter for prototyping the standards header
IDL-to-code emitter for receiver glue
IDL-to-code emitter for message handling and UDI event injection
IDL-to-code emitter for transmitters from UDI land
proxy for interrupt management
proxy for interrupt management
implementation of the libc isalnum call
implementation of the libc isalpha call
implementation of the libc isblank call
implementation of the libc iscntrl call
implementation of the libc isdigit call
implementation of the libc isgraph call
implementation of the libc islower call
implementation of the libc isprint call
implementation of the libc ispunct call
implementation of the libc isspace call
implementation of the libc isupper call
implementation of the libc isxdigit call
The libc implementation
The libc implementation
Copy from a libc-managed buffer
Free a libc-managed buffer
Get a read pointer to a libc-managed buffer
Unlock a pointer to a libc-managed buffer
some kind of ungetc function
ungetwc-like function
libfb initialization
contains definition of strNullDesc
exec function for DOS
get short path for DOS
functions to decode a serial date number
week functions
returns the weekday name
Stub to verify libfb workings
Stub to verify libc workings
The libc implementation
The libc implementation
The libc implementation
Libc implementation of log
Libc implementation of logf
Libc implementation of logl
The C part of the SH4 kernel
The libc implementation
Matches an opcode tree against the simple packed framebuffer template
Matrix management
covers for Freebasic’s inability to convert Object pointers to blanks
convert UDI calls to native calls
Allocate memory for a virtually contiguous object
Free a memory object
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
Initialization code for the GL client
Retrieving low level connector states
Retrieving low level engine states
Retrieving low level ranges
Retrieving low level connector states
Changing low level connector states
Changing low level engine states
Wraps mglSwapBuffer into a GLX stream
Generic free that modifies nothing
Contains opcode maps for various linear framebuffer mode
The libc implementation
Add pio emitter to the list
Mapping physical IO transactions
Direct raw MMIO accesses stubs
Physical IO transfers
unmapping physical IO transactions
Port access stubs for PIO handling
object read helper
Writing helper function
the xxxprintf base funtion
The libc implementation
Recursively prints the a node to a C string
The libc implementation
The libc implementation
The libc implementation
The libc implementation
Create a new region
Dispose of a region
The libc implementation
The libc implementation
Defines current applicable render functions
Reads a driver’s opcode map
The libc implementation
The libc implementation
A helper file to libc
The libc implementation
The libc implementation
The libc implementation
Libc implementation of sinf
Libc implementation of sinf
Libc implementation of sinl
The libc implementation
The libc implementation
Libc implementation of sqrt
Libc implementation of sqrtf
Libc implementation of sqrtl
The libc implementation
The libc implementation
Respond to a driver management event
A helper file to libc
stdio scanf backend
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
A helper file to libc
A helper file to libc
The libc implementation
Folds buffer trees into a framebuffer node
Locates and substitutes framebuffer address generation patterns
Libc implementation of tan
Libc implementation of tanf
Libc implementation of tanl
small test program for ia-pc runtime testing
Initializes texture rasterizing
The libc implementation
implementation of the libc tolower call
implementation of the libc toupper call
Flat triangle rendering
Goraud shaded triangle rendering
Textured triangle rendering
Libc implementation of trunc
Libc implementation of truncf
Libc implementation of truncl
The cmos driver from the UDI sample reference.
UDIGraphics Metalanguage implementation
Generates the bootcode portion of an udi driver
Contains the interface for graphics drivers
Environment-specific functions
Mach64 graphics driver main entrypoints
Unfolds multiply-and-accumulate instructions into two opcodes, allowing simplification of other algorithms that might otherwise need special handling of the MAD opcode.
The libc implementation
A utility to disassemble Verite microcode
The libc implementation
The libc implementation
Handles VGA commands
Handles VGA Engine states
Writing functions for the VGA palette
Handles VGA Connector states
Contains the definition voodoo1 specific status of the GL implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
The libc implementation
Decodes pixel data to a B5G5R5 buffer
Decodes pixel data to a B5G6R5 buffer
Decodes pixel data to a B8G8R8 buffer
Decodes pixel data to a B8G8R8A8 buffer
Decodes pixel data to a 8-bits indexed buffer
Decodes pixel data to a R5G6B5 buffer
Decodes pixel data to a R8G8B8 buffer
definition of hexadecimal digits
void * calloc(size_t nmemb,
size_t size)
Allocates nmemb consecutive blocks of size bytes, and zeroes the memory
double ceil(double x)
gets and returns the integer value of x when rounded up.
float ceilf(float x)
gets and returns the integer value of x when rounded up.
long double ceill(long double x)
gets and returns the integer value of x when rounded up.
Checks if a software-disabled APIC is present
Synchronizes progress across CPU’s
Synchronizes progress across CPU’s
Clears a page table entry if it is mapped and not used by the kernel.
Clears the screen
8-bit register for external clock control.
8-bit register for addressing a register of the integrated clock generator (undocumented)
8-bit register for accessing a register of the integrated clock generator (undocumented)
MysticOS contains some tool components in its source that are needed to make complete builds.
typedef struct COMMPORT
Contains the read and write pointers for a shared message pipe
exists because CPtr(non-object ptr, object ptr) fails with a compile error, even though both are of pointerwidth
Compares the local APIC with the PIT timer to calculate its operating frequency
calculates qwProcessorSharedCaps by takes all processor’s capabilities, and keeping only the bits common to all processors.
Sub ConnectorReturnBooleanRange CDecl Alias "ConnectorReturnBooleanRange" (
   ByVal Source As Integer,
   ByVal Index As Integer,
   ByVal Prop as Integer,
   ByVal Value1 As Integer,
   ByVal Value2 As Integer
)
Creates and sends a range reply deescribing a property having exactly two values
Sub ConnectorReturnConstantRange CDecl Alias "ConnectorReturnConstantRange" (
   ByVal Source As Integer,
   ByVal Index As Integer,
   ByVal Prop as Integer,
   ByVal Value As Integer
)
Creates and sends a range reply which specifies only a single valid value (i.e.
Sub ConnectorReturnSimpleRange CDecl Alias "ConnectorReturnSimpleRange" (
   ByVal Source As Integer,
   ByVal Index As Integer,
   ByVal Prop as Integer,
   ByVal First as Integer,
   ByVal Last as Integer,
   ByVal Modulus As Integer
)
Creates and sends a single sized range reply
MOS is based on a message passing infrastructure, and the UDI implementation is designed to act accordingly.
void (
   *copy_op
)(struct mos_buf_impl * buf, void * dst, udi_size_t off, udi_size_t len)
a function pointer to a generic data copying function
double cos(double x)
computes and returns the cosine of x (using a taylor expansion)
float cosf(float x)
computes and returns the cosine of x (using a taylor expansion)
long double cosl(long double x)
computes and returns the cosine of x (using a taylor expansion)
udi_size_t count
the number of blocks to read
udi_size_t count
the number of blocks to read
performs an DIV test to get a processor’s signature.
kernel CreateThread
Creates a new set of paging structures
Creates the initial task description state and loads it for the current processor
Creates a new thread structure
Request memory from the kernel
Creates a new thread structure in a different address space
Creates, Allocates and starts a new thread
Create a V8086 Task
Marcel Sondaar
enables the CRTC when set, resets the CRTC when clear.
allows the programmer to switch between the VGA and native CRTC
32-bit register for general CRTC configuration.
32-bit register holding the hsync pulse settings
32-bit register holding the horizontal counter settings
32-bit register holding the screen offset and virtual width
32-bit register holding the vsync pulse settings
32-bit register holding the vertical counter settings
32-bit register holding the current vertical counter and reference counter.
contains the settings for the VGA signal used to send display data to the monitor attached.
so do no write it when we don’t need it