DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T d

⟦a4e4e3391⟧ TextFile

    Length: 653 (0x28d)
    Types: TextFile
    Names: »defs.h«

Derivation

└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦3f75c1919⟧ »EurOpenD3/utils/decomp.tar.Z« 
        └─⟦510c4d5ee⟧ 
            └─⟦this⟧ »decomp/defs.h« 

TextFile

/*
 * Module: defs.h
 *
 * Author: J. Reuter
 *
 * Thie include file contains definitions common to all files.
 */

#include <stdio.h>
#include <a.out.h>

#define private static

#define TRUE 1
#define FALSE 0

/*
 * Define some macros that should be in a.out.h, but aren't.
 */
#define N_TRLOFF( x ) \
  ( N_TXTOFF(x) + (x).a_text+(x).a_data )
#define N_DRLOFF( x ) \
  ( N_TRLOFF(x) + (x).a_trsize )
#define N_DATOFF( x ) \
  ( N_TXTOFF(x) + (x).a_text )

#define NREG 16			/* number of registers */

/* some symbolic names for special registers */
#define AP 12
#define FP 13
#define SP 14
#define PC 15

typedef int address;

extern char *malloc();