In SX Microcontrollers, SX/B Compiler and SX-Key Tool, AtomicZombie wrote: T2 is actually a counter that sets the lower address bus of the 64K SRAM I am using as a frame buffer, which is why I need it. I basically pump the first 256 bytes out of the SRAM to create the 256 pixel screen on a video line, then I INC the upper address bus to get the next 192 lines for a total frame buffer of 256x192 pixels at 256 colors (8 bits). This takes 49.152K out of the SRAM and fits nicely into a 1024x768 VGA screen by dividing by four. My AVR code does this in 4 cycles, but the SX code takes 6, which is my problem. Thanks, Brad ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=180397#m180402 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)