Forráskód Böngészése

New installation mechanism

ceriel 33 éve
szülő
commit
af2636009a
7 módosított fájl, 24 hozzáadás és 39 törlés
  1. 3 6
      mach/ns/.distr
  2. 4 16
      mach/ns/Action
  3. 0 3
      mach/ns/libem/.distr
  4. 0 1
      mach/ns/libem/LIST
  5. 1 1
      mach/ns/libem/putchar.s
  6. 12 12
      mach/ns/libem/strhp.s
  7. 4 0
      mach/ns/mach_params

+ 3 - 6
mach/ns/.distr

@@ -1,10 +1,7 @@
 Action
 as
 ncg
-libbc
-libcc
-libpc
 libem
-libsys
-liboc
-libm2
+libend
+libmon
+mach_params

+ 4 - 16
mach/ns/Action

@@ -7,21 +7,9 @@ end
 name "NS16032 EM library"
 dir libem
 end
-name "NS16032 system call library"
-dir libsys
-end
-name "NS16032 C libraries"
-dir libcc
-end
-name "NS16032 Pascal library"
-dir libpc
+name "NS16032 etext,edata,end library"
+dir libend
 end
-name "NS16032 Basic library"
-dir libbc
-end
-name "NS16032 Occam library"
-dir liboc
-end
-name "NS16032 Modula-2 library"
-dir libm2
+name "NS16032 system call library"
+dir libmon
 end

+ 0 - 3
mach/ns/libem/.distr

@@ -1,5 +1,2 @@
 LIST
-Makefile
-compmodule
-end.s
 libem_s.a

+ 0 - 1
mach/ns/libem/LIST

@@ -12,7 +12,6 @@ sts.s
 gto.s
 cii.s
 cms.s
-mon.s
 cmu.s
 dvu.s
 rmu.s

+ 1 - 1
mach/ns/libem/putchar.s

@@ -14,7 +14,7 @@
 	movqd	1,tos
 	addr	8(fp),tos
 	movqd	1,tos
-	bsr	_write
+	bsr	__write
 	adjspb	-12
 	exit	[]
 	ret	0

+ 12 - 12
mach/ns/libem/strhp.s

@@ -10,16 +10,16 @@
 	movd    tos,r0
 	movd	r7,tos
 	movd    r0,@.reghp
-	cmpd    r0,@.limhp
-	blo	I2
-	addd    02000,r0
-	bicd    0777,r0
-	movd	r0,tos
-	jsr	@_brk
-	adjspd	-4
-	cmpqd	0,r0
-	beq	I2
-	movd	EHEAP,tos
-	jsr     @.trp
-I2:
+!	cmpd    r0,@.limhp
+!	blo	I2
+!	addd    02000,r0
+!	bicd    0777,r0
+!	movd	r0,tos
+!	jsr	@__brk
+!	adjspd	-4
+!	cmpqd	0,r0
+!	beq	I2
+!	movd	EHEAP,tos
+!	jsr     @.trp
+!I2:
 	ret	0

+ 4 - 0
mach/ns/mach_params

@@ -0,0 +1,4 @@
+MACH=ns
+SUF=o
+ASAR=aal
+RANLIB=: