fixup commit for tag 'release-5-6'
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
EMHOME=../../..
|
||||
|
||||
LDFLAGS =
|
||||
CFLAGS=-O -I$(EMHOME)/h
|
||||
|
||||
cv: cv.o
|
||||
$(CC) -o cv $(LDFLAGS) cv.o $(EMHOME)/modules/lib/libobject.a
|
||||
|
||||
install: cv
|
||||
../../install cv
|
||||
|
||||
cmp: cv
|
||||
-../../compare cv
|
||||
|
||||
opr:
|
||||
make pr | opr
|
||||
|
||||
pr:
|
||||
@pr `pwd`/cv.c
|
||||
|
||||
clean:
|
||||
-rm -f *.o *.old cv
|
||||
@@ -1,41 +0,0 @@
|
||||
/* The format of the a.out files produced by the assemblers
|
||||
is machine dependent.
|
||||
This program acts as a gateway between two machines and it's effect
|
||||
is independent of the machine it executes on.
|
||||
The a.out file is assumed to be made on a pdp-11
|
||||
while the target machine is a Philip Microcomputer Development system
|
||||
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
main(argc,argv) char **argv ; {
|
||||
char i_addr[4];
|
||||
short count;
|
||||
char i_count[2];
|
||||
|
||||
if (argc != 3) {
|
||||
fprintf(stderr,"Usage: %s pdp-a.out VU-pmds-a.out\n",argv[0]);
|
||||
exit(-1);
|
||||
}
|
||||
if (freopen(argv[1],"r",stdin)==NULL) {
|
||||
perror(argv[1]);
|
||||
exit(-1);
|
||||
}
|
||||
if (freopen(argv[2],"w",stdout)==NULL) {
|
||||
perror(argv[2]);
|
||||
exit(-1);
|
||||
}
|
||||
while (fread(&i_addr,sizeof i_addr,1,stdin)==1) {
|
||||
putchar(i_addr[1]) ; putchar(i_addr[0]) ;
|
||||
putchar(i_addr[3]) ; putchar(i_addr[2]) ;
|
||||
if (fread(&i_count,sizeof i_count,1,stdin)!=1)
|
||||
exit(fprintf(stderr,"foo\n"));
|
||||
putchar(i_count[1]) ; putchar(i_count[0]) ;
|
||||
count= ((i_count[1]&0377)<<8) | (i_count[0]&0377) ;
|
||||
while (count--) {
|
||||
putchar(getchar());
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
@@ -1,41 +0,0 @@
|
||||
/* The format of the a.out files produced by the assemblers
|
||||
is machine dependent.
|
||||
This program acts as a gateway between two machines and it's effect
|
||||
is independent of the machine it executes on.
|
||||
The a.out file is assumed to be made on a vax-11
|
||||
while the target machine is a Philips Microcomputer Development system
|
||||
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
main(argc,argv) char **argv ; {
|
||||
char i_addr[4];
|
||||
short count;
|
||||
char i_count[2];
|
||||
|
||||
if (argc != 3) {
|
||||
fprintf(stderr,"Usage: %s vax-a.out VU-pmds-a.out\n",argv[0]);
|
||||
exit(-1);
|
||||
}
|
||||
if (freopen(argv[1],"r",stdin)==NULL) {
|
||||
perror(argv[1]);
|
||||
exit(-1);
|
||||
}
|
||||
if (freopen(argv[2],"w",stdout)==NULL) {
|
||||
perror(argv[2]);
|
||||
exit(-1);
|
||||
}
|
||||
while (fread(&i_addr,sizeof i_addr,1,stdin)==1) {
|
||||
putchar(i_addr[3]) ; putchar(i_addr[2]) ;
|
||||
putchar(i_addr[1]) ; putchar(i_addr[0]) ;
|
||||
if (fread(&i_count,sizeof i_count,1,stdin)!=1)
|
||||
exit(fprintf(stderr,"foo\n"));
|
||||
putchar(i_count[1]) ; putchar(i_count[0]) ;
|
||||
count= ((i_count[1]&0377)<<8) | (i_count[0]&0377) ;
|
||||
while (count--) {
|
||||
putchar(getchar());
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
# $Header$
|
||||
MACH=pmds
|
||||
all: libmon_o.a head_em.o
|
||||
|
||||
install: all
|
||||
../../install head_em.o head_em
|
||||
../../install libmon_o.a tail_mon
|
||||
|
||||
|
||||
cmp: all
|
||||
-../../compare head_em.o head_em
|
||||
-../../compare libmon_o.a tail_mon
|
||||
|
||||
libmon_o.a: libmon_s.a
|
||||
ASAR=aal ; export ASAR ;\
|
||||
march . libmon_o.a
|
||||
|
||||
head_em.o: head_em.s
|
||||
$(MACH) -I../../../h -c head_em.s
|
||||
|
||||
clean:
|
||||
rm -f *.o libmon_o.a
|
||||
|
||||
opr :
|
||||
make pr | opr
|
||||
|
||||
pr:
|
||||
@pr `pwd`/head_em.s
|
||||
@arch pv libmon_s.a | pr -h `pwd`/libmon_s.a
|
||||
@@ -1,4 +0,0 @@
|
||||
if pmds -L -c $1 1>&2
|
||||
then echo `basename $1 $2`.o
|
||||
else exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user