The Source Vault Page
All sources here can be used freely in your own programs, but please be polite and give credit where credit is due.
Speaking of which, thank you Sara`, for the original idea that inspired this project.

If you are looking for precompiled utilities, libraries, or tutorials, please also check out our Projects Page

If you have any sources you want to contribute, then mail them to: X-Calibre@bigfoot.com

Test source for x86 ASM highlighting

Test source for C highlighting

Test source for 68k ASM highlighting

Win32ASM sources

The DirectDraw Win32ASM plasma example source code (8 bit palette)

The DirectDraw Win32ASM plasma example source code (32 bit truecolour)

DDRAW.INC include file for DirectDraw in Win32ASM

PrintRadix, routines for printing a 64 bit integer in any base, both signed and unsigned (well at least base 2-36, then we run into weird symbols :)

Wrapper for making PrintRadix callable from C

ParseRadix, routines for parsing a 64 bit integer in any base, both signed and unsigned (well at least base 2-36, then we run into weird symbols :)

Wrapper for making ParseRadix callable from C

Program which enumerates all display modes in DirectDraw, written by promethee

Routine for minimizing all windows on the desktop, written by Predator

Virtual conditional jump instructions for FPU comparisons (all x87s)

Virtual conditional jump instructions for FPU comparisons (287+)

Small example demonstrating the above fpucond.inc instructions

Find the Hamming distance between 2 bitstrings. A true gem

TRY, CATCH, FINALLY and THROW macros for Structured Exception Handling in MASM, just as easily as in C++

Small example program demonstrating a TRY-CATCH construction using the SEH.inc macros

Minimum size program for getting the system uptime

Procedure for creating windows of any shape, using regions, written by novaTrix

C sources

RING0ON() and RING0OFF() routines for full access in Windows 9x

Source of GrabCode, a program to extract code from a PE file or inject it into a PE file. Very useful for adding functionality to programs. SoundLogger was created using this program

Small Sieve, an improved version of the fast 'Sieve of Eratosthenes' algorithm for generating primenumbers, which is re-entrant, and uses only a partial table, therefore being much more memory- (and especially cache-) efficient. Devised by Kalms and X-Calibre

Diskbench utility for testing disk speeds in UNIX

Java Sources

Applet demonstrating how to properly load transparent GIFs

Lake effect applet, making use of AnimatedApplet

C# sources

Small plasma example using GDI+ in C#, by means of inheriting System.WinForms.Form

Small plasma example using GDI+ in C#, which takes a Form as a parameter. For some reason this is way faster (Inheritance bug?)


File Viewing Statistics

Go back to the Computers page