| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: Contacting Ray Guinn |
In-Reply-To:
@X-Mailer: MR/2 Internet Cruiser Edition for OS/2 v2.41/37
@Message-Id:
@X-Egroups-Remote-Ip: 207.217.120.62
From: "Steven Levine"
@X-Yahoo-Profile: steve53hoo
@Mime-Version: 1.0
@Mailing-List: list os2hardware{at}yahoogroups.com; contact
os2hardware-owner{at}yahoogroups.com
@Delivered-To: mailing list os2hardware{at}yahoogroups.com
@Precedence: bulk
@List-Unsubscribe:
@Date: Thu, 04 Dec 2003 10:38:22 -0800
Subject: Re: Contacting Ray Guinn
Reply-To: os2hardware{at}yahoogroups.com
@Content-Type: text/plain; charset=US-ASCII
@Content-Transfer-Encoding: 7bit
In , on 12/04/03
at 12:21 PM, "Randy Fowler (personal)"
said:
Hi,
>It's odd that the "software multiplier" is calculated
differently between
>the two drivers...
Actually, I'm not at all surprised. If neither driver knows about this
board's clock multiplier method so the results from each driver are, by
definition, undefined.
>...typical serial ports allow higher transfer rates than the standard
>COM1/2 on the computer. This is done by doubling the external clock
>given to the serial port. In the case of our cards the factor is eight,
>i.e. the maximum speed is 921600 baud (115200 x 8). When the driver does
>not know about this factor of eight, the configured speed is wrong.
The last sentence is the key.
Here's some the code I use to program the baud rate on some systems:
/* Baud rate divisor = 1,843,200 / (Baud Rate * 16) */
#define ACE_B2D(Rate) ((unsigned short)(1843200L/((long)Rate<<4)))
cDivisor = ACE_B2D( cBaud ); /* Calc baud rate divisor */
_disable(); /* Disable interrupts */
/* Set baud rate */
outp( iAddr + ACE_LCR, bLCRMsk | ACE_LCBRENB );
outp( iAddr + ACE_BRLSB, cDivisor );
outp( iAddr + ACE_BRMSB, cDivisor >> 8 );
outp( iAddr + ACE_LCR, bLCRMsk ); /* Initialize LCR */
This code would have very similar problems to what you are seeing. By
design, it does not reprogram the multipler so it's probably limited to
450K baud, although I've never needed to run a port that fast on this
system.
>I do not know why SIO2k does not compensate it. This driver is designed
>to check the real port speed when the port is first opened.
You are misinterpreting what "check the real port speed" means.
>So it should see the real factor of eight, and compensate for it.
Why? You are assuming the code is prescient and knows how to operate
boards is was not designed to operate. My code is typical. When it was
written there was no way to reprogram the multiplier. I'd have to check,
but I probably don't even have the port definitions defined to access the
multiplier.
>As of late yesterday, we decided to abandon further attempts to get this
>board working and have decided to try a different board that has a jumper
> to allow setting the clock speed multiplier manually from 1x up to 8x.
>They suspect that this would solve the problem with the two drivers.
Probably. I would suspect this model exists to overcome the problem where
the drivers can't be modified to support the different hardware.
BTW, did they mention which UART chipset they use? I might as well see
what's really needed to run one of these beasts.
Regards,
Steven
--
----------------------------------------------------------------------
"Steven Levine" MR2/ICE 2.41
#10183 Warp4/FP15/14.093c_W4
www.scoug.com irc.webbnet.info irc.fyrelizard.org #scoug (Wed 7pm PST)
----------------------------------------------------------------------
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/9rHolB/TM
---------------------------------------------------------------------~->
To unsubscribe from this group, send an email to:
os2hardware-unsubscribe{at}yahoogroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
---
* Origin: Waldo's Place USA Internet Gateway (1:3634/1000)SEEN-BY: 633/267 270 @PATH: 3634/1000 12 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.