# Copyright (c) 1994 by The XFree86 Project, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# Except as contained in this notice, the name of the XFree86 Project shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from the
# XFree86 Project.
#

# Refer to the XF86Config(4/5) man page for a description of the format

Section "Files"
    FontPath "/usr/X11R6/lib/fonts/misc/"
    FontPath "/usr/X11R6/lib/fonts/Type1/"
    FontPath "/usr/X11R6/lib/fonts/Speedo/"
    FontPath "/usr/X11R6/lib/fonts/75dpi/"
    FontPath "/usr/X11R6/lib/fonts/100dpi/"
    RGBPath "/usr/X11R6/lib/X11/rgb"
EndSection

Section "ServerFlags"
EndSection

Section "Keyboard"
    Protocol "Standard"
    ServerNumLock
EndSection

Section "Pointer"
    Protocol "mousesystems"
    Device "/dev/mouse"
    BaudRate 1200
EndSection

Section "Monitor"
    Identifier "RandomMonitor-0"
    VendorName "Unknown"
    ModelName "Unknown"
    BandWidth 25.2	
#The sync and refresh values are not correct, but I have verified the
#modes I am using.
    HorizSync 25-40, 47-65 
    VertRefresh 20-98	
#    ModeLine "800x600" 36 800 808 944 984 600 608 612 633
    ModeLine "640x480" 25 640 656 752 800 480 490 492 525
    ModeLine "856x646" 54 856 888 1080 1104  646 649 657 679

EndSection

Section "Device"
    Identifier "RandomDevice-0"
    VendorName "Unknown"
    BoardName "Unknown"

#this line tells X how to program the clock:
#28.2 is the text mode dot clock for X to restore when done.
    ClockProg "/usr/X11/bin/freq" 28.2

#this is the clocks line:
#25.1 is for 640x480, 28.2 is for text mode, and 54 is for my custom mode.
    Clocks 25.1 28.2 54
EndSection

Section "Screen"
    Driver "vga256"
    Device "RandomDevice-0"
    Monitor "RandomMonitor-0"
    Subsection "Display"
        Modes "640x480" "856x646"
    EndSubsection
EndSection

