🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.borland
Article #223

Re: (UN)LOCK a KeyBoard in TP7.0

#223
From: Dr John Stockton
Date: Mon, 22 Nov 1999 00:00
44 lines
2713 bytes
JRS:  In article <81aoss$2ab$1@news.hccnet.nl> of Mon, 22 Nov 1999
07:44:47 in news:comp.lang.pascal.borland, R.S.
<acgcr.schlangen@hccnet.nl> wrote:
>
>RWVAvanOs <RWVAvanOs@hetnet.nl> schreef in berichtnieuws
>#1oHuGgM$GA.245@net003s...
>> Is it possible to LOCK and UNLOCK a keyboard in
>> Borland's TURBO PASCAL 7.0.
>>
>> If it is possible, how can you do this?
>>
>Yes, It is:
>
>procedure EnableKeyboard;
>begin
>  port[$21]:=port[$21] and($FF-2);

or   port[$21]:=port[$21] and not 2 ;             ???

>end;{EnableKeybord}
>
>procedure DisableKeyboard;
>begin
>  port[$21]:=port[$21] xor 2;
>end;{DisableKeybord}

Check with documentation such as Ralf Brown's List; I think this also
disables mouse and RTC interrupt.


This thread has been crossposted to Borland groups, which Borland do not
like; but the articles have not been injected at Borland's server, so
will not be seen by those who correctly use that server for Borland
groups.  I have therefore re-ordered the newsgroups line.

This thread has also been posted to too many groups.

Pedt: should the mFAQ mention news: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., FAQqy topics & links;
 <URL: ftp://garbo.uwasa.fi/pc/link/tsfaqp.zip> Timo Salmi's Turbo Pascal FAQ;
 <URL: http://www.merlyn.demon.co.uk/clpb-faq.txt> Pedt Scragg: c.l.p.b. mFAQ.
Technical Details
Message-ID: <Ut5vQDMzpTO4Ew5l@merlyn.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <#1oHuGgM$GA.245@net003s> <81aoss$2ab$1@news.hccnet.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: fd433,3d22c41d665834ae
X-Google-Attributes: gidfd433,public
X-Google-Thread: 10261c,3d22c41d665834ae
X-Google-Attributes: gid10261c,public
X-Google-Thread: 107324,3d22c41d665834ae
X-Google-Attributes: gid107324,public
X-Google-Thread: 111659,3d22c41d665834ae
X-Google-Attributes: gid111659,public
X-Google-Thread: 110930,3d22c41d665834ae
X-Google-Attributes: gid110930,public
X-Google-Thread: 108ebd,3d22c41d665834ae
X-Google-Attributes: gid108ebd,public
From: Dr John Stockton <jrs@merlyn.demon.co.uk>
Subject: Re: (UN)LOCK a KeyBoard in TP7.0
Date: 1999/11/22
Message-ID: <Ut5vQDMzpTO4Ew5l@merlyn.demon.co.uk>
X-Deja-AN: 551736639
Content-Transfer-Encoding: 8bit
X-NNTP-Posting-Host: merlyn.demon.co.uk:158.152.233.145
References: <#1oHuGgM$GA.245@net003s> <81aoss$2ab$1@news.hccnet.nl>
Content-Type: text/plain;charset=iso-8859-1
X-Complaints-To: abuse@demon.net
X-Trace: news.demon.co.uk 943297863 nnrp-14:4686 NO-IDENT merlyn.demon.co.uk:158.152.233.145
Organization: Home, 'Surrey', UK
MIME-Version: 1.0
Newsgroups: comp.lang.pascal.borland,comp.lang.pascal.misc,hetnet.comp.programmeren,nl.comp.programmeren,z-netz.sprachen.pascal,borland.public.turbopascal