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