BSD 4_4 release
[unix-history] / usr / src / lib / libplot / t4013 / scale.c
index cbc40f8..3f5502e 100644 (file)
@@ -1,32 +1,28 @@
+/O Registers */
+#endif IO_ISABEGIN
+
 /*
 /*
- * Copyright (c) 1980 Regents of the University of California.
- * All rights reserved.  The Berkeley software License Agreement
- * specifies the terms and conditions for redistribution.
+ * Input / Output Memory Physical Addresses
  */
 
  */
 
-#ifndef lint
-static char sccsid[] = "@(#)scale.c    5.1 (Berkeley) 6/7/85";
-#endif not lint
+#ifndef        IOM_BEGIN
+#define        IOM_BEGIN       0xa0000         /* Start of I/O Memory "hole" */
+#define        IOM_END         0xFFFFF         /* End of I/O Memory "hole" */
+#endif IOM_BEGIN
+
+/*
+ * RAM Physical Address Space (ignoring the above mentioned "hole")
+ */
 
 
-extern float scalex;
-extern float scaley;
-extern int scaleflag;
-scale(i,x,y)
-char i;
-float x,y;
-{
-       switch(i) {
-       default:
-               return;
-       case 'c':
-               x *= 2.54;
-               y *= 2.54;
-       case 'i':
-               x /= 200;
-               y /= 200;
-       case 'u':
-               scalex = 1/x;
-               scaley = 1/y;
-       }
-       scaleflag = 1;
-}
+#ifndef        RAM_BEGIN
+#define        RAM_BEGIN       0x000000        /* Start of RAM Memory */
+#define        RAM_END         0xFFFFFF        /* End of RAM Memory */
+#endif IOM_BEGIN
+
+/*
+ * Oddball Physical Memory Addresses
+ */
+#ifndef        COMPAQ_RAMRELOC
+#define        COMPAQ_RAMRELOC 0x80c00000      /* Compaq RAM relocation/diag */
+#define        COMPAQ_RAMSETUP 0x80c00002      /* Compaq RAM setup */
+#define        WEITEK_FPU      0xC0000000      /* WT
\ No newline at end of file