Home

Code snippets/demos

Environment Hardware and software interrupts Video mode detect and set; framebuffer access Sector-level disk I/O (CHS or LBA) Raw keyboard input functions (kbhit and getch)
DOS; 16-bit Watcom C wat16int.c tcvbe.c (use CONIO.H)
DOS; 32-bit Watcom C; CauseWay DOS extender wat32int.c wat32vbe.c (use CONIO.H)
DOS; DJGPP (32-bit) djint.c djvbe.c (use CONIO.H)
DOS; Turbo C (16-bit) tcint.c tcvbe.c (use CONIO.H)
Linux linuxint.c linuxvid.c kbhit.c
Win32 winint.c winvid.c winkey

Haruhiko Okumura's LZSS (de)compression program, modified to be compatible with files produced by Microsoft COMPRESS. The text file in this .ZIP contains a short but interesting history of data compression.

Copy a chunk of sound from one .WAV file to another. Good for editing gigantic sound files on systems with little RAM.

C code to recursively traverse a file hierarchy. Output is similar to that of 'dir /s /b' under MS-DOS.

A program to convert text Usenet messages to framed HTML. Here is a screenshot of the output.

play audio CD without MSCDEX (DOS)

C++ fixed-point class

Tetris for DOS (requires ANSI.SYS) or Linux

Assembly-language programs:

DJGPP programs: Graphics programs:

Taliesin GUI/graphics library

Updated Nov 29, 2005. Still lots of functionality missing. The main improvements are: Screen shot. The menus don't work and the windows don't do anything. Known bugs:

sndpkg

Sound player for DOS with Windows Sound System (WSS). Plays .wav or .au files in linear PCM, MS-ADPCM, A-law, or u-law codecs. This is greatly improved over the last release, but I am still trying to get the Sound Blaster driver, Win32 driver, and WSS softset working.