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