TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: BALOG PAL
from: RAFA VELILLA
date: 1997-07-07 03:32:00
subject: I`m new.

Hola Balog!
 BP>                               Hi, Rafa Velilla!
 RV>> The problem is that if I don't call the old handler after my own
 RV>> handler it works only one time :-? But if I call the old handler
 RV>> it losses time in calculating the ascii code, and I don't need
 RV>> it. ¨does someone know how to change the handler without calling
 RV>> the old handler?
 BP> You have to handle all the stuff about the interrupt. At the end you
 BP> must notify the PIT and issue the EOI to port 0x20. If you do not do
 BP> that the system thinks you did not process the keystroke so no further
 BP> keystrokes will make interrupt.  When you call the old handler, that
 BP> does the job.
    Thanks, I'll try to do it.
 BP> A regular PC program generally should not take over the interrupt
 BP> processing. Chaining in and calling the others is the practice avery
 BP> program expect. A plenty of other programs (including disk cache
 BP> managers) hook the keyboard vector and not calling it may result in
 BP> data loss.
    It doesn't matter if I some data is lost, I just want to be able to check 
which keys are pressed and which are not pressed.
 Thank you for your answer.
Un saludo
     Rafa
--- FMail 1.02
---------------
* Origin: Yo mismo y mi mecanismo. 93:341/736.96 (2:341/136.96)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.