changed int?? to em??

This commit is contained in:
ceriel
1988-05-06 13:46:55 +00:00
parent 43aff0b259
commit bdff3addb3
35 changed files with 149 additions and 118 deletions

View File

@@ -6,9 +6,9 @@ i80
compare
i86
install
int22
int24
int44
em22
em24
em44
m68k2
m68k4
m68020

View File

@@ -1,6 +1,6 @@
SUF=m
MAKEFILE=../../proto/libg/Makefile
MACHDEF="MACH=int22" "SUF=$(SUF)"
MACHDEF="MACH=em22" "SUF=$(SUF)"
BCDEF="PREF=bc" "SUB=" "SRC=lang/basic/lib"
install:

View File

@@ -1,6 +1,6 @@
SUF=m
MAKEFILE=../../proto/libg/Makefile
MACHDEF="MACH=int22" "SUF=$(SUF)"
MACHDEF="MACH=em22" "SUF=$(SUF)"
STDIO="PREF=cc" "SUB=.1s" "SRC=lang/cem/libcc/stdio"
GEN="PREF=cc" "SUB=.2g" "SRC=lang/cem/libcc/gen"
MON="PREF=mon" "SRC=lang/cem/libcc/mon"

View File

@@ -1,6 +1,6 @@
SUF=m
MAKEFILE=../../proto/libg/Makefile
MACHDEF="MACH=int22" "SUF=$(SUF)"
MACHDEF="MACH=em22" "SUF=$(SUF)"
M2DEF="PREF=m2" "SUB=" "SRC=lang/m2/libm2"
all:

View File

@@ -1,6 +1,6 @@
SUF=m
MAKEFILE=../../proto/libg/Makefile
MACHDEF="MACH=int22" "SUF=$(SUF)"
MACHDEF="MACH=em22" "SUF=$(SUF)"
PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib"
install:

View File

@@ -1,6 +1,6 @@
SUF=m
MAKEFILE=../../proto/libg/Makefile
MACHDEF="MACH=int22" "SUF=$(SUF)"
MACHDEF="MACH=em22" "SUF=$(SUF)"
PCDEF="PREF=pc" "SUB=" "SRC=lang/pc/libpc"
install:

View File

@@ -1,6 +1,6 @@
SUF=m
MAKEFILE=../../proto/libg/Makefile
MACHDEF="MACH=int24" "SUF=$(SUF)"
MACHDEF="MACH=em24" "SUF=$(SUF)"
BCDEF="PREF=bc" "SUB=" "SRC=lang/basic/lib"
install:

View File

@@ -1,6 +1,6 @@
SUF=m
MAKEFILE=../../proto/libg/Makefile
MACHDEF="MACH=int24" "SUF=$(SUF)"
MACHDEF="MACH=em24" "SUF=$(SUF)"
STDIO="PREF=cc" "SUB=.1s" "SRC=lang/cem/libcc/stdio"
GEN="PREF=cc" "SUB=.2g" "SRC=lang/cem/libcc/gen"
MON="PREF=mon" "SRC=lang/cem/libcc/mon"

View File

@@ -1,6 +1,6 @@
SUF=m
MAKEFILE=../../proto/libg/Makefile
MACHDEF="MACH=int24" "SUF=$(SUF)"
MACHDEF="MACH=em24" "SUF=$(SUF)"
M2DEF="PREF=m2" "SUB=" "SRC=lang/m2/libm2"
all:

View File

@@ -1,6 +1,6 @@
SUF=m
MAKEFILE=../../proto/libg/Makefile
MACHDEF="MACH=int24" "SUF=$(SUF)"
MACHDEF="MACH=em24" "SUF=$(SUF)"
PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib"
install:

View File

@@ -1,6 +1,6 @@
SUF=m
MAKEFILE=../../proto/libg/Makefile
MACHDEF="MACH=int24" "SUF=$(SUF)"
MACHDEF="MACH=em24" "SUF=$(SUF)"
PCDEF="PREF=pc" "SUB=" "SRC=lang/pc/libpc"
install:

View File

@@ -1,6 +1,6 @@
SUF=m
MAKEFILE=../../proto/libg/Makefile
MACHDEF="MACH=int44" "SUF=$(SUF)"
MACHDEF="MACH=em44" "SUF=$(SUF)"
BCDEF="PREF=bc" "SUB=" "SRC=lang/basic/lib"
install:

View File

@@ -1,6 +1,6 @@
SUF=m
MAKEFILE=../../proto/libg/Makefile
MACHDEF="MACH=int44" "SUF=$(SUF)"
MACHDEF="MACH=em44" "SUF=$(SUF)"
STDIO="PREF=cc" "SUB=.1s" "SRC=lang/cem/libcc/stdio"
GEN="PREF=cc" "SUB=.2g" "SRC=lang/cem/libcc/gen"
MON="PREF=mon" "SRC=lang/cem/libcc/mon"

View File

@@ -1,6 +1,6 @@
SUF=m
MAKEFILE=../../proto/libg/Makefile
MACHDEF="MACH=int44" "SUF=$(SUF)"
MACHDEF="MACH=em44" "SUF=$(SUF)"
M2DEF="PREF=m2" "SUB=" "SRC=lang/m2/libm2"
all:

View File

@@ -1,6 +1,6 @@
SUF=m
MAKEFILE=../../proto/libg/Makefile
MACHDEF="MACH=int44" "SUF=$(SUF)"
MACHDEF="MACH=em44" "SUF=$(SUF)"
PCDEF="PREF=ocm" "SUB=" "SRC=lang/occam/lib"
install:

View File

@@ -1,6 +1,6 @@
SUF=m
MAKEFILE=../../proto/libg/Makefile
MACHDEF="MACH=int44" "SUF=$(SUF)"
MACHDEF="MACH=em44" "SUF=$(SUF)"
PCDEF="PREF=pc" "SUB=" "SRC=lang/pc/libpc"
install:

View File

@@ -3,7 +3,7 @@ em4_t--- em4_---- em4_t-cp em4_t-c- em4_t--p
P = mloop
FILES=deffile $P0 $P1 $P2 $P3 $P4 $P5 $P6 $P7 $P8 $P9 $Pa $Pb $Pc
CPP=../../../lib/cpp
b=../../../lib/int
b=../../../lib/em
FLTRAP=
all: $(INTS) em

View File

@@ -21,7 +21,7 @@ one for four byte words and pointers.
The information in the header of the e.out file is used by em to select the
right interpreter for the word size of used in the e.out file.
.PP
This interpreter is searched for in ~em/lib/int[24]4.
This interpreter is searched for in ~em/lib/em[24]4.
.PP
The flags control the following options that can be turned off
or on by prepending them with - or + respectively:
@@ -59,11 +59,11 @@ This option is used simultaneously with the test option.
.PP
These flags
give rise to 5 different interpreters which are in the
directory ~em/lib/int24 or in ~em/lib/int44
directory ~em/lib/em24 or in ~em/lib/em44
for the two byte word or the four byte word options, respectively.
.PP
.SH "FILES"
.IP ~em/lib/int[24]4/em_???? 35
.IP ~em/lib/em[24]4/em_???? 35
interpreters proper
.IP em_profile
profile data

View File

@@ -9,5 +9,5 @@ dvu4.s
eb.s
em.s
fpp.s
int22
em22
mli4.s

View File

@@ -5,7 +5,7 @@ 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
To accomplish this, use the "em22" 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

31
mach/z80/int/em22 Normal file
View File

@@ -0,0 +1,31 @@
# $Revision$
var w=2
var p=2
var s=2
var l=4
var f=4
var d=4
var M=em22
var NAME=em22
var LIB=lib/em22/tail_
var RT=lib/em22/head_
var SIZE_FLAG=-sm
var CPP_F=-DCPM=CPM
var INCLUDES=-I{EM}/include/_tail_cc -I{EM}/include/_tail_mon
name asld
from .k.m.a.g
to .out
outfile e.out
program {EM}/lib/em_ass
mapflag -l* LNAME={EM}/{LIB}*
mapflag -+* ASS_F={ASS_F?} -+*
mapflag --* ASS_F={ASS_F?} --*
mapflag -s* SIZE_FLAG=-s*
args {SIZE_FLAG} \
({RTS}:.b.c={EM}/{RT}cc) ({RTS}:.p={EM}/{RT}pc) -o > < \
(.p:{TAIL}={EM}/{LIB}pc) \
(.b:{TAIL}={EM}/{LIB}bc) \
(.b.c:{TAIL}={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g) \
(.b.c.p:{TAIL}={EM}/{LIB}mon)
linker
end