I have committed the first (very ugly) version of the video controller
driver code to the repository. You can find it here --
https://svn.suug.ch/repos/opengraphics/main/trunk/drivers/lib/video_controller.
Here is a brief explanation of how the process works. The code for the
video controller is in the two assembly files, though only
progressive.asm compiles at the moment. The compiler converts that
assembly into C code that when called returns the compiled opcodes for
the video controller. The filename for the C code, as well as the
function name is based on the filename of the assembly. For example:
progressive.asm generates progressive.h and progressive.c and the
function name is progressive(...).
There is an example C program that when compiled and run with generate
the binary image for a 640x480p video controller program. There is also
a Makefile to build it all.
I should note that I have not yet verified the correctness of the
compiled code, only that all the bits compile, execute, and generate
reasonably appropriate output. I'll verify the compiled code later this
week.
Patrick M
_______________________________________________
Open-graphics mailing list
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-graphics
List service provided by Duskglow Consulting, LLC (www.duskglow.com)