In SX Microcontrollers, SX/B Compiler and SX-Key Tool, cbmeeks wrote: [quote="Guenther Daubach"]cbmeeks, I tried to make SXSim count clock cycles as accurate as possible. Nevertheless, another user made me aware of a problem concerning the increment of the RTCC in SXSim. This will be fixed in the next version. Nevertheless, I can't guarantee that there still are situations where SXSim does not exactly count the clock cycles. Seems as if I got some more work to do making SXSim simulate the SX-internal instruction pipeline exactly as it is.[/quote] Günther, I think you have it really accurate. In my NTSC code, I was getting waving and when I started counting the clocks in your SXSim, I noticed I was off. So, I made corrections and the waving went away! Plus, I'm not using the RTCC at the moment. You did good work. :-) I guess one thing I need to do is create a 118 cycle routing on the delay code generator and actually cound all the clocks myself to see how close the SXSim is. I'm just being picky but when it comes to NTSC and color, accuracy is king. cbmeeks ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=99163#m99257 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)