xref: /freebsd/sys/x86/conf/NOTES (revision 058ac3e8063366dafa634d9107642e12b038bf09)
1# $FreeBSD$
2#
3
4# Common NOTES between i386 and amd64
5
6
7#####################################################################
8# COMPATIBILITY OPTIONS
9
10# Implement system calls compatible with 4.3BSD and FreeBSD 1.x,
11# and 2.x a.out binaries. Not needed for ELF binaries, or newer
12# a.out binaries.
13options 	COMPAT_43
14
15
16#####################################################################
17# HARDWARE DEVICE CONFIGURATION
18
19# The syscons console driver (SCO color console compatible).
20device		sc
21envvar		hint.sc.0.at="isa"
22options 	MAXCONS=16		# number of virtual consoles
23options 	SC_ALT_MOUSE_IMAGE	# simplified mouse cursor in text mode
24options 	SC_DFLT_FONT		# compile font in
25makeoptions	SC_DFLT_FONT=cp850
26options 	SC_DFLT_TERM=\"sc\"	# default terminal emulator
27options 	SC_DISABLE_KDBKEY	# disable `debug' key
28options 	SC_DISABLE_REBOOT	# disable reboot key sequence
29options 	SC_HISTORY_SIZE=200	# number of history buffer lines
30options 	SC_MOUSE_CHAR=0x3	# char code for text mode mouse cursor
31options 	SC_PIXEL_MODE		# add support for the raster text mode
32
33# The following options will let you change the default colors of syscons.
34options 	SC_NORM_ATTR=(FG_GREEN|BG_BLACK)
35options 	SC_NORM_REV_ATTR=(FG_YELLOW|BG_GREEN)
36options 	SC_KERNEL_CONS_ATTR=(FG_RED|BG_BLACK)
37options 	SC_KERNEL_CONS_ATTRS=\"\x0c\x0d\x0e\x0f\x02\x09\x0a\x0b\"
38options 	SC_KERNEL_CONS_REV_ATTR=(FG_BLACK|BG_RED)
39
40# The following options will let you change the default behavior of
41# cut-n-paste feature
42options 	SC_CUT_SPACES2TABS	# convert leading spaces into tabs
43options 	SC_CUT_SEPCHARS=\"x09\"	# set of characters that delimit words
44					# (default is single space - \"x20\")
45
46# If you have a two button mouse, you may want to add the following option
47# to use the right button of the mouse to paste text.
48options 	SC_TWOBUTTON_MOUSE
49
50# You can selectively disable features in syscons.
51options 	SC_NO_CUTPASTE
52options 	SC_NO_FONT_LOADING
53options 	SC_NO_HISTORY
54options 	SC_NO_MODE_CHANGE
55options 	SC_NO_SYSMOUSE
56options 	SC_NO_SUSPEND_VTYSWITCH
57#!options 	SC_NO_TERM_DUMB
58#!options 	SC_NO_TERM_SC
59#!options 	SC_NO_TERM_SCTEKEN
60
61# `flags' for sc
62#	0x80	Put the video card in the VESA 800x600 dots, 16 color mode
63#	0x100	Probe for a keyboard device periodically if one is not present
64
65# Splash screen and screen saver support
66device		splash
67
68# Various screen savers.
69device		blank_saver
70device		daemon_saver
71device		dragon_saver
72device		fade_saver
73device		fire_saver
74device		green_saver
75device		logo_saver
76device		rain_saver
77device		snake_saver
78device		star_saver
79device		warp_saver
80
81#
82# Standard floppy disk controllers and floppy tapes, supports
83# the Y-E DATA External FDD (PC Card)
84#
85device		fdc
86envvar		hint.fdc.0.at="isa"
87envvar		hint.fdc.0.port="0x3F0"
88envvar		hint.fdc.0.irq="6"
89envvar		hint.fdc.0.drq="2"
90#
91# FDC_DEBUG enables floppy debugging.  Since the debug output is huge, you
92# gotta turn it actually on by setting the variable fd_debug with DDB,
93# however.
94options 	FDC_DEBUG
95#
96# Activate this line if you happen to have an Insight floppy tape.
97# Probing them proved to be dangerous for people with floppy disks only,
98# so it's "hidden" behind a flag:
99#hint.fdc.0.flags="1"
100
101# Specify floppy devices
102envvar		hint.fd.0.at="fdc0"
103envvar		hint.fd.0.drive="0"
104envvar		hint.fd.1.at="fdc0"
105envvar		hint.fd.1.drive="1"
106