Hi, I'm trying to implement a PS/2 host controller on '877 for a mouse for a = positioning app, and I'm having some trouble getting through the code = required. (there sure is a lot of it for what is effectively a = specialized shift register) I'm using the code provided at=20 http://www.arne.si/~mauricio/PIC.HTM (which was desgined for a '84 btw, = but I think I have it converted over by now) The 1st problem is that while the documentation is OK, there are no = defined entry or exit points for the code. I don't quite know what to = call to initiate a transmit or to recieve a byte. The other problem is interrupt handling. This is an interrupt driven = routine, so I don't quite know what I need to setup to make these = routines opperate correctly. I assume that I will have to implement an = interrupt handler, and that's not too big a deal, but there's also the = problem of figuring out what flags I need to clear, and the = documentation for the code isn't exactly clear on that. So, what I'm wondering is if anyone has had any prior experience = implementing a host controller and could help me out here. If anyone has any ideas or has used these particular routines before it = would be a pretty big help. =20 Thanks, --Brendan -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics