Article View: comp.lang.pascal.borland
Article #228Re: pascal keyboard reading..
From: Dr John Stockton
Date: Sun, 19 Sep 1999 00:00
Date: Sun, 19 Sep 1999 00:00
38 lines
2837 bytes
2837 bytes
JRS: In article <7s3fss$758$1@uranium.btinternet.com> of Sun, 19 Sep 1999 21:03:20 in news:comp.lang.pascal.borland, etc., sav <sav@btinternet.com> wrote: >has anyone got some pascal code which is able to read >the keyboard buffer directly (ie if two buttons on the keyboard >are pressed both are detected) >Newsgroups: borland.public.turbopascal,comp.lang.pascal,comp.lang.pascal >.borland,comp.lang.pascal.misc As you did not post this via forums.borland.com, the *EXPERTS* of TeamB who use news:b.p.t will not see it - so they won't tell you their dislike of cross-posting in news:borland.*. news:c.l.p was remove-grouped ages ago, and should not be on your server. It is rarely right to cross-post between news:c.l.p.b & news:c.l.p.m since one is for Borland and the other is for non-[Borland, Mac, Ansi- ISO]. As it is, we do not know what dialect of Pascal you use. Reading the keyboard buffer directly can be done by using the pointers in Seg0040 to locate the buffer and its contents. See Ralf Brown's List for the four pointers. However, it will not, AIUI, help with your question; you need something lower-level. As it happens, yours is a Frequently Asked Question (FAQ) , and the answer can easily be found in lists of such; for example Timo's, at #82. I expect it's in PCGPE, too, which may still be at http://www.qzx.com/pc-gpe/ I've re-ordered the Newsgroup line, in the hope that this will be posted via Demon rather than Borland. -- � John Stockton, Surrey, UK. jrs@merlyn.demon.co.uk Turnpike v4.00 MIME. � <URL: http://www.merlyn.demon.co.uk/> TP/BP/Delphi/&c. FAQqish topics, links. Timo's TurboPascal <A HREF="ftp://garbo.uwasa.fi/pc/link/tsfaqp.zip">FAQ</A>. <A HREF="http://www.merlyn.demon.co.uk/clpb-faq.txt">Mini-FAQ</A> of c.l.p.b.
Technical Details
Message-ID:
<eTXJJ4DZNW53EwuA@merlyn.demon.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7s3fss$758$1@uranium.btinternet.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10261c,5f5e9a6961581469 X-Google-Attributes: gid10261c,public X-Google-Thread: 111659,5f5e9a6961581469 X-Google-Attributes: gid111659,public X-Google-Thread: 10cc59,5f5e9a6961581469 X-Google-Attributes: gid10cc59,public X-Google-Thread: 108ebd,5f5e9a6961581469 X-Google-Attributes: gid108ebd,public From: Dr John Stockton <jrs@merlyn.demon.co.uk> Subject: Re: pascal keyboard reading.. Date: 1999/09/19 Message-ID: <eTXJJ4DZNW53EwuA@merlyn.demon.co.uk> X-Deja-AN: 527335485 Content-Transfer-Encoding: 8bit X-NNTP-Posting-Host: merlyn.demon.co.uk:158.152.233.145 References: <7s3fss$758$1@uranium.btinternet.com> Content-Type: text/plain;charset=iso-8859-1 X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 937810462 nnrp-07:1179 NO-IDENT merlyn.demon.co.uk:158.152.233.145 Organization: Home, 'Surrey', UK MIME-Version: 1.0 Newsgroups: comp.lang.pascal.borland,borland.public.turbopascal,comp.lang.pascal,comp.lang.pascal.misc