From: ceriel Date: Wed, 4 Feb 1987 10:39:27 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: release-5-5~4781 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=0cf716584194d348c4247c440afd0ae0fbfb6454;p=ack.git *** empty log message *** --- diff --git a/mach/z80/int/Makefile b/mach/z80/int/Makefile index 139a7e296..76934792e 100644 --- a/mach/z80/int/Makefile +++ b/mach/z80/int/Makefile @@ -1,4 +1,43 @@ -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 diff --git a/mach/z80/int/READ_ME b/mach/z80/int/READ_ME index 6b2a6a431..4451b7082 100644 --- a/mach/z80/int/READ_ME +++ b/mach/z80/int/READ_ME @@ -1,8 +1,12 @@ 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 file.cv dl file.cv file.hex @@ -21,3 +25,7 @@ De Boelelaan 1081 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.