DDS MICRO-C/PC example programs:
NOTE: This is the SECOND archive in the MICRO-C/PC collection. If you have
not read the READ.ME file contained in the first archive, please do so now.
The programs in these directories are being provided, as examples of working
MICRO-C programs, which you may examine to gain greater insight into MICRO-C
programming techniques. The programs are for personal use only, any commercial
use of this software is prohibited.
The programs are provided "as is", without warranty of any kind. Any use you
make of them is entirely at your own risk. Neither Dunfield Development
Systems nor any of the authors of these programs assume any responsibility
for the use or reliability of this software.
NOTE: MANY OF THE PROGRAMS RELY ON LIBRARY FUNCTIONS OR OTHER FEATURES THAT
ARE UNIQUE TO MICRO-C, AND WILL REQUIRE MODIFICATION TO WORK WITH ANY OTHER
COMPILER OR LIBRARY.
All of these programs will compile with the PC/8086 version of the MICRO-C
compiler and library. Most of the programs will require some modification
to be used with the MICRO-C compilers and libraries for smaller processors.
This is mostly due to the lack of file and video access functions.
NOTE: Due to extensive re-work of the PC library in version 3.13, many of
these programs will not compile with previous versions of MICRO-C/PC.
For your convience, we've placed the programs into subdirectories, based
on catagory.
Dave Dunfield
Dunfield Development Systems
MICRO-C EXAMPLE PROGRAMS: (List revised 17-Apr-95)
DOSUTIL: DOS utilities CUTIL: 'C' utilities
-------------------------------- -----------------------------------
ANYFILE - Check for ANY file CCREF - cross referencing program
ATTRIB - Set/Show file attribs. COMEXT - Extract comments
BOOTMENU- Multi config boot CVTCOM - Convert '//' to '/* */'
CALC - TSR calculator OBSCURE - Make source un-readable
CAN - Permanent args to .COM PPC - Pretty Printer for 'C'
CHAINSAW- Kill directory tree SHELL - Cmd line/interact shell
CMOS - Read/Write/Verify CMOS
COMCHK - Check COM file at load MISC: Other misc. programs
CSET - TSR map of PC charset -----------------------------------
DIFF - Show diffs in 2 files ASM86 - 8086 assembler
DUMP - Hex/Oct/ASCII dump pgm BASIC - A BASIC interpreter
EQUIP - Show installed h/w BIGNUM - +-*/% very large numbers
GREP - Like unix "grep" BITARRAY- Example of array of bits
HEM - TSR trap unexpectd int BUZZ - Jargon generator
HEXED - Hex file editor BYTESWAP- Example of using UNION's
LZC - TSR Control HP printer DIS85 - 8085 Cross Disassembler
MEMSAVE - Save mem image to file FIBO - Compute fibonacci series
MTERM - TSR ANSI tty/XMODEM FORTUNE - A "fortune cookie"
NRO - Like unix "nroff" HELLO - Standard C demo program
OFF - Screen saver HFTEXT - Text Huffman encoding
PARK - Configable HD parker KIDSMENU- mouse/kbd menu for kids
PCD - A "countdown" timer KMEDIT - Editor for kidsmenu
RETAB - Retabulate text files LONGCALC- "long" 32bit calculator
SCRUB - Clean floppy drive MAGIC - A number solving problem
SHOWEXE - Dump .EXE information MDCFS - DOS compat. File System
SIZE - Show #chars & #lines OBFUSC - How NOT to write 'C'
STUFF - Stuff keyboard buffer PRIME - Calculates prime numbers
TFB - TSR File Browser PRIME1 - Another "" "" ""
TIMEIT - Time DOS commands PTR2FUNC- Demo's ptrs to functions
TR - Like unix TR(anslate) RAIN - Text 'falls' off screen
TREE - Display directory tree RDC - File compression program
TYPE4 - TYPE/tabs at 4 spaces RENUMBER- Renumbers BASIC programs
VALIDATE- ID files with 2 CRCs RLTEXT - Text run length encoding
ROBOFACE- Draws a "robot face"
LAPTALK: Small/Powerful TTY pgm SELFDUP - Self-replicating pgm.
------------------------------- SUBSET - Show subsets of sets
LAPTALK - TTY with script lang. TEXTNUM - Print numbers as words
XMODEM - Xmodem/1K/CRC etc. WINDEMO - Demo MICRO-C windowing
MICROCAD: A VGA drawing program GAMES: Assorted games
------------------------------- -----------------------------------
MICROCAD- Mouse/VGA drawing pgm BJ - Blackjack (21) game
MCPRINT - Print on LJET / EPSON CASTLE - A large "adventure" game
MCDRAW - Min. display routines HANOI - Visual "towers of hanoi"
FE - Font Editor INVADER - Space invaders!
MMIND - Digit guessing game
SIMON - Play "Simon-Says" game
TTT3D - 3 dimensional tic-tac-toe