Source code

Comms · Configuration · Development · Diagnostics · Disk & file management · Editors · File compression · Games · Graphics · Internet · Languages · Libraries · Text handling · User interface · Miscellaneous

The files here contain an assortment of source code examples, categorised by application area.


Communications utilities

breakbox.zip A TSR for DOS which lets you monitor the state of your COM ports and modem. Includes assembler source code. [5K]
cppcom2.zip C++ classes for programming serial ports and modems, including source code. [24K]
rsdrv.zip C functions for interrupt-driven serial I/O in DOS. [7K]
winterm.zip A Windows terminal emulator which includes C source code. [93K]


Configuration management tools

bootany.zip A utility to allow you select which partition on the hard disk to boot your system from. Includes full assembler and C source code. [33K]
bootdump.zip Displays the contents of a disk's boot sector in a readable form. Includes assembler source code. [6K]
bootmenu.zip Another utility to let you choose which partition to boot from, with assembler and C source code. [29K]
bootpa10.zip A utility which lets you add non-NT partitions to a Windows/NT Multiboot menu, with C source code. [12K]
fips15.zip A utility to split hard disk partitions non-destructively, with C++ source code. [116K]
nnans593.zip An ANSI driver for DOS, with assembler source code. [71K]
tsrcom35.zip TurboPower TSR management tools for DOS let you manage memory by loading and unloading TSRs. Includes Pascal and assembler source code. [145K]
yapboo10.zip A partition boot sector editor and boot manager, with assembler source code. [44K]


Development tools

asis20m.zip An implementation of the Ada Semantic Interface Specification (ASIS) for GNAT 3.09, a set of Ada packages for use in building Ada development tools which let you analyse Ada source code using information produced by GNAT. [1173K]
beaut15.zip A source code beautifier for C/C++, with C++ source code. [85K]
cstyle.zip A simple source code beautifier for C, with C source code. [30K]
gnide07.zip GnatIDE, a Windows 95 development environment by John English for the GNAT Ada 95 compiler. Delphi 2.0 source code is included. [236K]
id12.zip A free disassembler for .COM files, with C source code. [26K]
inde11as.zip C source code for GNU Indent. [61K]
rcs57pc.zip GNU revision control system for DOS, Windows 95/NT and OS/2, with full source code.. [2731K]
sccs30.zip Another revision control system with C source code. [41K]
vallink.zip A free linker which includes complete source code. [142K]


Diagnostics and benchmarks

cachemon.zip A memory-resident utility to measure disk cache performance, with assembler source code. [20K]
discex.zip Hard disk exerciser to test for intermittent errors etc. Includes C source code. [23K]
hdsource.zip Free version of IBM's Advanced Diagnostics for hard disks. Includes assembler source code. [59K]
ifp1p158.zip Info Plus, gives 21 screens of detailed information about your machine's innards. Includes Pascal source code. [224K]
vcmsrc.zip Visual cache monitor for Windows (including C source code). [105K]


Disk and file management

dfa13.zip A DOS utility to speed up disk I/O, with assembler and Pascal source code. [21K]
du10_ke.zip A disk usage utility like "du" on Unix systems, showing the directory tree and per-directory usage. Includes Pascal source code. [7K]
du113.zip Another disk usage utility for DOS, with Modula-2 source code. [27K]


Editors

elvis.zip A public-domain version of VI with C source code. [298K]
teco.zip A version of the well-known TECO editor for PCs, including C source code. [20K]
ted2.zip A tiny editor (only 4K!) which is ideal for emergency boot floppies. Includes assembler source code. [31K]
ue312.zip MicroEMACS 3.12, a very powerful and popular free editor which includes version for DOS and Windows 3.x. Full source code is also included. [713K]


File compression

booz20.zip A public domain ZOO file extractor which includes C source code. [31K]
mime64d.zip A base-64 MIME format encoder/decoder with C source code. [38K]
msbooasm.zip A BOO format file encoder/decoder, with assembler source code. [8K]
ntzip201.zip A ZIP file compressor for Windows/NT with C source code. [241K]
tangle.zip A free file encryption utility with C source code. [34K]
unshar.zip Unix SHAR (shell archive) extractor for DOS with C source code. [25K]
unzip52.zip C source code for Info-Zip's UNZIP utility [787K]
xbin23.zip Another BinHex decoder with C source code. [34K]
zlib104.zip Info-ZIP's free ZLIB compression library, which includes full source code as well as a Windows DLL version of the library. [133K]


Games

ccave.zip Colossal Cave, the original adventure game. An essential part of every computer gamer's cultural heritage. Includes C source code. [87K]
ccr.zip Colossal Cave Revisited: yet more adventuring! Includes C source code. [336K]
dgcb3.zip Delphi Games Creator, a free collection of Delphi components for game developers which includes source code [674K]
gnuchs31.zip GNU chess for MS-DOS (with source code). [195K]
sotsrc.zip Son of Tetris game (with source code). [24K]
winlife.zip Life for Windows (with source code). [20K]


Graphics utilities

cthug53.zip This utility describes itself as "an oscilloscope on acid". It monitors your sound card and displays 256-colour swirly abstracts from the sounds you're playing. Has to be seen to be believed. C source code is included. [569K]
gifsave.zip C functions for saving graphical images in GIF format. [14K]
gifscan.zip C source for interpreting a GIF file. [4K]


Internet software

cgic105.zip A library of functions for writing CGI scripts in C, including source code. [47K]
finger31.zip A 16-bit Finger client with C source code. [61K]
fnord.zip A free 32-bit web server which includes C++ source code. [2477K]
ftp_srv2.zip A small FTP server with Visual Basic source code. [68K]
lynx26s.zip C++ source code for Lynx, a web browser for DOS. [1255K]
serweb.zip Microsoft Visual C++ source code for a web server. [375K]
w3libwww.zip The CERN/W3C reference library for WWW applications: HTML parsing, HTTP, FTP, and lots more. Sample applications are also included. [1714K]
winftp.zip 16 and 32 bit FTP clients (based on WS_FTP) with Visual C++ source code. [174K]
wnftpsrc.zip C source code for a Windows FTP client. [70K]


Programming languages

cc68.zip A C cross-compiler generating Motorola 68000 assembler. Includes C source code. [81K]
fpkpas65.zip A free Pascal compiler for 386 and later processors, which includes complete source code (in Pascal, of course!). [786K]
ratc.zip Rational C compiler source code. [12K]
sc88.zip Small-C, a compiler for a subset of C which includes complete source code. [83K]


Software libraries

actlib17.zip A library of assorted C tools, including source code. [85K]
asis20m.zip An implementation of the Ada Semantic Interface Specification (ASIS) for GNAT 3.09, a set of Ada packages for use in building Ada development tools which let you analyse Ada source code using information produced by GNAT. [1173K]
baklav10.zip A free Java sprite library, including full source code. [295K]
bc10b1.zip A beta release of version 1.0 of the free Booch Components library for Ada 95. [59K]
bestl232.zip A free collection of assorted C-callable functions. Includes file and text handling functions, keyboard, mouse and VGA functions, maths functions, string functions, and more. [324K]
bplus11.zip A set of C functions for using BTrees. [14K]
ccl110je.zip A free C++ coroutine class for DOS by John English. Includes source code. [32K]
cgic105.zip A library of functions for writing CGI scripts in C, including source code. [47K]
cgipm236.zip A perl module for CGI programming. [150K]
cppcom2.zip C++ classes for programming serial ports and modems, including source code. [24K]
dclock.zip A public domain clock component for Delphi, including source code. [8K]
devdrv.zip A framework for writing DOS device drivers in Microsoft C. [4K]
dgcb3.zip Delphi Games Creator, a free collection of Delphi components for game developers which includes source code [674K]
dialer20.zip A free Delphi component for automatic phone dialling, with source code. [5K]
dialer32.zip A free 32-bit Delphi component for automatic phone dialling, with source code. [3K]
dos32.zip A free 32-bit extender for DOS with complete source code. [288K]
gamelet.zip A set of Java classes for game development, including source code. [511K]
mtl110je.zip A free C++ multithreading class library for Borland C++ by John English. Includes source code. [145K]
nihcl1.zip NIH class library 3.0, an extensive free set of C++ data structure classes. Includes source code. [522K]
pccurs14.zip PC-curses 1.4, a port of the Unix "curses" screen-handling library for DOS. Includes source code. [99K]
pmc101.zip A free DOS 32-bit protected mode extender for use with Borland C++ 4.0. [169K]
rlabel.zip A public domain Delphi component for generating automatically-scrolling labels, with source code. [9K]
rsdrv.zip C functions for interrupt-driven serial I/O in DOS. [7K]
sbprog10.zip A C++ class library for programming Soundblaster sound cards, including source code. [37K]
spell.zip A set of word handling routines in C. [50K]
stl.zip The C++ Standard Template Library from Hewlett Packard. Soon to be part of the C++ language standard. It's free, and it includes source code. [304K]
svga01.zip Ada SVGA packages for DOS, including source code. [14K]
tsr100je.zip A free C++ class library for writing DOS resident programs (TSRs) by John English. Includes source code. [71K]
virtarr.zip A C++ virtual array class, including source code. [7K]
webada.zip A set of Ada packages for web programming, including packages for writing HTML files and CGI scripts. [14K]
xms200je.zip A set of free C++ classes for accessing extended memory (XMS) in Borland C++ by John English. Includes source code. [127K]
yacl0160.zip Yet Another Class Library for C++, a free set of data structure, input/output and graphical user interface classes. [1169K]
zdelphi.zip Zip Studio for Delphi, a set of Delphi components for ZIP file compression. Includes source code. [193K]
zlib104.zip Info-ZIP's free ZLIB compression library, which includes full source code as well as a Windows DLL version of the library. [133K]


Text handling tools

a2ps3.zip A free ASCII to PostScript converter, with C source code. [12K]
futi14as.zip C source code for the GNU file utilities package. [219K]
gd25s.zip Source code for GNU diff for Windows/NT. [297K]
mawk11as.zip C source code for the GNU version of AWK. [210K]
sort03as.zip C source code for the GNU sort utility. [27K]
vwbar100.zip A free multithreaded text file viewer for Windows 95, implemented as a desktop toolbar, with C++ source code. [1690K]
xbrow26.zip A free full-screen file viewer with C source code. [42K]


User interface utilities

frdock23.zip A free application launch bar for Windows, with C source code. 16 and 32 bit versions are included. [111K]
theshell.zip A Unix-style shell for DOS, with C source code. [84K]


Miscellaneous

a95src.zip Source code for the Coronado Ada 95 tutorial. [110K]
adacraft.zip Examples from the book "Ada 95: The Craft of Object-Oriented Programming" by John English. There is a website for this book at http://www.comp.it.bton.ac.uk/je/adacraft. [296K]
almnk100.zip A free utility for DOS to remind you of important dates, with C source code. [38K]
cppsrc.zip Source code for the Coronado C++ tutorial. [61K]
csrc.zip Source code for the Coronado C tutorial. [40K]
mas_ada.zip The examples from Mike Smith's book, "Object-Oriented Software in Ada 95". There is a website for this book at http://www.bton.ac.uk/ada95/. [473K]
mas_cpp.zip The examples from Mike Smith's book, "Object-Oriented Software in C++". There is a website for this book at http://www.bton.ac.uk/cpp/. [119K]
passrc.zip Source code for the Coronado Pascal tutorial. [55K]
sbf3.zip A set of C programs for controlling a Soundblaster sound card. [78K]
snip9510.zip C source code snippets (assorted). [730K]
sox7dos.zip C source code for a sound file format convertor. [164K]