1 # srt0.c 1.4 07/29/80 2 3 # Startup code for standalone system 4 # Non-relocating version -- for programs which are loaded by boot 5 6 .globl _end 7 .globl _main 8 .globl __rtt 9 .globl _edata 10 11 .set PHYSUBA,0x20006000 # uba 0 12 .set PHYSUMEM,0x2013e000 # unibus memory 13 14 .set HIGH,31 # mask for total disable 15 16 .word 0x0 17 mtpr $HIGH,$IPL # just in case 18 movl $1,PHYSUBA+4 # init 19 movab _end,r0 20 clr: 21 clrl (r0)+ 22 cmpl r0,sp 23 jlss clr 24 start: 25 movl $RELOC-0x2000,sp 26 calls $0,_main 27 jmp start 28 29 __rtt: 30 .word 0x0 31 jmp start 32