New installation mechanism
authorceriel <none@none>
Mon, 2 Sep 1991 15:46:16 +0000 (15:46 +0000)
committerceriel <none@none>
Mon, 2 Sep 1991 15:46:16 +0000 (15:46 +0000)
28 files changed:
mach/i80/.distr
mach/i80/Action
mach/i80/libem/.distr
mach/i80/libend/.distr [new file with mode: 0644]
mach/i80/libend/LIST [new file with mode: 0644]
mach/i80/libend/edata.s [new file with mode: 0644]
mach/i80/libend/em_end.s [new file with mode: 0644]
mach/i80/libend/end.s [new file with mode: 0644]
mach/i80/libend/etext.s [new file with mode: 0644]
mach/i80/libmon/.distr
mach/i80/libmon/LIST
mach/i80/libmon/README
mach/i80/mach_params [new file with mode: 0644]
mach/i86/.distr
mach/i86/Action
mach/i86/libem/.distr
mach/i86/libem/print.s
mach/i86/libem/strhp.s
mach/i86/libem/trp.s
mach/i86/libend/.distr [new file with mode: 0644]
mach/i86/libend/LIST [new file with mode: 0644]
mach/i86/libend/edata.s [new file with mode: 0644]
mach/i86/libend/em_end.s [new file with mode: 0644]
mach/i86/libend/end.s [new file with mode: 0644]
mach/i86/libend/etext.s [new file with mode: 0644]
mach/i86/libfp/.distr
mach/i86/libsys/.distr
mach/i86/mach_params [new file with mode: 0644]

index c7de8c9..27c6084 100644 (file)
@@ -1,11 +1,8 @@
 Action
 as
-cg
+ncg
 dl
-libbc
-libcc
 libem
-libpc
-libsys
-liboc
-libm2
+libend
+libmon
+mach_params
index 07e95ab..a13944d 100644 (file)
@@ -2,29 +2,17 @@ name "Intel 8080 assembler"
 dir as
 end
 name "Intel 8080 code generator"
-dir cg
+dir ncg
 end
 name "Intel 8080 download programs"
 dir dl
 end
-name "Intel 8080 Basic library"
-dir libbc
-end
-name "Intel 8080 Occam library"
-dir liboc
-end
-name "Intel 8080 C libraries"
-dir libcc
-end
 name "Intel 8080 EM library"
 dir libem
 end
-name "Intel 8080 Pascal library"
-dir libpc
+name "Intel 8080 etext,edata,end library"
+dir libend
 end
 name "Intel 8080 System library"
-dir libsys
-end
-name "Intel 8080 Modula-2 library"
-dir libm2
+dir libmon
 end
index e862ca9..d2b4f28 100644 (file)
@@ -1,5 +1,2 @@
 LIST
-Makefile
-compmodule
-end.s
 libem_s.a
diff --git a/mach/i80/libend/.distr b/mach/i80/libend/.distr
new file mode 100644 (file)
index 0000000..b48ec84
--- /dev/null
@@ -0,0 +1,2 @@
+LIST
+end_s.a
diff --git a/mach/i80/libend/LIST b/mach/i80/libend/LIST
new file mode 100644 (file)
index 0000000..2efbd3e
--- /dev/null
@@ -0,0 +1,5 @@
+end_s.a
+edata.s
+em_end.s
+end.s
+etext.s
diff --git a/mach/i80/libend/edata.s b/mach/i80/libend/edata.s
new file mode 100644 (file)
index 0000000..a742b6f
--- /dev/null
@@ -0,0 +1,7 @@
+.sect .text
+.sect .rom
+.sect .data
+.sect .bss
+.define        _edata
+.sect .data
+_edata:
diff --git a/mach/i80/libend/em_end.s b/mach/i80/libend/em_end.s
new file mode 100644 (file)
index 0000000..6848f66
--- /dev/null
@@ -0,0 +1,14 @@
+.sect .text
+.sect .rom
+.sect .data
+.sect .bss
+.sect .end ! only for declaration of _end, __end and endbss.
+.define        endtext,enddata,endbss,__end
+
+       .sect .text
+endtext:
+       .sect .data
+enddata:
+       .sect .end
+__end:
+endbss:
diff --git a/mach/i80/libend/end.s b/mach/i80/libend/end.s
new file mode 100644 (file)
index 0000000..93a1e6e
--- /dev/null
@@ -0,0 +1,7 @@
+.sect .text
+.sect .rom
+.sect .data
+.sect .bss
+.define        _end
+.sect .end ! only for declaration of _end, __end and endbss.
+_end:
diff --git a/mach/i80/libend/etext.s b/mach/i80/libend/etext.s
new file mode 100644 (file)
index 0000000..6651ca9
--- /dev/null
@@ -0,0 +1,7 @@
+.sect .text
+.sect .rom
+.sect .data
+.sect .bss
+.define        _etext
+.sect .text
+_etext:
index 9f7ea74..90063c1 100644 (file)
@@ -1,7 +1,5 @@
 LIST
-Makefile
-compmodule
 README
-libsys_s.a
+libmon_s.a
 char.nas.s
 head_em.s
index 8d90b25..3316147 100644 (file)
@@ -1,4 +1,4 @@
-libsys_s.a
+libmon_s.a
 mon.s
 trp.s
 inn2.s
index e475674..59f9fd2 100644 (file)
@@ -2,5 +2,5 @@ This library should contain one of the files char.her.s, that has routines
 getchar and putchar for the MC-CPM, and char.nas.s, that
 has the same routines for the Nascom.
 The default is char.her.s.
-The file char.nas.s is presented in this directory and not included
-in the libarary.
+The file char.nas.s resides in this directory and is not included
+in the library.
diff --git a/mach/i80/mach_params b/mach/i80/mach_params
new file mode 100644 (file)
index 0000000..90a6d10
--- /dev/null
@@ -0,0 +1,4 @@
+MACH=i80
+SUF=o
+ASAR=aal
+RANLIB=:
index f5bb7d8..f0b0ad2 100644 (file)
@@ -1,12 +1,9 @@
 Action
 cv
-libbc
-libcc
 libem
-libpc
+libend
 libsys
 as
-liboc
 libfp
 ncg
-libm2
+mach_params
index 1377967..14beb6e 100644 (file)
@@ -4,30 +4,18 @@ end
 name "Intel 8086 backend"
 dir ncg
 end
-name "Intel 8086 C libraries"
-dir libcc
-end
 name "Intel 8086 EM library"
 dir libem
 end
-name "Intel 8086 Pascal library"
-dir libpc
+name "Intel 8086 etext,edata,end library"
+dir libend
+end
+name "Intel 8086 floating point library"
+dir libfp
 end
 name "Intel 8086 PC/IX systemcall library"
 dir libsys
 end
-name "Intel 8086 Basic library"
-dir libbc
-end
-name "Intel 8086 Occam library"
-dir liboc
-end
 name "Intel 8086 conversion program from ack.out --> PC/IX a.out"
 dir cv
 end
-name "Intel 8086 floating point library"
-dir libfp
-end
-name "Intel 8086 Modula-2 library"
-dir libm2
-end
index e862ca9..d2b4f28 100644 (file)
@@ -1,5 +1,2 @@
 LIST
-Makefile
-compmodule
-end.s
 libem_s.a
index 09f12ed..00737ad 100644 (file)
@@ -39,7 +39,7 @@ printc:
        push    ax
        push    bx
        push    ax
-       call    _write
+       call    __write
        pop     bx
        pop     bx
        pop     bx
index 55c1ed3..d046024 100644 (file)
@@ -13,7 +13,7 @@
        and     ax,~0777
        push    bx
        push    ax
-       call    _brk
+       call    __brk
        pop     cx
        pop     bx
        cmp     ax,-1
index 412b0a3..c6f0fc0 100644 (file)
@@ -18,4 +18,4 @@
        call    .stop
 
 .stop:
-       int     3
+       jmp     __exit
diff --git a/mach/i86/libend/.distr b/mach/i86/libend/.distr
new file mode 100644 (file)
index 0000000..b48ec84
--- /dev/null
@@ -0,0 +1,2 @@
+LIST
+end_s.a
diff --git a/mach/i86/libend/LIST b/mach/i86/libend/LIST
new file mode 100644 (file)
index 0000000..2efbd3e
--- /dev/null
@@ -0,0 +1,5 @@
+end_s.a
+edata.s
+em_end.s
+end.s
+etext.s
diff --git a/mach/i86/libend/edata.s b/mach/i86/libend/edata.s
new file mode 100644 (file)
index 0000000..a742b6f
--- /dev/null
@@ -0,0 +1,7 @@
+.sect .text
+.sect .rom
+.sect .data
+.sect .bss
+.define        _edata
+.sect .data
+_edata:
diff --git a/mach/i86/libend/em_end.s b/mach/i86/libend/em_end.s
new file mode 100644 (file)
index 0000000..6848f66
--- /dev/null
@@ -0,0 +1,14 @@
+.sect .text
+.sect .rom
+.sect .data
+.sect .bss
+.sect .end ! only for declaration of _end, __end and endbss.
+.define        endtext,enddata,endbss,__end
+
+       .sect .text
+endtext:
+       .sect .data
+enddata:
+       .sect .end
+__end:
+endbss:
diff --git a/mach/i86/libend/end.s b/mach/i86/libend/end.s
new file mode 100644 (file)
index 0000000..93a1e6e
--- /dev/null
@@ -0,0 +1,7 @@
+.sect .text
+.sect .rom
+.sect .data
+.sect .bss
+.define        _end
+.sect .end ! only for declaration of _end, __end and endbss.
+_end:
diff --git a/mach/i86/libend/etext.s b/mach/i86/libend/etext.s
new file mode 100644 (file)
index 0000000..6651ca9
--- /dev/null
@@ -0,0 +1,7 @@
+.sect .text
+.sect .rom
+.sect .data
+.sect .bss
+.define        _etext
+.sect .text
+_etext:
index deec15c..8f59394 100644 (file)
@@ -1,2 +1 @@
-Makefile
 byte_order.h
index c6828c5..5f4d84d 100644 (file)
@@ -1,5 +1,3 @@
 LIST
-Makefile
-compmodule
 libmon_s.a
 head_em.s
diff --git a/mach/i86/mach_params b/mach/i86/mach_params
new file mode 100644 (file)
index 0000000..7bda99b
--- /dev/null
@@ -0,0 +1,4 @@
+MACH=i86
+SUF=o
+ASAR=aal
+RANLIB=: