All code for 32-bit Watcom C assumes CauseWay DOS extender. Most assembly-language (.asm) files require NASM. a20.asm (DOS or no OS) Enables/disables A20 gate; various methods asm-demo.zip 10 assembly-language 'hello' programs for three OSes (DOS, Windows, Linux), using four assemblers (NASM, as, TASM, WASM) and five linkers (alink, tlink, ilink32, ld, wlink) atapi.c (DOS) Polling ATAPI driver bankblit.c (DOS) blit() function for VBE 1.x banked framebuffer boot16.asm General-purpose bootsector cgstub.asm DJGPP stub that supports fixups cgunzip.c Clone of gunzip. Contains original inflate code. chunky.c (Turbo C or 16-bit Watcom C) "Chunky" graphics mixed with text cutmp3.c Copies part of an .MP3 file to a new .MP3 file cutwav.c Copies part of a PCM .WAV file to a new .WAV file disk.c (Turbo C or 16-bit Watcom C) Sector-level disk I/O (INT 13h, CHS & LBA) disk32.c (DJGPP or 32-bit Watcom C) Sector-level disk I/O (INT 13h, CHS & LBA) djint.c (DJGPP) Interrupt demo dosclip.c (Turbo C or 16-bit Watcom C) DOS access to Windows clipboard dosreg.c (Turbo C) DOS access to Windows registry dumpavi.c Dumps .AVI files dumpbmp.c Dumps .BMP files dumpgif.c Dumps .GIF files dumpjpeg.c Dumps .JPG files dumpmov.c Dumps .MOV (QuickTime) files dumpmp3.c Dumps .MP3 files dumppng.c Dumps .PNG files dumptiff.c Dumps TIFF files dumpwav.c Dumps .WAV files edid.c (Turbo C or 16-bit Watcom C) Uses DDC/EDID to display monitor info farcall.zip (Turbo C) 16- and 32-bit versions of intr() and farcall() fatboot.zip FAT12 bootsector for floppy disk w/ test program fonread.c (DOS) Displays characters in .FON bitmap font files giftime.c Sets display time of each frame in an animated .GIF file i15e820.asm (DOS or no OS) Demo of INT 15h AX=E820h img2htm.c Generates HTML tag for .GIF/.PNG/.JPG files index.txt -- This file -- int1587.zip (DOS) Demo of INT 15h AH=87h int21spy.c (DOS; Turbo C, 16-bit Watcom C) Logs INT 21h calls made by a DOS program kbhit.c kbhit() and getch() routines for UNIX lzss.c LZSS data compression (Microsoft COMPRESS/EXPAND) mb-test.zip (GCC) Multiboot-compatible test kernel mbload07.zip (NASM, Turbo C) Multiboot kernel loader that runs from DOS; version 0.7 paging.c (DOS, DJGPP) Dump CPU page tables pc-rtc.c (DOS) PC realtime clock demo pci.c (DOS) PCI demo code pmode.asm (DOS or no OS) Simple protected mode demo code pnpbio32.c (DJGPP or 32-bit Watcom C) Calls 16-bit PnP BIOS (thunking) pollout.c (DOS) Simple polled serial port output printf.c Minimal printf() function (no floating point) ps2mouse.c (Turbo C) PS/2 mouse driver/demo quant.c Reduces number of colors used by .BMP file rip-cd.c (DOS) Converts audio CDs to .WAV files rundoom.c (DOS) DOOM launcher -- contains some LFN code for Turbo C runreloc.zip Loads and runs 32-bit ELF, DJGPP COFF, and Win32 PE COFF relocatable (.o) files serial.c (DOS) Interrupt-driven serial port code setjmp.c Cooperative multitasking with setjmp/longjmp setres.c (Turbo C or 16-bit Watcom C) Sets VGA and VBE text video modes tcint.c (Turbo C) Interrupt demo tidycoff.c (DJGPP) Zeroes uninitialized areas of DJGPP COFF executables tinyext2.c (Turbo C) Dumps root directory of ext2 volume tinyfat.c (Turbo C) Lists root directory of FAT12 floppy w/o DOS tinytls1.zip Primitive TLS stack and HTTPS fetcher tlbtest.zip (NASM) Times memory accesses in paged pmode after TLB flush unboot.zip (NASM, Turbo C or 16-bit Watcom C) Fast reboot from DOS unreal.asm Program to enable 'unreal' mode untran.c Turns off transparency in .GIF and .PNG files usb.c (DOS) Code to drive UHCI USB controller; read Flash memory stick v86mm.zip (DOS or no OS) Virtual-8086 mode monitor vbe.c (Turbo C or 16-bit Watcom C) VBE mode-set and graphics demo vbe32.c (DJGPP or 32-bit Watcom C) VBE mode-set and graphics demo vxdsock.zip (Turbo C or 16-bit Watcom C) DOS TCP/IP code; tunnels into WSOCK[2].VXD wat16int.c (16-bit Watcom C) Interrupt demo wat32int.c (32-bit Watcom C) Interrupt demo