delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2005/07/04/14:15:28

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 <ams AT speedy DOT ludd DOT ltu DOT se>
Subject: Re: (none)
Newsgroups: comp.os.msdos.djgpp
References: <IIWS1X$25493B3EF481B909AAB7FF74C81EDE43 AT itelefonica DOT com DOT br>
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 <ferrary AT itelefonica DOT com DOT br> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019