|
|
1.1 ! root 1: # tpsrt0.s 4.4 11/11/80 ! 2: ! 3: # Startup code for standalone system ! 4: # Non-relocating version -- for programs which are loaded by boot ! 5: ! 6: .globl _edata ! 7: .globl _end ! 8: .globl _main ! 9: .globl __rtt ! 10: ! 11: .set PHYSUBA,0x20006000 # uba 0 ! 12: ! 13: .set HIGH,31 # mask for total disable ! 14: ! 15: .word 0x0 ! 16: mtpr $HIGH,$IPL # just in case ! 17: movl $RELOC-0x2000,sp ! 18: movl $1,PHYSUBA+4 # init ! 19: ubic: ! 20: movl *$PHYSUBA,r0 # while ((up->uba_cnfgr & UBIC) == 0) ! 21: bitl $0x10000,r0 # continue; ! 22: jeql ubic ! 23: movab _edata,r0 ! 24: movab _end,r1 ! 25: clr: ! 26: clrl (r0)+ ! 27: cmpl r0,r1 ! 28: jlss clr ! 29: start: ! 30: calls $0,_main ! 31: ret ! 32: ! 33: __rtt: ! 34: .word 0x0 ! 35: jmp start
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.