aboutsummaryrefslogtreecommitdiff
path: root/emulators/pcemu/files/patch-aa
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1995-03-27 21:35:21 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1995-03-27 21:35:21 +0000
commit869622ad387690d0689907e61b2eadd0cedaf7bc (patch)
treec63434170244083265d9ddf8c447e2a75c961f26 /emulators/pcemu/files/patch-aa
parent74514e02ffda76e0ceaa81aecec5f72bd701eb30 (diff)
Notes
Diffstat (limited to 'emulators/pcemu/files/patch-aa')
-rw-r--r--emulators/pcemu/files/patch-aa61
1 files changed, 61 insertions, 0 deletions
diff --git a/emulators/pcemu/files/patch-aa b/emulators/pcemu/files/patch-aa
new file mode 100644
index 000000000000..3d41e61da296
--- /dev/null
+++ b/emulators/pcemu/files/patch-aa
@@ -0,0 +1,61 @@
+*** Makefile.orig Mon Mar 27 21:27:28 1995
+--- Makefile Mon Mar 27 22:52:07 1995
+***************
+*** 49,58 ****
+ # been known to crash the emulator when running on certain machines (80x86
+ # based PCs under Linux, and HPs running HPUX).
+
+ CC = gcc
+! OPTIONS = -DBOOT720 -DBIG_ENDIAN -DALIGNED_ACCESS -DBIGCASE -DINLINE_FUNCTIONS
+! XROOT = /usr/local/X11R5
+! CFLAGS = -I$(XROOT)/include -O2 #-fomit-frame-pointer
+
+ # You may need to add -N to the LFLAGS if you get sporadic segmentation
+ # faults. So far I have only needed to do this when compiling under Linux
+--- 49,63 ----
+ # been known to crash the emulator when running on certain machines (80x86
+ # based PCs under Linux, and HPs running HPUX).
+
++ .include "Makefile.inc"
++
+ CC = gcc
+! #OPTIONS = -DBOOT720 -DBIG_ENDIAN -DALIGNED_ACCESS -DBIGCASE -DINLINE_FUNCTIONS
+! OPTIONS = -DBOOT720 -DLITTLE_ENDIAN -DBIGCASE -DINLINE_FUNCTIONS \
+! -DBOOTFILE=\"${LOCALPREFIX}/lib/pcemu/DriveA\"
+! #XROOT = /usr/local/X11R5
+! XROOT = /usr/X11R6
+! CFLAGS = -I$(XROOT)/include -O2 -pipe #-fomit-frame-pointer
+
+ # You may need to add -N to the LFLAGS if you get sporadic segmentation
+ # faults. So far I have only needed to do this when compiling under Linux
+***************
+*** 86,88 ****
+--- 91,118 ----
+
+ clean:
+ rm $(PROGNAME) *.o
++
++ bootstrapper:
++ (cd bootstrap; make unpack)
++
++ #mode 0666 is required for DriveA, alas
++ install: pcemu bootstrapper
++ -mkdir ${LOCALPREFIX}/lib/pcemu \
++ ${LOCALPREFIX}/lib/pcemu/doc \
++ ${LOCALPREFIX}/lib/pcemu/font \
++ ${LOCALPREFIX}/lib/pcemu/C \
++ ${LOCALPREFIX}/bin
++ install -c -s -o bin -g bin pcemu ${LOCALPREFIX}/bin/
++ install -c -m 666 bootstrap/display.bin \
++ ${LOCALPREFIX}/lib/pcemu/DriveA
++ install -c -m 644 BUGS CHANGES README TODO bootstrap/README.FreeBSD \
++ programs/lredir.readme \
++ ${LOCALPREFIX}/lib/pcemu/doc/
++ rm -f ${LOCALPREFIX}/lib/pcemu/doc/report.ps.gz
++ gzip --best < report.ps > ${LOCALPREFIX}/lib/pcemu/doc/report.ps.gz
++ rm -f ${LOCALPREFIX}/lib/pcemu/font/vga.pcf.Z
++ bdftopcf vga.bdf | compress > ${LOCALPREFIX}/lib/pcemu/font/vga.pcf.Z
++ mkfontdir ${LOCALPREFIX}/lib/pcemu/font
++ install -c -m 644 programs/vga50.com programs/config.sys \
++ programs/dumpdisk.exe programs/lredir.exe \
++ ${LOCALPREFIX}/lib/pcemu/C