🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #1864

Re: Microsoft C & serial comms

#1864
From: Arjun Krishna Kondamani
Date: Mon, 13 Aug 1990 17:21
24 lines
1446 bytes
In article <990@dcl-vitus.comp.lancs.ac.uk> se@comp.lancs.ac.uk (Steve Elliott) writes:
>I'd like some advice/help on the above topic.
>Specifically, I'm trying to program a card reader through
>COM1 with a Microsoft C (v5.1) program.
>To initialise the lock, the docs state that "break level must be
>off more than 2 seconds".
>That's got me stumped. What is break level? Can I program it from C?
>If so, how?
>Thanks, 
>	Steve
You can use function 33H to turn on or off extensive chking for the
Break char (CTRL-C). Also, BREAK command. Usually, interrupt on 21H
and let the AX register know that you r using 33H.

I'm sure you can do this from your C program.

Arjun.


-- 
kondaman@aludra.usc.edu@usc.edu 213-746-1151 (evening) 213-743-6210 (day)

Don't go around saying the world owes you a living. The world owes you
nothing. It was here first. -- Mark Twain
Technical Details
Message-ID: <11382@chaph.usc.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!usc!chaph.usc.edu!aludra.usc.edu
References: <990@dcl-vitus.comp.lancs.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!usc!chaph.usc.edu!aludra.usc.edu
From: kondaman@aludra.usc.edu (Arjun Krishna Kondamani)
Newsgroups: comp.os.msdos.programmer,alt.msdos.programmer
Subject: Re: Microsoft C & serial comms
Summary: function 33H and BREAK command
Message-ID: <11382@chaph.usc.edu>
Date: 13 Aug 90 17:21:14 GMT
References: <990@dcl-vitus.comp.lancs.ac.uk>
Sender: news@chaph.usc.edu
Followup-To: comp.os.msdos.programmer
Organization: University of Southern California, Los Angeles, CA
Lines: 24
Nntp-Posting-Host: aludra.usc.edu