Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. nicovda

    USB

    Hi, I've created a keyboard driver in asm that interacts directly with IO ports 60h and 64h. It works fine with a PS\2 keyboard. Although every manual states that USB keyboards work by emulation of a PS\2 like behaviour in order for the processor to be able to interact with it, my routine...
  2. nicovda

    software interrupt

    the port 21h is the port to the mask register of the master PIC. My routine is supposed to poll for characters, while IRQ disabled, change them, and send the changed scan code to the OS. The problem is that if I type too quickly, it seems the processor can't follow. When this happens, some...
  3. nicovda

    software interrupt

    I found a way to bypass the problem, I use function 02Dh to send to IO port 64h, and this way I write anything I want in output of the 8042. Actually, my program polls for data in output of the keyboard (not the best way, that's sure). Only problem, I use this to mask IRQ1 in al, 21h or...
  4. nicovda

    software interrupt

    Yes, once I enter in Kernel Mode, I can easily mask IRQ1 on the PIC and do what ever I want directly whith IO ports 60 and 64 of the 8042 controller. Only problem, I have to, after that, send the carachters to the OS. Three possibilities : - trigger int 9 : not allowed - trigger int 16 : not...
  5. nicovda

    software interrupt

    yes! do you know a way to execute this int? I am already in Ring0. Nico.
  6. nicovda

    software interrupt

    does anyone know why int 16h is impossible to execute in protected mode. It crashes the system , and the line says "EXCEPTION_KERNEL_MODE_TRAP. If it's possible to make it work, please reply. Thanks a lot. Nico.
  7. nicovda

    accessing hardware

    does anyone know which entry of the IDT corresponds to IRQ1 (keyboard interrupt) in W2K/XP? I'm puzzled. I've seen some doc that states that it corresponds to the 31st entry, but my Interrupt handler is never called. I'm just trying to delete whatever first keystroke has been hit in the first...
  8. nicovda

    accessing hardware

    Hi everyone, thx for all the help. For your information, I found a great Kernel Mode Driver Development Kit, written by Four-F. It's in assembly, and really easy to use and to understand : http://masmforum.com/website/tutorials/kmdtute/index.html Take care. Nico.
  9. nicovda

    handling the IDT

    Something weard is happening. I'm trying (for debugging) to put the correct offset in the 33rd interrupt gate of the IDT. I intialize a variable called IDT33_offset. This code doesn't work : Chg_Init_Int33 proc near push eax push ebx...
  10. nicovda

    Keyboard interupt

    hi, just a newbies question, does this work on a .MODEL flat ? I know this thread is quite old, but it would help me a lot. Thanks. Nico.
  11. nicovda

    IRQ 1

    or maybe I could access the IVT in real mode.. How do I do that? I'm using Four-f's simple kernel mode driver. Any help is welcome. Nico
  12. nicovda

    IRQ 1

    On todays computers (windows 2k and XP) , does any one know to which interrupt in the IDT the IRQ 1 (keyboard interrupt) corresponds? I found several sources that were contradictory. If you have a great website that gives it all, that would be great. Rq : Ralph Brown's interrupt list isn't up...
  13. nicovda

    ntstatus.inc

    nope, it's ok, found it ! sorry to have bothered. Nico.
  14. nicovda

    ntstatus.inc

    Hi again, I'm buiding a Kernel-Mode driver, based on an article from the Assembler Journal (you might know it). The Development Kit they propose obliges me to include the files ntddk.inc and ntstatus.inc. UNfortunately, they don't provide the second one, assuming it is already in masm32. It is...
  15. nicovda

    masm32 or masm611

    What is better to use? Any clues? Thanks in advance. Nico.
  16. nicovda

    accessing hardware

    Thanks Mike, after further readings, I come to the conclusion that writing a kernel-mode driver is the only way around it. I found some sources that access to Ring 0 whithout driver, but they seem unfaithfull and surely system damaging. In addition, they usually tend to make the system...
  17. nicovda

    accessing hardware

    Thanks rwong, but actually I am trying to build an application (which would open from windows) that could acces directly the data from the keyboard, as it could have been easy to do with the old processors by writing my own int 9 interrupt handler. Unfortunately, this seems quite difficult to...
  18. nicovda

    accessing hardware

    Hi, I'm trying to build an interrupt handler that directly accesses hardware, patching into the original interrupt handler (int 9). While reviewing documentation on the subject, it appears that actual windows operating systems, working in protected mode, won't allow me to: - use the cli and...
  19. nicovda

    accessing USB ports

    Hi, I am working on an assembly routine that interacts with the PS/2 keyboard inputs through the I/O ports 60h and 64h (to use with IRQ1 - int 16h). I would like to do the sams qith a USB keyboard. I've read a big part of the USb anbd HID spec's, which helped me understand the data...

Part and Inventory Search

Back
Top