brad wrote:
I would be more than happy for you to upload your design to whatever sites you would like - especially digital-diy (those guys have helped me alot with swordfish basic and visual basic!)
Thank you, Brad.
I've attached the source file for a version of your Great Race program written specifically for the single chip (16F1828) board with a CCR (common cathode row) type display. Fear not... it's relatively easy to modify the program if you have a CAR (common anode row) type display like the Sure LE-MM103. To change the display type in the program, simply comment out all of the lines with '(CCRow)' text at the end of the line in the source file, then un-comment the lines with '(CARow)' text at the end of the line, then build a new hex file. Note that the source file uses "absolute" mode.
Besides program changes for directly driving the display without a 7442 IC, there are only a couple changes from the original program worth mentioning;
(1) The program starts up in a "scrolling message display" mode. Press <left> switch to start the game.
(2) A 16-bit table pointer allows using tables larger than 256 bytes (larger messages or more track data).
(3) The display is refreshed one dot at a time instead of one row at a time to even out the brightness.
(4) Program structure was changed to eliminate stack overrun errors that occur in the original program.
If I have time I will try to go back and use conditional assembly directives to make it easier to generate hex files for either CCR or CAR type displays. I don't really have a way to test code for common anode row type displays (anyone willing to send me one of their spare LE-MM103 displays?).
Have fun. Cheerful regards, Mike