Dec 082017
 
Complete source code for 8250 Programming (Includes source to make a terminal program with including vt100 stuff).
File PC-8250.ZIP from The Programmer’s Corner in
Category C Source Code
Complete source code for 8250 Programming (Includes source to make a terminal program with including vt100 stuff).
File Name File Size Zip Size Zip Type
8250DTR.C 11707 3155 deflated
8250DTR.H 958 302 deflated
8250NSC.H 4238 1300 deflated
8250XON.C 12683 3340 deflated
8250XON.H 1008 322 deflated
CTRL_BRK.C 1166 418 deflated
CTRL_BRK.H 515 191 deflated
DELAY.C 1819 720 deflated
DELAY.H 482 180 deflated
DEPENDNT.H 1674 588 deflated
DROP_DTR.C 1103 452 deflated
MAKEFILE.MSC 1566 600 deflated
MAKEFILE.TCC 1732 615 deflated
MAKEFILE.ZTC 1845 723 deflated
MANIFEST 1268 277 deflated
MDM_INIT.C 4681 1324 deflated
MONITOR.C 2630 935 deflated
MONITOR.H 592 229 deflated
MSC.ASM 1234 437 deflated
OPTIONS.C 4710 1068 deflated
OPTIONS.H 534 214 deflated
PRINTER.C 957 398 deflated
PRINTER.H 1119 383 deflated
QUEUE.C 1444 490 deflated
QUEUE.H 824 314 deflated
README 1651 831 deflated
SCREEN.C 9515 2291 deflated
SCREEN.H 1563 534 deflated
SHARFILE.HDR 1437 779 deflated
TIMER.C 3388 1191 deflated
TIMER.H 744 260 deflated
TKB.C 416 234 deflated
VERSION.H 839 328 deflated
VT100.C 21582 4757 deflated
VT100.H 839 351 deflated
_KB.C 5075 1289 deflated
_KB.H 3360 952 deflated

Download File PC-8250.ZIP Here

Contents of the README file


8250
Serial Chip
Support Routines

The files in this archive are a collection of tools I have used to
muck about with serial i/o on the PC. The code compiles under
TurboC V1.5 (and also 2.0 I think), as well as Microsoft C V5.x,
DataLight C, and Zortech C. The various makefiles are included to
make life easy.

This code is copyrighted by myself and you may use it in any way
you see fit as long as you don't charge money for it and as long
as the copyright notices remain in the sources.

There are several programs which can be made:

1. MDM_INIT - a little program to both tweek the serial port
and initialize a modem. as an example if you had a Hayes
on COM1: and you wanted to set it up at 2400 baud
autoanswer you could enter:

mdm_init -b2400 -pn -d8 "S0=3"

2.MONITOR - looks at the data on a serial line and
displays the data on the screen (or if you redirect
stdout, it will place it in a file). Use the command

monitor ?

to get a succinct description of the command line
arguments.

3.VT100 - a real simple vt100 terminal emulator - all it
does is more or less emulate a vt100 (no alternate
character sets and it's missing some (most?) of the DEC
private stuff). F10 exits the program, F9 spawns
DOS (use the dos exit command to get back to the program),
and F8 sends a break. Use the command

vt100 ?

to get a succinct description of the command line
arguments.

--- jb ---
Oct 11, 1989


 December 8, 2017  Add comments

Leave a Reply