TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Brandt Everett
from: Rob Basler
date: 1996-04-18 17:45:00
subject: _bios_keybrd

BE>I'm stuck.

BE>I have a function call (Watcom) _bios_keybrd...which is a bios check of the
BE>keyboard to see if something is there and then read in the character or
BE>scancode on a different paramaters.  I need to find something similar for th
BE>OS/2 VDM, (16 or 32).  Any suggestions?

Check out the Kbd* calls documented in PRCP.INF, they are 16 bit, but
work in Warp's OS/2 boxes and have a couple calls specifically for
getting keyboard scancodes, status etc.

By the by, a VDM is a Virtual DOS Machine - OS/2's DOS box, if this is a
DOS app you are talking about, you should be able to use any regular DOS
software in such a box without any problems.

Rob.
___
 X SLMR 2.1a X Stop Plate Tectonics!

--- Maximus/2 3.01
* Origin: Frog Hollow Port Moody BC 604-469-0264/0284 (1:153/290)
SEEN-BY: 50/99 78/0 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 153/290 2 716 920 270/101 712/515 711/808 809 934

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™.