Hi all

On Mon, 9 Aug 1999, John Morrison wrote:

> Hi All;
> 
> I committed the bugfixes Thomas made to interp.cc, and I committed his
> VGA driver.  (Thomas, I had a little trouble -- there were two copies of
> the vga class -- I nuked the first one, and the second one seemed to
> work.  Let me know if I picked the wrong one!)

strange, I mailed 2 copies? well, take the bigger one *g*.


> Per Thomas' direction, I added (and you will want to add) the following
> lines to init.java:
> 
> jos.platform.driver.vga seton=new jos.platform.driver.vga();
> seton.initvga();
> seton.test();

this is just for testing. Hey but it works!

> 
> I rebuilt the arch/i386 target, and, Lo and Behold.... it DID something!
> 
> If I saw correctly, it cleared the screen and made some falling
> horizontal bars in multiple colors, and then left a little green
> checkmark on the screen.  (Thomas, please tell me if this is the desired
> behavior.  By the way, I especially like the little checkmark at the end
> of the run!).
> 
> Great job, Thomas!  

wow cool, this is my very first driver.


how does the driver work?

first the driver initialize the vga card, then it clears the
video memory (fasten your seat belt, the speed is really incredibel).
In my first vgadriver version, the sreen was turned off while clearing the
video memory, but there was no reslut for a long while, so I made it
visible. (falling horizontal bars)
And at the end, there should be a green checkmark at the end. (in the
middle of the screen).




Thomas Bocek


_______________________________________________
Kernel maillist  -  [EMAIL PROTECTED]
http://jos.org/mailman/listinfo/kernel

Reply via email to