File tree Expand file tree Collapse file tree 5 files changed +38
-9
lines changed Expand file tree Collapse file tree 5 files changed +38
-9
lines changed Original file line number Diff line number Diff line change 1
1
#
2
2
# this is just a top-level makefile to build the simulator
3
3
#
4
- all :
4
+
5
+ all : src/usersim/sim
6
+
7
+ src/usersim/sim src/tools/readall :
5
8
cd src ; make
6
9
7
- test : src/usersim/sim
8
- cd src/usersim ; . /sim
10
+ test : filesystem src/usersim/sim
11
+ src/usersim/sim
9
12
10
- unpack :
11
- cd src/tools; make
13
+ filesystem : src/tools/readall
12
14
for i in disks/* .image ; do src/tools/readall -d filesystem $$ i ; done
13
15
cp -r src/kernel filesystem/usr/src/sys
14
16
15
17
clean :
16
- for dir in usersim tools src/sgs src/fstools ; do \
18
+ for dir in src ; do \
17
19
(cd $$ dir ; make clean) \
18
20
done
19
21
20
22
clobber :
21
- for dir in usersim tools src/sgs src/fstools ; do \
23
+ for dir in src ; do \
22
24
(cd $$ dir ; make clobber) \
23
25
done
26
+ rm -rf filesystem
Original file line number Diff line number Diff line change @@ -3,9 +3,23 @@ for a blast from the past, type:
3
3
make test
4
4
5
5
you now are running micronix 1.4 shell and can do a lot
6
+ including:
7
+
8
+ cd /usr/src/sys
9
+ make
10
+
11
+ or, for a quite strange experience,
12
+
13
+ src/usersim/sim bin/man sh | less
14
+
15
+ (run the simulated z80 micronix man program on sh, and pipe it to linux less)
6
16
7
17
---------------------
8
18
19
+ this document is obsolete, as I've changed the directory structure radically,
20
+ with source code in src, and almost every work in progress thing moved to
21
+ ./extra
22
+
9
23
Morrow Designs Micronix and tools
10
24
11
25
directories:
Original file line number Diff line number Diff line change 4
4
for i in $( DIRS) ; do \
5
5
(cd $$ i ; make ) ; \
6
6
done
7
+
8
+ clean :
9
+ for i in $( DIRS) ; do \
10
+ (cd $$ i ; make clean ) ; \
11
+ done
12
+
13
+ clobber :
14
+ for i in $( DIRS) ; do \
15
+ (cd $$ i ; make clobber ) ; \
16
+ done
17
+
18
+
Original file line number Diff line number Diff line change 1
- INCLUDE = -I../../ include -I../include
1
+ INCLUDE = -I../include -I../kernel
2
2
3
3
OBJECTS = z80emu.o micronix.o
4
4
TARGETS = sim
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ typedef unsigned short UINT;
40
40
static int do_exec (char * name , char * * argv );
41
41
static void emulate ();
42
42
43
- #define DEFROOT "../../ filesystem"
43
+ #define DEFROOT "filesystem"
44
44
45
45
int savemode ;
46
46
int debug_terminal ;
You can’t perform that action at this time.
0 commit comments