CPU(3) DOS COMMANDS CPU(3) NAME CPU : to display or change the processor mode. SYNOPSIS CPU [CACHE] [BURST] [NOCACHE] [NOBURST] [DATACACHE] [DATABURST] [NODATACACHE] [NODATABURST] [INSTCACHE] [INSTBURST] [NOINSTCACHE] [NOINSTBURST] [FASTROM] [NOFASTROM] [TRAP] [NOTRAP] [NOMMUTEST] [CHECK=] TEMPLATE CPU CACHE/S, BURST/S, NOCACHE/S, NOBURST/S, DATACACHE/S, DATABURST/S, NODATACACHE/S, NODATABURST/S, INSTCACHE/S, INSTBURST/S, NOINSTCACHE/S, NOINSTBURST/S, FASTROM/S, NOFASTROM/S, TRAP/S, NOTRAP/S, NOMMUTEST/S, CHECK/K PATH C: DESCRIPTION CPU is intended for Amiga fitted with a 68010, 68020, 68030 or 68040 processor, like the Amiga 3000 or 4000, or for Amiga with an accelerator card. The 680x0 processors have different features that makes them faster and more powerful than the 68000 one. CPU displays or change the available features on the system. Run without parameters, CPU simply displays the processor's type fitted on the system, and the state of each available mode for that processor. Each option turns one mode on or off. - The CACHE is a block of memory which is on the chip itself and that is used by processor to store the last accessed block of memory. There are 2 different caches, one for data and one for instruction. Caching must be turn OFF to run self modifying code safely. Only the 68020, 68030, and 68040 have a caches, (data and instruction caches) each of 256 bytes. - the BURST mode is a special mode that make access to memory faster. This cannot be used with all types of ram. OPTIONS CACHE : Instruction and data caching is turned on. BURST : Instruction and data burst mode is turned on. NOCACHE : Instruction and data caching is turned off. NOBURST : Instruction and data burst mode is turned off. DATACACHE : Data caching is turned on. BURST : Data burst mode is turned on. NODATACACHE : Data caching is turned off. NOBURST : Data burst mode is turned off. INSTCACHE : Instruction caching is turned on. INSTBURST : Instruction burst mode is turned on. NOINSTCACHE : Instruction caching is turned off. NOINSTBURST : Instruction burst mode is turned off. FASTROM : For machines with Kickstart on ROM, this copies the Kickstart into fast RAM to run it faster. This needs a MMU to work. NOFASTROM : For machines with Kickstart on ROM, this cancels the effect of FASTROM and regains the user RAM memory taken by Kickstart. TRAP : sets up a trap handler which calls ROM-Wack if any task accesses memory in the first 256 bytes or above the 16Mb range. NOTRAP : switches the trap handler off. NOMMUTEST : to disable MMU ? CHECK : check if the specified hardware is present. If the specified unit is missing or inoperative, a WARN condition is returned. EXAMPLE > CPU ; to see what processor is fitted. This script code checks if the 60040 is fitted: CPU CHECK 68040 if warn echo "Sorry, you are not that lucky" else echo "I which I had one too!" endif