In SX Microcontrollers, SX/B Compiler and SX-Key Tool, kmonsx wrote: [quote="pjv"] I can't really prove it because I don't have the appropriate signal source,[/quote]And its more than just having a drive. The drive has to "driven", commanded to produce data, and I'm using an old amiga to do it. I then connect off of the bus pass-through port, which has the same pins. In essence I'm sniffing the connection between the amiga and the drive. This is really only part one, because I still have to write the pc code to read the floppies. And a *much* better version to decode the data, store it into a file, etc. [quote="pjv"] I'm fortunate to have a Tektronix 4 channel 500Mhz 5Gs/s digital phospor scope [/quote]Ahhh. You show-off. Im using a 1970's 40mhz dual channel storage, and a new 30mhz analog dual channel. I really wish I could store/review a second or two of the signal coming from the drive. Well, I've modified my own code to incorporate some of the ideas I've learned, and I'll try them out hopefully later tonight. I have the interrupts only enabling after an edge is detected. The edge gets detected by polling wkpnd_b in the main routine. The ISR handles only 'highs' with the main routine setting RTCC to 3us after an edge, and the ISR setting RTCC back to 2us when it runs. The major difference now between mine and yours is that you use the ISR for both rollover and edge events, and you detect an edge via the RTCC value. I will definitely try your code, and let you know how it works. Thanks for your help. Keith ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=78490#m79345 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)