mirror of
https://github.com/DoctorWkt/pdp7-unix.git
synced 2026-05-02 14:30:00 +00:00
Merge branch 'master' of https://github.com/DoctorWkt/pdp7-unix
This commit is contained in:
@@ -21,7 +21,7 @@ TESTDIR=tests
|
||||
BINARIES=../binaries/
|
||||
|
||||
|
||||
all: cmd others a.rim image.fs copybinaries
|
||||
all: cmd others a.rim image.fs
|
||||
|
||||
# Make alternative everything: no dd but . and ..
|
||||
alt: altcmd altothers alt/a.rim alt/image.fs
|
||||
@@ -33,7 +33,18 @@ run:
|
||||
|
||||
# Alternative run, use the alt/image.fs
|
||||
altrun:
|
||||
$(PDP7) alt/unixv0.simh
|
||||
cd alt; $(PDP7) unixv0.simh
|
||||
|
||||
dist: all alt
|
||||
mkdir -p $(BINARIES)
|
||||
mkdir -p $(BINARIES)/orig
|
||||
mkdir -p $(BINARIES)/alt
|
||||
cp image.fs $(BINARIES)/orig
|
||||
cp a.rim $(BINARIES)/orig
|
||||
cp unixv0.simh $(BINARIES)/orig
|
||||
cp alt/image.fs $(BINARIES)/alt
|
||||
cp alt/a.rim $(BINARIES)/alt
|
||||
cp alt/unixv0.simh $(BINARIES)/alt
|
||||
|
||||
# Warm boot Unix kernel: boots into init and a login prompt
|
||||
a.rim:
|
||||
@@ -63,12 +74,6 @@ alt/image.fs: altcmd altothers
|
||||
$(MKFS) -1 -2 -3 -o alt/image.fs alt/proto
|
||||
$(FSCK) -3 alt/image.fs
|
||||
|
||||
|
||||
copybinaries:
|
||||
mkdir -p $(BINARIES)
|
||||
cp image.fs $(BINARIES)
|
||||
cp a.rim $(BINARIES)
|
||||
|
||||
clean:
|
||||
rm -f a.rim image.fs a.lst n.out alt/image.fs alt/a.rim alt/a.lst
|
||||
rm -rf $(BINDIR) $(TESTDIR)
|
||||
|
||||
5376
build/alt/a.lst
Normal file
5376
build/alt/a.lst
Normal file
File diff suppressed because it is too large
Load Diff
1
build/alt/a.rim
Normal file
1
build/alt/a.rim
Normal file
File diff suppressed because one or more lines are too long
BIN
build/alt/image.fs
Normal file
BIN
build/alt/image.fs
Normal file
Binary file not shown.
@@ -5,8 +5,9 @@ show cpu
|
||||
|
||||
set tti unix
|
||||
set rb ena
|
||||
att rb alt/image.fs
|
||||
att rb image.fs
|
||||
show dev
|
||||
|
||||
load -S alt/a.rim
|
||||
load -S a.rim
|
||||
dep pc 0100
|
||||
go
|
||||
|
||||
Reference in New Issue
Block a user