diff options
author | Masafumi Max NAKANE <max@FreeBSD.org> | 1997-07-07 11:22:08 +0000 |
---|---|---|
committer | Masafumi Max NAKANE <max@FreeBSD.org> | 1997-07-07 11:22:08 +0000 |
commit | c774e181e3a239ac47b9f471a6fe6fc8dc495a9d (patch) | |
tree | 818955e0b10179b16d867dc7a2c95bd48f47717c /emulators/prodosemu/files | |
parent | Remove dependancy on tk4.1, it works just fine with later versions. (diff) |
New port, prodosemu:
A text based Apple IIe ProDOS emulator.
PR: 2817
Submitted by: Joel Sutton <sutton@aardvark.apana.org.au>
Notes
Notes:
svn path=/head/; revision=7230
Diffstat (limited to 'emulators/prodosemu/files')
-rw-r--r-- | emulators/prodosemu/files/patch-aa | 71 | ||||
-rw-r--r-- | emulators/prodosemu/files/patch-ab | 21 | ||||
-rw-r--r-- | emulators/prodosemu/files/patch-ac | 27 |
3 files changed, 119 insertions, 0 deletions
diff --git a/emulators/prodosemu/files/patch-aa b/emulators/prodosemu/files/patch-aa new file mode 100644 index 000000000000..ca9580f48a54 --- /dev/null +++ b/emulators/prodosemu/files/patch-aa @@ -0,0 +1,71 @@ +diff -rc prodosemu-v0.1/Makefile prodosemu/Makefile +*** Makefile Tue Jan 9 15:00:03 1996 +--- Makefile Tue Feb 18 09:40:38 1997 +*************** +*** 1,12 **** + # +! #Makefile for ProDOS Emulator v0.1 +! # + + all : prodos + + # Linux doesn't seem to like Randy Frank's beep code, + # if you're compiling on something else, you could try not defining NOBEEP +! OPT = -O2 -DNOBEEP + + # Necessary libraries + LIB = -lcurses -ltermcap +--- 1,28 ---- + # +! # Makefile for ProDOS Emulator v0.1 +! # FreeBSD modifications by Joel Sutton 18th Feb, 1997 +! +! # Paths to various places +! PREFIX?= /usr/local +! BINDIR= ${PREFIX}/bin +! LIBDIR= ${PREFIX}/lib +! MANDIR= ${PREFIX}/man +! ROMDIR= ${LIBDIR}/apple2 +! ROM= prodos-2e.rom +! +! # Certain programs +! INSTALL= install -c +! INSTALL_BIN= ${INSTALL} -s -o bin -g bin +! INSTALL_DATA= ${INSTALL} -m 664 +! INSTALL_MAN= ${INSTALL} -m 444 +! CP?= /bin/cp +! MKDIR?= -/bin/mkdir + + all : prodos + + # Linux doesn't seem to like Randy Frank's beep code, + # if you're compiling on something else, you could try not defining NOBEEP +! OPT = -O2 -DNOBEEP -DROMFILE=\"${ROMDIR}/${ROM}\" + + # Necessary libraries + LIB = -lcurses -ltermcap +*************** +*** 30,35 **** + prodos : $(OBJ) + cc $(OPT) -o prodos $(OBJ) $(LIB) + + # Clean up + clean: +! rm *.o *~ +--- 46,61 ---- + prodos : $(OBJ) + cc $(OPT) -o prodos $(OBJ) $(LIB) + ++ # Install the program ++ install: all ++ ${MKDIR} ${BINDIR} ++ ${MKDIR} ${LIBDIR} ++ ${MKDIR} ${ROMDIR} ++ ++ ${INSTALL_BIN} prodos ${BINDIR}/ ++ ${CP} apple.rom ${ROM} ++ ${INSTALL_DATA} ${ROM} ${ROMDIR}/ ++ + # Clean up + clean: +! rm *.o diff --git a/emulators/prodosemu/files/patch-ab b/emulators/prodosemu/files/patch-ab new file mode 100644 index 000000000000..6ddbc455b235 --- /dev/null +++ b/emulators/prodosemu/files/patch-ab @@ -0,0 +1,21 @@ +diff -rc prodosemu-v0.1/apple.h prodosemu/apple.h +*** apple.h Tue Jan 9 15:00:03 1996 +--- apple.h Tue Feb 18 07:02:04 1997 +*************** +*** 18,25 **** + #endif + + #ifndef CBREAK +! /*#include <sgtty.h>*/ +! #include <bsd/sgtty.h> + #endif + + #ifndef TIOCGETP +--- 18,24 ---- + #endif + + #ifndef CBREAK +! #include <sgtty.h> + #endif + + #ifndef TIOCGETP diff --git a/emulators/prodosemu/files/patch-ac b/emulators/prodosemu/files/patch-ac new file mode 100644 index 000000000000..27cc257b05b9 --- /dev/null +++ b/emulators/prodosemu/files/patch-ac @@ -0,0 +1,27 @@ +diff -rc prodosemu-v0.1/main.c prodosemu/main.c +*** main.c Tue Jan 9 15:00:03 1996 +--- main.c Tue Feb 18 09:43:54 1997 +*************** +*** 9,16 **** + + #include "apple.h" + #include <curses.h> + #define REF_DELAY 2000 +! #define ROMFILE "apple.rom" + + extern char prodosroot[]; + +--- 9,21 ---- + + #include "apple.h" + #include <curses.h> ++ + #define REF_DELAY 2000 +! +! /* Where is the default rom file?? */ +! #ifndef ROMFILE +! #define ROMFILE "/usr/local/lib/apple2/prodos-2e.rom" +! #endif + + extern char prodosroot[]; + |