aboutsummaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-09-01 15:44:17 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-09-01 15:44:17 +0000
commit931a6f1635f0c4b8d9fcd808549ec8b06b53a06a (patch)
tree5eaaf1da583a62709dd06c5baf2d412dce449c96 /emulators
parent6c218941b7da845113b778d83c4cd525db9790e7 (diff)
downloadports-931a6f1635f0c4b8d9fcd808549ec8b06b53a06a.tar.gz
ports-931a6f1635f0c4b8d9fcd808549ec8b06b53a06a.zip
Notes
Diffstat (limited to 'emulators')
-rw-r--r--emulators/Makefile5
-rw-r--r--emulators/its/Makefile58
-rw-r--r--emulators/its/distinfo2
-rw-r--r--emulators/its/files/MIT-ITS-papers17
-rw-r--r--emulators/its/files/README.FIRST190
-rw-r--r--emulators/its/files/its-user-install.sh216
-rw-r--r--emulators/its/files/its.sh57
-rw-r--r--emulators/its/files/klh10-kn-freebsd.ini.in31
-rw-r--r--emulators/its/pkg-descr14
-rw-r--r--emulators/its/pkg-plist13
-rw-r--r--emulators/linux-geepee32/Makefile42
-rw-r--r--emulators/linux-geepee32/distinfo2
-rw-r--r--emulators/linux-geepee32/pkg-descr9
-rw-r--r--emulators/linux-geepee32/pkg-plist5
-rw-r--r--emulators/linux-geepee32/scripts/wrapper.sh6
-rw-r--r--emulators/linux-systemsimcell/Makefile43
-rw-r--r--emulators/linux-systemsimcell/distinfo.i3864
-rw-r--r--emulators/linux-systemsimcell/pkg-descr4
-rw-r--r--emulators/linux-systemsimcell/pkg-plist366
-rw-r--r--emulators/psim-freebsd/Makefile40
-rw-r--r--emulators/psim-freebsd/distinfo4
-rw-r--r--emulators/psim-freebsd/files/HOW-TO69
-rw-r--r--emulators/psim-freebsd/files/README.patches15
-rw-r--r--emulators/psim-freebsd/files/dot.gdbinit7
-rw-r--r--emulators/psim-freebsd/files/patch-emul_chirp.c14
-rw-r--r--emulators/psim-freebsd/files/patch-hw_cpu.c63
-rw-r--r--emulators/psim-freebsd/files/patch-hw_init.c13
-rw-r--r--emulators/psim-freebsd/pkg-descr3
-rw-r--r--emulators/psim-freebsd/pkg-plist5
-rw-r--r--emulators/vMac/Makefile37
-rw-r--r--emulators/vMac/distinfo2
-rw-r--r--emulators/vMac/files/dos2unx23
-rw-r--r--emulators/vMac/files/patch-aa483
-rw-r--r--emulators/vMac/files/pkg-message.in8
-rw-r--r--emulators/vMac/pkg-descr19
-rw-r--r--emulators/vMac/pkg-plist7
36 files changed, 0 insertions, 1896 deletions
diff --git a/emulators/Makefile b/emulators/Makefile
index 1272331d0da5..1bccf94b5250 100644
--- a/emulators/Makefile
+++ b/emulators/Makefile
@@ -58,7 +58,6 @@
SUBDIR += i386-wine-devel
SUBDIR += ia64sim
SUBDIR += ines
- SUBDIR += its
SUBDIR += javatari
SUBDIR += joytran
SUBDIR += jzintv
@@ -69,8 +68,6 @@
SUBDIR += lib765
SUBDIR += libdsk
SUBDIR += libspectrum
- SUBDIR += linux-geepee32
- SUBDIR += linux-systemsimcell
SUBDIR += linux_base-c6
SUBDIR += linux_base-f10
SUBDIR += linux_base-gentoo-stage3
@@ -109,7 +106,6 @@
SUBDIR += pcsxr
SUBDIR += pearpc
SUBDIR += pipelight
- SUBDIR += psim-freebsd
SUBDIR += q4wine
SUBDIR += qemu
SUBDIR += qemu-devel
@@ -137,7 +133,6 @@
SUBDIR += tuxnes
SUBDIR += uae
SUBDIR += ucon64
- SUBDIR += vMac
SUBDIR += vba
SUBDIR += vboxtool
SUBDIR += vgb-bin
diff --git a/emulators/its/Makefile b/emulators/its/Makefile
deleted file mode 100644
index 168d0e680cb2..000000000000
--- a/emulators/its/Makefile
+++ /dev/null
@@ -1,58 +0,0 @@
-# Created by: kstailey
-# $FreeBSD$
-
-PORTNAME= its
-PORTVERSION= 1.0
-CATEGORIES= emulators
-MASTER_SITES= http://free.babolo.ru/src/ \
- http://dl.droso.net/FreeBSD/distfiles/
-DISTNAME= PI-ITS-RP06.0-dbd9
-EXTRACT_SUFX= .bz2
-EXTRACT_ONLY= # none
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Bootable ITS filesystem for KLH-10 PDP-10 emulator
-
-BUILD_DEPENDS= kn10-ks:${PORTSDIR}/emulators/klh10
-RUN_DEPENDS= kn10-ks:${PORTSDIR}/emulators/klh10
-
-ONLY_FOR_ARCHS= i386 # really KLH10 has this problem.
-
-NO_WRKSUBDIR= yes
-NO_BUILD= yes
-NO_PACKAGE= PI ITS RP06 disk image is too big.
-NO_CDROM= PI ITS RP06 disk image is too big.
-
-# KSITS_KLH10_HOME and KSITS_DRIVER_DIR must be set to the same locations
-# that the klh10 port uses
-KSITS_KLH10_DIR= klh10-ks-its
-KLH10_HOME= ${PREFIX}/share/${KSITS_KLH10_DIR}
-KSITS_DRIVER_DIR= ${PREFIX}/libexec/${KSITS_KLH10_DIR}
-IMAGE_HOME?= ${KLH10_HOME}
-IMAGE_NAME= PI-ITS-RP06.0-dbd9
-IMAGE_BZ2= ${IMAGE_NAME}.bz2
-DOCDIR= ${PREFIX}/share/doc/${KSITS_KLH10_DIR}
-PLIST_SUB+= IMAGE_HOME=${IMAGE_HOME}
-
-NO_STAGE= yes
-do-install:
- @ ${ECHO} Installing compressed PI ITS RP06 disk image in ${IMAGE_HOME}
-.if (${IMAGE_HOME} == ${KLH10_HOME})
- @ ${ECHO} Use IMAGE_HOME=/my/directory to relocate.
-.endif
- @ ${MKDIR} ${IMAGE_HOME}
- @ ${INSTALL_DATA} ${DISTDIR}/${IMAGE_BZ2} ${IMAGE_HOME}/${IMAGE_BZ2}
- @ ${INSTALL_DATA} ${FILESDIR}/klh10-kn-freebsd.ini.in ${KLH10_HOME}
- @ ${INSTALL_SCRIPT} ${FILESDIR}/its.sh ${PREFIX}/bin/its
- @ ${SED} -e "s;@PI-IMG@;${IMAGE_NAME};g" \
- -e "s;@KLH-SHARE@;${KLH10_HOME};g" \
- -e "s;@KLH-LIBEX@;${KSITS_DRIVER_DIR};g" \
- ${FILESDIR}/its-user-install.sh > ${WRKSRC}/its-user-install
- @ ${INSTALL_SCRIPT} ${WRKSRC}/its-user-install ${PREFIX}/bin
- @ ${INSTALL_MAN} ${FILESDIR}/MIT-ITS-papers ${DOCDIR}
- @ ${SED} -e "s;@PREFIX@;${PREFIX};g" \
- ${FILESDIR}/README.FIRST >${WRKSRC}/README.FIRST
- @ ${INSTALL_MAN} ${WRKSRC}/README.FIRST ${DOCDIR}
- @ ${ECHO} "*** Please read ${DOCDIR}/README.FIRST"
-
-.include <bsd.port.mk>
diff --git a/emulators/its/distinfo b/emulators/its/distinfo
deleted file mode 100644
index 87d35b08dc38..000000000000
--- a/emulators/its/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (PI-ITS-RP06.0-dbd9.bz2) = 24a95d365f87026629d4e8dcf20a76d1d66b0b10cb7fab1cde9846d46e2d3897
-SIZE (PI-ITS-RP06.0-dbd9.bz2) = 48763965
diff --git a/emulators/its/files/MIT-ITS-papers b/emulators/its/files/MIT-ITS-papers
deleted file mode 100644
index ec08986e982f..000000000000
--- a/emulators/its/files/MIT-ITS-papers
+++ /dev/null
@@ -1,17 +0,0 @@
-ITS Status report (includes architecture info) from 1972
-ftp://publications.ai.mit.edu/ai-publications/0-499/AIM-238.ps
-
-ITS reference manual from 1969:
-ftp://publications.ai.mit.edu/ai-publications/0-499/AIM-161A.ps
-
-Midas macro assembler documentation from 1965:
-ftp://publications.ai.mit.edu/ai-publications/0-499/AIM-090.ps
-
-DDT debugger ("system apex procedure" i.e. "shell") from 1968
-ftp://publications.ai.mit.edu/ai-publications/0-499/AIM-147.ps
-
-Emacs text editor (original ITS version)
-ftp://publications.ai.mit.edu/ai-publications/500-999/AIM-519A.ps
-
-These files may be converted to PDF or gzipped to save space:
-$ ps2pdf13 AIM-238.ps AIM-238.pdf
diff --git a/emulators/its/files/README.FIRST b/emulators/its/files/README.FIRST
deleted file mode 100644
index 127ad0310131..000000000000
--- a/emulators/its/files/README.FIRST
+++ /dev/null
@@ -1,190 +0,0 @@
-Consider adding firewall protection for the KLH-10 emulator before
-ever running it. See @PREFIX@/share/doc/its/pubits/adm directory for
-samples.
-
-To setup the emulator you must run the its-user-install(1) command.
-It takes no arguments. It is best to run it as a regular (non-root)
-user. Once that has been done to start ITS run the its(1) command.
-It also takes no arguments.
-
-The first time the ITS boots it will not know the time of day. ITS
-will display this message:
-
-The time could not be set because:
-No host responded.
-It will be necessary for someone to set the time
-manually by logging in and running :PDSET.
-
-Tell ITS to activate the apex procedure, DDT, by typing a Ctrl-Z.
-When you type that you will see:
-
-KN ITS.1647. DDT.1545.
-TTY 0
-You're all alone, Fair share = 0%
-
-(ITS does not know the date, so messages cannot be reviewed right now.)
-
-Then run PDSET by typing (colon and all)
-
-:pdset
-
-ITS will suggest that you log in but you don't have to.
-
-(Please Log In)
-___002 PDSET IOTLSR
-
-Now enter the time and save it. First the century:
-
-20C
-
-Next the YYMMDD:
-
-020219D
-
-Then the HHMMSS (try to time it so you have some lead time because it
-will become active when you save it.)
-
-235115T
-
-Now save the time:
-
-!.
-
-Now exit PDSET
-
-X
-
-You will have no feedback from the exit operation except that new
-commands will be echoed in lower case. Now bring down ITS so you can
-start it without being root:
-
-:lock
-(Please Log In)
- LOCK.154
-_
-
-the _ is a prompt, do not type it. Type
-
-5down
-
-LOCK is very picky about typos so be careful. It does not need the
-Enter key so don't use it.
-
-DO YOU REALLY WANT THE SYSTEM TO GO DOWN?
-
-Type "y"
-
-y
-___004
- PLEASE ENTER A BRIEF MESSAGE TO USERS, ENDED BY ^C
-LOCK SYS DOWN MAIL WRITE 21:13:17
-
-Just type Ctrl-C for the message unless you have a burning desire to
-talk to yourself via ITS.
-
-KN ITS going down in 5:00
-CULPRIT = ___004 LOCK 21:13:38
-
-
-_
-KN ITS 1647 NOT IN OPERATION 21:13:38
-PFTHMG DRAGON CHANNA _DRGN_ TIMES WRITE 21:13:38
-PFTHMG DRAGON CHANNA LOGOUT TIMES DELRNM 21:13:38
-
-After the "NOT IN OPERATION" message only very special programs like
-the accounting dragon, PFTHMG DRAGON, may run. Be patient and it will
-finish with:
-
-SHUTDOWN COMPLETE
-PI LEVEL 7 BUGDDT. TYPE <ALTMODE>P TO CONTINUE.
-YOU ARE NOW IN DDT.
-BUGPC/ CAIA COFFI4+1 $Q-2/ JRST COFFI7
-
-If ITS gets stuck shutting down for more than five minutes just
-continue from here:
-
-At this point type Ctrl-\ to abort KLH10 back to the monitor.
-
-[HALTED: FE interrupt]
-KLH10>
-
-and quit KLH10
-
-KLH10> quit
-Are you sure you want to quit? [Confirm]y
-Shutting down...Bye!
-$
-
-ITS uses DEL for erasing characters. ITS defaults to dumb hardcopy
-terminal settings. This is a pain so you want to configure ITS to
-use something nicer. ITS knows about VT52. If you are using xterm
-from XFree86 you can get into VT52 mode by running a script like this:
-
-#! /bin/sh
-
-awk 'END {printf "%c[?2l", 27}' </dev/null
-
-From ITS run
-:tctyp vt52
-
-On your VT52 mode terminal emulator.
-
-An alternative is that you can use vt100 mode via the CRTSTY program
-which is a bit like window(1) in that you end up on something like a
-pty but only one full screen window is available and it does terminal
-emulation on it. You will be automatically logged in a second time on
-the same terminal as a crufty side-effect.
-
-:crtsty vt100 speed 9600
-
-Run :info and look at the introductory information about the
-filesystem. I did not find that it covers directory operations very
-well so here is what I have found out. ITS does have a process tree
-(try the PEEK command) but does not have a directory tree. There is a
-Master File Directory MFD (try DSKUSE * or DIRED and then MFD. Use
-"Q" to quit after either of those.) and User File Directories UFDs one
-level deep only. The only way to remove a directory is to delete its
-contents and run the salvager. The salvager is the ITS equivalent of
-fsck and will automatically be run at boot time. To create a new
-directory provide certain options to the open UUO (ITS equivalent of
-system call; try the DOC UUO command.) Since the PRINT command calls
-the open UUO you can create a directory using print:
-
-:print ..new. (udir) dirnam;
-
-Where dirnam; is the name of the directory to be created. Directory
-names are limited to six characters.
-
-Missing from this ITS distribution is the INQUIR database. It
-contains user information. There were too many personal details in it
-and no one has been able to scrub it so it was left out. This means
-you cannot have a complete user account yet. The best you can do is
-to pick a user name and make yourself a directory with that name and
-put a login script in it. In this example the user "user" is created:
-
-:login user
-:print ..new. (udir) user;
-:emacs login user
-[add startup code like ":tctyp vt52" and ^X^S to save ^X^C to exit]
-
-You log out with <ALTMODE><ALTMODE>u which is [Esc][Esc]u and
-represented in the documentation as $$u
-
-The ITS equivalent of $PATH is implemented by scanning all
-directories for files for files with TS as the first name and
-the second name set to the command you issued. By convention
-most commands are in the SYS; SYS1; ... SYSN; directories.
-ITS supports symlinks via the LINK command and TS name is often
-a symlink.
-
-ITS equivalent of job control works by typing ^Z to interrupt the
-current program. To get back to the DDT prompt "*" use $^K
-
-Don't like DDT as the shell? Try MONMOD to use monitor mode where the
-colon is printed for you. DDTMOD gets you back. Or try SHELL to
-bring up a UNIX-like shell.
-
-Zork was developed in MDL (muddle) on an ITS system but apparently it
-suffered from being too popular. Try the ZORK command to see what
-happened. A scrap of MDL source code is left (:find @muddle) but I
-don't know how to MIDAS it.
diff --git a/emulators/its/files/its-user-install.sh b/emulators/its/files/its-user-install.sh
deleted file mode 100644
index 07af9668898e..000000000000
--- a/emulators/its/files/its-user-install.sh
+++ /dev/null
@@ -1,216 +0,0 @@
-#! /bin/sh
-
-# $FreeBSD$
-
-# 1) zcat the PI fs image into a user's directory (the compressed
-# image location is also configurable via "make install")
-#
-# 2) copy or lndir the /usr/local/share/klh10-ks-its/* (this location
-# is immutable) bits into a user's directory
-#
-# 3) generate the klh-kn-its-freebsd .ini file for the user
-#
-# 4) generate ~/.itsrc file for its(1) command so that multple users
-# can use its(1) with different filesystem images.
-
-umask 022
-
-# remove symlinks in cleanup()?
-
-cleanup() {
- rm -f $KLH10_HOME/@PI-IMG@
- echo its-install-user: Terminating.
- exit 1
-}
-
-trap cleanup 1 2 3 15
-
-validate_ip() {
- echo $1 | grep -q -s '[^0-9\.]'
- if [ $? != 1 ]; then
- echo its-install-user: IP address must be digits and periods only.
- return 1
- fi
- echo $1 | grep -q -s '\..*\..*\.'
- if [ $? != 0 ]; then
- echo its-install-user: IP address must have at least three periods.
- return 1
- fi
- echo $1 | grep -q -s '\..*\..*\..*\.'
- if [ $? = 0 ]; then
- echo its-install-user: IP address must not exceed three periods.
- return 1
- fi
- echo $1 | grep -q -s '\.\.'
- if [ $? = 0 ]; then
- echo its-install-user: IP address must not have consecutive periods.
- return 1
- fi
- OLDIFS="$IFS"
- IFS=.
- set $1
- for i in $* ; do
- if [ $i -gt 255 ]; then
- echo its-install-user: Octets of IP address must not exceed 255.
- IFS="$OLDIFS"
- return 1
- fi
- done
- IFS="$OLDIFS"
- return 0
-}
-
-in_network=false
-for i in `groups`; do
- if [ $i = network ]; then
- in_network=true
- break
- fi
-done
-
-if [ `whoami` = root ]; then
- in_network=true
-fi
-
-if [ $in_network = false ]; then
- echo WARNING: You must be in group network in order to run a networked ITS.
- echo WARNING: You may still run a non-networked ITS.
-fi
-
-if [ ! -d @KLH-SHARE@ ]; then
- echo its-install-user: Can\'t find the emulator directory.
- cleanup
-fi
-
-cd @KLH-SHARE@
-
-if [ ! -r @PI-IMG@.bz2 ]; then
- echo its-install-user: The compressed PI disk image is missing.
- cleanup
-fi
-
-valid_input=false
-while [ $valid_input = false ]; do
- KLH10_HOME=~/klh10-its-home
- echo Where do you want to install the 170MB filesystem image\?
- echo -n "[default: $KLH10_HOME]: "
- read ans
- if [ "$ans" != "" ]; then
- KLH10_HOME=$ans
- fi
-
- if [ -e $KLH10_HOME -a ! -d $KLH10_HOME ]; then
- echo There already is a non-directory $KLH10_HOME in the filesystem.
- continue
- fi
- if [ ! -d $KLH10_HOME ]; then
- echo -n "$KLH10_HOME is not an existing directory. Create it? (y/n) "
- read yorn
- case "$yorn" in
- y|Y)
- if ! mkdir -p $KLH10_HOME ; then
- echo its-install-user: Can\'t make the target directory.
- cleanup
- else
- valid_input=true
- fi
- ;;
- n|N)
- echo Type the interupt key to quit or try again.
- ;;
- *)
- echo "I do not recognize your answer. ($yorn)"
- ;;
- esac
- elif [ ! -w $KLH10_HOME ]; then
- if ! chmod u+w $KLH10_HOME || chmod g+w $KLH10_HOME; then
- echo its-install-user: Can\'t write in $KLH10_HOME
- elif [ ! -w $KLH10_HOME ]; then
- echo its-install-user: Can\'t write in $KLH10_HOME
- else
- valid_input=true
- fi
- else
- valid_input=true
- fi
-done
-
-echo Extracting @PI-IMG@.bz2 into $KLH10_HOME
-bzcat @PI-IMG@.bz2 > $KLH10_HOME/@PI-IMG@
-
-if [ $? != 0 ]; then
- echo its-install-user: What a mess--the extract failed.
- cleanup
-fi
-
-echo Linking up the emulator support files.
-for i in *; do
- case $i in
- @PI-IMG@.bz2) # exclusions
- ;;
- *)
- rm -f $KLH10_HOME/$i && ln -s @KLH-SHARE@/$i $KLH10_HOME
- if [ $? != 0 ]; then
- echo its-install-user: Failed to make symlinks.
- cleanup
- fi
- ;;
- esac
-done
-cd @KLH-LIBEX@
-for i in *; do
- rm -f $KLH10_HOME/$i && ln -s @KLH-LIBEX@/$i $KLH10_HOME
- if [ $? != 0 ]; then
- echo its-install-user: Failed to make symlinks.
- cleanup
- fi
-done
-cd $KLH10_HOME
-
-EM_IP=10.134.198.236
-valid_input=false
-while [ $valid_input = false ]; do
- echo -n "What is the IP address for the emulated PDP-10? [$EM_IP]: "
- read ans
- if [ "$ans" != "" ]; then
- if validate_ip $ans ; then
- valid_input=true
- EM_IP=$ans
- fi
- else
- valid_input=true
- fi
-done
-
-GW_IP=10.0.0.1
-valid_input=false
-while [ $valid_input = false ]; do
- echo -n "What is the IP address for the gateway' [$GW_IP]: "
- read ans
- if [ "$ans" != "" ]; then
- if validate_ip $ans ; then
- valid_input=true
- GW_IP=$ans
- fi
- else
- valid_input=true
- fi
-done
-
-sed -e "s;@IPADDR@;$EM_IP;g" \
- -e "s;@GWADDR@;$GW_IP;g" \
- -e "s;@KLH-HOME@;$KLH10_HOME;g" \
- < klh10-kn-freebsd.ini.in > klh10-kn-freebsd.ini
-if [ $? != 0 ]; then
- echo its-install-user: Failed to generate ini file.
- cleanup
-fi
-rm -f klh10-kn-freebsd.ini.in
-
-rm -f ~/itsrc
-echo KLH10_HOME=$KLH10_HOME > ~/.itsrc
-echo PI_IMAGE=$KLH10_HOME/@PI-IMG@ >> ~/.itsrc
-if [ $? != 0 ]; then
- echo its-install-user: Failed to generate rc file.
- cleanup
-fi
diff --git a/emulators/its/files/its.sh b/emulators/its/files/its.sh
deleted file mode 100644
index 7eb94f43a143..000000000000
--- a/emulators/its/files/its.sh
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-# Run KLH10 with KS-ITS hardware configuration and ITS OS configuration
-# to bring up MIT Incompatible Timesharing System emulation.
-
-in_network=false
-for i in `groups`; do
- if [ $i = network ]; then
- in_network=true
- break
- fi
-done
-
-if [ `whoami` = root ]; then
- in_network=true
-fi
-
-if [ $in_network = false ]; then
- echo WARNING: You must be in group network in order to run a networked ITS.
- echo WARNING: You may still run a non-networked ITS.
-fi
-
-if [ ! -r ~/.itsrc ]; then
- echo its: My config file '(~/.itsrc)' is missing!
- echo its: Did you remember to run its-user-install\?
- echo its: Terminating.
- exit 1
-fi
-
-set -e # croak on corrupt config file.
-. ~/.itsrc
-set +e
-
-if [ "$KLH10_HOME" = "" ]; then
- echo its: KLH10_HOME is missing from my config file.
- echo its: terminating.
- exit 1
-elif [ ! -d "$KLH10_HOME" ]; then
- echo its: $KLH10_HOME is not a directory.
- echo its: terminating.
- exit 1
-fi
-
-if [ "$PI_IMAGE" = "" ]; then
- echo its: PI_IMAGE is missing from my config file.
- echo its: Terminating.
- exit 1
-elif [ ! -w "$PI_IMAGE" ]; then
- echo its: $PI_IMAGE is not a writable file.
- echo its: Terminating.
- exit 1
-fi
-
-cd $KLH10_HOME
-exec lockf -t 0 -k $PI_IMAGE kn10-ks klh10-kn-freebsd.ini
diff --git a/emulators/its/files/klh10-kn-freebsd.ini.in b/emulators/its/files/klh10-kn-freebsd.ini.in
deleted file mode 100644
index cbcfbe4db9ba..000000000000
--- a/emulators/its/files/klh10-kn-freebsd.ini.in
+++ /dev/null
@@ -1,31 +0,0 @@
-; KLH10 emulator configuration for KN ITS system from FreeBSD ports collection..
-
-; Define basic KS10 device config - two RH11s each on its own Unibus
-
-devdef rh0 ub1 rh11 addr=776700 br=6 vec=254
-devdef rh1 ub3 rh11 addr=772440 br=6 vec=224
-
-; Provide one disk, one tape in config ITS expects
-
-devdef dsk0 rh0.0 rp type=rp06 format=dbd9 path=@KLH-HOME@/PI-ITS-RP06.0-dbd9 iodly=0
-devdef mta0 rh1.0 tm02 fmtr=tm03 type=tu45
-
-; ITS wants a 60Hz clock, allow it. Need this until defaults OK.
-set clk_ithzfix=60
-
-; Define IMP for KN
-devdef imp ub3 lhdh addr=767600 br=6 vec=250 ipaddr=@IPADDR@ gwaddr=@GWADDR@
-
-; Dummy definitions. Only one DZ is still (apparently) needed.
-devdef dz0 ub3 dz11 addr=760010 br=5 vec=340
-;devdef dz1 ub3 dz11 addr=760020 br=5 vec=350
-;devdef chaos ub3 ch11 addr=764140 br=5 vec=270
-
-; Define new HOST device hackery
-devdef idler ub3 host addr=777000
-
-; Preload ITS for convenience
-load @.its-647kn-u
-
-; Use "GO 774000" to start DDT, else just "GO" to start ITS
-
diff --git a/emulators/its/pkg-descr b/emulators/its/pkg-descr
deleted file mode 100644
index 61a03bb09480..000000000000
--- a/emulators/its/pkg-descr
+++ /dev/null
@@ -1,14 +0,0 @@
-This is an image of a PI (Public ITS) filesystem that can be booted on
-the KLH10 PDP-10 emulator.
-
-The emulator image is about 45MB compressed and 170MB uncompressed.
-The installation needs to have a minimum of 45MB in ports/disfiles
-plus 45MB in the installation directory which defaults to
-/usr/local/share/klh10-ks-its. That's about 90MB total but "make
-distclean" will delete 45MB leaving you with only 45MB. After "make
-install" you must run the "its-user-install" script as a regular user
-to install an uncompressed 170MB RP06 filesystem image and setup
-emulator support files. Additional 170MB RP06 filesystem images
-may also be installed.
-
-WWW: http://www.its.os.org/
diff --git a/emulators/its/pkg-plist b/emulators/its/pkg-plist
deleted file mode 100644
index 4882a5abe95b..000000000000
--- a/emulators/its/pkg-plist
+++ /dev/null
@@ -1,13 +0,0 @@
-bin/its
-bin/its-user-install
-%%PORTDOCS%%share/doc/klh10-ks-its/MIT-ITS-papers
-%%PORTDOCS%%share/doc/klh10-ks-its/README.FIRST
-@comment There's some hiccups if we try to specify an absolute
-@comment filename here, so we cd first.
-@cwd /
-%%IMAGE_HOME%%/PI-ITS-RP06.0-dbd9.bz2
-%%IMAGE_HOME%%/klh10-kn-freebsd.ini.in
-@comment We specify to delete %%IMAGE_HOME%%. In most cases, it's the
-@comment same as the klh10 port is using, so it won't be empty (and thus
-@comment not deleted). This dirrm command is for the exceptions to that.
-@dirrmtry %%IMAGE_HOME%%
diff --git a/emulators/linux-geepee32/Makefile b/emulators/linux-geepee32/Makefile
deleted file mode 100644
index 8ba2fcb0f1fd..000000000000
--- a/emulators/linux-geepee32/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-# Created by: <arundel@gmx.net>
-# $FreeBSD$
-
-PORTNAME= geepee32
-PORTVERSION= 30
-PORTREVISION= 3
-CATEGORIES= emulators linux
-MASTER_SITES= http://users.skynet.be/firefly/gp32/project/geepee32/
-PKGNAMEPREFIX= linux-
-DISTNAME= ${PORTNAME}_linux_sdl_${PORTVERSION}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= The only GP32 emulator for i386
-
-ONLY_FOR_ARCHS= i386
-USES= zip
-USE_LINUX= yes
-USE_LINUX_APPS= sdl12 xorglibs
-NO_WRKSUBDIR= yes
-NO_BUILD= yes
-REINPLACE_ARGS=
-
-TARGET_DIR= ${PREFIX}/${PORTNAME}
-
-NO_STAGE= yes
-post-patch:
- ${REINPLACE_CMD}-e 's|%%GEEPEE32DIR%%|${PREFIX}/${PORTNAME}|' ${SCRIPTDIR}/wrapper.sh > \
- ${WRKDIR}/wrapper.sh
-
-do-install:
- ${INSTALL} -d -m 777 ${TARGET_DIR}
- ${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME} ${TARGET_DIR}
- ${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${TARGET_DIR}/${PORTNAME}.sh
-
-post-install:
- @${TOUCH} ${TARGET_DIR}/iic.bin
- @${LN} -s ${TARGET_DIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
- @${ECHO_MSG} ""
- @${ECHO_MSG} "Please don't mail us with requests for ROM dumps."
- @${ECHO_MSG} ""
-
-.include <bsd.port.mk>
diff --git a/emulators/linux-geepee32/distinfo b/emulators/linux-geepee32/distinfo
deleted file mode 100644
index e4b66a5187d3..000000000000
--- a/emulators/linux-geepee32/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (geepee32_linux_sdl_30.zip) = 5196970214bd71f676816e9992dc461d06b7becd9eb86cad8665fbf25485309f
-SIZE (geepee32_linux_sdl_30.zip) = 50285
diff --git a/emulators/linux-geepee32/pkg-descr b/emulators/linux-geepee32/pkg-descr
deleted file mode 100644
index e0f0d9f1583e..000000000000
--- a/emulators/linux-geepee32/pkg-descr
+++ /dev/null
@@ -1,9 +0,0 @@
-What is it ?
-GeePee32 is a GP32 emulator that emulates the Korean GP32 handheld
-(http://www.gp32.com).
-
-Firmware:
-The emulator needs a GP32 firmware dump in order to work. I do not
-have permission from Gamepark Inc. to distrubute this file :(
-
-WWW: http://users.skynet.be/firefly/gp32/project/geepee32/
diff --git a/emulators/linux-geepee32/pkg-plist b/emulators/linux-geepee32/pkg-plist
deleted file mode 100644
index 9cc1ed427d31..000000000000
--- a/emulators/linux-geepee32/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-geepee32/geepee32
-geepee32/geepee32.sh
-geepee32/iic.bin
-bin/geepee32
-@dirrm geepee32
diff --git a/emulators/linux-geepee32/scripts/wrapper.sh b/emulators/linux-geepee32/scripts/wrapper.sh
deleted file mode 100644
index 967a1cbd147c..000000000000
--- a/emulators/linux-geepee32/scripts/wrapper.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-# Needed to make symlinks/shortcuts work.
-# Wrap geepee32 binary
-cd %%GEEPEE32DIR%%
-./geepee32 $*
-exit $?
diff --git a/emulators/linux-systemsimcell/Makefile b/emulators/linux-systemsimcell/Makefile
deleted file mode 100644
index 28db733bde46..000000000000
--- a/emulators/linux-systemsimcell/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-# Created by: Stas Timokhin <stast@bsdportal.ru>
-# $FreeBSD$
-
-PORTNAME= systemsimcell
-PORTVERSION= 3.1.25
-CATEGORIES= emulators linux
-MASTER_SITES= http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.1//CellSDK-Open-Fedora/x86/ \
- http://www.stasyan.com/devel/distfiles/
-PKGNAMEPREFIX= linux-
-EXTRACT_SUFX=
-DISTFILES= systemsim-cell-3.1-25.f9.${ARCH}.rpm \
- sysroot_image-3.1-1.noarch.rpm
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= System simulator for the Cell Broadband Processor
-
-NO_BUILD= yes
-RESTRICTED= Redistribution of pre-compiled binaries is not permitted
-
-SRC_DISTFILES=
-DIST_SUBDIR= rpm
-ONLY_FOR_ARCHS= i386
-USE_LINUX_APPS= tcl84 tk84 blt
-USE_LINUX_RPM= yes
-NOFETCHFILES= systemsim-cell-3.1-25.f9.${ARCH}.rpm
-
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-DOWNLOAD_URL= http://www.alphaworks.ibm.com/tech/cellsystemsim/download
-
-.if !exists(${DISTDIR}/${DIST_SUBDIR}/${NOFETCHFILES})
-IGNORE= distfile can only be fetched if you accept the license. Go to ${DOWNLOAD_URL} and put ${NOFETCHFILES} into ${DISTDIR}/${DIST_SUBDIR}.
-.endif
-
-pre-fetch:
-.if ${OSVERSION}<700055
-IGNORE= you need FreeBSD>=7.0 RELEASE with Linux emulation 2.6.x.
-.elif ${OSVERSION}<800076 && ! defined (OVERRIDE_LINUX_NONBASE_PORTS)
-IGNORE= you need to use non-default linux ports (define OVERRIDE_LINUX_BASE_PORT=f10 and OVERRIDE_LINUX_NONBASE_PORTS=f10).
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/emulators/linux-systemsimcell/distinfo.i386 b/emulators/linux-systemsimcell/distinfo.i386
deleted file mode 100644
index c4a43996b6fd..000000000000
--- a/emulators/linux-systemsimcell/distinfo.i386
+++ /dev/null
@@ -1,4 +0,0 @@
-SHA256 (rpm/systemsim-cell-3.1-25.f9.i386.rpm) = 738e60f1b2cf676f07fa533d9c387dbf309d2049992ea7b9d34a663eb8d10e59
-SIZE (rpm/systemsim-cell-3.1-25.f9.i386.rpm) = 5415886
-SHA256 (rpm/sysroot_image-3.1-1.noarch.rpm) = 65e45773ff0d42bc1b64a732d44a0ef3af8e0ee35553947e2ee73f30d85ca872
-SIZE (rpm/sysroot_image-3.1-1.noarch.rpm) = 234726112
diff --git a/emulators/linux-systemsimcell/pkg-descr b/emulators/linux-systemsimcell/pkg-descr
deleted file mode 100644
index b61d0fd40e1b..000000000000
--- a/emulators/linux-systemsimcell/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-A full-system simulation infrastructure and tools
-for the Cell Broadband Engine processor.
-
-WWW: http://www.alphaworks.ibm.com/tech/cellsystemsim/
diff --git a/emulators/linux-systemsimcell/pkg-plist b/emulators/linux-systemsimcell/pkg-plist
deleted file mode 100644
index 5a9a86c78613..000000000000
--- a/emulators/linux-systemsimcell/pkg-plist
+++ /dev/null
@@ -1,366 +0,0 @@
-opt/ibm/systemsim-cell/bin/emitter/asptrdr
-opt/ibm/systemsim-cell/bin/emitter/bustrace
-opt/ibm/systemsim-cell/bin/emitter/dma_tag_trace
-opt/ibm/systemsim-cell/bin/emitter/memtrace
-opt/ibm/systemsim-cell/bin/emitter/spu-ttrace
-opt/ibm/systemsim-cell/bin/emitter/sti-annoperf
-opt/ibm/systemsim-cell/bin/emitter/sti-annotext
-opt/ibm/systemsim-cell/bin/emitter/sti-stripstats
-opt/ibm/systemsim-cell/bin/emitter/stripstats_live
-opt/ibm/systemsim-cell/bin/parse_dwarf.pl
-opt/ibm/systemsim-cell/bin/snif
-opt/ibm/systemsim-cell/bin/systemsim
-opt/ibm/systemsim-cell/bin/systemsim-cell
-opt/ibm/systemsim-cell/doc/SystemSim.PerfAnalysis.Guide.pdf
-opt/ibm/systemsim-cell/doc/SystemSim.Users.Guide.pdf
-opt/ibm/systemsim-cell/emitter/Makefile.sample
-opt/ibm/systemsim-cell/emitter/annotext.c
-opt/ibm/systemsim-cell/emitter/bustrace.c
-opt/ibm/systemsim-cell/emitter/dma_tag_trace.c
-opt/ibm/systemsim-cell/emitter/ed_compare.c
-opt/ibm/systemsim-cell/emitter/ed_print.c
-opt/ibm/systemsim-cell/emitter/emitreader.a
-opt/ibm/systemsim-cell/emitter/emitter_reader.c
-opt/ibm/systemsim-cell/emitter/memtrace.c
-opt/ibm/systemsim-cell/emitter/reader.c
-opt/ibm/systemsim-cell/emitter/spu-ttrace.c
-opt/ibm/systemsim-cell/emitter/sti-annoperf.cpp
-opt/ibm/systemsim-cell/emitter/sti-annotext.c
-opt/ibm/systemsim-cell/emitter/trans_id.c
-opt/ibm/systemsim-cell/images/cell/sysroot_disk
-opt/ibm/systemsim-cell/images/cell/vmlinux
-opt/ibm/systemsim-cell/include/basictypes_t.h
-opt/ibm/systemsim-cell/include/callthru/callthru_config.h
-opt/ibm/systemsim-cell/include/callthru/profile.h
-opt/ibm/systemsim-cell/include/callthru/sim_support_code.h
-opt/ibm/systemsim-cell/include/callthru/spu/apu_callthru.h
-opt/ibm/systemsim-cell/include/callthru/spu/profile.h
-opt/ibm/systemsim-cell/include/common/external.h
-opt/ibm/systemsim-cell/include/common/mambo.h
-opt/ibm/systemsim-cell/include/define64bit.h
-opt/ibm/systemsim-cell/include/definecpp.h
-opt/ibm/systemsim-cell/include/emitter/atomic.h
-opt/ibm/systemsim-cell/include/emitter/ed.h
-opt/ibm/systemsim-cell/include/emitter/emit_collector.h
-opt/ibm/systemsim-cell/include/emitter/emitter_data.h
-opt/ibm/systemsim-cell/include/emitter/emitter_data_t.h
-opt/ibm/systemsim-cell/include/emitter/emitter_output_t.h
-opt/ibm/systemsim-cell/include/emitter/sti_emitter_data_t.h
-opt/ibm/systemsim-cell/include/emitter/sti_emitter_union_t.h
-opt/ibm/systemsim-cell/include/endianfix.h
-opt/ibm/systemsim-cell/include/environment.h
-opt/ibm/systemsim-cell/include/it_codes.h
-opt/ibm/systemsim-cell/include/mambo_iss.h
-opt/ibm/systemsim-cell/include/mpid_t.h
-opt/ibm/systemsim-cell/include/mtrace_t.h
-opt/ibm/systemsim-cell/include/library_sim.h
-opt/ibm/systemsim-cell/include/plugin_api.h
-opt/ibm/systemsim-cell/include/trans_id.h
-opt/ibm/systemsim-cell/include/trans_id_t.h
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/CHANGES.txt
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/ChangeLog
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/LICENSE.txt
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/Makefile
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/Makefile.in
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/README.txt
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/aclocal.m4
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/arrow.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/bitmap.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/button.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/buttonbox.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/color.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/combobox.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/configure.in
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/demo/basic.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/demo/bwidget.xbm
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/demo/demo.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/demo/dnd.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/demo/manager.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/demo/select.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/demo/tmpldlg.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/demo/tree.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/demo/x1.xbm
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/dialog.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/dragsite.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/dropsite.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/dynhelp.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/entry.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/font.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/bold.gif
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/copy.gif
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/cut.gif
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/dragfile.gif
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/dragicon.gif
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/error.gif
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/file.gif
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/folder.gif
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/hourglass.gif
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/info.gif
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/italic.gif
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/minus.xbm
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/new.gif
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/opcopy.xbm
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/open.gif
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/openfold.gif
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/oplink.xbm
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/opmove.xbm
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/overstrike.gif
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/palette.gif
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/passwd.gif
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/paste.gif
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/plus.xbm
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/print.gif
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/question.gif
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/redo.gif
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/save.gif
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/target.xbm
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/underline.gif
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/undo.gif
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images/warning.gif
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/init.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/label.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/labelentry.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/labelframe.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/lang/de.rc
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/lang/en.rc
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/lang/es.rc
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/lang/fr.rc
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/listbox.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/mainframe.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/messagedlg.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/notebook.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/pagesmgr.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/panedw.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/passwddlg.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/pkgIndex.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/progressbar.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/progressdlg.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/scrollframe.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/scrollview.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/scrollw.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/separator.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/spinbox.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/tests/entry.test
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/titleframe.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/tree.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/utils.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/widget.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/wizard.tcl
-opt/ibm/systemsim-cell/lib/BWidget-1.7.0/xpm2image.tcl
-opt/ibm/systemsim-cell/lib/blt2.4z/NEWS
-opt/ibm/systemsim-cell/lib/blt2.4z/PROBLEMS
-opt/ibm/systemsim-cell/lib/blt2.4z/README
-opt/ibm/systemsim-cell/lib/blt2.4z/bltCanvEps.pro
-opt/ibm/systemsim-cell/lib/blt2.4z/bltGraph.pro
-opt/ibm/systemsim-cell/lib/blt2.4z/dd_protocols/dd-color.tcl
-opt/ibm/systemsim-cell/lib/blt2.4z/dd_protocols/dd-file.tcl
-opt/ibm/systemsim-cell/lib/blt2.4z/dd_protocols/dd-number.tcl
-opt/ibm/systemsim-cell/lib/blt2.4z/dd_protocols/dd-text.tcl
-opt/ibm/systemsim-cell/lib/blt2.4z/dd_protocols/tclIndex
-opt/ibm/systemsim-cell/lib/blt2.4z/dnd.tcl
-opt/ibm/systemsim-cell/lib/blt2.4z/dragdrop.tcl
-opt/ibm/systemsim-cell/lib/blt2.4z/graph.tcl
-opt/ibm/systemsim-cell/lib/blt2.4z/hierbox.tcl
-opt/ibm/systemsim-cell/lib/blt2.4z/pkgIndex.tcl
-opt/ibm/systemsim-cell/lib/blt2.4z/tabnotebook.tcl
-opt/ibm/systemsim-cell/lib/blt2.4z/tabset.tcl
-opt/ibm/systemsim-cell/lib/blt2.4z/tclIndex
-opt/ibm/systemsim-cell/lib/blt2.4z/treeview.tcl
-opt/ibm/systemsim-cell/lib/blt2.4z/treeview.xbm
-opt/ibm/systemsim-cell/lib/blt2.4z/treeview_m.xbm
-opt/ibm/systemsim-cell/lib/cell/Makefile
-opt/ibm/systemsim-cell/lib/cell/axon_dev_tree.tcl
-opt/ibm/systemsim-cell/lib/cell/cell_util.tcl
-opt/ibm/systemsim-cell/lib/cell/components.tcl
-opt/ibm/systemsim-cell/lib/cell/config_edp_smp.tcl
-opt/ibm/systemsim-cell/lib/cell/config_smp.tcl
-opt/ibm/systemsim-cell/lib/cell/dev_tree.tcl
-opt/ibm/systemsim-cell/lib/cell/disclaim.txt
-opt/ibm/systemsim-cell/lib/cell/gui/BE_buttons.tcl
-opt/ibm/systemsim-cell/lib/cell/gui/BE_treesim.tcl
-opt/ibm/systemsim-cell/lib/cell/gui/Makefile
-opt/ibm/systemsim-cell/lib/cell/gui/gui.tcl
-opt/ibm/systemsim-cell/lib/cell/gui/mfc.tcl
-opt/ibm/systemsim-cell/lib/cell/gui/pcxlate.tcl
-opt/ibm/systemsim-cell/lib/cell/gui/pviz.tcl
-opt/ibm/systemsim-cell/lib/cell/gui/spu_prof.tcl
-opt/ibm/systemsim-cell/lib/cell/gui/spuchannel.tcl
-opt/ibm/systemsim-cell/lib/cell/gui/spucore.tcl
-opt/ibm/systemsim-cell/lib/cell/gui/spumemory.tcl
-opt/ibm/systemsim-cell/lib/cell/gui/spumodes.tcl
-opt/ibm/systemsim-cell/lib/cell/gui/sputracker.tcl
-opt/ibm/systemsim-cell/lib/cell/gui/spuutils.tcl
-opt/ibm/systemsim-cell/lib/cell/gui/spxlate.tcl
-opt/ibm/systemsim-cell/lib/cell/gui/tclIndex
-opt/ibm/systemsim-cell/lib/cell/mambo_init.tcl
-opt/ibm/systemsim-cell/lib/cell/spu_race_check.tcl
-opt/ibm/systemsim-cell/lib/cell/spu_stack_check.tcl
-opt/ibm/systemsim-cell/lib/cell/systemsim.tcl
-opt/ibm/systemsim-cell/lib/cell/tclIndex
-opt/ibm/systemsim-cell/lib/common/Makefile
-opt/ibm/systemsim-cell/lib/common/bogusnet.tcl
-opt/ibm/systemsim-cell/lib/common/bcast.tcl
-opt/ibm/systemsim-cell/lib/common/checkpoint.tcl
-opt/ibm/systemsim-cell/lib/common/config.tcl
-opt/ibm/systemsim-cell/lib/common/debug_utils.tcl
-opt/ibm/systemsim-cell/lib/common/dts.tcl
-opt/ibm/systemsim-cell/lib/common/gdbsniff.tcl
-opt/ibm/systemsim-cell/lib/common/osinfo.tcl
-opt/ibm/systemsim-cell/lib/common/pkgIndex.tcl
-opt/ibm/systemsim-cell/lib/common/gui/Makefile
-opt/ibm/systemsim-cell/lib/common/gui/_error_dialog.tcl
-opt/ibm/systemsim-cell/lib/common/gui/common_oo.tcl
-opt/ibm/systemsim-cell/lib/common/gui/control.tcl
-opt/ibm/systemsim-cell/lib/common/gui/controls.tcl
-opt/ibm/systemsim-cell/lib/common/gui/debug_controls.tcl
-opt/ibm/systemsim-cell/lib/common/gui/default_gui.tcl
-opt/ibm/systemsim-cell/lib/common/gui/dialog.tcl
-opt/ibm/systemsim-cell/lib/common/gui/elfload.tcl
-opt/ibm/systemsim-cell/lib/common/gui/embedded_xlate.tcl
-opt/ibm/systemsim-cell/lib/common/gui/emitter.tcl
-opt/ibm/systemsim-cell/lib/common/gui/eventlog.tcl
-opt/ibm/systemsim-cell/lib/common/gui/flyover.tcl
-opt/ibm/systemsim-cell/lib/common/gui/fonts.tcl
-opt/ibm/systemsim-cell/lib/common/gui/fpregs.tcl
-opt/ibm/systemsim-cell/lib/common/gui/gpregs.tcl
-opt/ibm/systemsim-cell/lib/common/gui/graph_zoom_support.tcl
-opt/ibm/systemsim-cell/lib/common/gui/gui.tcl
-opt/ibm/systemsim-cell/lib/common/gui/hiersim.tcl
-opt/ibm/systemsim-cell/lib/common/gui/hiersim_common.tcl
-opt/ibm/systemsim-cell/lib/common/gui/hooks.tcl
-opt/ibm/systemsim-cell/lib/common/gui/membrk.tcl
-opt/ibm/systemsim-cell/lib/common/gui/memmap.tcl
-opt/ibm/systemsim-cell/lib/common/gui/menubar.tcl
-opt/ibm/systemsim-cell/lib/common/gui/options.tcl
-opt/ibm/systemsim-cell/lib/common/gui/pci_utils.tcl
-opt/ibm/systemsim-cell/lib/common/gui/pctracker.tcl
-opt/ibm/systemsim-cell/lib/common/gui/pipeline.tcl
-opt/ibm/systemsim-cell/lib/common/gui/ppc4xx_xlate.tcl
-opt/ibm/systemsim-cell/lib/common/gui/ppccore.tcl
-opt/ibm/systemsim-cell/lib/common/gui/ppcstack.tcl
-opt/ibm/systemsim-cell/lib/common/gui/prefmgr.tcl
-opt/ibm/systemsim-cell/lib/common/gui/processfile_details.tcl
-opt/ibm/systemsim-cell/lib/common/gui/processtree.tcl
-opt/ibm/systemsim-cell/lib/common/gui/proctree_stats_graph.tcl
-opt/ibm/systemsim-cell/lib/common/gui/scrolltogether.tcl
-opt/ibm/systemsim-cell/lib/common/gui/simmode.tcl
-opt/ibm/systemsim-cell/lib/common/gui/stats.tcl
-opt/ibm/systemsim-cell/lib/common/gui/sysmem.tcl
-opt/ibm/systemsim-cell/lib/common/gui/tclIndex
-opt/ibm/systemsim-cell/lib/common/gui/tcl_utils.tcl
-opt/ibm/systemsim-cell/lib/common/gui/testcmds.tcl
-opt/ibm/systemsim-cell/lib/common/gui/textutils.tcl
-opt/ibm/systemsim-cell/lib/common/gui/trackall.tcl
-opt/ibm/systemsim-cell/lib/common/gui/treesim.tcl
-opt/ibm/systemsim-cell/lib/common/gui/triggers.tcl
-opt/ibm/systemsim-cell/lib/common/gui/tvu/Makefile
-opt/ibm/systemsim-cell/lib/common/gui/tvu/buffer.tcl
-opt/ibm/systemsim-cell/lib/common/gui/tvu/cell.tcl
-opt/ibm/systemsim-cell/lib/common/gui/tvu/latch.tcl
-opt/ibm/systemsim-cell/lib/common/gui/tvu/matchbox.tcl
-opt/ibm/systemsim-cell/lib/common/gui/tvu/pipe.tcl
-opt/ibm/systemsim-cell/lib/common/gui/tvu/pkgIndex.tcl
-opt/ibm/systemsim-cell/lib/common/gui/value_expand.tcl
-opt/ibm/systemsim-cell/lib/common/gui/widgets/Makefile
-opt/ibm/systemsim-cell/lib/common/gui/widgets/balloon.tcl
-opt/ibm/systemsim-cell/lib/common/gui/widgets/combobox.tcl
-opt/ibm/systemsim-cell/lib/common/gui/widgets/pkgIndex.tcl
-opt/ibm/systemsim-cell/lib/common/gui/widgets/tests/balloon_tst.tcl
-opt/ibm/systemsim-cell/lib/common/gui/widgets/tests/test.tcl
-opt/ibm/systemsim-cell/lib/common/gui/window.tcl
-opt/ibm/systemsim-cell/lib/common/gui/winmgr.tcl
-opt/ibm/systemsim-cell/lib/common/mambo_init.tcl
-opt/ibm/systemsim-cell/lib/common/openfirmware_utils.tcl
-opt/ibm/systemsim-cell/lib/common/tclIndex
-opt/ibm/systemsim-cell/lib/common/tcl_utils.tcl
-opt/ibm/systemsim-cell/lib/ppc/801TM_util.tcl
-opt/ibm/systemsim-cell/lib/ppc/Makefile
-opt/ibm/systemsim-cell/lib/ppc/aix.old.tcl
-opt/ibm/systemsim-cell/lib/ppc/aix.tcl
-opt/ibm/systemsim-cell/lib/ppc/aix_track.tcl
-opt/ibm/systemsim-cell/lib/ppc/aix_utils.tcl
-opt/ibm/systemsim-cell/lib/ppc/bet_util.tcl
-opt/ibm/systemsim-cell/lib/ppc/bogus_disk.tcl
-opt/ibm/systemsim-cell/lib/ppc/debug.tcl
-opt/ibm/systemsim-cell/lib/ppc/emitter_readers.tcl
-opt/ibm/systemsim-cell/lib/ppc/erat.tcl
-opt/ibm/systemsim-cell/lib/ppc/linux.tcl
-opt/ibm/systemsim-cell/lib/ppc/linux_track.tcl
-opt/ibm/systemsim-cell/lib/ppc/pkgIndex.tcl
-opt/ibm/systemsim-cell/lib/ppc/profiler/_choose_from_list.tcl
-opt/ibm/systemsim-cell/lib/ppc/profiler/_error_dialog.tcl
-opt/ibm/systemsim-cell/lib/ppc/profiler/_ps.tcl
-opt/ibm/systemsim-cell/lib/ppc/profiler/_read_emitter.tcl
-opt/ibm/systemsim-cell/lib/ppc/profiler/_select_file.tcl
-opt/ibm/systemsim-cell/lib/ppc/profiler/live-graph
-opt/ibm/systemsim-cell/lib/ppc/profiler/prof.tcl
-opt/ibm/systemsim-cell/lib/ppc/profiler/profiler_setup.tcl
-opt/ibm/systemsim-cell/lib/ppc/step.tcl
-opt/ibm/systemsim-cell/lib/ppc/syscalls.tcl
-opt/ibm/systemsim-cell/lib/ppc/syscalls/Makefile
-opt/ibm/systemsim-cell/lib/ppc/syscalls/sys.pl
-opt/ibm/systemsim-cell/lib/ppc/syscalls/syscalls.txt
-opt/ibm/systemsim-cell/lib/ppc/tclIndex
-opt/ibm/systemsim-cell/lib/ppc/tlb.tcl
-opt/ibm/systemsim-cell/lib/ppc/util.tcl
-opt/ibm/systemsim-cell/run/cell/linux/regress.simple.ok
-opt/ibm/systemsim-cell/run/cell/linux/regress.simple.tcl
-opt/ibm/systemsim-cell/run/cell/linux/regress.smp.ok
-opt/ibm/systemsim-cell/run/cell/linux/regress.smp.tcl
-opt/ibm/systemsim-cell/run/cell/run_cmdline
-opt/ibm/systemsim-cell/run/cell/run_gui
-opt/ibm/systemsim-cell/run/cell/standalone/.systemsim.tcl
-opt/ibm/systemsim-cell/run/cell/standalone/daxpy.c
-opt/ibm/systemsim-cell/run/cell/standalone/daxpy.tcl
-opt/ibm/systemsim-cell/run/cell/standalone/regress.daxpy.ok
-opt/ibm/systemsim-cell/sample/callthru/Makefile
-opt/ibm/systemsim-cell/sample/callthru/README
-opt/ibm/systemsim-cell/sample/callthru/callthru.c
-opt/ibm/systemsim-cell/sample/cell/libsim/Makefile
-opt/ibm/systemsim-cell/sample/cell/libsim/spu/Makefile
-opt/ibm/systemsim-cell/sample/cell/libsim/spu/libsim.h
-opt/ibm/systemsim-cell/sample/cell/libsim/spu/libsim.s
-opt/ibm/systemsim-cell/sample/gdb/build_gdb.sh
-opt/ibm/systemsim-cell/sample/gdb/systemsim.gdb
-opt/ibm/systemsim-cell/sample/gdb/systemsim_gdb-6.3.diff
-@dirrm opt/ibm/systemsim-cell/sample/gdb
-@dirrm opt/ibm/systemsim-cell/sample/cell/libsim/spu
-@dirrm opt/ibm/systemsim-cell/sample/cell/libsim
-@dirrm opt/ibm/systemsim-cell/sample/cell
-@dirrm opt/ibm/systemsim-cell/sample/callthru
-@dirrm opt/ibm/systemsim-cell/sample
-@dirrm opt/ibm/systemsim-cell/run/cell/standalone
-@dirrm opt/ibm/systemsim-cell/run/cell/linux
-@dirrm opt/ibm/systemsim-cell/run/cell
-@dirrm opt/ibm/systemsim-cell/run
-@dirrm opt/ibm/systemsim-cell/lib/ppc/syscalls
-@dirrm opt/ibm/systemsim-cell/lib/ppc/profiler
-@dirrm opt/ibm/systemsim-cell/lib/ppc
-@dirrm opt/ibm/systemsim-cell/lib/common/gui/widgets/tests
-@dirrm opt/ibm/systemsim-cell/lib/common/gui/widgets
-@dirrm opt/ibm/systemsim-cell/lib/common/gui/tvu
-@dirrm opt/ibm/systemsim-cell/lib/common/gui
-@dirrm opt/ibm/systemsim-cell/lib/common
-@dirrm opt/ibm/systemsim-cell/lib/cell/gui
-@dirrm opt/ibm/systemsim-cell/lib/cell
-@dirrm opt/ibm/systemsim-cell/lib/blt2.4z/dd_protocols
-@dirrm opt/ibm/systemsim-cell/lib/blt2.4z
-@dirrm opt/ibm/systemsim-cell/lib/BWidget-1.7.0/tests
-@dirrm opt/ibm/systemsim-cell/lib/BWidget-1.7.0/lang
-@dirrm opt/ibm/systemsim-cell/lib/BWidget-1.7.0/images
-@dirrm opt/ibm/systemsim-cell/lib/BWidget-1.7.0/demo
-@dirrm opt/ibm/systemsim-cell/lib/BWidget-1.7.0
-@dirrm opt/ibm/systemsim-cell/lib
-@dirrm opt/ibm/systemsim-cell/include/emitter
-@dirrm opt/ibm/systemsim-cell/include/common
-@dirrm opt/ibm/systemsim-cell/include/callthru/spu
-@dirrm opt/ibm/systemsim-cell/include/callthru
-@dirrm opt/ibm/systemsim-cell/include
-@dirrm opt/ibm/systemsim-cell/images/cell
-@dirrm opt/ibm/systemsim-cell/images
-@dirrm opt/ibm/systemsim-cell/emitter
-@dirrm opt/ibm/systemsim-cell/doc
-@dirrm opt/ibm/systemsim-cell/bin/emitter
-@dirrm opt/ibm/systemsim-cell/bin
-@dirrm opt/ibm/systemsim-cell
-@dirrm opt/ibm
diff --git a/emulators/psim-freebsd/Makefile b/emulators/psim-freebsd/Makefile
deleted file mode 100644
index e5d77ad153ec..000000000000
--- a/emulators/psim-freebsd/Makefile
+++ /dev/null
@@ -1,40 +0,0 @@
-# Created by: Mark Peek <mp@FreeBSD.org>
-# $FreeBSD$
-
-PORTNAME= psim-freebsd
-.if defined(WITHOUT_GPLv3)
-PORTVERSION= 6.6
-.else
-PORTVERSION= 7.0.1
-.endif
-PORTREVISION?= 0
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= gdb
-DISTNAME= gdb-${PORTVERSION}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= PowerPC simulator (PSIM) running in the GNU GDB 6
-
-USES= tar:bzip2
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-psim --target=powerpc-freebsd-elf \
- --program-suffix=psim \
- --disable-nls
-
-NO_STAGE= yes
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb ${PREFIX}/bin/${PORTNAME}
- ${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${FILESDIR}/dot.gdbinit ${EXAMPLESDIR}
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${FILESDIR}/HOW-TO ${DOCSDIR}
-.endif
-
-cklatest:
- ncftpls \
- ftp://mirrors.rcn.net/mirrors/sources.redhat.com/${MASTER_SITE_SUBDIR}/ \
- | ${GREP} gdb+dejagnu-
-
-.include <bsd.port.mk>
diff --git a/emulators/psim-freebsd/distinfo b/emulators/psim-freebsd/distinfo
deleted file mode 100644
index 38e8c04a0fa7..000000000000
--- a/emulators/psim-freebsd/distinfo
+++ /dev/null
@@ -1,4 +0,0 @@
-SHA256 (gdb-6.6.tar.bz2) = 6e602987298db5ddb479bbb84ce653eabd9c304957a49552245f65cdc70d43bd
-SIZE (gdb-6.6.tar.bz2) = 14535755
-SHA256 (gdb-7.0.1.tar.bz2) = 560c3fd0053ade6549e71bd045f70282feb88db73b35e401bbad601a311e3c1b
-SIZE (gdb-7.0.1.tar.bz2) = 17614682
diff --git a/emulators/psim-freebsd/files/HOW-TO b/emulators/psim-freebsd/files/HOW-TO
deleted file mode 100644
index a1950bcd8c15..000000000000
--- a/emulators/psim-freebsd/files/HOW-TO
+++ /dev/null
@@ -1,69 +0,0 @@
-$FreeBSD$
-
-Instructions for building and running the FreeBSD kernel under PSIM:
-
-1. On a FreeBSD system, check out a new source tree and run:
- # cd src/sys/powerpc/conf
- # config -g GENERIC
-
-2. On a NetBSD PPC system with the source NFS mounted, compile the kernel
- (your mount point may vary):
- # make -m /mnt/share/mk MACHINE_ARCH=powerpc
-
-3. On the FreeBSD system, grap /usr/src/release/write_mfs_in_kernel.c and
- run it using <http://people.freebsd.org/~mp/psim/ppcdisk.bz2> to add
- the md image:
-
- # ./write_mfs_in_kernel kernel.debug ppcdisk
-
-4. Run the simulator. The following .gdbinit is available as
- /usr/local/share/examples/psim-freebsd/dot.gdbinit:
-
- display/i $pc
- define pglobal
- print *(struct globaldata *)$sprg0
- end
- target sim -e chirp -r 33554432
- set architecture powerpc:604
- load
-
-# psim-freebsd kernel.debug
-GNU gdb 20011012 (MI_OUT)
-Copyright 2001 Free Software Foundation, Inc.
-GDB is free software, covered by the GNU General Public License, and you are
-welcome to change it and/or distribute copies of it under certain conditions.
-Type "show copying" to see the conditions.
-There is absolutely no warranty for GDB. Type "show warranty" for details.
-This GDB was configured as "--host=i386-portbld-freebsd5.0 --target=powerpc-freebsd-elf"...
-Connected to the simulator.
-The target architecture is assumed to be powerpc:604
-chirp: note descriptor missing load-base
-(gdb) b cpu_switch
-Breakpoint 1 at 0x1d8d58
-(gdb) run
-Starting program: /usr/vsrc/sys/powerpc/compile/GENERIC/kernel.debug
-Copyright (c) 1992-2001 The FreeBSD Project.
-Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
- The Regents of the University of California. All rights reserved.
-FreeBSD 5.0-CURRENT #0: Fri Oct 12 12:47:40 PDT 2001
- root@netppc:/mnt/vsrc/sys/powerpc/compile/GENERIC
-CPU: PowerPC Version 0 (Revision 0)
-real memory = 33554432 (32768K bytes)
-avail memory = 29794304 (29096K bytes)
-Timecounter "powerpc" frequency 16666666 Hz
-rn_init: radix functions require max_keylen be set
-Mounting root from ufs:/dev/md0c
-
-Breakpoint 1, 0x001d8d58 in cpu_switch ()
-1: x/i $pc 0x1d8d58 <cpu_switch+24>: mfsprg r3,0
-(gdb) where
-#0 0x001d8d58 in cpu_switch ()
-#1 0x0014baa4 in mi_switch () at ../../../kern/kern_synch.c:765
-#2 0x0014af0c in msleep (ident=0x308cf8, mtx=0x0, priority=68,
- wmesg=0x1e27f8 "sched", timo=1000) at ../../../kern/kern_synch.c:484
-#3 0x001c0e58 in scheduler (dummy=0xcda) at ../../../vm/vm_glue.c:439
-#4 0x0011d720 in mi_startup () at ../../../kern/init_main.c:209
-#5 0x00114880 in kernel_text ()
-(gdb)
-
-More information on PSIM can be found here: <http://sources.redhat.com/psim>
diff --git a/emulators/psim-freebsd/files/README.patches b/emulators/psim-freebsd/files/README.patches
deleted file mode 100644
index b7dcdee840dc..000000000000
--- a/emulators/psim-freebsd/files/README.patches
+++ /dev/null
@@ -1,15 +0,0 @@
-$FreeBSD$
-
-Patch comments:
-
-sim/ppc/emul_chirp.c:
-Add a mapping for the kernel to obtain the mapping for the
-OpenFirmware callback.
-
-sim/ppc/hw_cpu.c:
-Add the device type and timebase-frequency to the cpu device.
-Add code to create an instance of the cpu for the translation of the
-OpenFirmware callback.
-
-sim/ppc/hw_init.c:
-Allow the simulator to load a dynamically linked OEA environment.
diff --git a/emulators/psim-freebsd/files/dot.gdbinit b/emulators/psim-freebsd/files/dot.gdbinit
deleted file mode 100644
index b4e6b167420d..000000000000
--- a/emulators/psim-freebsd/files/dot.gdbinit
+++ /dev/null
@@ -1,7 +0,0 @@
-display/i $pc
-define pglobal
- print *(struct globaldata *)$sprg0
-end
-target sim -e chirp -r 33554432
-set architecture powerpc:604
-load
diff --git a/emulators/psim-freebsd/files/patch-emul_chirp.c b/emulators/psim-freebsd/files/patch-emul_chirp.c
deleted file mode 100644
index 379ef7cd39ca..000000000000
--- a/emulators/psim-freebsd/files/patch-emul_chirp.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- sim/ppc/emul_chirp.c.orig Sun Jun 22 23:03:40 2003
-+++ sim/ppc/emul_chirp.c Wed Jan 26 12:06:16 2005
-@@ -1880,6 +1880,11 @@
- (unsigned long)chirp->sizeof_stack);
- tree_parse(node, "./wimg %d", 0x7);
- tree_parse(node, "./pp %d", 0x2);
-+ node = tree_parse(root, "/cpus/cpu@0");
-+ tree_parse(node, "./translations 0x%lx 0x%lx 0x%0lx 0x%0lx 0x%0lx",
-+ (unsigned long)chirp->code_va, (unsigned long)chirp->sizeof_code,
-+ (unsigned long)chirp->code_ra, 0);
-+ node = tree_parse(root, "/chosen/mmu */cpus/cpu@0");
- }
-
- /* map in the chrp openboot callback code */
diff --git a/emulators/psim-freebsd/files/patch-hw_cpu.c b/emulators/psim-freebsd/files/patch-hw_cpu.c
deleted file mode 100644
index dedb2c753633..000000000000
--- a/emulators/psim-freebsd/files/patch-hw_cpu.c
+++ /dev/null
@@ -1,63 +0,0 @@
-diff -r -u sim/ppc/hw_cpu.c /local2/gcc/ppc/gdb+dejagnu-20011007/sim/ppc/hw_cpu.c
---- sim/ppc/hw_cpu.c Thu Apr 15 18:35:09 1999
-+++ /local2/gcc/ppc/gdb+dejagnu-20011007/sim/ppc/hw_cpu.c Sun Oct 7 16:16:57 2001
-@@ -110,6 +110,8 @@
- {
- hw_cpu_device *hw_cpu = (hw_cpu_device*)device_data(me);
- /* populate the node with properties */
-+ device_add_string_property(me, "device_type", "cpu");
-+ device_add_integer_property(me, "timebase-frequency", 0x00fe502a);
- /* clear our data */
- memset(hw_cpu, 0x0, sizeof(hw_cpu_device));
- hw_cpu->cpu_nr = device_find_integer_property(me, "cpu-nr");
-@@ -148,6 +150,42 @@
- }
- }
-
-+/* An instance of the cpu */
-+
-+typedef struct _hw_cpu_instance {
-+ unsigned_word pos;
-+ hw_cpu_device *cpu;
-+ device *me;
-+} hw_cpu_instance;
-+
-+static void
-+hw_cpu_instance_delete(device_instance *instance)
-+{
-+ hw_cpu_instance *data = device_instance_data(instance);
-+ zfree(data);
-+}
-+
-+static const device_instance_callbacks hw_cpu_instance_callbacks = {
-+ hw_cpu_instance_delete,
-+ NULL,
-+ NULL,
-+ NULL,
-+};
-+
-+static device_instance *
-+hw_cpu_create_instance(device *me,
-+ const char *path,
-+ const char *args)
-+{
-+ hw_cpu_device *cpu = device_data(me);
-+ hw_cpu_instance *data = ZALLOC(hw_cpu_instance);
-+ data->cpu = cpu;
-+ data->me = me;
-+ return device_create_instance_from(me, NULL,
-+ data,
-+ path, args,
-+ &hw_cpu_instance_callbacks);
-+}
-
- static device_callbacks const hw_cpu_callbacks = {
- { hw_cpu_init_address, }, /* init */
-@@ -156,6 +194,7 @@
- { NULL, }, /* DMA */
- { hw_cpu_interrupt_event, NULL, hw_cpu_interrupt_ports }, /* interrupts */
- { NULL, NULL, },
-+ hw_cpu_create_instance,
- };
-
- const device_descriptor hw_cpu_device_descriptor[] = {
diff --git a/emulators/psim-freebsd/files/patch-hw_init.c b/emulators/psim-freebsd/files/patch-hw_init.c
deleted file mode 100644
index e6481a876f8f..000000000000
--- a/emulators/psim-freebsd/files/patch-hw_init.c
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -r -u sim/ppc/hw_init.c /local2/gcc/ppc/gdb+dejagnu-20011007/sim/ppc/hw_init.c
---- sim/ppc/hw_init.c Thu May 10 10:48:10 2001
-+++ /local2/gcc/ppc/gdb+dejagnu-20011007/sim/ppc/hw_init.c Fri Oct 12 11:31:51 2001
-@@ -350,7 +350,8 @@
- ));
-
- /* If there is an .interp section, it means it needs a shared library interpreter. */
-- if (strcmp(".interp", bfd_get_section_name(abfd, the_section)) == 0)
-+ if (current_environment != OPERATING_ENVIRONMENT
-+ && strcmp(".interp", bfd_get_section_name(abfd, the_section)) == 0)
- error("Shared libraries are not yet supported.\n");
-
- /* determine the devices access */
diff --git a/emulators/psim-freebsd/pkg-descr b/emulators/psim-freebsd/pkg-descr
deleted file mode 100644
index 30c1e7768f78..000000000000
--- a/emulators/psim-freebsd/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-PowerPC simulator (PSIM) running in the GNU GDB 6
-
-WWW: http://sourceware.org/psim/
diff --git a/emulators/psim-freebsd/pkg-plist b/emulators/psim-freebsd/pkg-plist
deleted file mode 100644
index cfa6aced3076..000000000000
--- a/emulators/psim-freebsd/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-bin/psim-freebsd
-%%EXAMPLESDIR%%/dot.gdbinit
-%%PORTDOCS%%%%DOCSDIR%%/HOW-TO
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm %%EXAMPLESDIR%%
diff --git a/emulators/vMac/Makefile b/emulators/vMac/Makefile
deleted file mode 100644
index 10fac4e4a6b0..000000000000
--- a/emulators/vMac/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-# Created by: troll
-# $FreeBSD$
-
-PORTNAME= vMac
-PORTVERSION= 0.1.9.3
-PORTREVISION= 3
-CATEGORIES= emulators
-MASTER_SITES= http://www.vmac.org/download/XWindows/
-DISTNAME= ${PORTNAME}-${PORTVERSION}-src
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Emulates a MacPlus machine! Runs MacOS versions up to 7.5.5
-
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USES= gmake tar:tgz
-GNU_CONFIGURE= yes
-USE_XORG= x11 ice sm xext
-SUB_FILES= pkg-message
-
-NO_STAGE= yes
-pre-patch:
- (cd ${WRKSRC} && ${SH} ${FILESDIR}/dos2unx gemulator.c)
-
-post-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/vMac ${PREFIX}/bin
- ${STRIP_CMD} ${PREFIX}/bin/vMac
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/CREDITS ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.rom ${DOCSDIR}
-.endif
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.mk>
diff --git a/emulators/vMac/distinfo b/emulators/vMac/distinfo
deleted file mode 100644
index bac47c54970b..000000000000
--- a/emulators/vMac/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (vMac-0.1.9.3-src.tgz) = 8ad361f6b941faeff621a9da33c7b5713a42f2c344bb3fb6f08f2b88091fdc99
-SIZE (vMac-0.1.9.3-src.tgz) = 186064
diff --git a/emulators/vMac/files/dos2unx b/emulators/vMac/files/dos2unx
deleted file mode 100644
index f250b4b586ff..000000000000
--- a/emulators/vMac/files/dos2unx
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-#
-# dos2unx file [file...]
-#
-# Converts text files (names specified on command line) from MS-DOS
-# format to UNIX format. Essentially, gets rid of all newlines (\n),
-# since linefeeds (\l) are all it needs.
-
-if [ $# -lt 1 ]
-then
- echo usage: dos2unx file [file ...]
- exit 1
-fi
-
-for FILE
-do
- echo -n "dos2unx: converting ${FILE} ... "
- tr -d '\r' < ${FILE} > /tmp/conv$$
- rm -f ${FILE}
- cp -f /tmp/conv$$ ${FILE}
- rm -f /tmp/conv$$
- echo "done"
-done
diff --git a/emulators/vMac/files/patch-aa b/emulators/vMac/files/patch-aa
deleted file mode 100644
index e70f71adeb93..000000000000
--- a/emulators/vMac/files/patch-aa
+++ /dev/null
@@ -1,483 +0,0 @@
-diff -ruN ../vMac-0.1.9.3.old/Hardware/Makefile.in ./Hardware/Makefile.in
---- ../vMac-0.1.9.3.old/Hardware/Makefile.in Sun Feb 15 07:55:19 1998
-+++ ./Hardware/Makefile.in Sun Jul 11 16:30:09 1999
-@@ -24,7 +24,7 @@
-
- .SUFFIXES: .o .c .h .m .i .S
-
--INCLUDES=-I@top_srcdir@/Includes -I$(X_CFLAGS) -I/usr/include -I../ -I.
-+INCLUDES=-I@top_srcdir@/Includes $(X_CFLAGS) -I/usr/include -I../ -I.
-
- OBJS = IWM.o \
- Keyboard.o \
-diff -ruN ../vMac-0.1.9.3.old/Includes/sysdeps.h ./Includes/sysdeps.h
---- ../vMac-0.1.9.3.old/Includes/sysdeps.h Sun Feb 15 22:34:51 1998
-+++ ./Includes/sysdeps.h Sun Jul 11 16:30:10 1999
-@@ -62,8 +62,9 @@
- #endif
- #endif
-
-+#undef HAVE_SYS_STATFS_H
- #ifdef HAVE_SYS_STATFS_H
--#include <sys/statfs.h>
-+#include <statfs.h>
- #endif
-
- #ifdef HAVE_SYS_STATVFS_H
-diff -ruN ../vMac-0.1.9.3.old/Makefile ./Makefile
---- ../vMac-0.1.9.3.old/Makefile Tue Apr 27 02:49:44 1999
-+++ ./Makefile Sun Jul 11 16:30:10 1999
-@@ -25,7 +25,7 @@
-
- .SUFFIXES: .o .c .h .m .i .S
-
--INCLUDES=-I./Hardware/ -I./Includes -I$(X_CFLAGS) -I/usr/local/include -I.
-+INCLUDES=-I./Hardware/ -I./Includes $(X_CFLAGS) -I/usr/local/include -I.
-
- OBJS = custom.o main.o prefs.o debug.o gemulator.o \
- $(GFXOBJS)
-diff -ruN ../vMac-0.1.9.3.old/Makefile.in ./Makefile.in
---- ../vMac-0.1.9.3.old/Makefile.in Tue Apr 27 02:49:34 1999
-+++ ./Makefile.in Sun Jul 11 18:04:53 1999
-@@ -24,12 +24,15 @@
-
- .SUFFIXES: .o .c .h .m .i .S
-
--INCLUDES=-I@top_srcdir@/Hardware/ -I@top_srcdir@/Includes -I$(X_CFLAGS) -I/usr/local/include -I.
-+INCLUDES=-I@top_srcdir@/Hardware/ -I@top_srcdir@/Includes $(X_CFLAGS) -I/usr/local/include -I.
-
- OBJS = custom.o main.o prefs.o debug.o gemulator.o \
- $(GFXOBJS)
-
- all: $(TARGET)
-+
-+install:
-+ @echo Install target h4x0r3d.
-
- x11: vMac
-
-diff -ruN ../vMac-0.1.9.3.old/configure ./configure
---- ../vMac-0.1.9.3.old/configure Mon Feb 16 23:29:26 1998
-+++ ./configure Sun Jul 11 16:30:10 1999
-@@ -2760,9 +2760,9 @@
-
- WANT_MOTIFGUI=no
- WANT_GTKGUI=no
--WANT_NOGUI=yes
--WANT_MITSHM=no
--WANT_SCAN=no
-+WANT_NOGUI=no
-+WANT_MITSHM=yes
-+WANT_SCAN=yes
- WANT_SVGA=no
- WANT_NEXTSTEP=no
-
-@@ -2810,7 +2810,7 @@
-
-
- if [ "x$no_x" = "xyes" ]; then
-- HAVE_MOTIF=no
-+ HAVE_MOTIF=yes
- else
- TMP_SAVE_LIBS=$LIBS
- TMP_SAVE_CFLAGS=$CFLAGS
-@@ -2949,8 +2949,8 @@
-
- if [ "x$WANT_MOTIFGUI" = "xyes" ]; then
- if [ "x$HAVE_MOTIF" = "xno" ]; then
-- WANT_MOTIFGUI=no
-- echo "Can't find Motif or LessTif libraries; Motif GUI disabled."
-+ WANT_MOTIFGUI=yes
-+ echo "Motif support hax0r3d in."
- else
- WANT_MOTIFGUI=yes
- WANT_GTKGUI=no
-diff -ruN ../vMac-0.1.9.3.old/freebsd.patch ./freebsd.patch
---- ../vMac-0.1.9.3.old/freebsd.patch Thu Jan 1 00:00:00 1970
-+++ ./freebsd.patch Sun Jul 11 18:05:06 1999
-@@ -0,0 +1,94 @@
-+diff -ruN ../vMac-0.1.9.3.old/Hardware/Makefile.in ./Hardware/Makefile.in
-+--- ../vMac-0.1.9.3.old/Hardware/Makefile.in Sun Feb 15 07:55:19 1998
-++++ ./Hardware/Makefile.in Sun Jul 11 16:30:09 1999
-+@@ -24,7 +24,7 @@
-+
-+ .SUFFIXES: .o .c .h .m .i .S
-+
-+-INCLUDES=-I@top_srcdir@/Includes -I$(X_CFLAGS) -I/usr/include -I../ -I.
-++INCLUDES=-I@top_srcdir@/Includes $(X_CFLAGS) -I/usr/include -I../ -I.
-+
-+ OBJS = IWM.o \
-+ Keyboard.o \
-+diff -ruN ../vMac-0.1.9.3.old/Includes/sysdeps.h ./Includes/sysdeps.h
-+--- ../vMac-0.1.9.3.old/Includes/sysdeps.h Sun Feb 15 22:34:51 1998
-++++ ./Includes/sysdeps.h Sun Jul 11 16:30:10 1999
-+@@ -62,8 +62,9 @@
-+ #endif
-+ #endif
-+
-++#undef HAVE_SYS_STATFS_H
-+ #ifdef HAVE_SYS_STATFS_H
-+-#include <sys/statfs.h>
-++#include <statfs.h>
-+ #endif
-+
-+ #ifdef HAVE_SYS_STATVFS_H
-+diff -ruN ../vMac-0.1.9.3.old/Makefile ./Makefile
-+--- ../vMac-0.1.9.3.old/Makefile Tue Apr 27 02:49:44 1999
-++++ ./Makefile Sun Jul 11 16:30:10 1999
-+@@ -25,7 +25,7 @@
-+
-+ .SUFFIXES: .o .c .h .m .i .S
-+
-+-INCLUDES=-I./Hardware/ -I./Includes -I$(X_CFLAGS) -I/usr/local/include -I.
-++INCLUDES=-I./Hardware/ -I./Includes $(X_CFLAGS) -I/usr/local/include -I.
-+
-+ OBJS = custom.o main.o prefs.o debug.o gemulator.o \
-+ $(GFXOBJS)
-+diff -ruN ../vMac-0.1.9.3.old/Makefile.in ./Makefile.in
-+--- ../vMac-0.1.9.3.old/Makefile.in Tue Apr 27 02:49:34 1999
-++++ ./Makefile.in Sun Jul 11 18:04:53 1999
-+@@ -24,12 +24,15 @@
-+
-+ .SUFFIXES: .o .c .h .m .i .S
-+
-+-INCLUDES=-I@top_srcdir@/Hardware/ -I@top_srcdir@/Includes -I$(X_CFLAGS) -I/usr/local/include -I.
-++INCLUDES=-I@top_srcdir@/Hardware/ -I@top_srcdir@/Includes $(X_CFLAGS) -I/usr/local/include -I.
-+
-+ OBJS = custom.o main.o prefs.o debug.o gemulator.o \
-+ $(GFXOBJS)
-+
-+ all: $(TARGET)
-++
-++install:
-++ @echo Install target h4x0r3d.
-+
-+ x11: vMac
-+
-+diff -ruN ../vMac-0.1.9.3.old/configure ./configure
-+--- ../vMac-0.1.9.3.old/configure Mon Feb 16 23:29:26 1998
-++++ ./configure Sun Jul 11 16:30:10 1999
-+@@ -2760,9 +2760,9 @@
-+
-+ WANT_MOTIFGUI=no
-+ WANT_GTKGUI=no
-+-WANT_NOGUI=yes
-+-WANT_MITSHM=no
-+-WANT_SCAN=no
-++WANT_NOGUI=no
-++WANT_MITSHM=yes
-++WANT_SCAN=yes
-+ WANT_SVGA=no
-+ WANT_NEXTSTEP=no
-+
-+@@ -2810,7 +2810,7 @@
-+
-+
-+ if [ "x$no_x" = "xyes" ]; then
-+- HAVE_MOTIF=no
-++ HAVE_MOTIF=yes
-+ else
-+ TMP_SAVE_LIBS=$LIBS
-+ TMP_SAVE_CFLAGS=$CFLAGS
-+@@ -2949,8 +2949,8 @@
-+
-+ if [ "x$WANT_MOTIFGUI" = "xyes" ]; then
-+ if [ "x$HAVE_MOTIF" = "xno" ]; then
-+- WANT_MOTIFGUI=no
-+- echo "Can't find Motif or LessTif libraries; Motif GUI disabled."
-++ WANT_MOTIFGUI=yes
-++ echo "Motif support hax0r3d in."
-+ else
-+ WANT_MOTIFGUI=yes
-+ WANT_GTKGUI=no
-diff -ruN ../vMac-0.1.9.3.old/gemulator.c ./gemulator.c
---- ../vMac-0.1.9.3.old/gemulator.c Tue Apr 27 05:04:38 1999
-+++ ./gemulator.c Sun Jul 11 16:30:10 1999
-@@ -1,141 +1,152 @@
--/* Support for Gemulator ROM Board */
--
--/*
-- * Much of this code was written by Darek Michocka,
-- * and adapted to work in vMac by Weston, and ported
-- * to Linux by Michael Samuel.
-- *
-- * If this code fails, try adding defining SLOW_IO, and see how that works.
-- */
-+/* Support for Gemulator ROM Board */
-+
-+/*
-+ * Much of this code was written by Darek Michocka,
-+ * and adapted to work in vMac by Weston, and ported
-+ * to Linux by Michael Samuel.
-+ *
-+ * If this code fails, try adding defining SLOW_IO, and see how that works.
-+ */
-+
-+#define REMOVE_GEMULATOR_SUPPORT // I'm not even trying to port this
-+ // support in, and most people don't use
-+ // it. If you have gotten it to work,
-+ // send a diff to me
-+ // (troll@digitalspark.net)
-
- #define SLOW_IO
--
--#include <stdio.h>
--#include <asm/io.h>
--#include <unistd.h>
--#include <errno.h>
--#include <string.h>
--#include <sys/io.h>
--
--/* Define TEST to make a linkable ROM dumper */
--#ifdef TEST
--#define SOCKNUM 1
--#define NUMSOCKS 2
--
--#include <sys/types.h>
--#include <sys/stat.h>
--#include <fcntl.h>
--#endif
--
-+
-+#include <stdio.h>
-+#ifndef REMOVE_GEMULATOR_SUPPORT
-+#include <asm/io.h>
-+#endif
-+#include <unistd.h>
-+#include <errno.h>
-+#include <string.h>
-+#ifndef REMOVE_GEMULATOR_SUPPORT
-+#include <sys/io.h>
-+#endif
-+
-+/* Define TEST to make a linkable ROM dumper */
-+#ifdef TEST
-+#define SOCKNUM 1
-+#define NUMSOCKS 2
-+
-+#include <sys/types.h>
-+#include <sys/stat.h>
-+#include <fcntl.h>
-+#endif
-+
- #include "sysconfig.h"
- #include "sysdeps.h"
--#include "gemulator.h"
--
--/*
-- * Change this if your board is on a different I/O Port
-- * This is statically compiled into the binary *deliberately*
-- */
--#define GEM_BASE 0x240
--
--/*
-- * Much of this code was written by Darek Michocka,
-- * and adapted to work in vMac by Weston, and ported
-- * to Linux, and thrown into BasiliskII by Michael Samuel
-- */
--
--/*
-- * Don't forget to drop root permissions after trying to load the ROM,
-- * especially before trying to read a ROM from a file...
-- */
--
--#define cbSocket (128*1024)
--#define countSocket (8)
--
--unsigned char bigbuf[cbSocket*countSocket*2];
--
--int Gemulator_LoadROM(UBYTE * NewROM, UWORD Base, UBYTE Socket, UBYTE Length)
--{
-- int i;
-- int rgsize[countSocket];
--
-+#include "gemulator.h"
-+
-+/*
-+ * Change this if your board is on a different I/O Port
-+ * This is statically compiled into the binary *deliberately*
-+ */
-+#define GEM_BASE 0x240
-+
-+/*
-+ * Much of this code was written by Darek Michocka,
-+ * and adapted to work in vMac by Weston, and ported
-+ * to Linux, and thrown into BasiliskII by Michael Samuel
-+ */
-+
-+/*
-+ * Don't forget to drop root permissions after trying to load the ROM,
-+ * especially before trying to read a ROM from a file...
-+ */
-+
-+#define cbSocket (128*1024)
-+#define countSocket (8)
-+
-+unsigned char bigbuf[cbSocket*countSocket*2];
-+
-+int Gemulator_LoadROM(UBYTE * NewROM, UWORD Base, UBYTE Socket, UBYTE Length)
-+{
-+#ifndef REMOVE_GEMULATOR_SUPPORT
-+ int i;
-+ int rgsize[countSocket];
-+
- --Socket; //Our socket 1 is really socket 0
-
-- /* Give I/O Permissions to the Base address */
-- if(ioperm(GEM_BASE, 1, 1) == -1) {
-- fprintf(stderr, "Cannot get IO permissions: %s\n",
-- strerror(errno));
-- return 0;
-- }
--
--#ifdef SLOW_IO
-- if(ioperm(0x80, 1, 1) == -1) {
-- fprintf(stderr, "Cannot get IO permissions: %s\n",
-- strerror(errno));
-- return 0;
-- }
-- outb_p(0, GEM_BASE);
--#else
-- outb(0, GEM_BASE);
--#endif
-- for (i = 0; i < (Socket+Length)*cbSocket; i++) {
--#ifdef SLOW_IO
-- bigbuf[i] = inb_p(GEM_BASE);
--#else
-- bigbuf[i] = inb(GEM_BASE);
--#endif
-- }
--
-- /* Drop I/O permissions, now that we're done */
-- ioperm(GEM_BASE, 1, 0);
--#ifdef SLOW_IO
-- ioperm(0x80, 1, 0);
--#endif
-- for (i = 0; i < countSocket; i++) {
-- unsigned char *pb = &bigbuf[i * cbSocket];
-- int size = cbSocket/1024;
-- while ((size > 32) && !memcmp(pb, pb+(size*512), size*512)) {
-- size /= 2;
-- }
-- rgsize[i] = size;
-- }
--
-- // scramble the bytes from socket order to byte order
-- memmove(bigbuf + countSocket * cbSocket, bigbuf + Socket * cbSocket,
-- Length * cbSocket);
--
-- for (i = 0; i < countSocket * cbSocket; i++) {
-- bigbuf[i] = bigbuf[(countSocket + (i%Length)) *
-- cbSocket + (i/Length)];
-- }
-- memcpy(NewROM, bigbuf, 1024 * rgsize[Socket] * Length);
--
-- return(1024 * rgsize[Socket] * Length); //Return size
--}
--
--#ifdef TEST
--int main(int argc, char **argv)
--{
-- unsigned char rombuff[(1024*128*NUMSOCKS)];
-- int fd;
-- int size = Gemulator_LoadROM(rombuff, SOCKNUM, NUMSOCKS);
--
-- if(size == 0) {
-- printf("ROM Loading Failed\n");
-- exit(1);
-- }
-- printf("ROM Size: %d bytes\n", size);
-- fd = open("Gemulator_dump", O_CREAT | O_WRONLY);
-- if(fd == -1) {
-- fprintf(stderr, "Cannot dump ROM file\n");
-- exit(1);
-- }
-- if(write(fd, rombuff, (ssize_t)size) != (ssize_t)size) {
-- fprintf(stderr, "error writing file\n");
-- close(fd);
-- exit(1);
-- }
-- close(fd);
-- return 0;
--}
--#endif
--
-+ /* Give I/O Permissions to the Base address */
-+ if(ioperm(GEM_BASE, 1, 1) == -1) {
-+ fprintf(stderr, "Cannot get IO permissions: %s\n",
-+ strerror(errno));
-+ return 0;
-+ }
-+
-+#ifdef SLOW_IO
-+ if(ioperm(0x80, 1, 1) == -1) {
-+ fprintf(stderr, "Cannot get IO permissions: %s\n",
-+ strerror(errno));
-+ return 0;
-+ }
-+ outb_p(0, GEM_BASE);
-+#else
-+ outb(0, GEM_BASE);
-+#endif
-+ for (i = 0; i < (Socket+Length)*cbSocket; i++) {
-+#ifdef SLOW_IO
-+ bigbuf[i] = inb_p(GEM_BASE);
-+#else
-+ bigbuf[i] = inb(GEM_BASE);
-+#endif
-+ }
-+
-+ /* Drop I/O permissions, now that we're done */
-+ ioperm(GEM_BASE, 1, 0);
-+#ifdef SLOW_IO
-+ ioperm(0x80, 1, 0);
-+#endif
-+ for (i = 0; i < countSocket; i++) {
-+ unsigned char *pb = &bigbuf[i * cbSocket];
-+ int size = cbSocket/1024;
-+ while ((size > 32) && !memcmp(pb, pb+(size*512), size*512)) {
-+ size /= 2;
-+ }
-+ rgsize[i] = size;
-+ }
-+
-+ // scramble the bytes from socket order to byte order
-+ memmove(bigbuf + countSocket * cbSocket, bigbuf + Socket * cbSocket,
-+ Length * cbSocket);
-+
-+ for (i = 0; i < countSocket * cbSocket; i++) {
-+ bigbuf[i] = bigbuf[(countSocket + (i%Length)) *
-+ cbSocket + (i/Length)];
-+ }
-+ memcpy(NewROM, bigbuf, 1024 * rgsize[Socket] * Length);
-+
-+ return(1024 * rgsize[Socket] * Length); //Return size
-+#endif
-+}
-+
-+#ifdef TEST
-+int main(int argc, char **argv)
-+{
-+ unsigned char rombuff[(1024*128*NUMSOCKS)];
-+ int fd;
-+ int size = Gemulator_LoadROM(rombuff, SOCKNUM, NUMSOCKS);
-+
-+ if(size == 0) {
-+ printf("ROM Loading Failed\n");
-+ exit(1);
-+ }
-+ printf("ROM Size: %d bytes\n", size);
-+ fd = open("Gemulator_dump", O_CREAT | O_WRONLY);
-+ if(fd == -1) {
-+ fprintf(stderr, "Cannot dump ROM file\n");
-+ exit(1);
-+ }
-+ if(write(fd, rombuff, (ssize_t)size) != (ssize_t)size) {
-+ fprintf(stderr, "error writing file\n");
-+ close(fd);
-+ exit(1);
-+ }
-+ close(fd);
-+ return 0;
-+}
-+#endif
diff --git a/emulators/vMac/files/pkg-message.in b/emulators/vMac/files/pkg-message.in
deleted file mode 100644
index f853d049607d..000000000000
--- a/emulators/vMac/files/pkg-message.in
+++ /dev/null
@@ -1,8 +0,0 @@
- - --------------------------------------------------------------------- -
- - You need to obtain a vMac ROM file to use vMac. Instructions are -
- - found in %%DOCSDIR%%/README.rom. -
- - -
- - Also reading %%DOCSDIR%%/README is a good idea -
- - -
- - vMac Website: http://www.vmac.org/ -
- - --------------------------------------------------------------------- -
diff --git a/emulators/vMac/pkg-descr b/emulators/vMac/pkg-descr
deleted file mode 100644
index 197072bdcb99..000000000000
--- a/emulators/vMac/pkg-descr
+++ /dev/null
@@ -1,19 +0,0 @@
-What is vMac? vMac is a free software emulator that emulates the Apple
-Macintosh Plus(tm). That means that vMac does not cost anything, and
-does not use any hardware. A lot of the Macintosh Plus' functionality is
-already implemented in this port, and that includes:
-
-- 68000 CPU, 68010 CPU, 68020 CPU + 68881 FPU emulation
-- 4 MB of RAM
-- Keyboard support
-- Mouse support
-- Floppy support
-- HardDisk support (However, vMac will treat all harddisks or partitions
- as floppies).
-- Sound support (soon!)
-- Can run MacOS (System Software) versions up to 7.5.5
-
-Currently, work is being done on IceCube, a new CPU emulator which will
-replace UAE's CPU emulator which we use currently, and other stuff :).
-
-WWW: http://www.vmac.org/
diff --git a/emulators/vMac/pkg-plist b/emulators/vMac/pkg-plist
deleted file mode 100644
index ba61fc05c5d1..000000000000
--- a/emulators/vMac/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-bin/vMac
-%%PORTDOCS%%%%DOCSDIR%%/CREDITS
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/LICENSE
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/README.rom
-%%PORTDOCS%%@dirrm %%DOCSDIR%%