-CFLAGS=-O
+EMHOME=../../..
+SRC = em.s atof.s fpp.s mli4.s dvu4.s dvi4.s eb.s
+OBJ = em.o atof.o fpp.o mli4.o dvu4.o dvi4.o eb.o
+DLSRC = dl.c dlbin.c
+LIBOBJ = $(EMHOME)/modules/lib/libobject.a
+
+CFLAGS = -O -I$(EMHOME)/h
+
+.s.o:
+ z80 -c -I$(EMHOME)/h $*.s
+
+all: int.hex dl dlbin cv
+
+install: all
+ @echo "nothing is installed"
+
+cmp: all
+ @echo "nothing is compared"
+
+clean:
+ rm -f *.o a.out dl dlbin *.hex cv
+
+pr:
+ @pr Makefile $(SRC) $(DLSRC) cv.c
+
+opr:
+ make pr | opr
+
+a.out: $(OBJ)
+ $(EMHOME)/lib/em_led -b0:0x100 -a0:2 -a1:2 -a2:2 -a3:2 $(OBJ)
+
+int.hex: a.out dlbin
+ ./dlbin a.out > int.hex
+ ./dosort int.hex
dl: dl.o
- cc -n -o dl dl.o
+ $(CC) -n -o dl dl.o
+
+dlbin: dlbin.o
+ $(CC) -n -o dlbin dlbin.o $(LIBOBJ)
+
+cv: cv.o
+ $(CC) -n -o cv cv.o
The interpreter contained here is tested under CP/M on a RC702 Z80
-microcomputer. Make it by typing `doas'.
-E.out files to interpret must be made with a special Pascal library
-using whatever means available, because the UNIX and CP/M conventions
+microcomputer. Make it by typing `make'.
+E.out files to interpret must be made with a special Pascal library,
+which can be obtained by compiling the Pascal library with -DCPM,
+because the UNIX and CP/M conventions
about end of file and end of line differ.
+Also, the size of "double" must be 4 bytes.
+To accomplish this, use the "int22" ack-description file from this
+directory, by putting it in the directory where you perform the compilation.
Then the following sequence can be used to transmit it to CP/M.
cv <e.out >file.cv
dl file.cv file.hex
1081 HV Amsterdam
Holland
..!decvax!mcvax!vu44!sater
+
+Also, some changes have been made to convert the interpreter to the
+new assembler syntax. This has never been tested, because we don't have
+the target machine anymore.