1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
#!/bin/sh
#
# This script, when installed in your /etc/rc.d directory,
# and when called from e.g. rc.local or rc.M will enable
# various performance and power-saving features on your
# Cyrix CPU.
#
# set6x86 version 1.2 or newer required
BINPATH=/usr/sbin
echo -n "Cyrix 6x86: Suspend-on-Halt, "
$BINPATH/set6x86 -p 0xC2 -s 0x08
echo -n "Fast ADS, "
$BINPATH/set6x86 -p 0xC2 -c 0x02
# MAPEN (access to CCR4/5 enabled -- needed for settings below)
$BINPATH/set6x86 -p 0xC3 -s 0x10
echo -n "Fast IORT, "
$BINPATH/set6x86 -p 0xE8 -s 0x07
echo -n "Enable DTE, "
$BINPATH/set6x86 -p 0xE8 -s 0x10
echo -n "Fast LOOP, "
$BINPATH/set6x86 -p 0xE9 -c 0x02
# This enables some performance features for the linear memory mapped
# VGA memory buffer, assuming it's on address 0xE0000000.
#
# On my system, memory bandwidth goes from 44 MB/sec to 78 MB/sec.
#
# It is disabled here, because this is very system-dependent.
#
#echo -n "Fast Lin. VidMem."
#$BINPATH/set6x86 -p 0xD6 0xE0
#$BINPATH/set6x86 -p 0xD7 0x00
#$BINPATH/set6x86 -p 0xD8 0x0A
#$BINPATH/set6x86 -p 0xE2 0x09
# MAPEN (disable access to CCR4/5)
$BINPATH/set6x86 -p 0xC3 -c 0x10
echo
|