[Eric-develop] Eric is not BSD!
Status: Pre-Alpha
Brought to you by:
andrew_turner
From: Ismail PAZARBASI<paz...@my...> - 2001-09-06 14:13:36
|
Gavin, Andrew, Do not misunderstand me(no offence), but we must try to write our stuff, without copying from onother thing. I tried to use FreeBSD' s keyboard driver, but it requires tens of headers and compiled objects. And when I try to just obtain 'kbd.o' from 'kbd.c', or their derivatives(atkbd stuff), I used tens of objects & headers, and it seems like 'writing/copying FreeBSD again'... I dislike that! Through 3 hours, I worked really hard on keyboard driver, and I think I damaged my 128MB SDRAM. It is not working now :) I dont know what happened to that, but a few times, I used many reads after writes. This might harmed my ram? I know this sounds crazy :) Anyway, its not a problem. The problem is at below. I need a procedure/function to catch INT 9. I am sure, I enabled keyboard, but I must look 0x60 "after" a key pressed. I was looking there many times in a sec, and no key pressed. I can see my "lock" key leds are lightning, whenever I want... I can reset... But no read! Coz, I dunno when INT 9 occurs. I have examined sources of both Linux and FreeBSD, and I have seen they are also looking for a key press, then process it. I will try to send you / CVS the last kernel I compiled. But I think, I need this interrupt catcher. I have written an interrupt handler in Pascal, a few years ago, catching Ctrl+Break and Ctrl+Alt+Delete, before DOS catches them. But there is an "interrupt" reserved word :/ So, I need some help to catch the interrupts. Let' s do this another way: Let kernel catches interrupt, and dispatch it to keyboard driver. Keyboard driver then looks what does that interrupt mean? key pressed? overflow? parity? or whatever... But keyboard driver must be isolated interrupts. I keyboard driver must not look for interrupts. This is, I think, all moders OSs do. Kernel handles these, and invokes other stuff for this. Right? I will look for the interrupt handling routines now. PS: Did u update CVS few days ago? Regards. __________________________________________________ =DCCRETS=DDZ E-MAIL ALDINIZ MI? T=FCrk=E7e ilk Portal http://www.mynet.com |