Article View: comp.os.msdos.programmer
Article #5330programming with ints?
From: Michael Hart
Date: Wed, 20 Mar 1991 15:08
Date: Wed, 20 Mar 1991 15:08
30 lines
1522 bytes
1522 bytes
Is there a beginner-level document somewhere that tells how to
use the interrupts and interrupt functions in DOS?
I see lots of references to these...I suppose people use them to have
finer control over the hardware/system/bios than provided by the
functions usually provided by the compilers. Is this right?
Like for instance: I want to write a simple program to get/put chars to
COM1. Some compilers (like MIX PowerC) have a few builtin functions to
do this. I know, however, that there are interrupts (are these in bios
or dos?) that do the same.
Why would _I_ use one over the other? How would I know when which method
is appropriate? How would I do the int method?
thanx for your _Patience_ :-)
(Flames about compilers to /dev/null, unless you care to donate something)
--
-------------------------------------------------------------------------------
Michael G. Hart hart@blackjack.dt.navy.mil / mhart@oasys.dt.navy.mil
In Support of the Men and Women of Desert Storm
-------------------------------------(=o=)------------------------------------
Technical Details
Message-ID:
<hart.669481703@blackjack>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!relay.nswc.navy.mil!oasys!blackjack!hartShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!relay.nswc.navy.mil!oasys!blackjack!hart From: hart@blackjack.dt.navy.mil (Michael Hart) Newsgroups: comp.os.msdos.programmer Subject: programming with ints? Message-ID: <hart.669481703@blackjack> Date: 20 Mar 91 15:08:23 GMT Sender: news@oasys.dt.navy.mil Distribution: na Lines: 30