[comp.sys.novell] Does anybody know????

glangaas%peruvian.utah.edu@cs.utah.edu (Gaute Langaas) (06/03/91)

One of my friends has a problem with his modem, and
the set-up.  Does anybody of the Novell wizards out there
how to help a poor Norwegian???

Thanks 

-gl



I can't get the BIOScom routine in Turbo C++ to work properly.
What I am trying to do is to read the serial prot with the 
following settings

#define SETTINGS (0xA0|0x00|0x00|0x03)
// 2400 baud, No parity, 1 Stop bit, 8 bit data byte.


The initialisation is done in the following way:

bioscom(0, SETTINGS, <port>);

Then I am trying to read the port:

out = bioscom(2, 0, <port>);

The problem seems to be that the routine will only read the lower
7 bits without returning the most significant bit in the data byte.

Has anyone had this problem?  Any ways around it?

Replys by e-mail or to the News net, whatever you might find most
apropriate.    

Thanks.............



				Stein Andresen
				sandrese@peruvian.utah.edu