home *** CD-ROM | disk | FTP | other *** search
- RCS_ID bases_h_id[]="$Id: bases.h,v 3.1 93/10/07 19:24:20 ppessi Exp $";
- /*
- * bases.h --- Define library base variables
- *
- * Author: ppessi <Pekka.Pessi@hut.fi>
- *
- * Copyright (c) 1993 Pekka Pessi. All rights reserved
- *
- * Created : Sun Feb 21 16:55:13 1993 ppessi
- * Last modified: Thu Oct 7 18:54:30 1993 ppessi
- *
- */
-
- /* DO NOT INCLUDE THIS FILE IN INITIALIZATION CODE */
-
- /*
- * Compiler Magic - Avoid the pre-processor problem
- */
- #if 0
- #define AgnetDeviceBase ((struct AgnetDevice*)__builtin_getreg(14))
- #endif
- #define SysBase (AgnetDeviceBase->ad_SysBase)
- #define DOSBase (AgnetDeviceBase->ad_DOSBase)
- #define TimerBase (AgnetDeviceBase->ad_Timer.tr_node.io_Device)
- #define IntuitionBase (AgnetDeviceBase->ad_IntuitionBase)
-
- extern struct AgnetDevice *AgnetDeviceBase;
-