diff options
Diffstat (limited to 'emulators')
47 files changed, 0 insertions, 2971 deletions
diff --git a/emulators/cpmtools/Makefile b/emulators/cpmtools/Makefile deleted file mode 100644 index 5c190664e728..000000000000 --- a/emulators/cpmtools/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -# New ports collection makefile for: cpm(1) -# Version required: 1.1 -# Date created: 25 December 1994 -# Whom: joerg -# -# $Id: Makefile,v 1.8 1995/04/29 10:15:00 joerg Exp $ -# - -DISTNAME= cpm-1.1 -CATEGORIES+= utilities -MASTER_SITES= ftp://freefall.cdrom.com/pub/FreeBSD/LOCAL_PORTS/ -MAINTAINER= joerg@FreeBSD.org - -WRKSRC= ${WRKDIR}/cpm - -# -# need our own build target to pass PREFIX down to the make command -# -do-build: - @(cd ${WRKSRC}; ${MAKE} PREFIX=${PREFIX} ${MAKE_FLAGS} ${MAKEFILE} all) - - -.include <bsd.port.mk> diff --git a/emulators/cpmtools/distinfo b/emulators/cpmtools/distinfo deleted file mode 100644 index d6b6b5ac99ea..000000000000 --- a/emulators/cpmtools/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (cpm-1.1.tar.gz) = f044aa47d6af0ebe8645402a4dad2951 diff --git a/emulators/cpmtools/files/patch-aa b/emulators/cpmtools/files/patch-aa deleted file mode 100644 index 63fb3274c114..000000000000 --- a/emulators/cpmtools/files/patch-aa +++ /dev/null @@ -1,222 +0,0 @@ -diff -c -N ../cpm.orig/Makefile.inc ./Makefile.inc -*** ../cpm.orig/Makefile.inc Thu Jan 1 01:00:00 1970 ---- ./Makefile.inc Mon Dec 26 10:17:54 1994 -*************** -*** 0 **** ---- 1 ---- -+ PREFIX ?= /usr/local -diff -c -r ../cpm.orig/Makefile ./Makefile -*** ../cpm.orig/Makefile Wed Jul 27 19:10:43 1983 ---- ./Makefile Mon Dec 26 09:55:13 1994 -*************** -*** 1,13 **** -! # Makefile 4.2 83/07/27 -! # -! DESTDIR= - -! all: -! cd src; make ${MFLAGS} -! -! install: all -! cd src; make ${MFLAGS} DESTDIR=${DESTDIR} install -! cd man; make ${MFLAGS} DESTDIR=${DESTDIR} install -! -! clean: -! cd src; make ${MFLAGS} clean ---- 1,3 ---- -! SUBDIR = src man - -! .include <bsd.subdir.mk> -Only in .: Makefile.inc -diff -c -r ../cpm.orig/man/Makefile ./man/Makefile -*** ../cpm.orig/man/Makefile Sat May 28 12:56:44 1994 ---- ./man/Makefile Mon Dec 26 10:00:13 1994 -*************** -*** 1,11 **** -! all:; - -- #MANEXT=n -- MANEXT=1 -- #MANDIR=/usr/man/man${MANEXT} -- MANDIR=/usr/local/man/man${MANEXT} - -! install: -! cp cpm.1 ${DESTDIR}/${MANDIR}/cpm.${MANEXT} - -! clean:; ---- 1,14 ---- -! .include "${.CURDIR}/../Makefile.inc" - - -! MANDIR = ${PREFIX}/man/man - -! MAN1 = cpm.1 -! -! NOMANCOMPRESS = This will go into a .tgz archive, don't compress it! -! -! install: maninstall -! -! clean all depend: -! -! .include <bsd.man.mk> -diff -c -r ../cpm.orig/src/Makefile ./src/Makefile -*** ../cpm.orig/src/Makefile Sat May 28 09:10:55 1994 ---- ./src/Makefile Mon Dec 26 09:57:07 1994 -*************** -*** 1,128 **** -! # -! # Makefile 1.8 83/07/27 -! # -! DEST = /usr/local/bin -! DFLAG = -g -O2 - -! HELPFILE = cpm.hlp -! HELPFILEDIR = /usr/local/lib -! -! # CFLAGS = -O -DVAX ${DFLAG} -! CFLAGS = ${DFLAG} -DHELPFILE=\"$(HELPFILEDIR)/$(HELPFILE)\" # -DDEBUG - -! EXTHDRS = /usr/include/ctype.h \ -! /usr/include/stdio.h -! -! HDRS = command.h \ -! cpmfio.h \ -! cpmio.h -! -! LDFLAGS = -! -! LIBLIST = -! -! LIST = ls -C -! -! LOADER = cc -! -! MAKEFILE = Makefile -! -! OBJS = bitmap.o \ -! blockio.o \ -! cclose.o \ -! ccreat.o \ -! cfillbuf.o \ -! cflsbuf.o \ -! cmdhdl.o \ -! copen.o \ -! copy.o \ -! cpm.o \ -! delete.o \ -! dirhdl.o \ -! extent.o \ -! ffc.o \ -! gensktab.o \ -! hexdmp.o \ -! interact.o \ -! physio.o \ -! pip.o \ -! rename.o -! -! PRINT = pr -! -! PROGRAM = cpm -! -! SRCS = bitmap.c \ -! blockio.c \ -! cclose.c \ -! ccreat.c \ -! cfillbuf.c \ -! cflsbuf.c \ -! cmdhdl.c \ -! copen.c \ -! copy.c \ -! cpm.c \ -! delete.c \ -! dirhdl.c \ -! extent.c \ -! ffc.c \ -! gensktab.c \ -! hexdmp.c \ -! interact.c \ -! physio.c \ -! pip.c \ -! rename.c -! -! $(PROGRAM): $(OBJS) $(LIBLIST) -! @echo -n "Loading $(PROGRAM) ... " -! @$(LOADER) $(LDFLAGS) $(OBJS) $(LIBLIST) -o $(PROGRAM) -! @echo "done" -! -! debug:; @echo DFLAG = -g -DDEBUG > Makefile.tmp00 -! @cat makefile >>Makefile.tmp00 -! @make -f Makefile.tmp00 -! @rm -f Makefile.tmp00 -! -! clean:; @rm -f $(OBJS) -! -! install: $(PROGRAM) -! @echo Installing $(PROGRAM) in $(DEST) -! @install -s $(PROGRAM) $(DEST) -! @cp $(HELPFILE) $(HELPFILEDIR) -! -! depend:; @mkmf PROGRAM=$(PROGRAM) DEST=$(DEST) -! -! index:; @ctags -wx $(HDRS) $(SRCS) -! -! print:; @$(PRINT) $(HDRS) $(SRCS) -! -! program: $(PROGRAM) -! -! strip:; @strip $(PROGRAM) -! -! tags: $(SRCS); @ctags $(SRCS) -! -! update: $(DEST)/$(PROGRAM) -! -! $(DEST)/$(PROGRAM): $(SRCS) $(LIBLIST) -! @make -f $(MAKEFILE) DEST=$(DEST) install -! ### -! bitmap.o: /usr/include/stdio.h cpmio.h -! blockio.o: /usr/include/stdio.h cpmio.h -! cclose.o: /usr/include/stdio.h cpmio.h cpmfio.h -! ccreat.o: /usr/include/stdio.h cpmio.h cpmfio.h -! cfillbuf.o: /usr/include/stdio.h cpmio.h cpmfio.h -! cflsbuf.o: /usr/include/stdio.h cpmio.h cpmfio.h -! cmdhdl.o: /usr/include/ctype.h /usr/include/stdio.h cpmio.h -! copen.o: /usr/include/stdio.h cpmio.h cpmfio.h -! copy.o: /usr/include/stdio.h cpmio.h cpmfio.h -! cpm.o: /usr/include/stdio.h cpmio.h cpmfio.h -! delete.o: /usr/include/stdio.h cpmio.h cpmfio.h -! dirhdl.o: /usr/include/stdio.h cpmio.h -! extent.o: /usr/include/stdio.h cpmio.h cpmfio.h -! gensktab.o: /usr/include/stdio.h cpmio.h -! hexdmp.o: /usr/include/stdio.h cpmio.h cpmfio.h -! interact.o: /usr/include/stdio.h command.h -! physio.o: /usr/include/stdio.h cpmio.h -! pip.o: /usr/include/stdio.h cpmio.h cpmfio.h -! rename.o: /usr/include/stdio.h cpmio.h cpmfio.h ---- 1,27 ---- -! # include path for man page - -! .include "${.CURDIR}/../Makefile.inc" - -! HELPFILE = cpm.hlp -! HELPFILEDIR = ${PREFIX}/lib -! BINDIR = ${PREFIX}/bin -! FILEMODE = 444 -! -! CFLAGS += -DHELPFILE=\"${HELPFILEDIR}/${HELPFILE}\" -! #CLFAGS += -DDEBUG -! -! PROG = cpm -! NOMAN = look at ${.CURDIR}/../man -! -! SRCS = bitmap.c blockio.c cclose.c ccreat.c cfillbuf.c \ -! cflsbuf.c cmdhdl.c copen.c copy.c cpm.c delete.c \ -! dirhdl.c extent.c ffc.c gensktab.c hexdmp.c interact.c \ -! physio.c pip.c rename.c -! -! -! install: -! ${INSTALL} -c -m ${FILEMODE} -o ${BINOWN} -g ${BINGRP} \ -! ${.CURDIR}/${HELPFILE} ${HELPFILEDIR} -! ${INSTALL} -c -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} \ -! ${PROG} ${BINDIR} -! .include <bsd.prog.mk> diff --git a/emulators/cpmtools/pkg-comment b/emulators/cpmtools/pkg-comment deleted file mode 100644 index 6b253b5f16ef..000000000000 --- a/emulators/cpmtools/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Utility to transfer files from/to CP/M (R) diskettes. diff --git a/emulators/cpmtools/pkg-descr b/emulators/cpmtools/pkg-descr deleted file mode 100644 index f7d797e66ac4..000000000000 --- a/emulators/cpmtools/pkg-descr +++ /dev/null @@ -1,20 +0,0 @@ -Title: CPM - -Author: Helge Skrivervik, now (1994) helge@mellvik.no - -Description: - -Cpm lets UNIX users read and write standard cp/m 8" floppy disks and -provides a cp/m like user interface for manipulating cp/m files. - -History: - -The program has been developed in 1983. Helge was kind enough to change -the original copyright to a BSD-like one, so i've been able to port the -program to FreeBSD and distribute it freely. - -Ported & maintained by: J"org Wunsch <joerg@FreeBSD.org>, 1994 - -Frequently asked question: - -No, FreeBSD's floppy-disk driver does not (yet) understand FM diskettes. diff --git a/emulators/cpmtools/pkg-plist b/emulators/cpmtools/pkg-plist deleted file mode 100644 index faed0268864d..000000000000 --- a/emulators/cpmtools/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -@cwd /usr/local -bin/cpm -lib/cpm.hlp -man/man1/cpm.1 diff --git a/emulators/hfs/Makefile b/emulators/hfs/Makefile deleted file mode 100644 index 463f1c7b9a87..000000000000 --- a/emulators/hfs/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# New ports collection makefile for: hfs -# Version required: 0.37 -# Date created: 17 November 1994 -# Whom: jmz -# -# $Id$ -# - -DISTNAME= hfs0_37 -PKGNAME= hfs-0.37 -CATEGORIES+= utilities -MASTER_SITES= ftp://ftp.obs-besancon.fr/pub/outgoing/ - -MAINTAINER= jmz@FreeBSD.org - -USE_GMAKE= yes - -.include <bsd.port.mk> - -pre-install: - @mkdir -p ${PREFIX}/bin - @mkdir -p ${PREFIX}/man/man1 diff --git a/emulators/hfs/distinfo b/emulators/hfs/distinfo deleted file mode 100644 index 1bd1bba0128e..000000000000 --- a/emulators/hfs/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (hfs0_37.tar.gz) = f3ea83de7b8b2c61ae37fe222bd98067 diff --git a/emulators/hfs/pkg-comment b/emulators/hfs/pkg-comment deleted file mode 100644 index eee0efe893af..000000000000 --- a/emulators/hfs/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -hfs - program for reading Macintosh HFS floppy disks, hard drives and CDROMs diff --git a/emulators/hfs/pkg-descr b/emulators/hfs/pkg-descr deleted file mode 100644 index bcbd4baedbb2..000000000000 --- a/emulators/hfs/pkg-descr +++ /dev/null @@ -1,41 +0,0 @@ -hfs provides a command line interface to suite of functions for -accessing Macintosh HFS floppy disks, hard drives and CD-ROMS. The -following functions are available: - -- display a directory listing (ls, dir) - -- change directories (cd) - -- display the name of the current directory (pwd) - -- copy an HFS file into a local file (read) - -- display the contents of an HFS file (cat) - -- display the partition table on a Macintosh volume. - - - - - - - - - - - - - - - - - - - - - - - - 26 June 1994 4 - - diff --git a/emulators/hfs/pkg-plist b/emulators/hfs/pkg-plist deleted file mode 100644 index 8393b89ad9be..000000000000 --- a/emulators/hfs/pkg-plist +++ /dev/null @@ -1,7 +0,0 @@ -@cd /usr/local -@owner root -@mode 6755 -bin/hfs -@owner bin -@mode 644 -man/man1/hfs.1 diff --git a/emulators/hfs/scripts/configure b/emulators/hfs/scripts/configure deleted file mode 100644 index a91df6c6a53d..000000000000 --- a/emulators/hfs/scripts/configure +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -cd $WRKSRC || exit 1; - -mv Makefile Makefile.orig || exit 1; - -sed -e 's:/usr/.* ::' <Makefile.orig>Makefile - -echo "DEBUG = -O" >> Makefile -echo "INSTALLPATH = $PREFIX" >> Makefile -echo "CCPLUSPLUS = c++ -c" >> Makefile -echo "LD = c++" >> Makefile -echo "MANINSTALLDIR = $PREFIX/man/man1" >> Makefile -exit 0;
\ No newline at end of file diff --git a/emulators/mtools/Makefile b/emulators/mtools/Makefile deleted file mode 100644 index 9dc76fee5f35..000000000000 --- a/emulators/mtools/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# New ports collection makefile for: mtools -# Version required: 2.0.7 -# Date created: 5 October 1994 -# Whom: jmz -# -# $Id$ -# - -DISTNAME= mtools-2.0.7 -CATEGORIES+= utilities -MASTER_SITES= ftp://prep.ai.mit.edu/pub/gnu/ - -MAINTAINER= jmz@FreeBSD.org - -MAKE_FLAGS= PREFIX=${PREFIX} -MAKEFILE= - -pre-install: - @mkdir -p ${PREFIX}/bin - @mkdir -p ${PREFIX}/man/man1 - -.include <bsd.port.mk> diff --git a/emulators/mtools/distinfo b/emulators/mtools/distinfo deleted file mode 100644 index a03cd7d33170..000000000000 --- a/emulators/mtools/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (mtools-2.0.7.tar.gz) = 00683be21ff336523a24dd46fb658c0f diff --git a/emulators/mtools/pkg-comment b/emulators/mtools/pkg-comment deleted file mode 100644 index 7c4822e95d2e..000000000000 --- a/emulators/mtools/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Mtools - a collection of tools for manipulating MSDOS files. Version 2.0.7 diff --git a/emulators/mtools/pkg-descr b/emulators/mtools/pkg-descr deleted file mode 100644 index 0cbd8e28a485..000000000000 --- a/emulators/mtools/pkg-descr +++ /dev/null @@ -1,78 +0,0 @@ -Mtools is a public domain collection of programs to allow Unix systems -to read, write, and manipulate files on an MSDOS filesystem (typically -a diskette). Each program attempts to emulate the MSDOS equivalent -command as closely as practical. - -The following MSDOS commands are emulated: - -Mtool MSDOS -name equivalent Description ------ ---- ----------- -mattrib ATTRIB change MSDOS file attribute flags -mcd CD change MSDOS directory -mcopy COPY copy MSDOS files to/from Unix -mdel DEL/ERASE delete an MSDOS file -mdir DIR display an MSDOS directory -mformat FORMAT add MSDOS filesystem to a low-level format -mlabel LABEL make an MSDOS volume label. -mmd MD/MKDIR make an MSDOS subdirectory -mrd RD/RMDIR remove an MSDOS subdirectory -mread COPY low level read (copy) an MSDOS file to Unix -mren REN/RENAME rename an existing MSDOS file -mtype TYPE display contents of an MSDOS file -mwrite COPY low level write (copy) a Unix file to MSDOS - -You should be able to just close your eyes and pretend you're on an MSDOS -system. Everything should work the same... except for the added 'm' at -the beginning of each command. - -MSDOS filenames are optionally composed of a drive letter followed by -a colon, a subdirectory, and a filename. Sub- directory names can use -either the '/' or '\' separator. The use of the '\' separator or -wildcards will require the names to be enclosed in quotes to protect -them from the shell. - -The regular expression "pattern matching" routines follow the -Unix-style rules. For example, '*' matches all MSDOS files in lieu of -'*.*'. The archive, hidden, read-only and system attribute bits are -ignored during pattern matching. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - local 2 - - diff --git a/emulators/mtools/pkg-plist b/emulators/mtools/pkg-plist deleted file mode 100644 index 6ec81c49185d..000000000000 --- a/emulators/mtools/pkg-plist +++ /dev/null @@ -1,33 +0,0 @@ -@cd /usr/local -@owner bin -@mode 755 -bin/mattrib -bin/mcd -bin/mcopy -bin/mdel -bin/mdir -bin/mformat -bin/mlabel -bin/mmd -bin/mrd -bin/mread -bin/mren -bin/mtype -bin/mwrite -bin/mkmanifest -@mode 644 -man/man1/mattrib.1 -man/man1/mcd.1 -man/man1/mcopy.1 -man/man1/mdel.1 -man/man1/mdir.1 -man/man1/mformat.1 -man/man1/mlabel.1 -man/man1/mmd.1 -man/man1/mrd.1 -man/man1/mread.1 -man/man1/mren.1 -man/man1/mtools.1 -man/man1/mtype.1 -man/man1/mwrite.1 -man/man1/mkmanifest.1 diff --git a/emulators/pcemu/Makefile b/emulators/pcemu/Makefile deleted file mode 100644 index 5b9f26d47fe4..000000000000 --- a/emulators/pcemu/Makefile +++ /dev/null @@ -1,33 +0,0 @@ -# New ports collection makefile for: pcemu(1) -# Version required: 1.01alpha -# Date created: 7 March 1995 -# Whom: joerg -# -# $Id: Makefile,v 1.4 1995/04/15 03:45:51 asami Exp $ -# - -DISTNAME= pcemu1.01alpha -PKGNAME= pcemu-1.01a -CATEGORIES+= utilities emulation - -# Warning notice: by now, you'll have to live with those warnings: -# -#In file included from /usr/include/sys/types.h:48, -# from /usr/include/stdio.h:43, -# from main.c:22: -#/usr/include/machine/endian.h:50: warning: `LITTLE_ENDIAN' redefined -#*Initialization*:1: warning: this is the location of the previous definition - -# -# a selection of sites archie has been reporting: -# -MASTER_SITES+= ftp://ftp.germany.eu.net//pub/os/Linux/Local.EUnet/ALPHA/dosemu/Misc/ -MASTER_SITES+= ftp://minnie.cs.adfa.oz.au/BSD/phillip/FreeBSD/pc-emulator/ -MASTER_SITES+= ftp://ftp.iij.ad.jp/pub/linux/tsx-11/ALPHA/dosemu/Misc/ -# -# This is the original master site, but better use a well-connected server -MASTER_SITES+= ftp://ftp.cs.bris.ac.uk/users/hedley/ - -MAINTAINER= joerg@FreeBSD.org - -.include <bsd.port.mk> diff --git a/emulators/pcemu/distinfo b/emulators/pcemu/distinfo deleted file mode 100644 index 98f3bba6f93d..000000000000 --- a/emulators/pcemu/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (pcemu1.01alpha.tar.gz) = 1fed124b199839e439bec0f45abf006b diff --git a/emulators/pcemu/files/README.FreeBSD b/emulators/pcemu/files/README.FreeBSD deleted file mode 100644 index 06b3bb4dc657..000000000000 --- a/emulators/pcemu/files/README.FreeBSD +++ /dev/null @@ -1,162 +0,0 @@ -This is an excerpt of what you can see with the standalone "system". - -- Jörg - - -1. This looks like PC, but where is DOS? How to get pcemu really running - -Pcemu is an emulator that emulates an 8086 CPU as well as a bunch of -PC BIOS services, so it basically provides the functionality like an -old PC/XT. Anyway, as with the XT too, the emulator requires something -like an operating system to run with. Since we cannot ship MS-DOS or -one of its variants along with this distribution (for legal reasons), -you're now actually looking at a (sort of) "standalone operating system", -just to get pcemu booted and running. All this system does is showing -you this introduction. - -You will have to replace this mini-system by a physical image of a -DOS boot floppy. The "system" currently running is booted from the -file - - /usr/local/lib/pcemu/DriveA. - -It pretends to be the image of a 720 KB diskette, which has been -chosen as the default bootfile size. - -In order to obtain the image of a bootable DOS floppy, do the following: - - Prepare a 720 KB floppy with a DOS system as you'd like - to run it later. Include all the good stuff you don't want - to miss there. Don't forget to put a simple text editor - there, so you can modify your configuration files later. - - Put a copy of the file - - /usr/local/lib/pcemu/C/emufs.sys - - onto this diskette, and include a line like - - device = a:\emufs.sys /usr/local/lib/pcemu/C - - into the config.sys file on this diskette. This will - provide you with an interface to the BSD file system from - within your DOS session. (It actually pretends to be a - network drive.) According to David Hedley, you are also - advised to include the line - - stacks = 9, 512 - - there to avoid stack overflow problems with the emulator. - - If you want to retain a copy of the standalone "system" you - are currently looking at, move it away: - - # cd /usr/local/lib/pcemu; mv DriveA StandaloneA - - Now, make a copy of your disk by either: - - - under BSD, perform a - - # cp /dev/fd0.720 /usr/local/lib/pcemu/DriveA - - (the number after the fd may vary for drives other than - the primary one), or - - - under DOS, copy the file - - /usr/local/lib/pcemu/C/dumpdisk.exe - - to your DOS system and execute it. This will dump the - physical copy of either drive A or B to the file drivea - in your current (DOS) working directory. You can then move - this file to - - /usr/local/lib/pcemu/DriveA - - in your BSD system. - -Since pcemu needs to display the standard VGA font, you further need -to tell your X server about the location of the font file. It has -been put under - - /usr/local/lib/pcemu/font/ - -along with the necessary information for the X server. All you need -to do is to tell your X server about it. This can either be done -as a server default by including the directory into the FontPath -section of your XF86Config file (this is for XFree86, refer to -the documentation if you're using another X server). Alternatively, -you can run the command - - $ xset fp+ /usr/local/lib/pcemu/font - -when X11 is running to instruct your X server to append this directory -to the font path. Should you wish to run pcemu across the network, -remember that the fonts must be physically available at the server -side, or you need to provide an X11 font server (xfs). Refer to -the X11 documentation on how to setup this. - - -That's all, now you should be able to run pcemu. Add required -device = a:\emufs.sys /... lines to your config.sys as you -need them. It's not wise to make the whole BSD hierarchy available -since DOS does not provide multiuser protection. - -Should you wish to override some of the emulator defaults like -size and location of the bootfile, you can do this by settig up a -$HOME/.pcemurc file. Refer to sections 2. and 3. below. - - - -2. Information about this FreeBSD port - - -This `port' of pcemu to FreeBSD has been prepared by Jörg Wunsch. -It is an only slightly modified version of David's code, a few -problems have been fixed for the BSD compilation environment, and -the location of the default boot file has been moved in order to -get you started with just what you are reading now. - -The PostScript document David is mentioning under 3. below has -been compressed and stored under - - /usr/local/lib/pcemu/doc/report.ps.gz. - -It is huge however, so if you don't care much for it you might wish -to remove it later. - -Since i'm living in Germany with a German keyboard, i found the -original X11 KeySym to PC scancode translation unacceptable. Several -scancodes have been unreachable for me. Hence i decided to add another -section to the .pcemurc file allowing to instruct pcemu of specific -keyboard layout semantics. They consist of the keyword keymap, -followed by the desired PC scancode, an equal sign, and the character -that is generated for this key under X11 without any shift keys. (Note -that no space is allowed on either side of the equal sign.) This way -i won't get a German key mapping under DOS, but at least a valid keyboard -layout where all the scan codes can actually be generated at all. - -The appropriate section of my .pcemurc file looks like: - -keymap 12=ß -keymap 13=' -keymap 21=z -keymap 26=] -keymap 27=+ -keymap 39=\ -keymap 40=[ -keymap 41=^ -keymap 43=# -keymap 44=y -keymap 53=- -keymap 86=< - - -Once :-) i will have filed all my modifications back to David, and -perhaps they will be included into the regular distribution as well. - -Should you wish to contact me regarding this FreeBSD port, you can -reach me as joerg_wunsch@uriah.heep.sax.de. - - - - diff --git a/emulators/pcemu/files/bootstrap.shar b/emulators/pcemu/files/bootstrap.shar deleted file mode 100644 index 2119088132f7..000000000000 --- a/emulators/pcemu/files/bootstrap.shar +++ /dev/null @@ -1,1086 +0,0 @@ -# This is a shell archive. Save it in a file, remove anything before -# this line, and then unpack it by entering "sh file". Note, it may -# create directories; files and directories will be owned by you and -# have default permissions. -# -# This archive contains: -# -# bootstrap/Makefile -# bootstrap/crt0.S -# bootstrap/display.c -# bootstrap/help.txt -# bootstrap/lcrt0.S -# bootstrap/txt2asm.perl -# bootstrap/xcrt0.S -# -echo x - bootstrap/Makefile -sed 's/^X//' >bootstrap/Makefile << 'END-of-bootstrap/Makefile' -XAS = as86 -XLD = ld86 -XCC = bcc -XCFLAGS = -0 -XLDFLAGS = -0 ##-M -X -X -X.SUFFIXES: .S .o -X -X.S.o: -X $(AS) -o $@ $< -X -Xall: display.bin README.FreeBSD -X -X# The .com file is only to shortcut the development cycles when -X# modifying something, you won't have to reboot pcemu with the -X# new image over and over again. -X# -X#all: display.com -X -Xdisplay.com: display.o text.o crt0.o -X $(LD) $(LDFLAGS) -T 0x100 -o display.tmp crt0.o display.o text.o -X dd if=display.tmp of=$@ ibs=32 skip=1 -X rm -f display.tmp -X -Xdisplay.bin: display.o text.o lcrt0.o xcrt0.o -X $(LD) $(LDFLAGS) -T 0x7c00 -o display.tmp \ -X lcrt0.o display.o text.o xcrt0.o -X dd if=display.tmp of=$@ ibs=32 skip=1 obs=720k conv=osync -X rm -f display.tmp -X -X# o expand the tabs -X# o translate german ISO characters into IBM437 -X# o finally convert all this into assembler .ascii/.byte pseudoinstr's -X# -Xtext.S: help.txt txt2asm.perl -X expand < help.txt |\ -X tr '\344\366\374\304\326\334\337' '\204\224\201\216\231\232\341' |\ -X perl txt2asm.perl > $@ -X -X# maintain the README.FreeBSD from the help.txt -X# looks magic, 'eh? :^) -X# The readme consists of everything from section 1 up to before the -X# headline of section 3. The highlighting characters will be removed. -X# -X# If you've never been using Perl before, don't worry. Let the lines -X# below stand as they do. :-) -XREADME.FreeBSD: help.txt Makefile -X perl -e 'print "This is an excerpt of what you can see with";\ -X print " the standalone \"system\".\n -- J\366rg\n\n\n";\ -X while(<>) {last if /^[\001-\010\013-\037]1\./;}\ -X do {tr[\001-\010\013-\037]//d; print;}\ -X while(($$_=<>) && !m/^[\001-\010\013-\037]3\./);' \ -X < help.txt > $@ -X -Xreallyclean: clean -X rm -f display.bin README.FreeBSD -X -Xclean: -X rm -f *.tmp *~ *.core *.o *.s display.com text.S -X -Xpack: all clean -X rm -f ../../../files/bootstrapper.uu ../../../files/README.FreeBSD -X gzip --best --force display.bin -X uuencode display.bin.gz display.bin.gz > ../../../files/bootstrapper.uu -X cp -p README.FreeBSD ../../../files/README.FreeBSD -X rm -f display.bin.gz README.FreeBSD -X -X -Xunpack: -X rm -f display.bin README.FreeBSD -X uudecode ../../../files/bootstrapper.uu -X gunzip --force display.bin.gz -X cp -p ../../../files/README.FreeBSD README.FreeBSD -END-of-bootstrap/Makefile -echo x - bootstrap/crt0.S -sed 's/^X//' >bootstrap/crt0.S << 'END-of-bootstrap/crt0.S' -X ;; Hey Emacs, this is an -*- asm -*- file. -X ;; -X ;; crt0 -- prologue for simple DOS .com file -X ;; -X ;; also implements exit(), by calling the DOS exit service -X -X use16 -X -X entry _begin -X_begin: jmp .start -X -X extern _main -X -X public _exit -X_exit: -X_exit.code set 4 -X -X push bp -X mov bp, sp -X mov al, _exit.code[bp] -X mov ah, 0x4c ; dos service, exit w/ status -X int 0x21 -X -X_exit.1: ; not reached (hopefully) -X jmp _exit.1 -X -X -X.start: -X call _main -X call _exit -X -END-of-bootstrap/crt0.S -echo x - bootstrap/display.c -sed 's/^X//' >bootstrap/display.c << 'END-of-bootstrap/display.c' -X/* -X * display -- a simple program to display static text in a more(1)-like -X * manner. Designed to run with simple BIOS services on a i*86-PC. -X * -X * Purpose of the program: provide a simple method for pcemu to display -X * a text when there is no DOS boot image installed. This program will -X * run as the bootfile then. -X * -X * Author: Joerg Wunsch, 95/03/10 -X * Placed in the public domain. Neither kind of warranty applies. -X * -X * Thanks to Bruce Evans for his bcc compiler. Made my work much -X * easier. -X */ -X -X#define MAXROW 23 -X#define MAXCOL 79 -X#asm -Xmaxrow: set 23 -Xmaxcol: set 79 -Xnl: set 10 -X#endasm -X -X#define WHITE 7 -X#define BROWN 6 -X#define MAGENTA 5 -X#define RED 4 -X#define CYAN 3 -X#define GREEN 2 -X#define BLUE 1 -X#define BLACK 0 -X#define HIGH 8 -X/* convenience: */ -X#define YELLOW (BROWN|HIGH) /* foreground color */ -X#define GRAY WHITE /* background color */ -X -X#define NOCHANGE (-1) /* do not change color; for setattrib() */ -X -X/* -X * We use a special highlighting scheme: embedded control characters -X * in the text toggle the attribute selection. -X * -X * Define attributes used for highlighting. -X * NB: do not parenthise the macro expansions below, they are used as -X * complete parameter lists for setattrib()! -X */ -X -X#define REGULAR BLACK, GRAY /* ^R */ -X#define BOLD WHITE|HIGH, RED|HIGH /* ^B */ -X#define EMPHS BLUE, GRAY /* ^E */ -X#define DOUBLE YELLOW, BLACK /* ^D */ -X -X#define C_REGULAR ('R' & 0x1f) -X#define C_BOLD ('B' & 0x1f) -X#define C_EMPHS ('E' & 0x1f) -X#define C_DOUBLE ('D' & 0x1f) -X -X#define K_CUP ((0x48 << 8) + 0) /* extended ASCII, cursor up */ -X#define K_CDN ((0x50 << 8) + 0) /* extended ASCII, cursor down */ -X#define K_PREV ((0x49 << 8) + 0) /* extended ASCII, page up */ -X#define K_NEXT ((0x51 << 8) + 0) /* extended ASCII, page down */ -X -X/* -X * Glue to link to the BIOS services. -X */ -X -Xchar attrib; -Xchar row, col; -X -X -Xvoid scroll(nlines) -Xint nlines; /* if nlines == 0, clear entire region */ -X{ -X#asm -X push bp -X mov bp, sp -X -X xor bh, bh ; page 0 -X mov dx, *(maxcol + (maxrow << 8)); bottom/right corner -X xor cx, cx ; top/left corner -X mov al, 4[bp] ; nlines -X mov bh, _attrib -X mov ah, *6 ; video bios, scroll (clear) region -X test al, al ; scroll back? -X jns _scroll.1 ; positive value -> forward -X inc ah ; scroll backwards -X neg al -X_scroll.1: -X int 0x10 -X -X pop bp -X#endasm -X} -X -Xvoid gotoxy(x, y) -Xint x; -Xint y; -X{ -X#asm -X push bp -X mov bp, sp -X -X mov dl, 4[bp] ; x -X mov _col, dl -X mov dh, 6[bp] ; y -X mov _row, dh -X xor bh, bh ; page 0 -X mov ah, *2 ; video bios, set cursor -X int 0x10 -X -X pop bp -X#endasm -X} -X -Xvoid putchar(c) -Xint c; -X{ -X#asm -X push bp -X mov bp, sp -X -X mov al, 4[bp] ; c -X mov bl, _attrib -X xor bh, bh ; always page 0 -X mov cx, *1 ; just one char -X mov ah, *9 ; video bios, write char -X int 0x10 -X -X pop bp -X#endasm -X if(col < MAXCOL) -X gotoxy(col + 1, row); -X} -X -X -Xvoid cls() -X{ -X scroll(0); -X} -X -X -Xint getchar() -X{ -X#asm -X xor ah, ah ; kbd bios, get keystroke -X int 0x16 -X#endasm -X} -X -Xvoid setattrib(foreground, background) -Xint foreground; -Xint background; -X{ -X int i; -X if(foreground == -1) -X i = attrib & 0xf; -X else -X i = foreground & 0xf; -X if(background == -1) -X i |= (attrib & 0xf0); -X else -X i |= ((background & 0xf) << 4); -X attrib = i; -X} -X -X -X/* -X * Some auxiliary functions -X */ -X -X/* -X * print one line of text up to a newline or a null character -X */ -X -Xchar *printline(s) -Xchar *s; -X{ -X register char c; -X -X while((c = *s++) && c != '\n') -X switch(c) -X { -X case C_REGULAR: -X setattrib(REGULAR); -X break; -X -X case C_BOLD: -X setattrib(BOLD); -X break; -X -X case C_EMPHS: -X setattrib(EMPHS); -X break; -X -X case C_DOUBLE: -X setattrib(DOUBLE); -X break; -X -X default: -X putchar(c); -X } -X -X if(c == 0) s--; -X return s; -X} -X -X -X/* -X * display a message on the bottom line; if msg == 0, clear bottom line -X */ -X -Xvoid more(msg) -Xchar *msg; -X{ -X int i; -X -X gotoxy(0, MAXROW + 1); -X if(msg) { -X setattrib(YELLOW, BLUE); -X (void)printline(msg); -X setattrib(REGULAR); -X } else { -X setattrib(WHITE, BLACK); -X for(i = 0; i < MAXCOL; i++) putchar(' '); -X setattrib(REGULAR); -X } -X} -X -X -X/* -X * go back for numlines newline chars, starting at current, but not before -X * initial -X */ -X -Xchar *goback(initial, current, numlines) -Xchar *initial; -Xchar *current; -Xint numlines; -X{ -X current--; -X -X while(numlines && current > initial) -X if(*--current == '\n') -X numlines--; -X if(*current == '\n') -X current++; -X return current; -X} -X -X -X/* -X * the static text is maintained separately in an (automatically generated) -X * .S file -X */ -X -Xextern char textstr[]; /* do not declare this "char *" - bcc breaks */ -X -X -Xint main() -X{ -X char *cp, *cp1; -X int c; -X int lineno; -X -X lineno = 0; -X cp = textstr; -X setattrib(REGULAR); -X cls(); -X for(;;) { -X gotoxy(0, lineno); -X cp = printline(cp); -X if(*cp == 0) break; -X lineno++; -X if(lineno == MAXROW + 1) { -X for(;;) { -X more("--More--"); -X c = getchar(); -X more(0); -X -X if(c & 0xff) /* regular ASCII */ -X c &= 0xff; /* strip scancode */ -X -X switch(c) { -X case ' ': /* page forward */ -X case K_NEXT: -X lineno = 0; -X cls(); -X goto out; -X -X case 'd': /* half page forward */ -X scroll((MAXROW + 1) / 2); -X lineno -= (MAXROW + 1) / 2; -X goto out; -X -X case 'b': /* page backward */ -X case K_PREV: -X cp = goback(textstr, cp, 2 * (MAXROW + 1)); -X lineno = 0; -X cls(); -X goto out; -X -X case '\r': /* one more line */ -X case '\n': -X case K_CDN: -X lineno--; -X scroll(1); -X goto out; -X -X case K_CUP: /* one line less */ -X cp1 = goback(textstr, cp, 2); -X cp = goback(textstr, cp1, MAXROW); -X if(cp == textstr) /* start of text, redisplay all */ -X { -X lineno = 0; -X cls(); -X } -X else -X { -X scroll(-1); -X gotoxy(0, 0); -X (void)printline(cp); -X cp = cp1; -X lineno--; -X } -X goto out; -X -X case '?': -X case 'h': -X more( -X"space: next page, d: half page, b: back page, CR, DWN: nxt line, UP: prv line" -X ); -X (void)getchar(); -X more(0); -X break; -X -X case 'q': /* quit the game */ -X goto done; -X } -X } -X } -X out:; -X } -X done: -X more("Hit any key to quit."); -X (void)getchar(); -X more(0); -X -X return 0; -X} -X -END-of-bootstrap/display.c -echo x - bootstrap/help.txt -sed 's/^X//' >bootstrap/help.txt << 'END-of-bootstrap/help.txt' -XPC Emulator v1.01alpha (C) 1994 University of Bristol -XPlease report comments, bugs etc to hedley@cs.bris.ac.uk -X -X -XThis is David Hedley's PC Emulator. -X -X -X0. Table of contents -X -X 0. Table of contents -X 1. How to get pcemu really running -X 2. Information about this FreeBSD port -X 3. David's original README -X 4. Copyright notice -X -X -X -X1. This looks like PC, but where is DOS? How to get pcemu really running -X -XPcemu is an emulator that emulates an 8086 CPU as well as a bunch of -XPC BIOS services, so it basically provides the functionality like an -Xold PC/XT. Anyway, as with the XT too, the emulator requires something -Xlike an operating system to run with. Since we cannot ship MS-DOS or -Xone of its variants along with this distribution (for legal reasons), -Xyou're now actually looking at a (sort of) "standalone operating system", -Xjust to get pcemu booted and running. All this system does is showing -Xyou this introduction. -X -XYou will have to replace this mini-system by a physical image of a -XDOS boot floppy. The "system" currently running is booted from the -Xfile -X -X /usr/local/lib/pcemu/DriveA. -X -XIt pretends to be the image of a 720 KB diskette, which has been -Xchosen as the default bootfile size. -X -XIn order to obtain the image of a bootable DOS floppy, do the following: -X -X Prepare a 720 KB floppy with a DOS system as you'd like -X to run it later. Include all the good stuff you don't want -X to miss there. Don't forget to put a simple text editor -X there, so you can modify your configuration files later. -X -X Put a copy of the file -X -X /usr/local/lib/pcemu/C/emufs.sys -X -X onto this diskette, and include a line like -X -X device = a:\emufs.sys /usr/local/lib/pcemu/C -X -X into the config.sys file on this diskette. This will -X provide you with an interface to the BSD file system from -X within your DOS session. (It actually pretends to be a -X network drive.) According to David Hedley, you are also -X advised to include the line -X -X stacks = 9, 512 -X -X there to avoid stack overflow problems with the emulator. -X -X If you want to retain a copy of the standalone "system" you -X are currently looking at, move it away: -X -X # cd /usr/local/lib/pcemu; mv DriveA StandaloneA -X -X Now, make a copy of your disk by either: -X -X - under BSD, perform a -X -X # cp /dev/fd0.720 /usr/local/lib/pcemu/DriveA -X -X (the number after the fd may vary for drives other than -X the primary one), or -X -X - under DOS, copy the file -X -X /usr/local/lib/pcemu/C/dumpdisk.exe -X -X to your DOS system and execute it. This will dump the -X physical copy of either drive A or B to the file drivea -X in your current (DOS) working directory. You can then move -X this file to -X -X /usr/local/lib/pcemu/DriveA -X -X in your BSD system. -X -XSince pcemu needs to display the standard VGA font, you further need -Xto tell your X server about the location of the font file. It has -Xbeen put under -X -X /usr/local/lib/pcemu/font/ -X -Xalong with the necessary information for the X server. All you need -Xto do is to tell your X server about it. This can either be done -Xas a server default by including the directory into the FontPath -Xsection of your XF86Config file (this is for XFree86, refer to -Xthe documentation if you're using another X server). Alternatively, -Xyou can run the command -X -X $ xset fp+ /usr/local/lib/pcemu/font -X -Xwhen X11 is running to instruct your X server to append this directory -Xto the font path. Should you wish to run pcemu across the network, -Xremember that the fonts must be physically available at the server -Xside, or you need to provide an X11 font server (xfs). Refer to -Xthe X11 documentation on how to setup this. -X -X -XThat's all, now you should be able to run pcemu. Add required -Xdevice = a:\emufs.sys /... lines to your config.sys as you -Xneed them. It's not wise to make the whole BSD hierarchy available -Xsince DOS does not provide multiuser protection. -X -XShould you wish to override some of the emulator defaults like -Xsize and location of the bootfile, you can do this by settig up a -X$HOME/.pcemurc file. Refer to sections 2. and 3. below. -X -X -X -X2. Information about this FreeBSD port -X -X -XThis `port' of pcemu to FreeBSD has been prepared by Jörg Wunsch. -XIt is an only slightly modified version of David's code, a few -Xproblems have been fixed for the BSD compilation environment, and -Xthe location of the default boot file has been moved in order to -Xget you started with just what you are reading now. -X -XThe PostScript document David is mentioning under 3. below has -Xbeen compressed and stored under -X -X /usr/local/lib/pcemu/doc/report.ps.gz. -X -XIt is huge however, so if you don't care much for it you might wish -Xto remove it later. -X -XSince i'm living in Germany with a German keyboard, i found the -Xoriginal X11 KeySym to PC scancode translation unacceptable. Several -Xscancodes have been unreachable for me. Hence i decided to add another -Xsection to the .pcemurc file allowing to instruct pcemu of specific -Xkeyboard layout semantics. They consist of the keyword keymap, -Xfollowed by the desired PC scancode, an equal sign, and the character -Xthat is generated for this key under X11 without any shift keys. (Note -Xthat no space is allowed on either side of the equal sign.) This way -Xi won't get a German key mapping under DOS, but at least a valid keyboard -Xlayout where all the scan codes can actually be generated at all. -X -XThe appropriate section of my .pcemurc file looks like: -X -Xkeymap 12=ß -Xkeymap 13=' -Xkeymap 21=z -Xkeymap 26=] -Xkeymap 27=+ -Xkeymap 39=\ -Xkeymap 40=[ -Xkeymap 41=^ -Xkeymap 43=# -Xkeymap 44=y -Xkeymap 53=- -Xkeymap 86=< -X -X -XOnce :-) i will have filed all my modifications back to David, and -Xperhaps they will be included into the regular distribution as well. -X -XShould you wish to contact me regarding this FreeBSD port, you can -Xreach me as joerg_wunsch@uriah.heep.sax.de. -X -X -X -X -X3. Here's David's original README file: -X -X -X PC Emulator for Unix and X Windows -X -XAs the title suggests, this is a Unix/X windows program which is -Xdesigned to emulate a standard 8086 based PC. -X -XIn its current form it runs most text based programs. The programs I have -Xtried and found to work are as follows: -X -XMSDOS 5.0 MSDOS 6.2 -XWordPerfect 5.1 Borland C++ 2.0 -XTurbo Debugger 2.51 Turbo Assembler 2.51 -XBBCBasic 4.61 MSDOS QBasic -XMSDOS GWBASIC Virtually all program that came with MSDOS 5 -XHitchhiker's Guide to the Galaxy PC Magazine's ANSI.COM -XSemWare's QEdit 2.1 Norton Utils 4.50 Advanced Edition -XNorton Utils 6.0 Xtree Professional 1.1 -XPowerMeter Utils Autoroute (ancient version) -XMinitab 8.0 Microsoft Diagnostics -X -XThis is all the programs I could lay my hands on which were text based -Xand could run on an 8086 -X -XThe emulator runs at about 8-10MHz 80286 speed on a Sun SparcStation -X10/40 (without the -mviking flag) and at about 6MHz 8088 speed on a -X33MHz 80486 box running Linux. -X -XI have included a Postscript representation of my project report. It's -Xa bit out of date now, but it's the closest thing I've got to -Xdocumentation! I'll do some kind of latex thing for the next -Xrelease.... -X -XThe program rather hogs the cpu but unmapping the window (iconifying -Xit) will put it to sleep. -X -XThe most recent version of this program will always be in ftp.cs.bris.ac.uk -Xcurrently in the directory /users/hedley -X -XINSTALLING THE EMULATOR -X -XEdit the Makefile to change the OPTIONS, CFLAGS and XROOT to be -Xappropriate for your system (I am assuming you are using GNU GCC, -Xalthough any ANSI C compiler should work just as well). Ensure you are -Xusing the best (speed) optimisations possible (e.g. -O2 -fomit-frame-poiner) -X -XEdit the file mytypes.h and ensure that the types for INT8, UINT8, -XINT16, UINT16 etc are correct. Hopefully nothing need be changed in -Xthis file, but you never can tell... I have assumed that 'char's are 8 -Xbit bytes, 'short's are 16 bit words and 'long's are 32 bit words. If -Xyour compiler treats these differently to the above then you will have -Xto edit this header file. -X -XType 'make' and go away and have a cup of tea! Compiling 'cpu.c' takes -Xa while (and quite a bit of memory!). -X -XGet a floppy disk of the same size/type as you specified in the Makefile -X(i.e. if you chose -DBOOT720, then you'll need a 3.5" 720k disk). Install -XMSDOS on it. Copy the files 'config.sys', 'emufs.sys' and 'lredir.exe' from -Xthe 'programs' directory onto this floppy disk. Shove it in your Unix box -Xand type cp /dev/fd0 DriveA This should create a 720k (or whatever) file -Xwhich the emulator can boot from. If you do not have access to a Unix box -Xwith a floppy disk on it, then you can use the supplied 'dumpdisk' program -Xto create a disk image. All you need is access to a PC. Simply put in a -Xbootable MSDOS disk into the drive and type dumpdisk A (or dumpdisk B if in -Xdrive B). The program will copy the entire disk to a file called -X'drivea'. You must then transfer it to your Unix box... -X -XYou then need to convert the vga font (vga.bdf) into a font format -Xyour X server can understand (either SNF or PCF) using either -X'bdftosnf' or 'bdftopcf' and install the resulting font file somewhere -Xwhere your X server can find it. Then type 'mkfontdir' to rebuild the -Xfonts.dir file and then type 'xset fp rehash' to tell your X server -Xabout the new font. If you type 'xlsfonts' you should see 'vga' as one -Xof the fonts listed. If not, then something has gone wrong. I may or -Xmay not be able to help - it depends on your local setup. The emulator -Xwill run without the font as it uses the standard 8x16 X11 font - -Xalthough most programs which use the extended character set will look -Xpretty terrible. A warning will be displayed if the correct VGA font -Xcannot be found. If you are using openwindows, you will have to type -X'convertfont' and then 'bldfamily' -X -XYou should now be in a position to run the emulator -X -XBy default, the emulator requires the disk image called 'DriveA' to be in -Xthe current directory or else it will complain. If you don't like this, -Xthen you can change the file the emulator boots from by altering your -X.pcemurc file (see below) or by changing the default at compile time (by -Xmodifying the Makefile) -X -XOnce run, the emulator should come up with the usual MSDOS banner and -Xrequest the current date and time (which should already be -Xcorrect). You can now run PC programs, mount Unix directories as -Xdrives etc. You will already have one drive redirection - drive C: is -Xthe Unix root directory. To mount further directories as drives, you -Xmust use the program 'lredir'. Consult the file 'lredir.readme' for -Xinstructions... -X -X The .pcemurc file -X -XAt present this file allows a few things to be changed at run time. If this -Xfile is found (either in the current directory or in your home directory), -Xthen it is read and parsed and the values overwriting the equivalent -Xcompile time options. Currently the only options supported at present are: -X -Xbootfile diskfile -X -Xwhere diskfile is the disk image you want to boot from (no quotes or -Xanything are needed and the filename must not contain white spaces). -X -Xboottype type -X -Xwhere type is either 360, 720, 144 or 12. This tells the emulator the type -Xof disk the disk image file represents (360k, 720k, 1.44MB, 1.2MB -Xrespectively). -X -Xupdatespeed n -X -Xwhere n is an integer > 0 -XThis is the rate at which the screen memory gets checked for changes (and -Xhence the update speed at which the screen gets updated for non-BIOS -Xwrites). n is measured in internal interrupt ticks of which there are ~72.8 -Xper second (depends on the resolution of the system timer). -X -Xcursorspeed n -X -Xwhere n is an integer -XThis specifies how fast the cursor should flash. Flashing the cursor can -Xtake a fair amount of bandwidth and so on slow/heavily loaded networks it -Xmay be best to slow down the cursor flashing. Setting n to 0 or less will -Xdisable cursor flashing - the cursor will be permanently on. -X -XAn example .pcemurc file can be found in this directory. -X -XIf you have problems compiling or running the emulator, then please contact -Xme giving details of what went wrong (along with your computer type -Xetc). -X -XArchitectures tested: -X -XComputer OS Comments -X----------------------------------------------------------------------------- -XPC 486/33 Linux 0.99.14w Runs quite well. A bit pointless though :) -XSun 3/60 SunOS 4.1.x Takes an age to compile and not really worth -X the effort... -XSparcStation 10 SunOS 4.1.3 Runs well. Takes > 20MB RAM to compile though -XHP 755/99 HPUX Runs OK (>25MB RAM to compile...) -XSun 4 Solaris 2.3 Runs OK -XRS6000 ??? Had a few problems getting it to compile. -X Getting there slowly though. -XSGI Indigo IRIX 4.?.? Doesn't work if compiled with optimisation -X using the standard compiler. Haven't tried -X it using gcc yet... -X -XAs you can see this list is quite small. The main limiting factor is the range -Xof machines I have access to. If anyone else can get it running on other -Xarchitectures then please contact me! -X -XWarning: This program is not secure! Do not make is suid or sgid anything -Xunless you wish to compromise the security of your system! -X -XEMULATOR LIMITATIONS etc -X -XSome parts of the PC architecture are emulated better than others. The -XBIOS has been partly implemented - enough to get MSDOS to boot and to -Xallow most programs to run. Anyhow, most decent programs bypass the -XBIOS for screen access. BIOS Disk calls for drive A have been mostly -Xemulated, although formatting doesn't work. -X -XSome of the hardware has been emulated but not much. Timer interrupts -Xare generated by the system but there is now way (at present) to -Xreprogram the timer. The Programmable Interrupt Controller has been -Xemulated in part to respond to the End Of Interrupt command and reads -Xfrom and writes to the mask register should work OK. -X -XNone of the VGA hardware has been emulated at present (apart from -Xscreen updating) although this will change in the near future. Mode -Xchanges must therefore be done through the BIOS. -X -XThe keyboard has been mostly emulated. The program converts X11 -Xkeysyms to raw PC scan codes and then generates an interrupt 9 as per -Xusual. There is a BIOS routine which takes these scan codes and -Xgenerates the correct BIOS ASCII/scan code pair. The keysyms used can -Xbe found in the module 'xstuff.c'. In the future these keysyms will be -Xread in from a file at run time. -X -XTHANKS -X -XThanks go to the following: -X -XAndy Norman at HPLabs, Bristol (ange@hpl.hewlett-packard.co.uk) for the HP -Xport. -XDieter Becker (becker@med-in.uni-sb.de) for help with the Solaris port -XKlaas Esselink (esselin1@ksla.nl) for help with the RS6000 port -X -XPlease report bugs/comments etc to me (hedley@cs.bris.ac.uk) and I'll -Xdo my best to sort them out (no guarantees though). After June 25th I -Xwill be leaving University and will not be able to check email very -Xfrequently - please be patient if you want a response - I will reply -Xeventually. -X -XHave fun... -X -XDavid -X -X -X -X -X4. And finally, the Copyright notice: -X -X -XAll files, documentation etc with the exception of 'mfs.c', -X'emufs.sys', 'emufs.S', 'lredir.exe', 'lredir.c' and 'lredir.readme' -Xare Copyright (C) 1994 University of Bristol, England -X -XPermission is granted to use, copy, modify, and distribute this -Xsoftware and its documentation for any non-commercial purpose, -Xprovided that the above copyright notice appear in all copies and that -Xboth that copyright notice and this permission notice appear in the -Xsupporting documentation. -X -XBECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -XFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT -XWHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER -XPARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, -XEITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -XIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -XPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -XPROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME -XTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. -X -XIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -XWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -XREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR -XDAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL -XDAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM -X(INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED -XINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF -XTHE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER -XOR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -X -X--------------------------------------------------------------------- -X -X'mfs.c', 'emufs.sys' and 'emufs.S' are covered by the following -Xnotice: -X -X Mach Operating System -X Copyright (c) 1993,1992,1991,1990 Carnegie Mellon University -X Copyright (c) 1991 IBM Corporation -X All Rights Reserved. -X -X Permission to use, copy, modify and distribute this software and its -X documentation is hereby granted, provided that both the copyright -X notice and this permission notice appear in all copies of the -X software, derivative works or modified versions, and any portions -X thereof, and that both notices appear in supporting documentation, -X and that the nema IBM not be used in advertising or publicity -X pertaining to distribution of the software without specific, written -X prior permission. -X -X CARNEGIE MELLON AND IBM ALLOW FREE USE OF THIS SOFTWARE IN ITS "AS IS" -X CONDITION. CARNEGIE MELLON AND IBM DISCLAIM ANY LIABILITY OF ANY KIND FOR -X ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. -X -X Carnegie Mellon requests users of this software to return to -X -X Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU -X School of Computer Science -X Carnegie Mellon University -X Pittsburgh PA 15213-3890 -X -X any improvements or extensions that they make and grant Carnegie Mellon -X the rights to redistribute these changes. -X -X-------------------------------------------------------------------- -X -X'lredir' was written by Tim Bird (Tim_R_Bird@Novell.COM) -X -END-of-bootstrap/help.txt -echo x - bootstrap/lcrt0.S -sed 's/^X//' >bootstrap/lcrt0.S << 'END-of-bootstrap/lcrt0.S' -X ;; Hey Emacs, this is an -*- asm -*- file -X ;; -X ;; lcrt0 -- C prologue for simple boot-loaded module -X ;; -X ;; Bootstraps a simple .com-style area 512 bytes off its -X ;; own start address, by loading it via the BIOS int 0x13 -X ;; interface. -X ;; Needs an epilogue counterpart to know about the end -X ;; address. -X -XSECSPERTRACK: set 9 ; bump this for boot disk size != 720 KB -X -X use16 -X -X .text -X extern _main -X -X .data -X extern .endfile -X -X .text -X -X entry .begin -X.begin: -X -X mov ax, .endfile -X mov bx, .startfile ; from epilogue -X sub ax, bx ; # bytes to load -X add ax, 511 ; round to full sectors -X mov cl, 9 -X shr ax, cl ; make # sectors -X -X push cs -X push cs -X pop es -X pop ds -X -X mov bx, .startfile ; load here -X -X mov si, ax ; sector count -X mov cx, 2 ; starting cylinder/sector -X mov dx, 0 ; starting head/drive A -X.begin.loop: -X mov ax, 1 + (2 << 8); read one sector -X int 0x13 ; just do it -X -X add bx, 512 -X dec si -X jz .begin.done -X inc cl -X cmp cl, SECSPERTRACK + 1 -X jne .begin.loop -X mov cl, 1 -X inc dh -X cmp dh, 1 + 1 -X jne .begin.loop -X mov dh, 0 -X inc ch -X jmp .begin.loop -X -X.begin.done: -X call _main -X int 0x19 ; reboot -> this will quit pcemu -X -X -X ;; .blkb (.begin - $ + 512) ; cannot be done in as86 -X ;; XXX IF ANYTHING IS BEING CHANGED IN THIS FILE, ADJUST THE -X ;; NUMBER BELOW! Link with -M and adjust the number so that, -X ;; when linked to address 0x7c00, the symbol .startfile will -X ;; be equal 0x7e00. -X .blkb 443 -X -X export .startfile -X.startfile: -X -END-of-bootstrap/lcrt0.S -echo x - bootstrap/txt2asm.perl -sed 's/^X//' >bootstrap/txt2asm.perl << 'END-of-bootstrap/txt2asm.perl' -X#!/usr/bin/perl -X# -X# Convert an input text into a sequence of .ascii or .byte assembler -X# instructions. Cares to express any non-printable ASCII character -X# as well as the double quote and backslashes as a hexadecimal .byte -X# instruction. -X# -X -X# print one line of input text -Xsub pline -X{ -X local($s) = @_; -X local($i, $k, $ele, $c); -X -X # delete any null char to avoid confusion (we use null as the string -X # delimiter) -X $s =~ tr/\000//d; -X -X $i = 0; -X # -X # split the string into substrings of printable characters (where -X # we can write a singe .ascii instruction for each of them) -X # -X foreach $ele (split(/[\001-\037\"\\\177-\377]/, $s)) { -X next if length($ele) == 0; # split returns a null string for -X # succeeding delimiters which dont wann see -X -X $k = index($s, $ele, $i); # see if there are any non-pritables -X # just before the current substring -X while($i < $k) { # if so, write a .byte for each -X $c = substr($s, $i++, 1); -X printf "\t.byte\t0x%02x\n", ord($c); -X } -X print "\t.ascii\t\"$ele\"\n"; # this substring -X $i += length($ele); -X } -X while($i < length($s)) { # are there any non-printables left at end? -X $c = substr($s, $i++, 1); -X printf "\t.byte\t0x%02x\n", ord($c); -X } -X print "\t.byte\tnl\n"; # dont forget the final newline -X} -X -X -X# -X# the asm file prologue: -X# -X# declare a synonym for newline, and define the entry symbol "_textstr" -X# -Xprint ".data\nnl:\tset\t0x0a\n.globl _textstr\n\n_textstr:\n"; -X -X# process all lines now -Xwhile($_ = <>) { -X chop; -X &pline($_); -X} -X -X# the epilogue: terminate with a null byte -Xprint "\t.byte\t0\n"; -END-of-bootstrap/txt2asm.perl -echo x - bootstrap/xcrt0.S -sed 's/^X//' >bootstrap/xcrt0.S << 'END-of-bootstrap/xcrt0.S' -X ;; Hey Emacs, this is -*- asm -*- code -X use16 -X .data ; ld86 places .data after .text -X export .endfile -X.endfile: -END-of-bootstrap/xcrt0.S -exit - diff --git a/emulators/pcemu/files/bootstrapper.uu b/emulators/pcemu/files/bootstrapper.uu deleted file mode 100644 index 6c2b4a8d2c9d..000000000000 --- a/emulators/pcemu/files/bootstrapper.uu +++ /dev/null @@ -1,250 +0,0 @@ -begin 644 display.bin.gz -M'XL("/^,D2\"`V1I<W!L87DN8FEN`.W<;VP<Z7W8\3U9NK.G29PJA9,@13UV -M4I"LR14IZ63=V;)O22[%S?&?N>1)0I-3AKNSW+&6.YN=65(TKHX3)T'N+D#Z -M(FV!O@J*]FV1`$:KQ"_J($[0XNHWS8L&11,TP065*Q3HBX/C7&RIO]_O>69V -M5]+9#F`4*/#]P"?NGYEGGGG^_YGUO?RM+U<^/_<GYQX]\SL?^./[/_1#SWU8 -MWK_^1[][IO)[E<J]9\Y\[4=^\0\J9[;R#SW\_2_\=3#ZW[_SS,,_^L+#,Z.W -M_UWEX1\^^+/[WWK?UWZ\@O]?[;_^EXN/?F_[1Y?^TQMK9]_XU&MO?>G97_[* -MZ=F'7_W&GWSMAW_V#^3K-UXY^VL?RM]ZX_C97[MR]ZW%1U\Z4WPA)_R#U^23 -MWWVF\J4/R(?RV8U7?BM_ZY/;V8_\EASZ]HZ\67S[I9W[__[1%[]Z]M7;=MJ- -M5Y:^LG/_5Q^MKNH'BV]_[4/NTXV--]?.7GOT:/0#O_7:6S_UP<6W7U][]T$@ -M%_&OWUQ[5K_]H'[[?Q;?_CMK[^H!?_>-M6?U@-\Y^\?_PWWTQMJ[_^JUMUSH -M/N`'!V^L_<V#E^\]5]G1:_^&QN;!UKT?J.S<^V!EY_XOV/M/Z=?WGI'WJ;VO -MRJ'W?DC>_IR]_;`$(7=T_YQ$_,'Y^3/Y5^2__S[_3/X?YW\P_S</_OS-5\^N -MO/[JV3>N/_JUM;_YY:_DS\GQGPQ&O_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3DT\"-X5) -M._-EO^KBZ:Z>35S^O;K*^6!\JILR'466%7Y(9V-_C7Y;IS1)YA=C!Z.#7M+2 -M(4J@=ZW[)_ZG&%-/HQ<+[47B%[OPQ:\SYFT.F<O45'_ZJ^&6*6@YO5+;W:I? -M;]2EI]G8V-ZR?D$C)^WV]@W7AULSHQ5+.H7F]MJ>]%!U;6P;>\VB;PRTT5IM -M6!L>OF>8TIZN;-0:FU;?M;DL:VC1C5JS:>^*9N_&>FVON2UMP:ZT2,W]#>O0 -MUW:W-\<MX&-1<[?U6,WP6[<VTQIFY3.69;*Y'ZB/AEK>]7R9;?AO5B=3>R6U -M7^/;3I-F4GE8=?*PEU::U97-_6I]=5]#:G53F2K))<LU[:8^?=S2'Q5_IQH< -M[DC&90>CH4R7=VKATO,7ERXM7+KZPJ)&4`MIHLM7Q[&;M.CFO3XC806Y+&VG -M_H?L^@2=UKK'+QBXQ3W7!%@B3%5KG5OZ"?WWJ>&4=M/O%,MD)"L*I[:.>\E1 -MN)P,V^&LO+J]>UM?O[0E]]?KZ>/E<T%0.5NI5,[I__G:YRN5#Q:O7ZM4/N1? -MI_+Y3_C7G_Y"I?(1__K#\OF<_/V`_)>_5:E4_>N[\OK21)B?\*__ZA<JE17_ -M^JI\ON%??T%>[\M?C<=/R.O;_O-?D=>?]:__3%Z/?/BO2?C_Q']^5\+\HOQ] -M3O[[S5^J5'[=O];X_#/Y6[5?W>ELJ5(]D!SJ5VZW>EGEMB[*5FX?IGEZ]U0^ -M2GN5V\/TI'([:^G:DWZCOV^IW):2I8_&R`>Q?^&.J"[)JUB:(LU5.6RH.Q7Z -M_QIUN_CH*!W*.WT877*^4HW[;8L%```````````````````````````````` -M```````````````````````````````````````````````````````````` -M```````````````````````````````````````````````````````````` -M```````````````````````````````````````````````````````````` -M```````````````````````````````````````````````````````````` -M```````````````````````````````````````````````````````````` -M```````````````````````````````````````````````````````````` -M```````````````````````````````````````````````````````````` -M```````````````````````````````````````````````````````````` -M```````````````````````````````````````````````````````````` -M```````````````````````````````````````````````````````````` -M```````````````````````````````````````````````````````````` -M```````````````````````````````````````````````````````````` -M```````````````````````````````````````````````````````````` -M```````````````````````````````````````````````````````````` -M```````````````````````````````````````````````````````````` -M```````````````````````````````````````````````````````````` -M```````````````````````````````````````````````````````````` -M```````````````````````````````````````````````````````````` -M```````````````````````````````````````````````````````````` -M```````````````````````````````````````````````````````````` -M```````````````````````````````````````````````````````````` -M```````````````````````````````````````````````````````````` -G````````````````````````````````````_I_ZORB<'5@`0`L` -` -end diff --git a/emulators/pcemu/files/patch-aa b/emulators/pcemu/files/patch-aa deleted file mode 100644 index 17f176ff0640..000000000000 --- a/emulators/pcemu/files/patch-aa +++ /dev/null @@ -1,61 +0,0 @@ -*** 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 programs/emufs.sys \ -+ ${LOCALPREFIX}/lib/pcemu/C diff --git a/emulators/pcemu/files/patch-ab b/emulators/pcemu/files/patch-ab deleted file mode 100644 index 877cfdbaa53f..000000000000 --- a/emulators/pcemu/files/patch-ab +++ /dev/null @@ -1,79 +0,0 @@ -*** cpu.c.orig Wed Jun 22 16:24:50 1994 ---- cpu.c Tue Jan 24 18:37:17 1995 -*************** -*** 1127,1132 **** ---- 1127,1133 ---- - - static INLINE2 void i_daa(void) - { -+ /* Opcode 0x27 */ - if (AF || ((*bregs[AL] & 0xf) > 9)) - { - *bregs[AL] += 6; -*************** -*** 1300,1305 **** ---- 1301,1330 ---- - c_ss = SegToMemPtr(SS); - } - -+ static INLINE2 void i_das(void) -+ { -+ /* Opcode 0x2f */ -+ if (AF || ((*bregs[AL] & 0xf) > 9)) -+ { -+ *bregs[AL] -= 6; -+ AF = 1; -+ } -+ else -+ AF = 0; -+ -+ if (CF || (*bregs[AL] > 0x9f)) -+ { -+ *bregs[AL] -= 0x60; -+ CF = 1; -+ } -+ else -+ CF = 0; -+ -+ SetPF(*bregs[AL]); -+ SetSFB(*bregs[AL]); -+ SetZFB(*bregs[AL]); -+ } -+ - - /* most XOR instructions go here */ - -*************** -*** 4140,4146 **** - { - fprintf(stderr,"Error: Unimplemented opcode %02X at cs:ip = %04X:%04X\n", - c_cs[ip-1],sregs[CS],ip-1); -! exit(1); - } - - ---- 4165,4171 ---- - { - fprintf(stderr,"Error: Unimplemented opcode %02X at cs:ip = %04X:%04X\n", - c_cs[ip-1],sregs[CS],ip-1); -! /* exit(1); */ - } - - -*************** -*** 4218,4224 **** - case 0x2c: i_sub_ald8(); break; - case 0x2d: i_sub_axd16(); break; - case 0x2e: i_cs(); break; -! case 0x2f: i_notdone(); break; - case 0x30: i_xor_br8(); break; - case 0x31: i_xor_wr16(); break; - case 0x32: i_xor_r8b(); break; ---- 4243,4249 ---- - case 0x2c: i_sub_ald8(); break; - case 0x2d: i_sub_axd16(); break; - case 0x2e: i_cs(); break; -! case 0x2f: i_das(); break; - case 0x30: i_xor_br8(); break; - case 0x31: i_xor_wr16(); break; - case 0x32: i_xor_r8b(); break; diff --git a/emulators/pcemu/files/patch-ac b/emulators/pcemu/files/patch-ac deleted file mode 100644 index 829aee16a4ef..000000000000 --- a/emulators/pcemu/files/patch-ac +++ /dev/null @@ -1,54 +0,0 @@ -*** mfs.c.orig Wed Jun 22 16:24:51 1994 ---- mfs.c Tue Jan 24 18:41:20 1995 -*************** -*** 319,325 **** ---- 319,327 ---- - #include <errno.h> - #include <sys/param.h> - #include <stdlib.h> -+ #if !__STDC__ - #include <malloc.h> -+ #endif - - #ifdef SOLARIS - #include <fcntl.h> -*************** -*** 327,335 **** - #endif - - #if defined(SGI) || defined(RS6000) -! #include <sys/statfs.h> - #else -! #include <sys/vfs.h> - #endif - - ---- 329,342 ---- - #endif - - #if defined(SGI) || defined(RS6000) -! # include <sys/statfs.h> - #else -! # include <sys/param.h> -! # if BSD >= 199103 -! # include <sys/mount.h> -! # else -! # include <sys/vfs.h> -! # endif /* new BSD */ - #endif - - -*** mfs.h.orig Wed Jun 22 16:24:51 1994 ---- mfs.h Tue Jan 24 18:37:18 1995 -*************** -*** 45,51 **** ---- 45,53 ---- - - #include "mfs_link.h" - -+ #if BSD < 199306 /* newer BSDs have it in <stdio.h> */ - extern char *sys_errlist[]; -+ #endif - - #if !defined(__hpux) && !defined(SOLARIS) && !defined(SGI) && !defined(RS6000) - #define strerror(x) sys_errlist[x] diff --git a/emulators/pcemu/files/patch-ad b/emulators/pcemu/files/patch-ad deleted file mode 100644 index 8f77b3a7d44e..000000000000 --- a/emulators/pcemu/files/patch-ad +++ /dev/null @@ -1,94 +0,0 @@ -*** main.c.orig Wed Jun 22 16:24:50 1994 ---- main.c Tue Jan 24 18:37:18 1995 -*************** -*** 39,44 **** ---- 39,56 ---- - exit(0); - } - -+ static char *set_keymap(char *buf) -+ { -+ char c; -+ int code; -+ -+ if(sscanf(buf, " %*s %i=%c", &code, &c) != 2) -+ return "usage: keymap code=char"; -+ if(put_scan_table(code, (unsigned char)c)) -+ return "bad value for keymap"; -+ return 0; -+ } -+ - - void check_error(char *msg, int line) - { -*************** -*** 89,94 **** ---- 101,108 ---- - check_error(set_update_rate(strtol(value, NULL,10)), line); - else if (strcasecmp(keyword,"cursorspeed") == 0) - check_error(set_cursor_rate(strtol(value, NULL,10)), line); -+ else if (strcasecmp(keyword,"keymap") == 0) -+ check_error(set_keymap(buffer), line); - else - check_error("Syntax error in .pcemu file", line); - } -*** xstuff.c.orig Wed Jun 22 16:24:51 1994 ---- xstuff.c Tue Jan 24 18:37:19 1995 -*************** -*** 316,322 **** - } - - -! static BYTE scan_table1[] = - { - 0x39, 0x02, - #ifdef KBUK /* double quotes, hash symbol */ ---- 316,322 ---- - } - - -! static BYTE scan_table1[256 - 0x20] = - { - 0x39, 0x02, - #ifdef KBUK /* double quotes, hash symbol */ -*************** -*** 360,365 **** ---- 360,366 ---- - #else - 0x29, - #endif -+ 0 - }; - - -*************** -*** 458,463 **** ---- 459,474 ---- - return (scan_table2[i].scan_code); - - return 0; -+ } -+ -+ -+ int put_scan_table(BYTE code, unsigned char c) -+ { -+ /* interface to overload scan_table1 from .pcemurc */ -+ if(c < ' ' || c >= ' ' + sizeof scan_table1) -+ return 1; -+ scan_table1[c - ' '] = code; -+ return 0; - } - - -*** xstuff.h.orig Wed Jun 22 16:24:51 1994 ---- xstuff.h Tue Jan 24 18:37:19 1995 -*************** -*** 17,22 **** ---- 17,23 ---- - - void start_X(void); - void end_X(void); -+ int put_scan_table(BYTE, unsigned char); - void process_Xevents(void); - void flush_X(void); - diff --git a/emulators/pcemu/files/patch-ae b/emulators/pcemu/files/patch-ae deleted file mode 100644 index 6ff371a2fc8c..000000000000 --- a/emulators/pcemu/files/patch-ae +++ /dev/null @@ -1,10 +0,0 @@ -*** programs/config.sys.orig Mon Mar 27 21:27:23 1995 ---- programs/config.sys Mon Mar 27 22:19:26 1995 -*************** -*** 1,2 **** -! device=emufs.sys / -! stacks 9,512 ---- 1,3 ---- -! device=\emufs.sys /usr/local/lib/pcemu/C
-! stacks 9,512
-! diff --git a/emulators/pcemu/files/patch-af b/emulators/pcemu/files/patch-af deleted file mode 100644 index 4bfbd8d72795..000000000000 --- a/emulators/pcemu/files/patch-af +++ /dev/null @@ -1,19 +0,0 @@ -*** Makefile.orig Sun Apr 16 23:46:57 1995 ---- Makefile Sun Apr 16 23:47:16 1995 -*************** -*** 97,103 **** - - #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 \ ---- 97,103 ---- - - #mode 0666 is required for DriveA, alas - install: pcemu bootstrapper -! -mkdir -p ${LOCALPREFIX}/lib/pcemu \ - ${LOCALPREFIX}/lib/pcemu/doc \ - ${LOCALPREFIX}/lib/pcemu/font \ - ${LOCALPREFIX}/lib/pcemu/C \ diff --git a/emulators/pcemu/pkg-comment b/emulators/pcemu/pkg-comment deleted file mode 100644 index 1e64f1323c9d..000000000000 --- a/emulators/pcemu/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -pcemu - An 8086 PC emulator, written by By David Hedley (hedley@cs.bris.ac.uk) diff --git a/emulators/pcemu/pkg-descr b/emulators/pcemu/pkg-descr deleted file mode 100644 index 812ce717b029..000000000000 --- a/emulators/pcemu/pkg-descr +++ /dev/null @@ -1,238 +0,0 @@ -[This is David Hedley's original README, FreeBSD port comments below] - - PC Emulator for Unix and X Windows - -As the title suggests, this is a Unix/X windows program which is -designed to emulate a standard 8086 based PC. - -In its current form it runs most text based programs. The programs I have -tried and found to work are as follows: - -MSDOS 5.0 MSDOS 6.2 -WordPerfect 5.1 Borland C++ 2.0 -Turbo Debugger 2.51 Turbo Assembler 2.51 -BBCBasic 4.61 MSDOS QBasic -MSDOS GWBASIC Virtually all program that came with MSDOS 5 -Hitchhiker's Guide to the Galaxy PC Magazine's ANSI.COM -SemWare's QEdit 2.1 Norton Utils 4.50 Advanced Edition -Norton Utils 6.0 Xtree Professional 1.1 -PowerMeter Utils Autoroute (ancient version) -Minitab 8.0 Microsoft Diagnostics - -This is all the programs I could lay my hands on which were text based -and could run on an 8086 - -The emulator runs at about 8-10MHz 80286 speed on a Sun SparcStation -10/40 (without the -mviking flag) and at about 6MHz 8088 speed on a -33MHz 80486 box running Linux. - -I have included a Postscript representation of my project report. It's -a bit out of date now, but it's the closest thing I've got to -documentation! I'll do some kind of latex thing for the next -release.... - -The program rather hogs the cpu but unmapping the window (iconifying -it) will put it to sleep. - -The most recent version of this program will always be in ftp.cs.bris.ac.uk -currently in the directory /users/hedley - -INSTALLING THE EMULATOR - -Edit the Makefile to change the OPTIONS, CFLAGS and XROOT to be -appropriate for your system (I am assuming you are using GNU GCC, -although any ANSI C compiler should work just as well). Ensure you are -using the best (speed) optimisations possible (e.g. -O2 -fomit-frame-poiner) - -Edit the file mytypes.h and ensure that the types for INT8, UINT8, -INT16, UINT16 etc are correct. Hopefully nothing need be changed in -this file, but you never can tell... I have assumed that 'char's are 8 -bit bytes, 'short's are 16 bit words and 'long's are 32 bit words. If -your compiler treats these differently to the above then you will have -to edit this header file. - -Type 'make' and go away and have a cup of tea! Compiling 'cpu.c' takes -a while (and quite a bit of memory!). - -Get a floppy disk of the same size/type as you specified in the Makefile -(i.e. if you chose -DBOOT720, then you'll need a 3.5" 720k disk). Install -MSDOS on it. Copy the files 'config.sys', 'emufs.sys' and 'lredir.exe' from -the 'programs' directory onto this floppy disk. Shove it in your Unix box -and type cp /dev/fd0 DriveA This should create a 720k (or whatever) file -which the emulator can boot from. If you do not have access to a Unix box -with a floppy disk on it, then you can use the supplied 'dumpdisk' program -to create a disk image. All you need is access to a PC. Simply put in a -bootable MSDOS disk into the drive and type dumpdisk A (or dumpdisk B if in -drive B). The program will copy the entire disk to a file called -'drivea'. You must then transfer it to your Unix box... - -You then need to convert the vga font (vga.bdf) into a font format -your X server can understand (either SNF or PCF) using either -'bdftosnf' or 'bdftopcf' and install the resulting font file somewhere -where your X server can find it. Then type 'mkfontdir' to rebuild the -fonts.dir file and then type 'xset fp rehash' to tell your X server -about the new font. If you type 'xlsfonts' you should see 'vga' as one -of the fonts listed. If not, then something has gone wrong. I may or -may not be able to help - it depends on your local setup. The emulator -will run without the font as it uses the standard 8x16 X11 font - -although most programs which use the extended character set will look -pretty terrible. A warning will be displayed if the correct VGA font -cannot be found. If you are using openwindows, you will have to type -'convertfont' and then 'bldfamily' - -You should now be in a position to run the emulator - -By default, the emulator requires the disk image called 'DriveA' to be in -the current directory or else it will complain. If you don't like this, -then you can change the file the emulator boots from by altering your -.pcemurc file (see below) or by changing the default at compile time (by -modifying the Makefile) - -Once run, the emulator should come up with the usual MSDOS banner and -request the current date and time (which should already be -correct). You can now run PC programs, mount Unix directories as -drives etc. You will already have one drive redirection - drive C: is -the Unix root directory. To mount further directories as drives, you -must use the program 'lredir'. Consult the file 'lredir.readme' for -instructions... - - The .pcemurc file - -At present this file allows a few things to be changed at run time. If this -file is found (either in the current directory or in your home directory), -then it is read and parsed and the values overwriting the equivalent -compile time options. Currently the only options supported at present are: - -bootfile diskfile - -where diskfile is the disk image you want to boot from (no quotes or -anything are needed and the filename must not contain white spaces). - -boottype type - -where type is either 360, 720, 144 or 12. This tells the emulator the type -of disk the disk image file represents (360k, 720k, 1.44MB, 1.2MB -respectively). - -updatespeed n - -where n is an integer > 0 -This is the rate at which the screen memory gets checked for changes (and -hence the update speed at which the screen gets updated for non-BIOS -writes). n is measured in internal interrupt ticks of which there are ~72.8 -per second (depends on the resolution of the system timer). - -cursorspeed n - -where n is an integer -This specifies how fast the cursor should flash. Flashing the cursor can -take a fair amount of bandwidth and so on slow/heavily loaded networks it -may be best to slow down the cursor flashing. Setting n to 0 or less will -disable cursor flashing - the cursor will be permanently on. - -An example .pcemurc file can be found in this directory. - -If you have problems compiling or running the emulator, then please contact -me giving details of what went wrong (along with your computer type -etc). - -Architectures tested: - -Computer OS Comments ------------------------------------------------------------------------------ -PC 486/33 Linux 0.99.14w Runs quite well. A bit pointless though :) -Sun 3/60 SunOS 4.1.x Takes an age to compile and not really worth - the effort... -SparcStation 10 SunOS 4.1.3 Runs well. Takes > 20MB RAM to compile though -HP 755/99 HPUX Runs OK (>25MB RAM to compile...) -Sun 4 Solaris 2.3 Runs OK -RS6000 ??? Had a few problems getting it to compile. - Getting there slowly though. -SGI Indigo IRIX 4.?.? Doesn't work if compiled with optimisation - using the standard compiler. Haven't tried - it using gcc yet... - -As you can see this list is quite small. The main limiting factor is the range -of machines I have access to. If anyone else can get it running on other -architectures then please contact me! - -Warning: This program is not secure! Do not make is suid or sgid anything -unless you wish to compromise the security of your system! - -EMULATOR LIMITATIONS etc - -Some parts of the PC architecture are emulated better than others. The -BIOS has been partly implemented - enough to get MSDOS to boot and to -allow most programs to run. Anyhow, most decent programs bypass the -BIOS for screen access. BIOS Disk calls for drive A have been mostly -emulated, although formatting doesn't work. - -Some of the hardware has been emulated but not much. Timer interrupts -are generated by the system but there is now way (at present) to -reprogram the timer. The Programmable Interrupt Controller has been -emulated in part to respond to the End Of Interrupt command and reads -from and writes to the mask register should work OK. - -None of the VGA hardware has been emulated at present (apart from -screen updating) although this will change in the near future. Mode -changes must therefore be done through the BIOS. - -The keyboard has been mostly emulated. The program converts X11 -keysyms to raw PC scan codes and then generates an interrupt 9 as per -usual. There is a BIOS routine which takes these scan codes and -generates the correct BIOS ASCII/scan code pair. The keysyms used can -be found in the module 'xstuff.c'. In the future these keysyms will be -read in from a file at run time. - -THANKS - -Thanks go to the following: - -Andy Norman at HPLabs, Bristol (ange@hpl.hewlett-packard.co.uk) for the HP -port. -Dieter Becker (becker@med-in.uni-sb.de) for help with the Solaris port -Klaas Esselink (esselin1@ksla.nl) for help with the RS6000 port - -Please report bugs/comments etc to me (hedley@cs.bris.ac.uk) and I'll -do my best to sort them out (no guarantees though). After June 25th I -will be leaving University and will not be able to check email very -frequently - please be patient if you want a response - I will reply -eventually. - -Have fun... - -David - - - -[FreeBSD port comments] - -I (joerg_wunsch@uriah.heep.sax.de) have slightly extended the .pcemurc -functionality, in order to improve the handling of international key- -boards. David's code hard-coded the keyboard mapping from XKeyStrings -to PC scancodes. - -I've been adding a .pcemurc section that defines the reverse mapping -from XKeyStrings to PC scancodes, so it's at the very least possible -to remap the keyboard to the original US layout even for international -versions. The syntax for this rules is - - `keymap' <scancode>`='<XKeyString> - -This is my personal .pcemurc file, just to illustrate the usage. - -bootfile /home/joerg/pcemu/DriveA -boottype 720 -keymap 12=ß -keymap 13=' -keymap 21=z -keymap 26=] -keymap 27=+ -keymap 39=\ -keymap 40=[ -keymap 41=^ -keymap 43=# -keymap 44=y -keymap 53=- -keymap 86=< - diff --git a/emulators/pcemu/pkg-plist b/emulators/pcemu/pkg-plist deleted file mode 100644 index f454ae3280d2..000000000000 --- a/emulators/pcemu/pkg-plist +++ /dev/null @@ -1,22 +0,0 @@ -@cd /usr/local -@mode 555 -bin/pcemu -@exec mkdir -p %D/lib/pcemu/doc %D/lib/pcemu/font %D/lib/pcemu/C -@mode 444 -lib/pcemu/doc/BUGS -lib/pcemu/doc/CHANGES -lib/pcemu/doc/README -lib/pcemu/doc/TODO -lib/pcemu/doc/README.FreeBSD -lib/pcemu/doc/lredir.readme -lib/pcemu/doc/report.ps.gz -lib/pcemu/font/vga.pcf.Z -@exec mkfontdir %B -lib/pcemu/C/vga50.com -lib/pcemu/C/config.sys -lib/pcemu/C/dumpdisk.exe -lib/pcemu/C/lredir.exe -lib/pcemu/C/emufs.sys -@mode 666 -lib/pcemu/DriveA -@unexec rm -rf %D/lib/pcemu diff --git a/emulators/pcemu/scripts/configure b/emulators/pcemu/scripts/configure deleted file mode 100644 index 8815b83b9f0c..000000000000 --- a/emulators/pcemu/scripts/configure +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh -# -# $Id: configure,v 1.1.1.1 1995/03/26 18:08:54 joerg Exp $ -# -# Author: Jörg Wunsch <joerg@FreeBSD.org> -# Date of creation: Mar 27, 1995 -# - -cd ${WRKSRC} -mkdir ${WRKSRC}/bootstrap -sh < ${FILESDIR}/bootstrap.shar - -# create a Makefile.inc to pass the local prefix down to -# the build stage: - -cat > ${WRKSRC}/Makefile.inc <<*EOF* -# -# Makefile.inc -# -# This file has been created by the "configure" script; DO NOT EDIT. -# -# Edit the port's Makefile \${PREFIX} variable should you wish to -# override this, and reconfigure. -# - -LOCALPREFIX = ${PREFIX} -*EOF* diff --git a/emulators/tkhfs/Makefile b/emulators/tkhfs/Makefile deleted file mode 100644 index 528579de7599..000000000000 --- a/emulators/tkhfs/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# New ports collection makefile for: tkhfs -# Version required: 2.4 (taken from FSBox.tcl) -# Date created: 17 November 1994 -# Whom: jmz -# -# $Id$ -# - -DISTNAME= tkhfs -PKGNAME= tkhfs-2.4 -CATEGORIES+= x11 -MASTER_SITES= ftp://ftp.obs-besancon.fr/pub/outgoing/ - -MAINTAINER= jmz@FreeBSD.org - -EXEC_DEPENDS= hfs:${PORTSDIR}/utils/hfs -LIB_DEPENDS= tk\\.3\\.:${PORTSDIR}/x11/tk - -.include <bsd.port.mk> diff --git a/emulators/tkhfs/distinfo b/emulators/tkhfs/distinfo deleted file mode 100644 index 4e541f73498c..000000000000 --- a/emulators/tkhfs/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (tkhfs.tar.gz) = e754fece6efec16124069d7a54cad907 diff --git a/emulators/tkhfs/pkg-comment b/emulators/tkhfs/pkg-comment deleted file mode 100644 index 9a54d0c9bff6..000000000000 --- a/emulators/tkhfs/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -tkhfs - a Tcl/Tk front end to the hfs program. diff --git a/emulators/tkhfs/pkg-descr b/emulators/tkhfs/pkg-descr deleted file mode 100644 index 7f6040b3ea99..000000000000 --- a/emulators/tkhfs/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -tkhfs is a graphical Tcl/Tk front end to hfs. It displays the mac files -in a selector. You can walk through folders, copy or display files or images -with a double click on a file name. diff --git a/emulators/tkhfs/pkg-plist b/emulators/tkhfs/pkg-plist deleted file mode 100644 index f857639c2dcb..000000000000 --- a/emulators/tkhfs/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -@cd /usr/local -@owner bin -@mode 755 -bin/tkhfs -@mode 644 -lib/tcl/FSBox.tcl diff --git a/emulators/tkhfs/scripts/configure b/emulators/tkhfs/scripts/configure deleted file mode 100644 index 3c55e51d1d06..000000000000 --- a/emulators/tkhfs/scripts/configure +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -cd $WRKSRC || exit 1; - -cat >> Makefile << END || exit 1; - -BINDIR = $PREFIX/bin -HFSBIN = \$(BINDIR)/hfs -WISH = \$(BINDIR)/wish -END - -exit 0;
\ No newline at end of file diff --git a/emulators/vmsbackup/Makefile b/emulators/vmsbackup/Makefile deleted file mode 100644 index 462ebb4601af..000000000000 --- a/emulators/vmsbackup/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# New ports collection makefile for: vmsbackup -# Version required: 3.0 -# Date created: 18 Apr 1994 -# Whom: Jonathan M. Bresler (jmb) -# -# - -DISTNAME= vmsbackup -PKGNAME= vmsbackup-3.0 -MASTER_SITES= ftp://ftp.cs.uni-sb.de/pub/utils/ -# slightly different version -# MASTER_SITES+= ftp://ftp.uni-passau.de/pub/unix/system/backup/ -CATEGORIES+= utilities -EXTRACT_SUFX= .tar.Z - -MAINTAINER= jmb@FreeBSD.org - -MAKE_FLAGS= BINDIR=${PREFIX}/bin MANDIR=${PREFIX}/man/man1 -f - -.include <bsd.port.mk> diff --git a/emulators/vmsbackup/distinfo b/emulators/vmsbackup/distinfo deleted file mode 100644 index 888e10289fbf..000000000000 --- a/emulators/vmsbackup/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (vmsbackup.tar.Z) = 8469f4a156c6d531e491558543eee0b6 diff --git a/emulators/vmsbackup/files/patch-aa b/emulators/vmsbackup/files/patch-aa deleted file mode 100644 index 6f04db249edd..000000000000 --- a/emulators/vmsbackup/files/patch-aa +++ /dev/null @@ -1,43 +0,0 @@ -*** Makefile Tue Jun 13 04:49:54 1989 ---- ../../src/Makefile Tue Apr 18 20:43:30 1995 -*************** -*** 6,22 **** - CFLAGS= $(SWAP) $(REMOTE) -O - LFLAGS= -! LIBS= -lrmt # remote magtape library -! OWNER=tar # user for remote tape access -! MODE=4755 - BINDIR=/usr/local/bin -! MANSEC=l -! MANDIR=/usr/man/man$(MANSEC) - -- # - vmsbackup: vmsbackup.o match.o -! cc $(LFLAGS) -o vmsbackup vmsbackup.o match.o -lV - install: - install -m $(MODE) -o $(OWNER) -s vmsbackup $(BINDIR) -! cp vmsbackup.1 $(MANDIR)/vmsbackup.$(MANSEC) - clean: - rm -f vmsbackup *.o core ---- 6,26 ---- - CFLAGS= $(SWAP) $(REMOTE) -O - LFLAGS= -! # LIBS= -lrmt # remote magtape library -! OWNER=bin # user for remote tape access -! MODE=755 - BINDIR=/usr/local/bin -! MANSEC=1 -! MANDIR=/usr/local/man/man$(MANSEC) -! -! all: vmsbackup - - vmsbackup: vmsbackup.o match.o -! cc $(LFLAGS) -o vmsbackup vmsbackup.o match.o -! - install: - install -m $(MODE) -o $(OWNER) -s vmsbackup $(BINDIR) -! gzip vmsbackup.1 -! cp vmsbackup.1.gz $(MANDIR) -! - clean: - rm -f vmsbackup *.o core diff --git a/emulators/vmsbackup/files/patch-ab b/emulators/vmsbackup/files/patch-ab deleted file mode 100644 index fc7aa54eb5a3..000000000000 --- a/emulators/vmsbackup/files/patch-ab +++ /dev/null @@ -1,162 +0,0 @@ -*** vmsbackup.1 Sun Feb 19 10:35:29 1989 ---- ../../src/vmsbackup.1 Tue Apr 18 20:59:08 1995 -*************** -*** 4,18 **** - .SH SYNOPSIS - .B vmsbackup -! .B \-{tx}[cdevw][s setnumber][f tapefile] - [ name ... ] - .SH DESCRIPTION - .I vmsbackup - reads a VMS generated backup tape, converting the files -! to Unix format and writing the files to disc. - The default operation of the program is to go through an entire -! tape, extracting every file and writing it to disc. - This may be modified by the following options. - .TP 8 -! .B c - Use complete filenames, including the version number. - A colon and the octal version number will be appended to all filenames. ---- 4,18 ---- - .SH SYNOPSIS - .B vmsbackup -! .B \-[txcdevw][s setnumber][f tapefile] - [ name ... ] - .SH DESCRIPTION - .I vmsbackup - reads a VMS generated backup tape, converting the files -! to Unix format and writing the files to disk. - The default operation of the program is to go through an entire -! tape, extracting every file and writing it to disk. - This may be modified by the following options. - .TP 8 -! .B -c - Use complete filenames, including the version number. - A colon and the octal version number will be appended to all filenames. -*************** -*** 26,33 **** - The default is to ignore version numbers. - .TP 8 -! .B d - use the directory structure from VMS, the default value is off. - .TP 8 -! .B e - Process all filename extensions. - Since this program is mainly intended to move source code and possibly ---- 26,33 ---- - The default is to ignore version numbers. - .TP 8 -! .B -d - use the directory structure from VMS, the default value is off. - .TP 8 -! .B -e - Process all filename extensions. - Since this program is mainly intended to move source code and possibly -*************** -*** 35,39 **** - all files whose filename extension specifies system dependent data. - The file types which will be ignored, unless the -! .B e - option is specified, are - .IP "" 10 ---- 35,39 ---- - all files whose filename extension specifies system dependent data. - The file types which will be ignored, unless the -! .B -e - option is specified, are - .IP "" 10 -*************** -*** 57,61 **** - .PP - .TP 8 -! .B f - Use the next argument in the command line as the tape device to - be used, rather than the default. ---- 57,61 ---- - .PP - .TP 8 -! .B -f - Use the next argument in the command line as the tape device to - be used, rather than the default. -*************** -*** 83,94 **** - This must be a raw mode tape device. - .TP 8 -! .B s saveset - Process only the given saveset number. - .TP 8 -! .B t -! Produce a table of contents (a directory listing) on the standard output -! of the files on tape. - .TP 8 -! .B v - Verbose output. - Normally ---- 83,94 ---- - This must be a raw mode tape device. - .TP 8 -! .B -s saveset - Process only the given saveset number. - .TP 8 -! .B -t -! Produce a table of contents (a recursive directory listing) on the -! standard output of the files on tape. - .TP 8 -! .B -v - Verbose output. - Normally -*************** -*** 98,102 **** - tape to disk to be output on the standard output. - .TP 8 -! .B w - .I vmsbackup - prints the action to be taken followed by file name, then ---- 98,102 ---- - tape to disk to be output on the standard output. - .TP 8 -! .B -w - .I vmsbackup - prints the action to be taken followed by file name, then -*************** -*** 104,108 **** - is given, the action is done. Any other input means don't do it. - .TP 8 -! .B x - extract the named files from the tape. - .TP 8 ---- 104,108 ---- - is given, the action is done. Any other input means don't do it. - .TP 8 -! .B -x - extract the named files from the tape. - .TP 8 -*************** -*** 111,122 **** - argument specifies one or more filenames to be - searched for specifically on the tape and only those files are to be processed. -! The name may contain the usal sh(1) meta-characters *?![] \nnn. - .SH FILES -! /dev/rmt\fIx\fP - .SH SEE ALSO -! rmtops(3) - .SH BUGS - The filename match uses the complete VMS file names. -! - .SH AUTHOR - John Douglas Carey ---- 111,124 ---- - argument specifies one or more filenames to be - searched for specifically on the tape and only those files are to be processed. -! The name may contain the usal -! .I sh(1) -! meta-characters *?![]. - .SH FILES -! /dev/rmt\fIx\fP, /dev/rst\fIx\fP - .SH SEE ALSO -! rsh(1), rmt(8) - .SH BUGS - The filename match uses the complete VMS file names. -! Filename matching does not use libregex.a - .SH AUTHOR - John Douglas Carey diff --git a/emulators/vmsbackup/pkg-comment b/emulators/vmsbackup/pkg-comment deleted file mode 100644 index 3becb538ce13..000000000000 --- a/emulators/vmsbackup/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -VMSBACKUP reads VMS BACKUP tapes. diff --git a/emulators/vmsbackup/pkg-descr b/emulators/vmsbackup/pkg-descr deleted file mode 100644 index 9be9becac437..000000000000 --- a/emulators/vmsbackup/pkg-descr +++ /dev/null @@ -1,10 +0,0 @@ - - VMSBACKUP reads VMS BACKUP tapes. - - Main features: - swaps bytes from big-endian to little-endian, if required. - savesets can be selected individually. - can preserve directory structure. - excludes vms specific files (eg executables and objects). - converts vms version numbering semicolons to colons. - diff --git a/emulators/vmsbackup/pkg-plist b/emulators/vmsbackup/pkg-plist deleted file mode 100644 index c6a74b7e3ff3..000000000000 --- a/emulators/vmsbackup/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -@cwd /usr/local -bin/vmsbackup -man/man1/vmsbackup.1.gz diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile deleted file mode 100644 index c16081a2075e..000000000000 --- a/emulators/wine-devel/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -# New ports collection makefile for: wine -# Version required: 950302 -# Date created: Sun Feb 5 16:12:09 1995 -# Whom: hsu -# -# $Id: Makefile,v 1.5 1995/04/15 03:46:02 asami Exp $ -# - -DISTNAME= Wine-950430 -PKGNAME= Wine-95.04.30 -CATEGORIES+= utilities x11 emulation -MASTER_SITES= ftp://sunsite.unc.edu/pub/Linux/ALPHA/wine/ \ - ftp://aris.com/pub/linux/ALPHA/Wine/development/ \ - ftp://tsx-11.mit.edu/pub/linux/ALPHA/Wine/development/ \ - ftp://ftp.funet.fi/pub/OS/Linux/ALPHA/Wine/ \ - ftp://ftp.wonderland.org/Wine/ - -MAINTAINER= ports@FreeBSD.ORG - -LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm - -WRKSRC= ${WRKDIR}/wine950430 -USE_GMAKE= yes -HAS_CONFIGURE= yes -CONFIGURE_SCRIPT= Configure -IS_INTERACTIVE= yes -# set this until wine installs cleanly -NO_INSTALL= yes - -.include <bsd.port.mk> diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile deleted file mode 100644 index c16081a2075e..000000000000 --- a/emulators/wine/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -# New ports collection makefile for: wine -# Version required: 950302 -# Date created: Sun Feb 5 16:12:09 1995 -# Whom: hsu -# -# $Id: Makefile,v 1.5 1995/04/15 03:46:02 asami Exp $ -# - -DISTNAME= Wine-950430 -PKGNAME= Wine-95.04.30 -CATEGORIES+= utilities x11 emulation -MASTER_SITES= ftp://sunsite.unc.edu/pub/Linux/ALPHA/wine/ \ - ftp://aris.com/pub/linux/ALPHA/Wine/development/ \ - ftp://tsx-11.mit.edu/pub/linux/ALPHA/Wine/development/ \ - ftp://ftp.funet.fi/pub/OS/Linux/ALPHA/Wine/ \ - ftp://ftp.wonderland.org/Wine/ - -MAINTAINER= ports@FreeBSD.ORG - -LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm - -WRKSRC= ${WRKDIR}/wine950430 -USE_GMAKE= yes -HAS_CONFIGURE= yes -CONFIGURE_SCRIPT= Configure -IS_INTERACTIVE= yes -# set this until wine installs cleanly -NO_INSTALL= yes - -.include <bsd.port.mk> |