🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.asm
Article #409

Re: Kody klawiatury

#409
From: Bogdan (bogdro)
Date: Tue, 18 Jul 2006 16:01
21 lines
1655 bytes
Johnny napisał(a):
>> Jakiej funkcji uzywasz do czytania stanu klawiszy i pod jakim systemem.
>> Moze kodu troche?
>>
> 
> DOS,
> 
> mov ah,12h
> int 16h
> 
> test al,00000011b ; test na shift (lewy i prawy)

 RBIL mówi, że bit dla klawisza Alt może nie być ustawiony dla obu
tych klawiszy. Probowałeś testować AH? Próbowałeś MEM 0040h:0017h?
Czysty DOS, czy jego emulacja np. w WinXP?

-- 
Pozdrawiam, Bogdan                                  (Linux i FreeDOS)
Kurs assemblera x86 (DOS i Linuks): http://rudy.mif.pg.gda.pl/~bogdro
Grupy dyskusyjne o asm:  pl.comp.lang.asm alt.pl.asm alt.pl.asm.win32
Prawdziwy, bezpieczny komunikator:                   www.JabberPL.org
Technical Details
Message-ID: <e9j0pq$434$1@nemesis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <e9i8np$6kt$1@nemesis.news.tpi.pl> <e9idrv$ao1$1@inews.gazeta.pl> <e9igar$8ac$1@atlantis.news.tpi.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: "Bogdan (bogdro)" <bogdan@bogdan.pl>
Newsgroups: pl.comp.lang.asm
Subject: Re: Kody klawiatury
Date: Tue, 18 Jul 2006 18:01:46 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 21
Message-ID: <e9j0pq$434$1@nemesis.news.tpi.pl>
References: <e9i8np$6kt$1@nemesis.news.tpi.pl> <e9idrv$ao1$1@inews.gazeta.pl> <e9igar$8ac$1@atlantis.news.tpi.pl>
NNTP-Posting-Host: acre150.neoplus.adsl.tpnet.pl
Mime-Version: 1.0
X-Trace: nemesis.news.tpi.pl 1153238651 4196 83.11.6.150 (18 Jul 2006 16:04:11 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Tue, 18 Jul 2006 16:04:11 +0000 (UTC)
User-Agent: Thunderbird 1.5.0.4 (X11/20060516)
In-Reply-To: <e9igar$8ac$1@atlantis.news.tpi.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit