www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/13/19:31:57

Message-ID: <382DF552.289EBE72@virtualis.com>
Date: Sun, 14 Nov 1999 10:33:39 +1100
From: Alex Mendes da Costa <alexmdc AT virtualis DOT com>
X-Mailer: Mozilla 4.51 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Interrupts
NNTP-Posting-Host: a7-p13.syd.fl.net.au
X-Trace: 14 Nov 1999 10:36:11 +1100, a7-p13.syd.fl.net.au
Organization: Customer of First Link Internet Services, Sydney, Australia
Lines: 17
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hey All

I wrote this keyboard handler in NASM and I got it to work quite well
except for two problems:

1. When I returned to RHIDE after running, the keyboard doesn't work at
all, even though I did restore the original interrupt vector.

2. I didn't have an EOI in my interrupt so I thought adding this would
fix my problem, so I added these two lines:
   mov al, 020h
   out 020h, al
but now my system locks up completely when I press a key! Does anyone
have any ideas? What does the EOI actually do??

Thanks,
Alex

- Raw text -


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