mirror of
https://github.com/weiju/amiga-stuff
synced 2026-09-13 12:11:31 +00:00
added the libraries subproject
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
** $VER: example_protos.h 37.1 (4.12.96)
|
||||
**
|
||||
** prototypes for example.library
|
||||
**
|
||||
** (C) Copyright 1996 Andreas R. Kleinert
|
||||
** All Rights Reserved.
|
||||
*/
|
||||
|
||||
#ifndef CLIB_EXAMPLE_PROTOS_H
|
||||
#define CLIB_EXAMPLE_PROTOS_H
|
||||
|
||||
#ifndef EXAMPLE_EXAMPLE_H
|
||||
#include <example/example.h>
|
||||
#endif /* EXAMPLE_EXAMPLE_H */
|
||||
|
||||
ULONG EXF_TestRequest( UBYTE *title, UBYTE *body, UBYTE *gadgets);
|
||||
|
||||
#endif /* CLIB_EXAMPLE_PROTOS_H */
|
||||
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
** $VER: example.h 37.1 (4.12.96)
|
||||
**
|
||||
** main include file for example.library
|
||||
**
|
||||
** (C) Copyright 1996 Andreas R. Kleinert
|
||||
** All Rights Reserved.
|
||||
*/
|
||||
|
||||
#ifndef EXAMPLE_EXAMPLE_H
|
||||
#define EXAMPLE_EXAMPLE_H
|
||||
|
||||
/* nothing defined yet */
|
||||
|
||||
#endif /* EXAMPLE_EXAMPLE_H */
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
** $VER: examplebase.h 37.30 (7.3.98)
|
||||
**
|
||||
** definition of ExampleBase
|
||||
**
|
||||
** (C) Copyright 1996-98 Andreas R. Kleinert
|
||||
** All Rights Reserved.
|
||||
*/
|
||||
|
||||
#ifndef EXAMPLE_EXAMPLEBASE_H
|
||||
#define EXAMPLE_EXAMPLEBASE_H
|
||||
|
||||
#ifdef __MAXON__
|
||||
#ifndef EXEC_LIBRARIES_H
|
||||
#include <exec/libraries.h>
|
||||
#endif
|
||||
#else
|
||||
#ifndef EXEC_LIBRARIES
|
||||
#include <exec/libraries.h>
|
||||
#endif /* EXEC_LIBRARIES_H */
|
||||
#endif
|
||||
|
||||
struct ExampleBase
|
||||
{
|
||||
struct Library exb_LibNode;
|
||||
SEGLISTPTR exb_SegList;
|
||||
struct ExecBase *exb_SysBase;
|
||||
struct IntuitionBase *exb_IntuitionBase;
|
||||
struct GfxBase *exb_GfxBase;
|
||||
};
|
||||
|
||||
#endif /* EXAMPLE_EXAMPLEBASE_H */
|
||||
@@ -0,0 +1,19 @@
|
||||
#ifndef _INCLUDE_PRAGMA_EXAMPLE_LIB_H
|
||||
#define _INCLUDE_PRAGMA_EXAMPLE_LIB_H
|
||||
|
||||
#ifndef CLIB_EXAMPLE_PROTOS_H
|
||||
#include <clib/Example_protos.h>
|
||||
#endif
|
||||
|
||||
#if defined(AZTEC_C) || defined(__MAXON__) || defined(__STORM__)
|
||||
#pragma amicall(ExampleBase,0x01E,EXF_TestRequest(d1,d2,d3))
|
||||
#endif
|
||||
#if defined(_DCC) || defined(__SASC)
|
||||
#pragma libcall ExampleBase EXF_TestRequest 01E 32103
|
||||
#endif
|
||||
#ifdef __STORM__
|
||||
#endif
|
||||
#ifdef __SASC_60
|
||||
#endif
|
||||
|
||||
#endif /* _INCLUDE_PRAGMA_EXAMPLE_LIB_H */
|
||||
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
** $VER: example_pragmas.h 37.1 (4.12.96)
|
||||
**
|
||||
** pragmas for example.library
|
||||
**
|
||||
** (C) Copyright 1996 Andreas R. Kleinert
|
||||
** All Rights Reserved.
|
||||
*/
|
||||
|
||||
#ifndef PRAGMAS_EXAMPLE_H
|
||||
#define PRAGMAS_EXAMPLE_H
|
||||
|
||||
#pragma libcall ExampleBase EXF_TestRequest 1e 32103
|
||||
|
||||
#endif /* PRAGMAS_EXAMPLE_H */
|
||||
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
** $VER: example.h 37.1 (4.12.96)
|
||||
**
|
||||
** prototype/pragma include for example.library
|
||||
**
|
||||
** (C) Copyright 1996 Andreas R. Kleinert
|
||||
** All Rights Reserved.
|
||||
*/
|
||||
|
||||
#ifndef PROTO_EXAMPLE_H
|
||||
#define PROTO_EXAMPLE_H
|
||||
|
||||
#include <clib/example_protos.h>
|
||||
#include <pragmas/example_pragmas.h>
|
||||
|
||||
#endif /* PROTO_EXAMPLE_H */
|
||||
Reference in New Issue
Block a user