| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | #defines |
G'Day David,
-=> Quoting David Nugent to Frank Adam <=-
DN> Should be only two: XT keyboard and extended (101) keyboard.
There is a 122 keyboard, but i must admit i've never seen one.
NTL it does exist and takes different values in _ah.
> fetched on each call or placed in a static char on the
> first call, but that still adds an if statement.
DN> But examining a local variable doesn't involve a lot of
DN> overhead compared with poking around in lower memory.
DN> static char ext_kbd = (char)-1;
I wouldn't have thought of casting that ?
DN> static int
DN> getkbdchar(void)
DN> {
DN> if (ext_kbd == (char)-1)
Yeah, i did something similar.
DN> .. or something similar, however it is that you call int
DN> 16h and at whatever address the extended keyboard byte is
DN> at (sorry, it's been years since I last dealt with this so
DN> I don't recall the details).
You didn't turn into a windoze programmer have you ?
When will bnuW.com be released ? ;-)
L8r Frank (fadam{at}ozemail.com.au).
___ Blue Wave/DOS v2.21
---
* Origin: Melbourne PC User Group BBS (3:632/309)SEEN-BY: 633/267 270 @PATH: 632/309 107 360 50/99 635/728 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™.