Added modula-2
This commit is contained in:
parent
c8a728969d
commit
935ae44985
5 changed files with 14 additions and 4 deletions
|
@ -9,7 +9,7 @@ var M=ns
|
|||
var NAME=NS
|
||||
var LIB=lib/{M}/tail_
|
||||
var RT=lib/{M}/head_
|
||||
var CPP_F=-Dunix=unix
|
||||
var CPP_F=-Dunix
|
||||
var INCLUDES=-I{EM}/include/_tail_cc
|
||||
var ALIGN=-a0:2 -a1:2 -a2:2 -a3:2
|
||||
name be
|
||||
|
@ -33,10 +33,14 @@ name led
|
|||
program {EM}/lib/em_led
|
||||
mapflag -l* LNAME={EM}/{LIB}*
|
||||
args {ALIGN} (.e:{HEAD}={EM}/{RT}em) \
|
||||
({RTS}:.ocm.b.c={EM}/{RT}cc) ({RTS}:.p={EM}/{RT}pc) -o > < \
|
||||
({RTS}:.ocm.b.c={EM}/{RT}cc) \
|
||||
({RTS}:.p={EM}/{RT}pc) \
|
||||
({RTS}:.mod={EM}/{RT}m2) \
|
||||
-o > < \
|
||||
(.p:{TAIL}={EM}/{LIB}pc) \
|
||||
(.b:{TAIL}={EM}/{LIB}bc) \
|
||||
(.ocm:{TAIL}={EM}/{LIB}ocm) \
|
||||
(.mod:{TAIL}={EM}/{LIB}m2) \
|
||||
(.ocm.b.c:{TAIL}={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g) \
|
||||
(.e:{TAIL}={EM}/{LIB}mon {EM}/{LIB}em {EM}/lib/{M}/end_em)
|
||||
linker
|
||||
|
|
|
@ -51,6 +51,7 @@ name led
|
|||
(.p:{TAIL}={EM}/{LIB}pc) \
|
||||
(.b:{TAIL}={EM}/{LIB}bc) \
|
||||
(.ocm:{TAIL}={EM}/{LIB}ocm) \
|
||||
(.mod:{TAIL}={EM}/{LIB}m2) \
|
||||
(.ocm.b.c:{TAIL}={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g) \
|
||||
{LIBFP?} \
|
||||
(.e:{TAIL}={EM}/{LIB}em {EM}/lib/pmds/tail_mon {EM}/lib/{M}/end_em)
|
||||
|
|
|
@ -51,6 +51,7 @@ name led
|
|||
(.p:{TAIL}={EM}/{LIB}pc) \
|
||||
(.b:{TAIL}={EM}/{LIB}bc) \
|
||||
(.ocm:{TAIL}={EM}/{LIB}ocm) \
|
||||
(.mod:{TAIL}={EM}/{LIB}m2) \
|
||||
(.ocm.b.c:{TAIL}={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g) \
|
||||
{LIBFP?} \
|
||||
(.e:{TAIL}={EM}/{LIB}em {EM}/lib/pmds4/tail_mon {EM}/lib/{M}/end_em)
|
||||
|
|
|
@ -14,7 +14,7 @@ var LIB=lib/{P}/tail_
|
|||
var RT=lib/{P}/head_
|
||||
var PLIB=lib/{M}/tail_
|
||||
var PRT=lib/{M}/head_
|
||||
var CPP_F=-Dunix=unix -D__BSD4_2
|
||||
var CPP_F=-Dunix -Dm68k -DM68010 -Dmc68010 -D__BSD4_2
|
||||
var INCLUDES=-I{EM}/include/_tail_cc
|
||||
# 413 align is the default, rom in text
|
||||
var ALIGN=-a0:4 -a1:4 -a2:0x20000 -a3:4 -b0:0x2020
|
||||
|
@ -57,6 +57,7 @@ name led
|
|||
(.p:{TAIL}={EM}/{PLIB}pc) \
|
||||
(.b:{TAIL}={EM}/{PLIB}bc) \
|
||||
(.ocm:{TAIL}={EM}/{LIB}ocm) \
|
||||
(.mod:{TAIL}={EM}/{LIB}m2) \
|
||||
(.ocm.b.c:{TAIL}={EM}/{LIB}cc.1s {EM}/{LIB}cc.2g) \
|
||||
{LIBFP?} \
|
||||
(.e:{TAIL}={EM}/{PLIB}em {EM}/{LIB}mon {EM}/{PLIB}em {EM}/lib/{M}/end_em)
|
||||
|
|
|
@ -26,7 +26,10 @@ name asld
|
|||
mapflag -l* LNAME={EM}/{LIB}*
|
||||
mapflag -i IFILE={EM}/{RT}i
|
||||
args {IFILE?} (.e:{HEAD}={EM}/{RT}em) \
|
||||
({RTS}:.ocm.b.c={EM}/{RT}cc) ({RTS}:.p={EM}/{RT}pc) -o > < \
|
||||
({RTS}:.ocm.b.c={EM}/{RT}cc) \
|
||||
({RTS}:.p={EM}/{RT}pc) \
|
||||
({RTS}:.mod={EM}/{RT}m2) \
|
||||
-o > < \
|
||||
(.p:{TAIL}={EM}/{LIB}pc) \
|
||||
(.b:{TAIL}={EM}/{LIB}bc) \
|
||||
(.ocm:{TAIL}={EM}/{LIB}ocm) \
|
||||
|
|
Loading…
Reference in a new issue