SOURCE: qdev_autodocs.txt 1.163 (12/09/2014) English AMIGA - NFO_#?
----------------------------------------------------------------------------
NAME
nfo_m68kcputype() - Obtains CPU type of m68k family in OS
notation.
SYNOPSIS
cpu = nfo_m68kcputype();
ULONG nfo_m68kcputype(void);
FUNCTION
This function determines what CPU is currently being
used. The output is nearly what 'AttnFlags' would deliver.
Nearly cus it is plain CPU type info and nothing more!
INPUTS
No input.
RETURNS
Returns CPU type. 0 == 68000.
BASES
SysBase
NOTES
Original 68060 detection code by Harry 'Piru' Sintonen.
Reports correctly the 68060 CPU under the V39 and earlier.
If you need to check for the CPU continously in your code
then buffer the output in some variable cus calling this
function frequently(especially on 68060) kills the system
performance!
SEE ALSO
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
|