Article View: pl.comp.lang.asm
Article #1718Re: PC Speaker
From: piotrg
Date: Wed, 12 Mar 2008 20:54
Date: Wed, 12 Mar 2008 20:54
50 lines
1770 bytes
1770 bytes
> > mov al,10110110b > > out 43h,al > > mov al,169 > > out 42h,al > > mov al,4 > > out 42h,al > > in al,61h > > or al,00000011b > > out 61h,al > > ;mov cx,0fh > > ;mov dx,4240h > > ;mov ah,86h > > ;int 15h > > > in al,61h > > and al,11111101b > > out 61h,al > > w sumie wzięta z książki ale niby speaker działa ale nie wyłacza się . > > Odpalam w trybie chronionym pod dosem . > > Jakieś pomysły ? > > Wykomentowane linie wziąłem z kursu asm na dosa. ale one nic nie zmienają > Dzęki z tym już sobie poradziłem. Bo w sumie mam napisać organy na pc speaker i próbuje zrozumieć wczytywanie z klawiatury narazie zrobiłem na spacje że jest koniec. Czy mozna jakoś sprawdzić czy jakiś klawisz podniesiono ? po naciśnięciu? Pzodro
Technical Details
Message-ID:
<fr9g01$edk$1@inews.gazeta.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mailReferences:
<fr96e8$58t$1@node2.news.atman.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail From: "piotrg" <piotrg@attu.pl> Newsgroups: pl.comp.lang.asm Subject: Re: PC Speaker Date: Wed, 12 Mar 2008 21:54:22 +0100 Organization: "Portal Gazeta.pl -> http://www.gazeta.pl" Lines: 52 Message-ID: <fr9g01$edk$1@inews.gazeta.pl> References: <fr96e8$58t$1@node2.news.atman.pl> NNTP-Posting-Host: chello089079154197.chello.pl X-Trace: inews.gazeta.pl 1205355330 14772 89.79.154.197 (12 Mar 2008 20:55:30 GMT) X-Complaints-To: usenet@agora.pl NNTP-Posting-Date: Wed, 12 Mar 2008 20:55:30 +0000 (UTC) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Priority: 3 X-RFC2646: Format=Flowed; Response X-User: obi21 X-Antivirus: avast! (VPS 080312-0, 2008-03-12), Outbound message X-MSMail-Priority: Normal X-Antivirus-Status: Clean X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit