1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-03-03 18:06:23 +00:00

NEW_STORAGE is no longer new. (#135)

* Always follow NEW_STORAGE code paths.

This removes the code paths for the pre-NEW_STORAGE code.

* Remove NEW_STORAGE from build system.

The code no longer refers to `NEW_STORAGE`, so we can remove
this from the build system.
This commit is contained in:
Bruce Mitchener
2020-12-29 01:10:43 +07:00
committed by GitHub
parent 14402131e7
commit 01926fc232
51 changed files with 52 additions and 84 deletions

View File

@@ -8,7 +8,7 @@ LPFILES = lpmain.obj lpread.obj lpsolve.obj lpwrite.obj lpdual.obj lptran.obj
KEY = keytstno.obj
CFLAGS = -DBIGATOMS -DNEW_STORAGE -DDOS -DBYTESWAP -DKBINT -DNOPIXRECT \
CFLAGS = -DBIGATOMS -DDOS -DBYTESWAP -DKBINT -DNOPIXRECT \
-DNOFORN -DNOETHER -DNOVERSION -DLPSOLVE -g
LDFLAGS = -g graphics.lib binmode.lib mouse.lib

View File

@@ -22,7 +22,7 @@ OEXT = .o
OPTFLAGS = -O2 -g3
DISPOPTFLAGS = -O2 -g3
FPFLAGS =
DFLAGS = -DNEW_STORAGE -DLINUX -DAIX -DOLD_CURSOR \
DFLAGS = -DLINUX -DAIX -DOLD_CURSOR \
-DBYTESWAP -DFORKCOMM -DNOFORN -DLOGINT $(XFLAGS) \
-DRELEASE=351 -DSYSVSIGNALS -DSYSVONLY \
-D_GNU_SOURCE

View File

@@ -21,7 +21,7 @@ OPTFLAGS = -O2 -g
DISPOPTFLAGS = -O2 -g
FPFLAGS =
DEBUGFLAGS = # -DDEBUG -DOPTRACE
DFLAGS = $(DEBUGFLAGS) -DNEW_STORAGE -DMACOSX -DOLD_CURSOR \
DFLAGS = $(DEBUGFLAGS) -DMACOSX -DOLD_CURSOR \
-DBYTESWAP -DFORKCOMM -DNOFORN -DLOGINT $(XFLAGS) \
-DRELEASE=351 -DSTACKCHECK -DFSBCHECK -DPCTRACE

View File

@@ -21,7 +21,7 @@ OPTFLAGS = -O1 -g
DISPOPTFLAGS = -O1 -g
FPFLAGS =
DEBUGFLAGS = # -DDEBUG -DOPTRACE
DFLAGS = $(DEBUGFLAGS) -DNEW_STORAGE -DMACOSX -DOLD_CURSOR \
DFLAGS = $(DEBUGFLAGS) -DMACOSX -DOLD_CURSOR \
-DBYTESWAP -DFORKCOMM -DNOFORN -DLOGINT $(XFLAGS) \
-DRELEASE=351

View File

@@ -21,7 +21,7 @@ OPTFLAGS = -O1 -g
DISPOPTFLAGS = -O1 -g
FPFLAGS =
DEBUGFLAGS = # -DDEBUG -DOPTRACE
DFLAGS = $(DEBUGFLAGS) -DNEW_STORAGE -DMACOSX -DOLD_CURSOR \
DFLAGS = $(DEBUGFLAGS) -DMACOSX -DOLD_CURSOR \
-DBYTESWAP -DFORKCOMM -DNOFORN -DLOGINT $(XFLAGS) \
-DRELEASE=351

View File

@@ -8,7 +8,7 @@ LPFILES = lpmain.obj lpread.obj lpsolve.obj lpwrite.obj lpdual.obj lptran.obj
KEY = keytstno.obj
CFLAGS = -DBIGATOMS -DNEW_STORAGE -DDOS -DBYTESWAP -DKBINT -DNOPIXRECT \
CFLAGS = -DBIGATOMS -DDOS -DBYTESWAP -DKBINT -DNOPIXRECT \
-DNOFORN -DNOETHER -DNOVERSION -DLPSOLVE -g
LDFLAGS = -g graphics.lib binmode.lib mouse.lib

View File

@@ -21,7 +21,7 @@ OEXT = .o
OPTFLAGS = -O1 -gdwarf-2
DISPOPTFLAGS = -O1 -gdwarf-2
FPFLAGS =
DFLAGS = -DNEW_STORAGE -DFREEBSD -DOLD_CURSOR \
DFLAGS = -DFREEBSD -DOLD_CURSOR \
-DBYTESWAP -DFORKCOMM -DNOFORN -DLOGINT $(XFLAGS) \
-DRELEASE=351

View File

@@ -20,7 +20,7 @@ XFLAGS = -I/opt/X11/include -DXWINDOW -DNOPIXRECT
OPTFLAGS = -O0 -g
DISPOPTFLAGS = -O0 -g
FPFLAGS =
DFLAGS = -DNEW_STORAGE -DMACOSX -DOLD_CURSOR \
DFLAGS = -DMACOSX -DOLD_CURSOR \
-DBYTESWAP -DFORKCOMM -DNOFORN -DLOGINT $(XFLAGS) \
-DRELEASE=351 -DNOVERSION -DINIT -DTRACE -DOPTRACE

View File

@@ -21,7 +21,7 @@ OEXT = .o
OPTFLAGS = -O2 -g3
DISPOPTFLAGS = -O2 -g3
FPFLAGS =
DFLAGS = -DNEW_STORAGE -DLINUX -DAIX -DOLD_CURSOR \
DFLAGS = -DLINUX -DAIX -DOLD_CURSOR \
-DBYTESWAP -DFORKCOMM -DNOFORN -DLOGINT $(XFLAGS) \
-DRELEASE=351 -DSYSVSIGNALS -DSYSVONLY \
-D_GNU_SOURCE

View File

@@ -21,7 +21,7 @@ OEXT = .o
OPTFLAGS = -O2 -g3
DISPOPTFLAGS = -O2 -g3
FPFLAGS =
DFLAGS = -DNEW_STORAGE -DLINUX -DAIX -DOLD_CURSOR \
DFLAGS = -DLINUX -DAIX -DOLD_CURSOR \
-DBYTESWAP -DFORKCOMM -DNOFORN -DLOGINT $(XFLAGS) \
-DRELEASE=351 -DSYSVSIGNALS -DSYSVONLY \
-D_GNU_SOURCE

View File

@@ -22,7 +22,7 @@ OEXT = .o
OPTFLAGS = -O2 -g3
DISPOPTFLAGS = -O2 -g3
FPFLAGS =
DFLAGS = -DNEW_STORAGE -DLINUX -DAIX -DOLD_CURSOR \
DFLAGS = -DLINUX -DAIX -DOLD_CURSOR \
-DBYTESWAP -DFORKCOMM -DNOFORN -DLOGINT $(XFLAGS) \
-DRELEASE=351 -DSYSVSIGNALS -DSYSVONLY \
-D_GNU_SOURCE

View File

@@ -6,7 +6,7 @@ OEXT = .o
OPTFLAGS = -O2
DISPOPTFLAGS = -O
FPFLAGS = -f68881
DFLAGS = -DKBINT -DNEW_STORAGE -DOPDISP -DSUN3_OS3_IL -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DFORKCOMM -DBIGATOMS
DFLAGS = -DKBINT -DOPDISP -DSUN3_OS3_IL -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DFORKCOMM -DBIGATOMS
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
INLINE = $(SRCDIR)disp68K.il
BITBLTFILE = $(OBJECTDIR)bitblt68K.o

View File

@@ -33,7 +33,7 @@ OEXT = .o
OPTFLAGS = -O2
DISPOPTFLAGS = -O
FPFLAGS = -f68881
DFLAGS = -DNEW_STORAGE -DOPDISP -DSUN3_OS3_IL -DNEWBITBLT -DLOGINT $(XFLAGS) -DFORKCOMM -DBIGATOMS
DFLAGS = -DOPDISP -DSUN3_OS3_IL -DNEWBITBLT -DLOGINT $(XFLAGS) -DFORKCOMM -DBIGATOMS
LDFLAGS = -lX11 -lpixrect -lc -lm
INLINE = $(SRCDIR)disp68K.il
BITBLTFILE = $(OBJECTDIR)bitblt68K.o

View File

@@ -6,7 +6,7 @@ OEXT = .o
OPTFLAGS = -O2
FPFLAGS =
# JRB - I'm not 100% sure about these flags; someone should check...
DFLAGS = -DKBINT -DNEW_STORAGE -DFLTINT -DSPARCDISP -DOS4_TYPE4BUG -DOLD_CURSOR -DSUNDISPLAY -DFORKCOMM -DBIGATOMS
DFLAGS = -DKBINT -DFLTINT -DSPARCDISP -DOS4_TYPE4BUG -DOLD_CURSOR -DSUNDISPLAY -DFORKCOMM -DBIGATOMS
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
#-Dsparc?
INLINE = $(SRCDIR)dispSPARC.il

View File

@@ -5,7 +5,7 @@ OEXT = .o
#For debugging
OPTFLAGS = -g
FPFLAGS =
DFLAGS = -DKBINT -DNEW_STORAGE -DFLTINT -DNOASM -DOS4 -DI386 -DBYTESWAP -DCHECK -DLOGINT -DSUNDISPLAY -DFORKCOMM
DFLAGS = -DKBINT -DFLTINT -DNOASM -DOS4 -DI386 -DBYTESWAP -DCHECK -DLOGINT -DSUNDISPLAY -DFORKCOMM
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
INLINE = $(SRCDIR)disp386i.il

View File

@@ -6,7 +6,7 @@ OEXT = .o
OPTFLAGS = -O
DISPOPTFLAGS = -O
FPFLAGS =
DFLAGS = -DKBINT -DNEW_STORAGE -DOS4 -DI386 -DBYTESWAP -DCHECK -DLOGINT -DDISPLAYBUFFER -DSUNDISPLAY -DNEWBITBLT -DOPDISP -DFORKCOMM -DBIGATOMS
DFLAGS = -DKBINT -DOS4 -DI386 -DBYTESWAP -DCHECK -DLOGINT -DDISPLAYBUFFER -DSUNDISPLAY -DNEWBITBLT -DOPDISP -DFORKCOMM -DBIGATOMS
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
INLINE = $(SRCDIR)disp386i.il
BITBLTFILE=$(OBJECTDIR)bitblt386i.o

View File

@@ -10,7 +10,7 @@ FPFLAGS = -f68881
# [I remove DISPLAYBUFFER option .
# You may run 'makeright multi'. -osamu '90/02/07]
# NEWBITBLT for assembler version of bitblt.
DFLAGS = -DKBINT -DNEW_STORAGE -DOPDISP -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DFORKCOMM -DBIGATOMS
DFLAGS = -DKBINT -DOPDISP -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DFORKCOMM -DBIGATOMS
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
INLINE = $(SRCDIR)disp68K.il

View File

@@ -11,7 +11,7 @@ DISPOPTFLAGS = -O
FPFLAGS = -f68881
# DISPLAYBUFFER for Color Sparcstation code testing
# NEWBITBLT for assembler version of bitblt.
DFLAGS = -DKBINT -DNEW_STORAGE -DOPDISP -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DDISPLAYBUFFER -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DDISPLAYBUFFER -DFORKCOMM -DBIGATOMS
DFLAGS = -DKBINT -DOPDISP -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DDISPLAYBUFFER -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DDISPLAYBUFFER -DFORKCOMM -DBIGATOMS
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
INLINE = $(SRCDIR)disp68K.il

View File

@@ -37,7 +37,7 @@ FPFLAGS = -f68881
# [I remove DISPLAYBUFFER option .
# You may run 'makeright x'. -osamu '90/02/27]
# NEWBITBLT for assembler version of bitblt.
DFLAGS = -DNEW_STORAGE -DOPDISP -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DNEWBITBLT -DLOGINT $(XFLAGS) -DFORKCOMM -DBIGATOMS
DFLAGS = -DOPDISP -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DNEWBITBLT -DLOGINT $(XFLAGS) -DFORKCOMM -DBIGATOMS
LDFLAGS = -lX11 -lpixrect -lc -lm
INLINE = $(SRCDIR)disp68K.il

View File

@@ -9,7 +9,7 @@ DISPOPTFLAGS = -g
FPFLAGS =
# Now share the same ldesingle with COLOR(CG4)/MONO Suns
# If you load MAIKOCOLOR.LCOM etc., you can use color functions
DFLAGS = -DKBINT -DNEW_STORAGE -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DCOLOR -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DFORKCOMM -DBIGATOMS -DNOEUROKBD
DFLAGS = -DKBINT -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DCOLOR -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DFORKCOMM -DBIGATOMS -DNOEUROKBD
LDFLAGS = -lsuntool -lsunwindow -lpixrect -ldld -lc -lm
# SPARC Assemble optimize check
DFLAGS:sh += optck.sh ; true

View File

@@ -6,7 +6,7 @@ OEXT = .o
OPTFLAGS = -g
FPFLAGS =
# For COLOR, Add COLOR, remove OLD_CURSOR
DFLAGS = -DKBINT -DNEW_STORAGE -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DFLTINT -DCOLOR -DNEWBITBLT -DSUNDISPLAY -DLOGINT -DFORKCOMM
DFLAGS = -DKBINT -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DFLTINT -DCOLOR -DNEWBITBLT -DSUNDISPLAY -DLOGINT -DFORKCOMM
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
# SPARC Assemble optimize check
DFLAGS:sh += optck.sh ; true

View File

@@ -14,7 +14,7 @@ FPFLAGS =
# Now share the same ldemulti for Mono-Medley & Color-Medley
# If you load MAIKOCOLOR.LCOM etc., you can use color functions
DFLAGS = -DKBINT -DNEW_STORAGE -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DCOLOR -DDISPLAYBUFFER -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DDISPLAYBUFFER -DFORKCOMM -DBIGATOMS -DNOEUROKBD
DFLAGS = -DKBINT -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DCOLOR -DDISPLAYBUFFER -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DDISPLAYBUFFER -DFORKCOMM -DBIGATOMS -DNOEUROKBD
LDFLAGS = -lsuntool -lsunwindow -lpixrect -ldld -lc -lm
# SPARC Assemble optimize check
DFLAGS:sh += optck.sh ; true

View File

@@ -34,7 +34,7 @@ OPTFLAGS = -g
DISPOPTFLAGS = -g
FPFLAGS =
DFLAGS = -DNEW_STORAGE -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DOLD_CURSOR -DNEWBITBLT -DLOGINT $(XFLAGS) -DFORKCOMM -DBIGATOMS -DNOEUROKBD
DFLAGS = -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DOLD_CURSOR -DNEWBITBLT -DLOGINT $(XFLAGS) -DFORKCOMM -DBIGATOMS -DNOEUROKBD
LDFLAGS = -lX11 -lpixrect -lc -lm -ldld
LDELDFLAGS = -Bstatic -lX11 -lpixrect -Bdynamic -lc -lm
# SPARC Assemble optimize check

View File

@@ -5,7 +5,7 @@ OEXT = .o
#For debugging
OPTFLAGS = -g
FPFLAGS =
DFLAGS = -DKBINT -DNEW_STORAGE -DFLTINT -DNOASM -DOS4 -DI386 -DBYTESWAP -DCHECK -DLOGINT -DSUNDISPLAY -DFORKCOMM
DFLAGS = -DKBINT -DFLTINT -DNOASM -DOS4 -DI386 -DBYTESWAP -DCHECK -DLOGINT -DSUNDISPLAY -DFORKCOMM
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
INLINE = $(SRCDIR)disp386i.il

View File

@@ -6,7 +6,7 @@ OEXT = .o
OPTFLAGS = -O -traditional
DISPOPTFLAGS = -O -traditional
FPFLAGS =
DFLAGS = -DKBINT -DNEW_STORAGE -DOS4 -DI386 -DBYTESWAP -DCHECK -DLOGINT -DDISPLAYBUFFER -DSUNDISPLAY -DNEWBITBLT -DOPDISP -DFORKCOMM -DBIGATOMS
DFLAGS = -DKBINT -DOS4 -DI386 -DBYTESWAP -DCHECK -DLOGINT -DDISPLAYBUFFER -DSUNDISPLAY -DNEWBITBLT -DOPDISP -DFORKCOMM -DBIGATOMS
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
INLINE = $(SRCDIR)disp386i.il
BITBLTFILE=$(OBJECTDIR)bitblt386i.o

View File

@@ -10,7 +10,7 @@ FPFLAGS = -f68881
# [I remove DISPLAYBUFFER option .
# You may run 'makeright multi'. -osamu '90/02/07]
# NEWBITBLT for assembler version of bitblt.
DFLAGS = -DKBINT -DNEW_STORAGE -DOPDISP -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DFORKCOMM -DBIGATOMS
DFLAGS = -DKBINT -DOPDISP -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DFORKCOMM -DBIGATOMS
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
INLINE = $(SRCDIR)disp68K.il

View File

@@ -11,7 +11,7 @@ DISPOPTFLAGS = -O
FPFLAGS = -f68881
# DISPLAYBUFFER for Color Sparcstation code testing
# NEWBITBLT for assembler version of bitblt.
DFLAGS = -DKBINT -DNEW_STORAGE -DOPDISP -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DDISPLAYBUFFER -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DDISPLAYBUFFER -DFORKCOMM -DBIGATOMS
DFLAGS = -DKBINT -DOPDISP -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DDISPLAYBUFFER -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DDISPLAYBUFFER -DFORKCOMM -DBIGATOMS
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
INLINE = $(SRCDIR)disp68K.il

View File

@@ -37,7 +37,7 @@ FPFLAGS = -f68881
# [I remove DISPLAYBUFFER option .
# You may run 'makeright x'. -osamu '90/02/27]
# NEWBITBLT for assembler version of bitblt.
DFLAGS = -DNEW_STORAGE -DOPDISP -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DNEWBITBLT -DLOGINT $(XFLAGS) -DFORKCOMM -DBIGATOMS
DFLAGS = -DOPDISP -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DNEWBITBLT -DLOGINT $(XFLAGS) -DFORKCOMM -DBIGATOMS
LDFLAGS = -lX11 -lpixrect -lc -lm
LDELDFLAGS = -Bstatic -lX11 -lpixrect -Bdynamic -lc -lm

View File

@@ -43,7 +43,7 @@ INLINEFLAGS = # -DSPARCDISP -DSUN4_OS4_IL
DFLAGS = $(DEBUGFLAGS) \
$(MACHINEFLAGS) \
$(INLINEFLAGS) \
-DKBINT -DNEW_STORAGE \
-DKBINT \
-DRELEASE=350
LDFLAGS = -L$(LIBDIR) -lsuntool -lsunwindow -lpixrect -ldld -lc -lm

View File

@@ -17,7 +17,7 @@ OPTFLAGS = -O2
FPFLAGS =
# Now share the same ldesingle with COLOR(CG4)/MONO Suns
# If you load MAIKOCOLOR.LCOM etc., you can use color functions
DFLAGS = -DKBINT -DNEW_STORAGE -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DCOLOR -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DFORKCOMM -DBIGATOMS
DFLAGS = -DKBINT -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DCOLOR -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DFORKCOMM -DBIGATOMS
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
#-Dsparc?
INLINE = $(SRCDIR)dispSPARC.il

View File

@@ -6,7 +6,7 @@ OEXT = .o
OPTFLAGS = -g
FPFLAGS =
# For COLOR, Add COLOR, remove OLD_CURSOR
DFLAGS = -DKBINT -DNEW_STORAGE -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DFLTINT -DCOLOR -DNEWBITBLT -DSUNDISPLAY -DLOGINT -DFORKCOMM
DFLAGS = -DKBINT -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DFLTINT -DCOLOR -DNEWBITBLT -DSUNDISPLAY -DLOGINT -DFORKCOMM
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
#-Dsparc?

View File

@@ -48,7 +48,7 @@ INLINEFLAGS = # -DSPARCDISP -DSUN4_OS4_IL
DFLAGS = $(DEBUGFLAGS) \
$(MACHINEFLAGS) \
$(INLINEFLAGS) \
-DKBINT -DNEW_STORAGE \
-DKBINT \
-DNOVERSION -DRELEASE=350
LDFLAGS = -L$(LIBDIR) -lsuntool -lsunwindow -lpixrect -ldld -lc -lm

View File

@@ -17,7 +17,7 @@ FPFLAGS =
# Removed for debug: -DSPARCDISP -DSUN4_OS4_IL
# Added for debug: -DFNSTKCHECK -DMYOPTRACE -DOPTRACE -DNOASM
#
DFLAGS = -DKBINT -DNEW_STORAGE -DOS4 -DOS4_TYPE4BUG -DCOLOR -DDISPLAYBUFFER -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DSPARCDISP -DSUN4_OS4_IL -DBIGATOMS -DFORKCOMM
DFLAGS = -DKBINT -DOS4 -DOS4_TYPE4BUG -DCOLOR -DDISPLAYBUFFER -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DSPARCDISP -DSUN4_OS4_IL -DBIGATOMS -DFORKCOMM
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
#-Dsparc?
INLINE = $(SRCDIR)dispSPARC.il

View File

@@ -37,7 +37,7 @@ DFLAGS = $(DEBUGFLAGS) \
$(MACHINEFLAGS) \
$(INLINEFLAGS) \
$(XFLAGS) \
-DKBINT -DNEW_STORAGE \
-DKBINT \
-DNOVERSION -DRELEASE=200

View File

@@ -32,7 +32,7 @@ OEXT = .o
# OPTFLAGS is normally -O2.
OPTFLAGS = -O2
FPFLAGS =
DFLAGS = -DNEW_STORAGE -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DOLD_CURSOR \
DFLAGS = -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DOLD_CURSOR \
-DFORKCOMM -DNEWBITBLT -DLOGINT -DBIGATOMS $(XFLAGS)
LDFLAGS = -lX11 -lpixrect -lc -lm
# -Dsparc?

View File

@@ -42,7 +42,7 @@ FPFLAGS =
DFLAGS = $(XFLAGS) \
$(DEBUGFLAGS) \
-DNEW_STORAGE -DOS5 \
-DOS5 \
-DBYTESWAP -DSYSVSIGNALS \
-DOLD_CURSOR -DLOGINT \
-DNOPIXRECT -DFORKCOMM -DLOCK_X_UPDATES \

View File

@@ -42,7 +42,7 @@ FPFLAGS =
DFLAGS = $(XFLAGS) \
$(DEBUGFLAGS) \
-DNEW_STORAGE -DOS5 -DAIX -DUSE_DLPI \
-DOS5 -DAIX -DUSE_DLPI \
-DBYTESWAP \
-DOLD_CURSOR -DLOGINT \
-DNOPIXRECT -DFORKCOMM -DLOCK_X_UPDATES \

View File

@@ -46,7 +46,7 @@ MAIN = main
DEBUGFLAGS = # -DSTACKCHECK -DFNSTKCHECK
MACHINEFLAGS = -DOS5 -DUSE_DLPI -DNOPIXRECT -DSYSVSIGNALS \
-DOLD_CURSOR -DNEW_STORAGE -DLOGINT -DFORKCOMM -DLOCK_X_UPDATES
-DOLD_CURSOR -DLOGINT -DFORKCOMM -DLOCK_X_UPDATES
INLINEFLAGS =

View File

@@ -42,7 +42,7 @@ FPFLAGS =
DFLAGS = $(XFLAGS) \
$(DEBUGFLAGS) \
-DNEW_STORAGE -DOS5 \
-DOS5 \
-DBYTESWAP -DSYSVSIGNALS \
-DOLD_CURSOR -DLOGINT \
-DNOPIXRECT -DFORKCOMM -DLOCK_X_UPDATES \

View File

@@ -8,7 +8,7 @@ LPFILES = lpmain.obj lpread.obj lpsolve.obj lpwrite.obj lpdual.obj lptran.obj
KEY = keytstno.obj
CFLAGS = -DBIGATOMS -DNEW_STORAGE -DDOS -DBYTESWAP -DKBINT -DNOPIXRECT \
CFLAGS = -DBIGATOMS -DDOS -DBYTESWAP -DKBINT -DNOPIXRECT \
-DNOFORN -DNOETHER -DNOVERSION -DBIGVM -DNEWCDRCODING
LDFLAGS = -g graphics.lib binmode.lib mouse.lib

View File

@@ -46,7 +46,7 @@ ETHERFILES = ldeether.OEXT
KEY = keytstno.OEXT
CFLAGS = -I. -DBIGATOMS -DNEW_STORAGE XFLAGS EXTRACFLAGS DEBUG
CFLAGS = -I. -DBIGATOMS XFLAGS EXTRACFLAGS DEBUG
LDFLAGS = DEBUG EXTRALDFLAGS XLDFLAGS

View File

@@ -51,7 +51,7 @@ ETHERFILES = ldeether.OEXT
KEY = keytstno.OEXT
CFLAGS = -I. -DBIGATOMS -DNEW_STORAGE XFLAGS EXTRACFLAGS DEBUG
CFLAGS = -I. -DBIGATOMS XFLAGS EXTRACFLAGS DEBUG
LDFLAGS = DEBUG EXTRALDFLAGS XLDFLAGS

View File

@@ -51,7 +51,7 @@ ETHERFILES = ldeether.OEXT
KEY = keytstno.OEXT
CFLAGS = -I. -DBIGATOMS -DNEW_STORAGE XFLAGS EXTRACFLAGS DEBUG
CFLAGS = -I. -DBIGATOMS XFLAGS EXTRACFLAGS DEBUG
LDFLAGS = DEBUG EXTRALDFLAGS XLDFLAGS

View File

@@ -24,7 +24,7 @@ ETHERFILES = ldeether.obj
KEY = keytstno.obj
CFLAGS = -I. -DBIGATOMS -DNEW_STORAGE -DDOS -DBYTESWAP -DKBINT -DNOPIXRECT -DNOFORN -DNOETHER -DBIGATOMS -DBIGVM -DNEWCDRCODING -O2
CFLAGS = -I. -DBIGATOMS -DDOS -DBYTESWAP -DKBINT -DNOPIXRECT -DNOFORN -DNOETHER -DBIGATOMS -DBIGVM -DNEWCDRCODING -O2
LDFLAGS = -O2 graphics.lib binmode.lib mouse.lib

View File

@@ -64,13 +64,8 @@ typedef struct ifpage {
DLword mdszonelength;
DLword emubuffers;
DLword emubuflength;
#ifdef NEW_STORAGE
DLword ex_process_size; /* was lastnumchars */
DLword storagefullstate; /* was sysdisk */
#else
DLword lastnumchars;
DLword sysdisk;
#endif /* NEW_STORAGE */
DLword isfmap;
/* these are for \miscapply
* -- note that they are not ref counted, so don't pass the only pointer
@@ -152,13 +147,8 @@ typedef struct ifpage {
DLword mdszonelength;
DLword emubuffers;
DLword emubuflength;
#ifdef NEW_STORAGE
DLword process_size; /* was lastnumchars */
DLword storagefullstate; /* was sysdisk */
#else
DLword lastnumchars;
DLword sysdisk;
#endif /* NEW_STORAGE */
DLword isfmap;
/* these are for \miscapply
* -- note that they are not ref counted, so don't pass the only pointer
@@ -230,17 +220,10 @@ typedef struct ifpage {
DLword nshost2; /* hi word */
DLword emubuffers;
DLword mdszonelength; /* hi word */
#ifdef NEW_STORAGE
DLword ex_process_size;
DLword emubuflength; /* hi word */
DLword isfmap;
DLword storagefullstate; /* hi word */
#else
DLword lastnumchars;
DLword emubuflength; /* hi word */
DLword isfmap;
DLword sys_disk; /* hi word */
#endif /* NEW_STORAGE */
/* these are for \miscapply
* -- note that they are not ref counted, so don't pass the only pointer
* to something this way */
@@ -322,17 +305,10 @@ typedef struct ifpage {
DLword nshost2; /* hi word */
DLword emubuffers;
DLword mdszonelength; /* hi word */
#ifdef NEW_STORAGE
DLword process_size;
DLword emubuflength; /* hi word */
DLword isfmap;
DLword storagefullstate; /* hi word */
#else
DLword lastnumchars;
DLword emubuflength; /* hi word */
DLword isfmap;
DLword sys_disk; /* hi word */
#endif /* NEW_STORAGE */
/* these are for \miscapply
* -- note that they are not ref counted, so don't pass the only pointer
* to something this way */

View File

@@ -151,6 +151,14 @@ error Must specify RELEASE to build Medley.
/****************************************************************/
/* */
/* There used to be a define NEW_STORAGE, but this wasn't tied */
/* clearly to any RELEASE values. There are comments related */
/* to this in LLPARAMS on the Lisp side. */
/* */
/****************************************************************/
/****************************************************************/
/* */
/* Architecture-specific flags: Set flags */

View File

@@ -108,10 +108,8 @@ LispPTR *fixp_value(LispPTR *ptr) {
void init_ifpage(int sysout_size) {
extern long MDate;
extern int DisplayType;
#ifdef NEW_STORAGE
extern int Storage_expanded;
int new_lastvmem;
#endif
/*
Initialize IFPAGE
*/
@@ -122,7 +120,6 @@ void init_ifpage(int sysout_size) {
#endif /* NOETHER */
/*InterfacePage->dl24bitaddressable = (sysout_size == 32? 0xffff : 0);*/
InterfacePage->dl24bitaddressable = (sysout_size == 8 ? 0 : 0xffff);
#ifdef NEW_STORAGE
new_lastvmem = (sysout_size * PAGES_IN_MBYTE) - 1;
if ((!Storage_expanded) && (InterfacePage->dllastvmempage != new_lastvmem)) {
@@ -135,9 +132,6 @@ void init_ifpage(int sysout_size) {
}
/* Set current process size */
InterfacePage->process_size = sysout_size;
#else
InterfacePage->dllastvmempage = LASTVMEMPAGE;
#endif /* NEW_STORAGE */
#ifdef BIGVM
/* For BIGVM system, save the value in \LASTVMEMFILEPAGE for lisp's use */

View File

@@ -141,7 +141,6 @@ int sysout_loader(char * sysout_file_name, int sys_size)
exit(-1);
}
#endif /* NOVERSION */
#ifdef NEW_STORAGE
if (sys_size == 0) /* use default or the previous one */
{
if (ifpage.process_size == 0) /* Pure LISP.SYSOUT */
@@ -180,9 +179,6 @@ int sysout_loader(char * sysout_file_name, int sys_size)
/* You can use secondary space , though it was STORAGEFULL
So, STORAGEFULL may be set to NIL later */
}
#else
if (sys_size == 0) sys_size = DEFAULT_MAX_SYSOUTSIZE;
#endif /* NEW_STORAGE */
/* allocate Virtual Memory Space */

View File

@@ -532,9 +532,7 @@ int main(int argc, char *argv[])
init_ifpage(sysout_size); /* init interface page */
init_iopage();
init_miscstats();
#ifdef NEW_STORAGE
init_storage();
#endif /* NEW_STORAGE */
set_cursor();

View File

@@ -72,9 +72,7 @@ void check_sysout(char *sysout_file_name, int verbose) {
if (verbose) {
printf("ifpage.minbversion %d\n", ifpage.minbversion);
printf("ifpage.process_size %d\n", ifpage.process_size);
#ifdef NEW_STORAGE
printf("ifpage.storagefullstate %d\n", ifpage.storagefullstate);
#endif
printf("ifpage.nactivepages %d\n", ifpage.nactivepages);
} else {
printf("%d", ifpage.minbversion);

View File

@@ -387,7 +387,6 @@ LispPTR vmem_save(char *sysout_file_name)
InterfacePage->machinetype = KATANA;
#ifdef NEW_STORAGE
/* Restore storagefull state */
if (((*STORAGEFULLSTATE_word) & 0xffff) == SFS_NOTSWITCHABLE) {
/* This sysout uses only 8 Mbyte lisp space.
@@ -402,7 +401,6 @@ LispPTR vmem_save(char *sysout_file_name)
/* Otherwise, just restore storagefullstate in IFPAGE */
InterfacePage->storagefullstate = (*STORAGEFULLSTATE_word) & 0xffff;
}
#endif /* NEW_STORAGE */
/* First, sort fptovp table, trying to get pages contiguous */
#ifndef BIGVM