🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.lang.asm
Article #314

Re: Hardware keyboard handling... help needed

#314
From: Alexei A. Frounze
Date: Thu, 18 May 2000 00:00
28 lines
1662 bytes
Alphaps wrote:
> 
> Hi,
> I want to use the keyboard directly through its hardware interruption.
> It's the INT 9, which has no input data, and which fills a buffer at 40:1C
> with the scancode of each keystroke.

The keyboard buffer you mention is used by BIOS. A custom IRQ1 ISR is
recommended instead.

> Can anyone help me giving me the ASM x86 code to use it ? It has not worked
> so far.
> Could it work under the protected mode of Win9x ?

For PMode under Windows I recommend you to find DPMI specs.

> Can I access directly the address: 40:1C ? How can I do that ?
> Thanks a lot,
> Alphaps (Alphaps@hotmail.com)

Good Luck
Alexei A. Frounze
-----------------------------------------
Homepage: http://alexfru.chat.ru
Mirror:   http://members.xoom.com/alexfru

 
Technical Details
Message-ID: <si71uokr8ta182@corp.supernews.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <si62o6gj8ta184@corp.supernews.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: feaef,113e387d41fe5bd6
X-Google-Attributes: gidfeaef,public
X-Google-Thread: f7d8d,113e387d41fe5bd6
X-Google-Attributes: gidf7d8d,public
X-Google-Thread: 114917,113e387d41fe5bd6
X-Google-Attributes: gid114917,public
From: "Alexei A. Frounze" <alex.fru@mtu-net.ru>
Subject: Re: Hardware keyboard handling... help needed
Date: 2000/05/18
Message-ID: <si71uokr8ta182@corp.supernews.com>
X-Deja-AN: 624859043
Content-Transfer-Encoding: 7bit
Approved: ccrayne@pacific.net (comp.lang.asm.x86)
References: <si62o6gj8ta184@corp.supernews.com>
X-Accept-Language: ru,en
Content-Type: text/plain; charset=us-ascii
X-Track2: 2
X-Complaints-To: newsabuse@supernews.com
Organization: MTU-Intel ISP
X-Track: 1-1: 40
Mime-Version: 1.0
Newsgroups: alt.lang.asm,borland.public.tasm,comp.lang.asm.x86