Fixed binary search: no more infinite loops when vendor is unknown.
[tangerine.git] / workbench / fs / fat / startup-amigaos.c
bloba55da87690060bba58357991063f907b3bd549cf
1 /*
2 * fat.handler - FAT12/16/32 filesystem handler
4 * Copyright © 2006 Marek Szyprowski
5 * Copyright © 2007 The AROS Development Team
7 * This program is free software; you can redistribute it and/or modify it
8 * under the same terms as AROS itself.
10 * $Id: startup-amigaos.c,v 1.1 2008/04/25 10:33:43 sonic_amiga Exp $
13 #define DEBUG 0
15 #include <exec/execbase.h>
16 #include "debug.h"
18 #ifdef __MORPHOS__
19 ULONG __abox__ = 1;
20 #endif
22 struct ExecBase *SysBase;
24 extern void handler(void);
26 void startup (void) {
27 SysBase = *(struct ExecBase **)4L;
28 D(bug("[FAT] handler started, ExecBase = 0x%08lX\n"));
29 handler();