update to have ADDR16, etc
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Sun, 6 Feb 1983 09:29:14 +0000 (01:29 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Sun, 6 Feb 1983 09:29:14 +0000 (01:29 -0800)
SCCS-vsn: usr.bin/pascal/pxp/whoami.h 1.2

usr/src/usr.bin/pascal/pxp/whoami.h

index 1d0869c..c95a6b9 100644 (file)
@@ -1,5 +1,41 @@
-/*     @(#)whoami.h    1.1     (Berkeley)      83/02/05        */
+/*     @(#)whoami.h    1.2     (Berkeley)      83/02/05        */
 
 
-#define PXP 1
+/*
+ *     we assume one of the following will be defined by the preprocessor:
+ *     vax     for vaxes
+ *     pdp11   for pdp11's
+ *     mc68000 for motorola mc68000's
+ */
 
 
-#define putchar pchr
+/*
+ *     hardware characteristics:
+ *     address size (16 or 32 bits) and byte ordering (normal or dec11 family).
+ */
+#ifdef vax
+#undef ADDR16
+#define        ADDR32
+#define        DEC11
+#endif vax
+#ifdef mc68000
+#undef ADDR16
+#define        ADDR32
+#undef DEC11
+#endif mc68000
+#ifdef pdp11
+#define        ADDR16
+#undef ADDR32
+#define        DEC11
+#endif pdp11
+
+/*
+ *     am i pi or pxp?
+ */
+#undef PI
+#define        PXP
+
+/*
+ *     am i both passes, or am i only one of the two passes pi0 or pi1?
+ */
+#define        PI01
+#undef PI0
+#undef PI1