3 .define begtext,begdata,begbss
4 .define EARRAY,ERANGE,ESET,EIDIVZ,EHEAP,EILLINS,ECASE,EBADGTO
5 .define hol0,.reghp,.limhp,.trpim,.trppc
13 ! runtime startof for 68020 machine
30 move.l d0,(splimit) ! load splimit with the initial stack limit
32 move.l (8,sp),(sp) ! argc
34 move.l a0,(4,sp) ! argv
37 tst.l (a0)+ ! null args term?
39 cmp.l (a1),a0 ! end of 'argv[]' and in *argv[] strings?
40 blt 2f ! skip if a0 is less than start of *argv[]
41 sub.l #4,a0 ! else backup one to set env = 0 (NULL)
43 move.l a0,(8,sp) ! env
44 ! move.l a0, environ ! indir is 0 if no env; not 0 if env
45 ! jsr (initfpu) ! call to dummy floating point init routine
47 move.l d0,(sp) ! no stack cleanup needed
59 .data4 0 ! may be at virtual address 0 with no problem
72 .data4 0 ! USED TO BE 2 BYTES; IS THIS RIGHT?
76 begbss: !initialization is not needed because ALL entries are in zero space!