home *** CD-ROM | disk | FTP | other *** search
- /* ARM 3 Detection routines by Ampy of ARMFul
- See docs for details.
- */
-
- #ifndef __dl_swi_h
- #include "DeskLib:Swi.h"
- #endif
-
- BOOL arm3detect(void)
- {
- os_error *p = NULL;
-
- p = SWI(2, 0, SWI_OS_Module, 18, "ARM3Support");
- if (p==NULL)
- {
- int old;
- SWI(0, 1, 0x280, &old);
- if (old == 0)
- return(FALSE);
- }
-
- return (p==NULL);
- }
-