Main > Main Forum
USB vs PS/2 vs COM vs LPT
<< < (24/43) > >>
Derrick Renaud:
Food for thought....

Turn off USB legacy support in your BIOS.  How odd that windows still can use the keyboard.

cough... Raw Input ... cough... supports multiple keyboards ... cough... which is obviously fed through the old DOS BIOS... cough...  :duckhunt  Welcome to 2001 and WinXP.

 :banghead:

Driver-Man, you really should read the informative posts on this thread as a whole, instead of just picking out words from them to support your view.  People are/were trying to be helpful to you.  You totally missed the point of how MAME, due to the whole concept of a computer emulating real hardware, can not (well it can, but shouldn't) stop and wait for real time when code on the emulated CPU asks to read the hardware input device.  So implementing an actual instant read port would serve no purpose, and using the parallel port to do so would be far from instant.
Driver-Man:
Derrick,

You would like me to believe how "Windows (and Linux, and any other "real" OS) kick the BIOS emulation to the curb (turn it off).", right?

Ok.

Is it too much then if I ask you to show me a piece of text, anywhere on the whole world wide web, that says something among those lines? If there is no such explicit statement in the whole world, then what makes you believe it is true? How did you learn about it?


--- Quote ---Turn off USB legacy support in your BIOS...

--- End quote ---

Yes, I tried that and I can still read port 0x60 with my program just the same, no change. Everyone will again say it's DOS Box (NTVDM), but it is clear from all the links and documents that emulation is embedded in hardware/firmware. -- C'mon, if indeed Windows handles USB keyboard without keyboard controller and port 0x60, then someone must have said that somewhere before.
Derrick Renaud:

--- Quote from: Driver-Man on September 25, 2010, 10:36:45 am ---You would like me to believe how "Windows (and Linux, and any other "real" OS) kick the BIOS emulation to the curb (turn it off).", right?

--- End quote ---

Driver-Man,
tell me, how does the old, antique, BIOS support multiple keyboards?  MAME can map 2 separate keyboards individually to 2 separate control inputs as needed by mahjong games.

Please read up on Raw Input.
http://msdn.microsoft.com/en-us/library/ms645536(VS.85).aspx

It provides direct access to each keyboard, which are also combined into a single keyboard for old time use.

Edit: the BIOS is not turned off.  It is just provided virtually if needed, as others have already stated.  Well, unless you are using DOS and not an OS from the last 10 years.
Derrick Renaud:
Another thing to think about is key debounce.  This takes time, more time then any USB lag.  Especially if you set the USB rate to 500Hz.
Driver-Man:

--- Quote from: Derrick Renaud ---Driver-Man,
tell me, how does the old, antique, BIOS support multiple keyboards?  MAME can map 2 separate keyboard individually to 2 seperate games inputs as needed by mahjong games.

--- End quote ---

I will answer your questions if you answer mine

You would like me to believe how Windows turns off PS/2 emulation of USB keyboard. Is it too much then if I ask you to show me a piece of text, anywhere on the whole world wide web, that says something among those lines? If there is no such explicit statement in the whole world, then what makes you believe it is true? How did you learn about it then?



--- Quote ---Please read up on Raw Input.
http://msdn.microsoft.com/en-us/library/ms645536(VS.85).aspx

--- End quote ---

What about it? Please make a statement, I have no idea what are you trying to say.
Navigation
Message Index
Next page
Previous page

Go to full version