|
|
1.1 root 1: getlog = 64+3
2:
3: .globl _getlogname
4: _getlogname:
5: linkw a6,#0
6: pea 0
7: 1:
8: movl sp@(12),sp@-
9: jsr 2f
10: addql #8,sp
11: unlk a6
12: rts
13: 2:
14: linkw a6,#0
15: pea getlog
16: trap #0
17: bcc noerror
18: noerror:
19: clrl d0
20: unlk a6
21: rts
22:
23: .globl _setlogname
24: _setlogname:
25: linkw a6,#0
26: pea 1
27: bra 1b
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.