<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Advice </TITLE>
</HEAD>
<BODY BGCOLOR="#efefef" TEXT="black" LINK="blue" VLINK="#551A8B" ALINK="red">

<A HREF="VGADriver.html"><EM> How to add an (S)VGA driver to XFree86</EM></A>
 <b>:</b> <EM>Advice </EM><BR>
<b>Previous:</b> <A HREF="VGADriver8.html"><EM>Debugging </EM></A><BR>
<b>Next:</b> <A HREF="VGADriver10.html"><EM>Advanced Topics </EM></A>


<HR NOSHADE>
  <H2><A NAME="23"></A>9. Advice </H2>
<p>I cannot stress this enough - study all available references, and the
existing code, until you understand what is happening.  Do this BEFORE you
begin writing a driver.  This will save you a massive amount of headache.
Try to find a driver for a chipset that is similar to yours, if possible.
Use this as an example, and perhaps derive your driver from it.</p>
<p>Do not let the gloom-and-doom in the debugging section  discourage you.  
While you will probably have problems initially (I still do), careful, 
deliberate debugging steps can bear fruit very quickly.  It is likely 
that, given a good understanding of the chipset, a driver can be written 
and debugged in a day or two.  For someone just learning about this kind 
of programming, a week is more reasonable.</p>

 <HR NOSHADE>
<A HREF="VGADriver.html"><EM> How to add an (S)VGA driver to XFree86</EM></A>
 <b>:</b> <EM>Advice </EM><BR>
<b>Previous:</b> <A HREF="VGADriver8.html"><EM>Debugging </EM></A><BR>
<b>Next:</b> <A HREF="VGADriver10.html"><EM>Advanced Topics </EM></A>



</BODY>
</HTML>
