[comp.sys.ibm.pc.digest] Info-IBMPC Digest V89 #81

Info-IBMPC@WSMR-SIMTEL20.ARMY.MIL (09/22/89)

Info-IBMPC Digest           Thu, 21 Sep 89       Volume 89 : Issue  81

Today's Editor:
         Gregory Hicks - Chinhae Korea <COMFLEACT@Taegu-EMH1.army.mil>

Today's Topics:
                     An Alternative to SIMCVT.BAS
                 Answer to line feed problem on EPSON
                          Binary Editors...
         Directory size program uploaded to SIMTEL20 (2 msgs)
                         disable ctrl-alt-del
                         DOS 'critical' flag
                      Ethernet Cards for the PC
        Help needed with Display Write -> WordStar conversion
                      Info-IBMPC Digest V89 #75
                 diskless 386-based PC workstations
                             MS Works 1.0
                     Netnews software for MS-DOS
                     Orchid Designer VGA Problem
                               Palette
                              PC FTP...
                     Problem with Zstem and Z-248
                        RBBS-PC on Novell 2.15
              Text retrieval using DOS (vol. 89, iss 70)
                     Text search within ARChives
                             Turbo C list
              Want info on 8080/8085/Z80 cross-compilers
Want info on using DOS within ISRs or else on ISRs talking to programs
                     warm boot from drive B: ???
                            Binary Editors

Info-IBMPC Lending Library is available from: WSMR-SIMTEL20.ARMY.MIL (see
file PD1:<MSDOS>FILES.IDX for listing of source files)

WSMR-SIMTEL20.ARMY.MIL can be accessed using LISTSERV commands from BITNET
via LISTSERV@NDSUVM1, LISTSERV@RPIECS, LISTSERV@FINTUVM and in Europe from 
EARN TRICKLE servers.  Send commands to TRICKLE@<host-name> (example: 
TRICKLE@TREARN).  The following TRICKLE servers are presently available: 
AWIWUW11 (Austria), BANUFS11 (Belgium), DKTC11 (Denmark), DB0FUB11 
(Germany), IMIPOLI (Italy), EB0UB011 (Spain) and TREARN (Turkey).

Send Replies or notes for publication to: <INFO-IBMPC@WSMR-SIMTEL20.ARMY.MIL>

Send requests of an administrative nature (addition to, deletion from the
distribution list, et al) to: <INFO-IBMPC-REQUEST@WSMR-SIMTEL20.ARMY.MIL>

----------------------------------------------------------------------

Date: Monday, 31 July 1989  09:56-MDT
From: Joe St Sauver <JOE@oregon.uoregon.edu>
Subject: An Alternative to SIMCVT.BAS

I found SIMCVT.BAS rather frustrating since I do most of my SIMTEL20 FTP
work from a VAX, and found it irritating to have to download SIMIBM.IDX to
a PC, run SIMCVT.BAS, re-upload SIMIBM.LST and then print the sucker from
the VAX.

Therefore I hacked a little piece of code to munge the SIMIBM.IDX file on
our VAX using SPSSx. It has been tested on SPSSx 3.1 under VAX/VMS 5.0-2
and seems to run fine.

Joe St Sauver (JOE@OREGON.UOREGON.EDU or JOE@OREGON)
Statistical Programmer and Consultant
University of Oregon Computing Center

[Thanks, Joe.  This program has been added to the SIMTEL20 archives as
PD1:<MSDOS.FILEDOCS>SIMCVT.SPS.  -- Keith]

------------------------------

Date: Sun, 6 Aug 89 17:56:00 EDT
From: <1150056@LAVALVX1.BITNET>
Subject: Answer to line feed problem on EPSON

        In INFO-IBMPC Digest V89 #73, John Shin
<JShin%hampvms.bitnet@cunyvm.cuny.edu> wrote:

> I have an Epson RX-80 printer which auto-inserts LF for all CR input.
> How can I turn this off?  The dip switches refused to make a difference
> (besides double-width and such), so I need the control codes.  Even if you
> don't have an RX-80, any Epson code would be helpful (I tried one of the
> FX printers' code, and it didn't work.)

   I had the same problem with my Epson Fx-86e. My computer is a Tandy
1000 and it has a strange way of using line feeds (either in hardware or
software, e.g. DeskMate). Since I don't know what brand of computer you
own, I will give you my solution: I had to cut the wire corresponding to
signal pin 14 in my home-made cable. You could instead of that dramatic
solution place a small piece of tape in the connector to insulate this
pin. I don't know what this pin is really doing to my printer, but the
trick works.

                Michel Beland
                Universite Laval
                Quebec, Canada

------------------------------

Date: Mon 14 Aug 89 09:16:40-PST
From: ROHAN%ASTRO.SPAN@STAR.STANFORD.EDU
Subject: Binary Editors...

I believe I misrepresented Logitech's Point Editor as a binary editor.
Sorry.  What I should have said, was that it was an editor that doesn't
alter the contents of a file when editing it (at least it never has done
it to me).  Many editor's I have encountered like to force the file into
their own format (mostally chopping up the lines into 256 character blocks
or eliminating nonprintable characters).  No, the Point editor won't do
Hex, like a real binary editor would.  Sorry for the confusion.

Anyway didn't I see a binary editor in the archive?   It's labled:

PD1:<MSDOS.FILUTL>EFILE.ARC

I've havn't yet tried it so I don't know how good it is.

Rick Rohan

------------------------------

Date: Fri, 11 Aug 1989  16:14 MDT
From: Keith Petersen <w8sdz@WSMR-SIMTEL20.ARMY.MIL>
Subject: Directory size program uploaded to SIMTEL20

[--forwarded message--]
From: djm%castle.edinburgh.ac.uk@NSFnet-Relay.AC.UK

I wrote this program yesterday while wading through a periodic backing up
session - after noticing a deficiency in DOS DIR in that it doesn't show
total disk space used by the listed files.

The program is SIZE.COM, and it runs via a pipe from DOS DIR to show the
total filespace listed by the DIR command after the "bytes free" message
given by DIR itself.

The archive includes SIZE.COM, SIZE.C and SIZE.DOC.

Murff......
   Murff%ed.castle@nsfnet-relay.ac.uk

[Thanks, Murff.  I renamed the archive to DJM_SIZE.ARC to avoid confusion
with other programs named SIZE.  The file is now in the pd1:<msdos.dirutl>
directory.

--Keith]

------------------------------

Date: Sat, 12 Aug 89 7:42:48 EET DST
From: Timo Salmi LASK <ts@uwasa.fi>
Subject: Directory size program uploaded to SIMTEL20

> The program is SIZE.COM, and it runs via a pipe from DOS DIR to show
> the total filespace listed by the DIR command after the "bytes free"
> message given by DIR itself.
> 
> The archive includes SIZE.COM, SIZE.C and SIZE.DOC.
> 
> Murff......
>    Murff%ed.castle@nsfnet-relay.ac.uk

For every program there are often other programs offering a similar
service.  In this case dirf.exe and dirinfo.exe in tsutlc15.arc (available
from Simtel20 and 128.214.12.3) package provide a similar service as
size.exe.  And I seem to recall that dantools also has a size utility.
But unlike the new size neither of these include sources.  And the new
size provides a pipe.  There are so meny programs around that I thought it
might be of some use to provide the additional information.

Prof. Timo Salmi                                (Site 128.214.12.3)
School of Business Studies, University of Vaasa, SF-65101, Finland
Internet: ts@chyde.uwasa.fi Funet: vakk::salmi Bitnet: salmi@finfun

Searching Archive: TSUTLC15.ARC - Third set of Utilities, T.Salmi 

Filename        Comment                             Date      Time    CRC
--------        --------------------------------    ----      ----    ---
DIRF.EXE        Directory in full, recursive      07-02-89  09:48:20  A074
DIRINFO.EXE     Directory information of a disk   06-16-89  15:36:08  C51A
DOUBLES.EXE     Find double file names on a disk  07-02-89  20:09:28  9FE8
DTEDIF.EXE      Difference between two dates      07-02-89  13:12:10  6DFE
HIDDEN.EXE      Find all hidden files on disk     06-09-89  23:02:58  3587
READONLY.EXE    Find all readonly files on disk   06-09-89  23:00:06  2EC8
SPLIT.EXE       Split a file into pieces          06-23-89  08:41:50  0EDD
TSPROG.INF      List of PD programs from T.Salmi  06-07-89  00:37:56  9F50
TSUTLC.INF      Document                          07-02-89  23:00:00  6043
VAASA.INF       Info: Finland, Vaasa, U of Vaasa  06-23-89  08:30:08  88AB
WHATDATE.EXE    Date +- number of days from now   07-02-89  09:23:08  2190
YES             Yes for redirected DOUBLES prog   06-16-89  12:41:44  5BA2
ZEROFILE.EXE    Find all empty files on disk      06-09-89  22:55:42  B765
----            ------             ------  -----
0013            141134             106420   25%

------------------------------

Date: Tue,  8 Aug 89  9:11 MET
From: "Anneke Sicherer-Roetman" <ANNEKE%RUUCLA.SURFNET%HASARA5.BITNET@CUNYVM.CUNY.EDU>
Subject: disable ctrl-alt-del

Hello networkers,
Is there anyone out there who can tell me how to disable the reboot
Ctrl-Alt-Del from within a program and later restore its function?  Any
suggestions will be very much appreciated.

Thanks, Anneke Sicherer-Roetman, Utrecht State University, Netherlands

------------------------------

Date: Tue, 8 Aug 89 10:56:25 +1000
From: munnari!elec70b.eecs.unsw.oz.au!8720142@uunet.uu.net
Subject: DOS 'critical' flag

>Date: Sat, 24 Jun 89 09:43:11 CDT
>From: "Craig S. Cottingham" <UC528665%UMCVMB.bitnet@cunyvm.cuny.edu>
>Subject: Re: Information requested on DOS 'Critical' Flag
>
>(Disclaimer: I'm working from memory; have reference at home.  Will report
>             back with confirmed information.)
>
>It's okay to reenter if DOS is in functions 1-12 (01H-0CH).  You can keep
>tabs on DOS by replacing the int 21H vector with your own handler:
>
> [ Program deleted ... ]
>
>Of course, you should check crit_flag before calling the original int 21H
>handler.  (A good way to do this would be check crit_flag first thing in
>your int 21H handler and return an error code if critical code is
>executing.  Better yet, suspend the calling procedure until critical
>section is exited.)
>
>I'll double check my reference and get back with any corrections.
>
>_Craig S. Cottingham
>uc528665@umcvmb

This is not entirely true.

"The statement that DOS is not reentrant can be qualified by stating that
DOS is partially reentrant. DOS services 0 through to 12 have a stack that
is seperate from the stack that is used by all other DOS services.
Therefore if you interrupt a DOS service from 0 through to 12, you can
safely call any DOS service from 13 on up, and vice versa."

DOS keeps a flag set to 1 if it is inside an interrupt.  Thus you can
check this and see if DOS is inside an interrupt.  Calling DOS function
34, will return a pointer to this location.

Regs.Ah := $34 ; { Function $34, is put into register Ah, the high byte of
Ax } MsDos(Regs) ;    { Call DOS - issue interrupt $21 } DosSeg  :=
Regs.Es ;  { Segment of the DOS busy flag } DosBusy := Regs.Bx ;  { Offset
of the DOS busy flag  }

But although this will work while inside a program, it will not work at
the prompt. The reason is that while DOS is waiting for you to press a
key, it continually issues int 28h. This is so that programs like
print.com can work in the background.  So you have to check the following:

DosSeg:DosBusy <> 0 and Not int 28h
   or
DosSeg:DosBusy <> 1 and int 28h

Int 28 doesn't do anything, so you can use another interrupt while this
interrupt is issued.  Easiest way to check for int 28h is to capture it
and point it to your program.  Other things stop you from using int's from
your TSR.  One is the

Not ready error reading drive A Abort, Retry, Ignore?

error, if you type A, then it will crash, since it can't get back to the
original program.

The others are that if the PSP and DTA  are used then the TSR uses the (
Program Segment Prefix, and Data Transfer Area ) original program's, this
can lead to errors.

Disclaimer: The quote at the top and all other information was derived from
            "Turbo Pascal - Advanced Programmers Guide" by Stephen K. O'Brien

BITNET: 8720142%elec70b.eecs.unsw.oz@uunet.uu.net
ACSnet: 8720142@elec70b.eecs.unsw.oz 
UUCP:   ...!uunet!munnari!elec70b.eecs.unsw.oz!8720142

------------------------------

Date: Thu, 10 Aug 89 13:16:39 EDT
From: Tom Coradeschi <tcora@PICA.ARMY.MIL>
Subject: Ethernet Cards for the PC

We are considering adding an Ethernet card to one of our PC's here. (PC-AT
w/hard disk, extended memory (2 Meg), GPIB cards, etc.) We use it for data
acquisition, and would like to use NCSA Telnet to transfer files between
the micro and our IRIS workstations.  I'd like to solicit recommenations
from all who have used the various cards on the market, so we may make a
wise decision. I do not read this list, so please email responses directly
to me.

tom c

               Electromagnetic Armament Technology Branch
      US Army Armament Research, Development and Engineering Center
                    Picatinny Arsenal, NJ 07806-5000
                        ARPA: tcora@pica.army.mil
   UUCP: ...!{uunet,rutgers}!pica.army.mil!tcora BITNET: Tcora@DACTH01.BITNET

------------------------------

Date: Mon, 14 Aug 89 09:32:44 EDT
From: Robert Bloom  AMCICP-IM 3775 <rbloom@apg-emh1.apg.army.mil>
Subject: Help needed with Display Write -> WordStar conversion

Upgrade your copy of WordStar to v5.5 ($89 from v5.0, $119 from earier
versions.  A stand-alone program called 'Star Exchange' comes with v5.5.
It handles WordPerfect, Word, XYWrite (couple others) and ... Display
Write.
 
Two comments: oddly, Star exchange does not handle the v5.5 - specific
features of WordStar, only v5.0 features.  And one is limited to
conversion of Wordstar to/from the others, WordPerfect <-> Word is not
[directly] allowed.  (exercise for the reader: do it indirectly!)
 
Bob Bloom (rbloom@apg-1.arpa)

------------------------------

Date: Wed, 9 Aug 89 15:14:19 EST
From: munnari!bruce.cs.monash.OZ.AU!rdp@uunet.UU.NET (Ronald Pose)
Subject: diskless 386-based PC workstations

We are considering setting up a laboratory of 386-based PCs. They will all
be networked with ethernet to a fileserver. I would appreciate any
information about software products which will allow us to use the PCs as
diskless Unix workstations, somewhat like the SUN 386i. Before anyone
suggests it, the reason we are not using SUNs is that they would cost more
than twice as much as 386-based PCs.

Ronald Pose		ACSnet:	rdp@bruce.cs.monash.oz
Dept. Computer Science	UUCP:	..uunet!munnari!bruce.cs.monash.oz!rdp
Monash University 	ARPA:	rdp%bruce.cs.monash.oz.au@uunet.uu.net
AUSTRALIA 3168.		CSNET:	rdp@bruce.cs.monash.oz.au

------------------------------

Date: Mon, 07 Aug 89 13:12:20 GMT (Postman Pat ver 3.1)
From: Drew <SCR596%CYBER2.CENTRAL.BRADFORD.AC.UK@CUNYVM.CUNY.EDU>
Subject: MS Works 1.0

Hi Netpeople:

I  seem to be having problems with MS Works 1.0.  I have a PC clone with a
Hercules monitor running at 10MHz running DOS 4.01.  The problem  is  that
the  package runs ok everytime I switch the PC on, but when I exit and try
to rerun it the machine hangs and I have to reboot.

This  occurs consistently on two PCs, one and Opus and one an Elonex, both
with the above configuation.  I have managed to install the package on two
VGA screen machines, one an XT running DOS 3.3,  and  one  an  AT  running
4.01.

Is there some reaction between Works and Hercules screens and/or DOS 4.01?
Has anybody else had similar experiences?

Drew Radtke

Janet:       Drew@uk.ac.bradford.central.cyber2
Internet:    Drew%cyber2.central.bradford.ac.uk@cunyvm.cuny.edu
Earn/Bitnet: Drew%cyber2.central.bradford.ac.uk@ukacrl
UUCP:        Drew%cyber2.central.bradford.ac.uk@ukc.uucp
Post:        Science & Society, University of Bradford, Bradford, UK, BD7 1DP.
Phone:       +44 274 733466 x6135
Fax:         +44 274 305340
Telex:       51309 UNIBFD G

------------------------------

Date: Mon, 7 Aug 89  12:03:58 EDT
From: Michael Harpe <MEHARP01%ULKYVM.BITNET@CUNYVM.CUNY.EDU>
Subject: Netnews software for MS-DOS

I have obtained a copy of the UUPC system and am interested in setting up
Netnews system on my PC.  I have a feed and all, I just need some news
reader software.

I would appreciate hearing from anyone who has this implemented.  Thanks
in advance.  I'll summarize to the net if the response is sufficient.

"Don't believe in luck, RELY on it!" - Hans "The Fat Man" Fiedler
---------------------------------------------------------------------
Michael Harpe, N4PLE                   | BITNET: MEHARP01@ULKYVM
316B Ormsby Building                   | VOICE:  502-588-7785
University of Louisville               | FAX:    502-588-5048
Louisville, KY  40292                  | AURAL:  "Mike!"

Disclaimer: Professional Driver - Do not attempt these maneuvers.

------------------------------

Date: 9 Aug 1989 17:58-CDT
From: SAC.376SW-DOC@E.ISI.EDU
Subject: Orchid Designer VGA Problem

I saw a problem listed a couple of weeks ago sent in by a person who was
having problems with his Orchid Designer VGA card.  I am also experiencing
some problems that I think may be similar.

I am using a Gateway 2000 386/20 with an NEC Multisync 2A and an Orchid
Designer VGA card.  My problem occurs when I try to logon to the DDN
(milnet).  When my modem synchs with the TAC my screen gets totally
trashed.  I can get around the problem by booting the system without
hanging up the line, and then re-executing the terminal program (Procomm
+), but that obviously is not the best solution.  I would appreciate any
suggestions that anyone may have.

John Savageau
Kadena AB, Okinawa

------------------------------

Date: Sun, 13 Aug 89 16:35:15 -0400 (EDT)
From: "Timothy R. Gottschalk" <tg1e+@andrew.cmu.edu>
Subject: Palette

     I have a PS/2 Model 50 with a VGA card and I am having some problems
with changing the color registers (with actual rgb values).  Micorsoft
QuickBASIC does this with no problem but Borland's Turbo C only statement
that does this is: setrgbpalette(color, red, green, blue)

     This statement compiles to a call to ROM BIOS function 10h,
subfunction 10h (set color register) which I know for a fact only changes
colors 0-5,7.  The remaining colors 6, 8-15 retain the default values i.e.
ignore the BIOS call altogether.  Does anyone know how to set all 16 color
registers either by tricking ROM BIOS or writing directly to memory?  I
really don't want to resort to multi-language programming.

Tim R. Gottschalk
Pittsburgh, PA

------------------------------

Date: 7 August 1989 19:07:15 CDT
From: "Michael J. Steiner  " <U23405@UICVM.uic.edu>
Subject: PC FTP...

I have recently encountered a version of FTP/Telnet for PC's.
Unfortunately, I don't have the software or any documentation. Does anyone
know what it does, compared to Unix FTP & Telnet?

                                                 Thanks in advance,

*           Michael Steiner           * Bitnet:    U23405@UICVM         *
*        Computer Science Major       * Internet:  U23405@UICVM.UIC.EDU *

------------------------------

Date: Thu, 10 Aug 89 11:02:08 EDT
From: Bill Clay (CSD) <wpclay@BRL.MIL>
Subject: Problem with Zstem and Z-248

     I am running Zstem-pc on a Zenith Z-248.  I have one version that
uses COM2 to connect to a local area net and one version that uses COM3
(Zenith's) to connect to an autodialler.  The problem I'm having is that
the COM2 port will not respond after I have used the COM3 port.  I have to
do a cold boot to reset COM2 so that I can talk to my LAN.

     Anyone have any suggestions on 1) how to prevent the problem; or 2)
how to reset COM2 without having to do a cold boot?

     All suggestions will be greatly appreciated.

                                                -- Bill Clay
                                                   wpclay@amsaa.brl.mil
                                                   Aberdeen Proving Ground,
                                                     Maryland

------------------------------

Date: Thu, 10 Aug 89 07:48:50 EDT
From: "Gerhard A. Kainz" <C210370%AEARN.BITNET@CUNYVM.CUNY.EDU>
Subject: RBBS-PC on Novell 2.15

     We want to install RBBS-PC 17.1A as a local application on our Novell
network. Unfortunately there is no novell support implemented. I wonder if
there is somebody out there who has already done this? If so, please help.

If not: Is there a similar BBS Software package for novell?

Gerhard A. Kainz
University of Innsbruck
Austria

------------------------------

Date: Fri, 11 Aug 89 14:53:11 PDT
From: swillett@plutonium.cchem.Berkeley.EDU (Steve Willett)
Subject: Text retrieval using DOS (vol. 89, iss 70)

Paul F. Schulze was looking for a text retrieval package for DOS.  He
should investigate "Text Collector" from O'Neill Software, P.O. Box 26111,
San Francisco, CA 94126.  This was released in 1987 (or at least the copy
I have was) and it is a powerful utility for searching for text in a DOS
file system.  It includes Boolean and wildcard specifications of target
text (14 different wildcards and unlimited nesting of Boolean expressions)
which should allow the user to specify the kinds of criteria Mr. Schulze
mentioned.

I have not used this software very much, so I cannot give an evaluation of
it.  I am not connected with O'Neill in any way.

Steve Willett
UC Berkeley Chemical Engineering Dept.

------------------------------

Date: Wed, 09 Aug 89 09:01:25 PST
From: "Tony Roder" <TONY%SLACVM.BITNET@Forsythe.Stanford.EDU>
Subject: Text search within ARChives

>  Are there any text search utilities (like the Norton Utilities (tm) TS
>program) that will search within archive-type files ....

The Simtel20 library carries a number of such programs in the
pd1:<msdos.arc-lbr> directory.  I have downloaded several to evaluate, and
am favorably impressed with SHEZ43.ARC, which surprise, surprise, is
stored in the pd1:<msdos.zip> directory.

Cheers.

------------------------------

Date: Fri, 11 Aug 89 15:39 EDT
From: "Joseph R. Justice" <s1ac006%MOEULX%MOE.TOWSON.EDU@CORNELLC.cit.cornell.edu>
Subject: Want info on 8080/8085/Z80 cross-compilers

I am looking for information on cross compilers running under MS-DOS for a
target CPU of an 8080, 8085, and/or Z80.  I am interested in
public-domain, shareware, and/or commercial cross compilers.  I am
interested both in information about what exists, i.e. "Company X makes
product Y for amount Z, contact them at address A, phone # B and fax # C",
and in informal user reports, war stories, etc. about such products.

Alternatively, I am interested in cross-compilers for other target CPUs
which can be easily (:-) retargeted to the 8080/8085/Z80 family.  I am
interested in the same types of information as above.

I am looking for this information on behalf of the Electr. Engin.  program
at my school; they have classes in digital design and assembly programming
using bare-metal Z80 computers attached to a host IBM-PC.  They want to
write and compile their assembly programs on the PCs and download them
into the Z80s, and are looking for a better way to compile.

Please send your information directly to me at one of the following e-mail
addresses.  I will gladly compile all the info I receive and post it to
Info-IBMPC once all the responses seem to have arrived.  

If you want a copy of the info I gather, please send me an e-mail message
and I will send you a copy of the info directly.  As above, posted
requests probably will not be noticed by me.

Thank you, the readers of Info-IBMPC, for your help in this matter.  I
appreciate it, as do the professors I am posting this request for.

Sincerely,

Joseph R. Justice, Undergraduate, Dept. of Computer Sci., Morgan State U., USA
home    1400 Northgate Road, Baltimore, MD  21218, USA  (301) 323-7396
BIT/Inter:      s1ac006@moeulx.towson.edu       (best address)
BITNET:         s1ac006%moeulx@towsonvx.bitnet
Internet:       s1ac006%moeulx.moe.mrgate.umc@miculx.minc.umd.edu

------------------------------

Date: Fri, 11 Aug 89 16:04 EDT
From: "Joseph R. Justice" <s1ac006%MOEULX%MOE.TOWSON.EDU@CORNELLC.cit.cornell.edu>
Subject: Want info on using DOS within ISRs or else on ISRs talking to programs

I am looking for information on how to safely (:-) use DOS services from
within an ISR (interrupt service routine), or else on how an ISR can pass
information to and from a running DOS program.  I am using Turbo C 2.0

My professor has a custom C program which reads from and writes to
specific I/O ports which his custom I/O device uses.  (It basically
pretends to be a stepper motor, controlled by toggle switches).
Sometimes, the information he reads from the port has to be written to a
DOS file.  Other times, he reads from the DOS file and writes to the I/O
ports.

Now, he would like an ISR called by a hardware interrupt which his custom
I/O device will raise periodically, which will be able to read the I/O
ports and write to the DOS file, or vice versa.  Basically, the ISR plus a
new main program will have all the functionality of the old program.  I
know how to safely install and deinstall the ISR and how to read and write
the I/O ports, and I know how to do what computation is required, but I
cannot figure out how to safely do the DOS calls, since I know they are
not reentrant, and potentially there could be several I/O devices, each
with its own ISR, at the same time.

The only way I can come up with is to surround each and every DOS call
with a "disable interrupt/enable interrupt" call, to keep interrupts from
interfering with a file read or write.  However, I know this is an ugly
solution, potentially too slow if several ISRs are running, and can still
break under the right circumstances.

[See previous discussion.]

I would prefer either a "better" way of safely doing the DOS calls from
within the ISR, or else passing the info the ISR collects to the main
program and letting the main program make all the non-reentrant calls.
I'm looking for help with either approach, or else a new, viable approach.

Please send your information directly to me at one of the following e-mail
addresses.  I will gladly compile all the info I receive and post it to
Info-IBMPC once all the responses seem to have arrived.

If you want a copy of the info I gather, please send me an e-mail message
and I will send you a copy of the info directly.

Sincerely,

Joseph R. Justice, Undergraduate, Dept. of Computer Sci., Morgan State U., USA
home    1400 Northgate Road, Baltimore, MD  21218, USA  (301) 323-7396
BIT/Inter:      s1ac006@moeulx.towson.edu       (best address)
BITNET:         s1ac006%moeulx@towsonvx.bitnet
Internet:       s1ac006%moeulx.moe.mrgate.umc@miculx.minc.umd.edu

------------------------------

Date: Mon, 14 Aug 89 17:42:48 EDT
From: DEEJ%MAINE.BITNET@CUNYVM.CUNY.EDU (Dj Merrill - work)
Subject: warm boot from drive B: ???

i was wondering if anyone knows of an easy way to warm boot from drive b:
on a pc/xt.  I have a Microsmart XT clone with a 3.5 as drive A: and 5.25
as drive B: I would be like to be able to boot from the 5.25 occasionally
(without switching the drive cable).  Thanks for your help, -Dj Merrill

------------------------------

Date: Tue, 08 Aug 89 12:14:57 GMT
From: MAT430%DE0HRZ1A.BITNET@CUNYVM.CUNY.EDU
Subject: Binary Editors

> In Info-IBMPC Digest V89 #75  J. Roderburg asks for an editor capable
> to edit files on a byte level.

I would draw your attention to <MSDOS.FILUTL>EFILE.ARC. It lets you
manipulate files on a byte level. You may also use it to strip off the Mac
Binary Header from those COLOR0xx.GIFF files. FM.ARC is another binary
editor in the same directory of the SIMTEL archives.

Eberhard Scherzler                    email: MAT430@DE0HRZ1A
Universitaet Essen
D-4300 Essen

------------------------------

End of Info-IBMPC Digest
************************
-------