rem: AHIBase->ahib_SysLib  = sysbase; AHIBase->ahib_SegList = (BPTR) seglist;
add: device->ahib_SysLib  = sysbase; device->ahib_SegList = (BPTR) seglist;
context: _DevInit( struct AHIBase*  device,	  APTR             seglist,	  struct ExecBase* sysbase ){  SysBase = sysbase;  AHIBase = device;#ifndef __AMIGAOS4__  AHIBase->ahib_Library.lib_Node.ln_Type = NT_DEVICE;  AHIBase->ahib_Library.lib_Node.ln_Name = (STRPTR) DevName;  AHIBase->ahib_Library.lib_Flags        = LIBF_SUMUSED | LIBF_CHANGED;  AHIBase->ahib_Library.lib_Version      = VERSION;  AHIBase->ahib_Library.lib_IdString     = (STRPTR) IDString;#endif  AHIBase->ahib_Library.lib_Revision     = REVISION;    AHIBase->ahib_SysLib  = sysbase;  AHIBase->ahib_SegList = (BPTR) seglist;#if defined( __mc68000__ )  // Make sure we're running on a M68020 or better    if( ( SysBase->AttnFlags & AFF_68020 ) == 0 )  {    Alert( ( AN_Unknown | ACPU_InstErr ) & (~AT_DeadEnd) );    FreeMem( (APTR) ( ( (char*) device ) - device->ahib_Library.lib_NegSize ),             device->ahib_Library.lib_NegSize + device->ahib_Library.lib_PosSize );    return NULL;  }#endif  InitSemaphore( &AHIBase->ahib_Lock );  if( !OpenLibs() )  {    CloseLibs();    FreeMem( (APTR) ( ( (char*) device ) - device->ahib_Library.lib_NegSize ),             device->ahib_Library.lib_NegSize + device->ahib_Library.lib_PosSize );    return NULL;  }  return AHIBase;}