Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

RS232 to keyboard / interesting keyboard hardware interfaces (Announce)

posted by bretjohn Homepage E-mail, Rio Rancho, NM, 10.08.2010, 22:35

> Yes and yes. Especially interesting in that combination: Bret could change
> his driver accordingly. (E.g. to simulate a COM3 which actually is just
> some USB keyboard. (And output goes to the default screen. Or NUL. Or
> somewhere else.))

It's actually more complicated than that. What DOS expects to see are ASCII characters, not the scan codes that PS/2 keyboards generate or USB codes that USB keyboards generate. Although a PS/2 port is serial and similar in many ways to a standard COM port, the "characters" that are sent across the wires are not anything that DOS can understand natively. They must first be "translated", either by the BIOS or a country/language-specific keyboard driver.

IOW, the "keyboard translation driver" (BIOS or KEYB.COM or whatever) would have to send its output to COM3 -- it wouldn't do any good for USBKEYB to do it. To have two separate keyboards for DOS, you would need a version of KEYB.COM (or some equivalent) that accepted multiple inputs and generated multiple outputs.

 

Complete thread:

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