Last active
August 29, 2015 14:07
-
-
Save heronyang/aafe1986c04888518a98 to your computer and use it in GitHub Desktop.
unix-makefile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unix: image | |
git clone https://github.com/qrush/unix.git | |
cp simhv/BIN/pdp11 unix/tools/ | |
(cd unix; mkdir images; make) | |
image: simhv | |
wget http://unix-jun72.googlecode.com/files/images-20080625.tgz | |
tar -xf images-20080625.tgz | |
mv images-20080625 ./unix/images | |
simhv: | |
wget http://simh.trailing-edge.com/sources/simhv39-0.zip | |
mkdir simhv | |
unzip simhv39-0.zip -d simhv | |
(cd simhv; make) | |
clean: | |
rm -r simhv | |
rm -r unix | |
clean_download: | |
rm *zip | |
rm images-20080625.tgz | |
kill: | |
killall simh.cfg | |
run: | |
(cd unix; ./simh.cfg) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>> make run | |
(cd unix; ./simh.cfg) | |
PDP-11 simulator V3.9-0 | |
./simh.cfg> #!tools/pdp11 | |
Unknown command | |
Disabling CR | |
Disabling XQ | |
RF: buffering file in memory | |
TC0: 16b format, buffering file in memory | |
Listening on port 5555 (socket 7) | |
:login: root | |
root | |
# ls | |
bin | |
dev | |
etc | |
tmp | |
usr | |
# date | |
Fri Jan 1 00:00:06 | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment