promotional, or sales literature without prior written consent from
MIT in each case. */
-/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/bintopsb.c,v 9.21 1987/01/22 14:10:46 jinx Exp $
+/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/bintopsb.c,v 9.22 1987/03/12 14:52:23 jinx Exp $
*
* This File contains the code to translate internal format binary
* files to portable format.
#define Do_Area(Code, Area, Bound, Obj, FObj) \
Process_Area(Code, &Area, &Bound, &Obj, &FObj)
+#if 0
+
#ifdef DEBUG
#define Show_Upgrade(This, New_Type) \
fprintf(stderr, "Upgrading from 0x%02x|%06x to 0x%x\n", \
break; \
}
+#endif 0
+
Process_Area(Code, Area, Bound, Obj, FObj)
int Code;
fast long *Area, *Bound;
case_simple_Vector:
Do_Pointer(*Area, Do_Vector);
+#if 0
+
/* This should be cleaned up: We can no longer do it like this
since we have reused the types.
*/
Upgrade(TC_PCOMB3);
case OLD_TC_PCOMB2:
Upgrade(TC_PCOMB2);
+#endif 0
default:
Bad_Type:
#define print_header(name, obj, format) \
fprintf(Portable_File, (format), (obj)); \
-fprintf(stderr, "%s: ", (name)); \
+fprintf(stderr, "%s: ", (name)); \
fprintf(stderr, (format), (obj))
#else
}
{ long Size = ((3 * (Heap_Count + Const_Count)) + NROOTS + 1);
-#ifdef FLOATING_ALIGNMENT
+#if 0
Size += (FLOATING_ALIGNMENT+1)/sizeof(Pointer);
#endif
Allocate_Heap_Space(Size);
exit(1);
}
}
+#if 0
Align_Float(Heap);
+#endif
Load_Data(Heap_Count, &Heap[0]);
Load_Data(Const_Count, &Heap[Heap_Count]);
Heap_Relocation = &Heap[0] - Get_Pointer(Heap_Base);
promotional, or sales literature without prior written consent from
MIT in each case. */
-/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/fasl.h,v 9.21 1987/01/22 14:24:10 jinx Exp $
+/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/fasl.h,v 9.22 1987/03/12 14:51:36 jinx Exp $
Contains information relating to the format of FASL files.
Some information is contained in CONFIG.H.
#define OPEN_FLAG "r"
/* "Memorable" FASL sub-versions -- ones where we modified something
- and want to remain backwards compatible
+ and want to remain backwards compatible.
*/
-#define FASL_OLDEST_SUPPORTED 2
#define FASL_LONG_HEADER 3
#define FASL_DENSE_TYPES 4
#define FASL_PADDED_STRINGS 5
+#define FASL_OLDEST_SUPPORTED 5
-/* Old Type Codes -- used for conversion purposes */
+#if 0
+/* Old Type Codes -- used for conversion purposes
+ This is no longer possible, because some were re-used
+ without changing the fasl file version.
+*/
#define OLD_TC_CHARACTER 0x40
#define OLD_TC_PCOMB2 0x44
#define OLD_TC_VECTOR_16B 0x7E
#define OLD_TC_UNASSIGNED 0x38
#define OLD_TC_SEQUENCE_3 0x3C
+
+#endif 0
promotional, or sales literature without prior written consent from
MIT in each case. */
-/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/microcode/bintopsb.c,v 9.21 1987/01/22 14:10:46 jinx Exp $
+/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/microcode/bintopsb.c,v 9.22 1987/03/12 14:52:23 jinx Exp $
*
* This File contains the code to translate internal format binary
* files to portable format.
#define Do_Area(Code, Area, Bound, Obj, FObj) \
Process_Area(Code, &Area, &Bound, &Obj, &FObj)
+#if 0
+
#ifdef DEBUG
#define Show_Upgrade(This, New_Type) \
fprintf(stderr, "Upgrading from 0x%02x|%06x to 0x%x\n", \
break; \
}
+#endif 0
+
Process_Area(Code, Area, Bound, Obj, FObj)
int Code;
fast long *Area, *Bound;
case_simple_Vector:
Do_Pointer(*Area, Do_Vector);
+#if 0
+
/* This should be cleaned up: We can no longer do it like this
since we have reused the types.
*/
Upgrade(TC_PCOMB3);
case OLD_TC_PCOMB2:
Upgrade(TC_PCOMB2);
+#endif 0
default:
Bad_Type:
#define print_header(name, obj, format) \
fprintf(Portable_File, (format), (obj)); \
-fprintf(stderr, "%s: ", (name)); \
+fprintf(stderr, "%s: ", (name)); \
fprintf(stderr, (format), (obj))
#else
}
{ long Size = ((3 * (Heap_Count + Const_Count)) + NROOTS + 1);
-#ifdef FLOATING_ALIGNMENT
+#if 0
Size += (FLOATING_ALIGNMENT+1)/sizeof(Pointer);
#endif
Allocate_Heap_Space(Size);
exit(1);
}
}
+#if 0
Align_Float(Heap);
+#endif
Load_Data(Heap_Count, &Heap[0]);
Load_Data(Const_Count, &Heap[Heap_Count]);
Heap_Relocation = &Heap[0] - Get_Pointer(Heap_Base);
promotional, or sales literature without prior written consent from
MIT in each case. */
-/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/microcode/fasl.h,v 9.21 1987/01/22 14:24:10 jinx Exp $
+/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/microcode/fasl.h,v 9.22 1987/03/12 14:51:36 jinx Exp $
Contains information relating to the format of FASL files.
Some information is contained in CONFIG.H.
#define OPEN_FLAG "r"
/* "Memorable" FASL sub-versions -- ones where we modified something
- and want to remain backwards compatible
+ and want to remain backwards compatible.
*/
-#define FASL_OLDEST_SUPPORTED 2
#define FASL_LONG_HEADER 3
#define FASL_DENSE_TYPES 4
#define FASL_PADDED_STRINGS 5
+#define FASL_OLDEST_SUPPORTED 5
-/* Old Type Codes -- used for conversion purposes */
+#if 0
+/* Old Type Codes -- used for conversion purposes
+ This is no longer possible, because some were re-used
+ without changing the fasl file version.
+*/
#define OLD_TC_CHARACTER 0x40
#define OLD_TC_PCOMB2 0x44
#define OLD_TC_VECTOR_16B 0x7E
#define OLD_TC_UNASSIGNED 0x38
#define OLD_TC_SEQUENCE_3 0x3C
+
+#endif 0