Link to Home page Main Banner


Download

SVGA Links

Help

  

What's new

May 27, 2000
Port of SVGALib 1.4.1 for RTEMS ( 4.5.0-beta3 )
svgalib-1.4.1-rtems.tar.gz

About the SVGA Port to RTEMS

The porting of the SVGALIB is most x86 specific. It is a partial port, meaning that only the basic functionality of the graphics API was actually done. The intention is provide a stronger drawing back-end for graphics frameworks such as MicroWindows. All code for handling keyboard, mouse and joystick was taken out, and it is expected to be provided else where.

There is no dependency on MicroWindows. You could use this library with or without MicroWindows.

Some demos "vgatest" and "testgl" were ported to help checking things out on your target.

More details of the porting, and instructions on how to build and install it, can be found in the file "readme.svga.rtems".

Installing and Building

This section describes the basic steps to build the system.It is assumed that you are familiar enough with RTEMS, and have an environment that works with it. If you do not, I encourage you to first play around with RTEMS without any "graphics" package. Be prepared to use "gdb" quite a lot. :-).

Steps:

  • Make sure that you are using a recent version of RTEMS ( 4.5.0-beta3c )
  • Download the SVGALIB version 1.4.1 from this location:
    SVGALib Home
  • Download the archive with the SVGALIB patch for RTEMS:
    svgalib-1.4.1-20000527.patch
  • Apply the patch
  • Make sure to localize your cross-compiler and RTEMS location to the make include ( make_include.rtems ) at the root directory of your SVGA distribution.
  • Call make to build the libraries and the demos:
         make 
         make install
    
  • Load "vgatest" to your target, and check which modes are supported by your video card.

    NOTE: This step assumes that you have a working RTEMS environment, and a GRUB or Netboot boot disk.

License

Please see the license that comes with the SVGALIB distribution.

Feedback

If you have any comment or want to help with this porting, please send me one e-mail: mailto:rdasilva@connecttel.com

TODO


   + Merge keyboard handling and mouse functionality to easy porting of
applications based on SVGA library to RTEMS.



Visitors:



Last modified May 27, 2000
Copyright ©1999-2000 Rosimildo da Silva. All rights reserved.


   e-mail me