#!/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 6x86MX 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 # Setup ARR6 and RCR6 for a 2 Mb region # This enables some performance features for the linear memory mapped # VGA memory buffer, assuming it's on address 0xE7800000. # echo -n ", Fast Linear Video Memory" $BINPATH/set6x86 -p 0xD6 0xE7 $BINPATH/set6x86 -p 0xD7 0x80 $BINPATH/set6x86 -p 0xD8 0x0A $BINPATH/set6x86 -p 0xE2 0x09 # MAPEN (disable access to CCR4/5) $BINPATH/set6x86 -p 0xC3 -c 0x10 echo