🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: problem z przerwaniem 1ch

#490
From: Remek
Date: Sat, 05 Aug 2006 06:31
30 lines
1408 bytes
Wprowadź tę zmienioną nieco procedurkę i sprawdź czy
działa tak jak chciałeś:

delay_return:
         mov byte_timer, 00
         mov ax, 0900h
         lea dx, message
         int 21h
         lea dx, CRLF
         int 21h
         lea dx, CRLF
         int 21h
         lea dx, CRLF
         int 21h

  mov eax, 01FFFFFFFh

powtorz:
        dec eax
        cmp eax, 0
        jnz powtorz
    ret

delay endp

Poza tym należało by dołożyć zestaw instrukcji zakończenia
programu.

-- 
Remek
Technical Details
Message-ID: <eb1nft$9pu$1@inews.gazeta.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
References: <eb0iua$3dn$1@nemesis.news.tpi.pl> <eb1a7f$a6a$1@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: "Remek" <wiasmed@neostrada.pl>
Newsgroups: pl.comp.lang.asm
Subject: Re: problem z przerwaniem 1ch
Date: Sat, 5 Aug 2006 08:31:54 +0200
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 31
Message-ID: <eb1nft$9pu$1@inews.gazeta.pl>
References: <eb0iua$3dn$1@nemesis.news.tpi.pl> <eb1a7f$a6a$1@inews.gazeta.pl>
NNTP-Posting-Host: 213.199.219.7
Mime-Version: 1.0
X-Trace: inews.gazeta.pl 1154769213 10046 213.199.219.7 (5 Aug 2006 09:13:33 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Sat, 5 Aug 2006 09:13:33 +0000 (UTC)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1123
X-Priority: 3
X-Newsreader: Microsoft Outlook Express 6.00.2800.1123
X-User: remeka
X-MSMail-Priority: Normal
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit