??? 09/27/04 07:10 Read: times |
#78190 - RE: Phillip video user page Responding to: ???'s previous message |
Craig,
Good luck with the Cygnal version. Don't know how different the Cygnal part is but overall the code should execute right away with what ever timing results from hosting it on the Cygnal platform. Remember the pixel loop exploits the DS420 "auto-inc" for DPTR. Were i to offer advise (and i will) it would be to "comment out" the pixel routines and the entry to Vertical sync to adjust the values for end of line value for Front Porch/Sync/Backporch using a scope. Once these are defined then you've defined them for the Vertical sync as well and can uncomment the other routines. Next is line length adjust which is done by adjusting # of pixels per line for displaying lines and delay values for the non-displaying line. If pixel times do not "square up" to 63.5us for full lines then increase the Left or Right Border. Then adjust the 1/2 line delay values to 31.8us and you should have a display. You'll notice in my code some deviation from ideal values in places (i.e. loading a Constant-N value) this is "hard coded geometry correction". One routine SLINE is a non-displaying line emitted just before the 1st displaying line. It's values where adjusted to make the right leaning characters on the 1st line to lean left (and so straight). Finally, the pre-execution fill of memory for display assumes a character/byte line length of 32 your pixel count will vary so this value will need updating. regards, p |