X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-ID: <42c97a25$0$172$cc7c7865@news.luth.se> From: Martin Str|mberg Subject: Re: (none) Newsgroups: comp.os.msdos.djgpp References: User-Agent: tin/1.4.6-20020816 ("Aerials") (UNIX) (NetBSD/1.6Q (alpha)) Date: 04 Jul 2005 18:04:22 GMT Lines: 26 NNTP-Posting-Host: speedy.ludd.ltu.se X-Trace: 1120500262 news.luth.se 172 130.240.16.13 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com ferrary wrote: > what is wrong with this code: > Nasm program wich i link to DJGPP (keyboard interrupt handler) > ******************* > [Bits 32] > ;**************************************************************************** > _IniTcl: ... > mov ax,0204h > mov bl,09h > int 31h > jc near Erro > mov [IntTecladoAnt],cx > mov [IntTecladoAnt],edx Hmm. Why overwrite what you put in [IntTecladoAnt] from cx with dx? Right, MartinS