Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

MODE command (Developers)

posted by bretjohn Homepage E-mail, Rio Rancho, NM, 15.10.2021, 07:29

> > one parameter. This may mean MODE may need to keep track of whether the
> > port is already initialized or not,
>
> I think this is correct.

How would MODE do that, though, if it's not a TSR? There's nowhere in memory it can store the data, and another program could directly change the parameters in hardware without MODE ever knowing about it. The only way it could work properly is to not depend on the BIOS.

> > or at least read all the existing parameters
>
> I don't see a BIOS call to do this.

If not, you'll need to work directly with the hardware (I/O ports).

> Ok, I don't see a BIOS call for that, and I
> thought that the UART divisor couldn't handle
> more than 115200.

SOME hardware can support 230400 but not all. For the ones that support 230400 you set the Divisor to 0.

> I thought that people in the industry used symbols/sec
> rather than "baud" now, and that the English language
> has changed such that the very definition of "baud"
> is "bps"?

No, the definition of baud has not changed. In certain contexts baud and bps can be the same, but they are not synonymous.

> English is *defined* by common usage.

No, words are not defined by common usage. Words can be used correctly or incorrectly, and usage can be contextual, but that doesn't change the definition.

 

Complete thread:

Back to the forum
Board view  Mix view
22749 Postings in 2119 Threads, 402 registered users (1 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum