Pristine Ack-5.5
[Ack-5.5.git] / mach / pmds / libsys / libmon_s.a
1 eÿgtty.s\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0á\0.define _gtty
2 .sect .text
3 .sect .rom
4 .sect .data
5 .sect .bss
6 .sect .text
7 .extern _gtty
8 .sect .text
9 _gtty:
10 tst.b -40(sp)
11 link    a6,#-0
12 move.l 10(a6),-(sp)
13 move.w #29704,-(sp)
14 move.w 8(a6),-(sp)
15 jsr _ioctl
16 add.l #8,sp
17 unlk a6
18 rts
19 \0stty.s\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0á\0.define _stty
20 .sect .text
21 .sect .rom
22 .sect .data
23 .sect .bss
24 .sect .text
25 .extern _stty
26 .sect .text
27 _stty:
28 tst.b -40(sp)
29 link    a6,#-0
30 move.l 10(a6),-(sp)
31 move.w #29705,-(sp)
32 move.w 8(a6),-(sp)
33 jsr _ioctl
34 add.l #8,sp
35 unlk a6
36 rts
37 \0chmod.s\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\05\ 1.define _chmod
38 .sect .text
39 .sect .rom
40 .sect .data
41 .sect .bss
42 .sect .text
43 .extern _chmod
44 .sect .text
45 _chmod:
46 tst.b -40(sp)
47 link    a6,#-0
48 move.w 12(a6), d2
49 ext.l d2
50 move.l d2,-(sp)
51 move.l 8(a6),-(sp)
52 jsr __Schmod
53 add.l #8,sp
54 unlk a6
55 rts
56 __Schmod:               trap #0
57 .data2  0xF
58                         bcc     1f
59                         jmp     cerror
60 1:
61                         clr.l   d0
62                         rts
63 \0close.s\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0!\ 1.define _close
64 .sect .text
65 .sect .rom
66 .sect .data
67 .sect .bss
68 .sect .text
69 .extern _close
70 .sect .text
71 _close:
72 tst.b -40(sp)
73 link    a6,#-0
74 move.w 8(a6), d2
75 ext.l d2
76 move.l d2,-(sp)
77 jsr __Sclose
78 add.l #4,sp
79 unlk a6
80 rts
81 __Sclose:               trap #0
82 .data2  0x6
83                         bcc     1f
84                         jmp     cerror
85 1:
86                         clr.l   d0
87                         rts
88
89 creat.s\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0)\ 1.define _creat
90 .sect .text
91 .sect .rom
92 .sect .data
93 .sect .bss
94 .sect .text
95 .extern _creat
96 .sect .text
97 _creat:
98 tst.b -40(sp)
99 link    a6,#-0
100 move.w 12(a6), d2
101 ext.l d2
102 move.l d2,-(sp)
103 move.l 8(a6),-(sp)
104 jsr __Screat
105 add.l #8,sp
106 unlk a6
107 rts
108 __Screat:               trap #0
109 .data2  0x8
110                         bcc     1f
111                         jmp     cerror
112 1:
113                         rts
114 lexec.s\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0Ý\ 1.define _execl
115 .define _execve
116 .define _execv
117 .sect .text
118 .sect .rom
119 .sect .data
120 .sect .bss
121 .sect .text
122 .extern _execl
123 .extern _execve
124 .extern _execv
125 _execl:         tst.b -48(sp)
126                 link a6,#0
127                 move.l _environ,-(sp)
128                 pea 12(a6)
129                 move.l 8(a6),-(sp)
130                 jsr _execve
131                 add.l #12,sp
132                 unlk a6
133                 rts
134 _execve:        trap #0
135 .data2 59
136                 jmp cerror
137 _execv:         tst.b -48(sp)
138                 link a6,#0
139                 move.l _environ,-(sp)
140                 move.l 12(a6),-(sp)
141                 move.l 8(a6),-(sp)
142                 jsr _execve
143                 add.l #12,sp
144                 unlk a6
145                 rts
146 \0fork.s\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0­\0.define _fork
147 .sect .text
148 .sect .rom
149 .sect .data
150 .sect .bss
151 .sect .text
152 .extern _fork
153 _fork:          trap #0
154 .data2 0x2
155                 bra 3f
156                 rts
157 3:
158                 bcc 2f
159                 jmp cerror
160 2:
161                 clr.l d0
162                 rts
163         fstat.s\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\06\ 1.define _fstat
164 .sect .text
165 .sect .rom
166 .sect .data
167 .sect .bss
168 .sect .text
169 .extern _fstat
170 .sect .text
171 _fstat:
172 tst.b -40(sp)
173 link    a6,#-0
174 move.w 8(a6), d2
175 ext.l d2
176 move.l 10(a6),-(sp)
177 move.l d2,-(sp)
178 jsr __Sfstat
179 add.l #8,sp
180 unlk a6
181 rts
182 __Sfstat:               trap #0
183 .data2  0x1C
184                         bcc     1f
185                         jmp     cerror
186 1:
187                         clr.l   d0
188                         rts
189 getgid.s\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0Ø\0.define _getgid
190 .define _getegid
191 .sect .text
192 .sect .rom
193 .sect .data
194 .sect .bss
195 .sect .text
196 .extern _getgid
197 .extern _getegid
198 _getgid:                trap #0
199 .data2  0x2F
200                         rts
201
202 _getegid:               trap #0
203 .data2  0x2F
204                         move.l  d1,d0
205                         rts
206 getpid.s\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0\7f\0.define _getpid
207 .sect .text
208 .sect .rom
209 .sect .data
210 .sect .bss
211 .sect .text
212 .extern _getpid
213 _getpid:                trap #0
214 .data2  0x14
215                         rts
216 tgetuid.s\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0Ø\0.define _getuid
217 .define _geteuid
218 .sect .text
219 .sect .rom
220 .sect .data
221 .sect .bss
222 .sect .text
223 .extern _getuid
224 .extern _geteuid
225 _getuid:                trap #0
226 .data2  0x18
227                         rts
228
229 _geteuid:               trap #0
230 .data2  0x18
231                         move.l  d1,d0
232                         rts
233 ioctl.s\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0c\ 1.define _ioctl
234 .sect .text
235 .sect .rom
236 .sect .data
237 .sect .bss
238 .sect .text
239 .extern _ioctl
240 .sect .text
241 _ioctl:
242 tst.b -40(sp)
243 link    a6,#-0
244 move.w 10(a6), d2
245 ext.l d2
246 move.w 8(a6), d1
247 ext.l d1
248 move.l 12(a6),-(sp)
249 move.l d2,-(sp)
250 move.l d1,-(sp)
251 jsr __Sioctl
252 lea 12(sp),sp
253 unlk a6
254 rts
255 __Sioctl:               trap #0
256 .data2  0x36
257                         bcc     1f
258                         jmp     cerror
259 1:
260                         clr.l   d0
261                         rts
262 ikill.s\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0H\ 1.define _kill
263 .sect .text
264 .sect .rom
265 .sect .data
266 .sect .bss
267 .sect .text
268 .extern _kill
269 .sect .text
270 _kill:
271 tst.b -40(sp)
272 link    a6,#-0
273 move.w 10(a6), d2
274 ext.l d2
275 move.w 8(a6), d1
276 ext.l d1
277 move.l d2,-(sp)
278 move.l d1,-(sp)
279 jsr __Skill
280 add.l #8,sp
281 unlk a6
282 rts
283 __Skill:                trap #0
284 .data2  0x25
285                         bcc     1f
286                         jmp     cerror
287 1:
288                         clr.l   d0
289                         rts
290 link.s\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0 \0.define _link
291 .sect .text
292 .sect .rom
293 .sect .data
294 .sect .bss
295 .sect .text
296 .extern _link
297 _link:                  trap #0
298 .data2  0x9
299                         bcc     1f
300                         jmp     cerror
301 1:
302                         clr.l   d0
303                         rts
304 lseek.s\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0W\ 1.define _lseek
305 .sect .text
306 .sect .rom
307 .sect .data
308 .sect .bss
309 .sect .text
310 .extern _lseek
311 .sect .text
312 _lseek:
313 tst.b -40(sp)
314 link    a6,#-0
315 move.w 14(a6), d2
316 ext.l d2
317 move.w 8(a6), d1
318 ext.l d1
319 move.l d2,-(sp)
320 move.l 10(a6),-(sp)
321 move.l d1,-(sp)
322 jsr __Slseek
323 lea 12(sp),sp
324 unlk a6
325 rts
326 __Slseek:               trap #0
327 .data2  0x13
328                         bcc     1f
329                         jmp     cerror
330 1:
331                         rts
332 lopen.s\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0$\ 1.define _open
333 .sect .text
334 .sect .rom
335 .sect .data
336 .sect .bss
337 .sect .text
338 .extern _open
339 .sect .text
340 _open:
341 tst.b -40(sp)
342 link    a6,#-0
343 move.w 12(a6), d2
344 ext.l d2
345 move.l d2,-(sp)
346 move.l 8(a6),-(sp)
347 jsr __Sopen
348 add.l #8,sp
349 unlk a6
350 rts
351 __Sopen:                trap #0
352 .data2  0x5
353                         bcc     1f
354                         jmp     cerror
355 1:
356                         rts
357 pipe.s\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0Ñ\0.define _pipe
358 .sect .text
359 .sect .rom
360 .sect .data
361 .sect .bss
362 .sect .text
363 .extern _pipe
364 _pipe:          trap #0
365 .data2 0x2A
366                 bcc 1f
367                 jmp cerror
368 1:
369                 move.l 4(sp),a0
370                 move.w d0,(a0)+
371                 move.w d1,(a0)
372                 clr.l d0
373                 rts
374 lread.s\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0Q\ 1.define _read
375 .sect .text
376 .sect .rom
377 .sect .data
378 .sect .bss
379 .sect .text
380 .extern _read
381 .sect .text
382 _read:
383 tst.b -40(sp)
384 link    a6,#-0
385 move.w 14(a6), d2
386 ext.l d2
387 move.w 8(a6), d1
388 ext.l d1
389 move.l d2,-(sp)
390 move.l 10(a6),-(sp)
391 move.l d1,-(sp)
392 jsr __Sread
393 lea 12(sp),sp
394 unlk a6
395 rts
396 __Sread:                trap #0
397 .data2  0x3
398                         bcc     1f
399                         jmp     cerror
400 1:
401                         rts
402         sbrk.s\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0«\ 2.define _brk
403 .define _sbrk
404 .sect .text
405 .sect .rom
406 .sect .data
407 .sect .bss
408 .sect .text
409 .extern _brk
410 .sect .text
411 _brk:
412 tst.b -40(sp)
413 link    a6,#-0
414 move.l 8(a6),-(sp)
415 jsr __Sbrk
416 add.l #4,sp
417 unlk a6
418 rts
419 .extern _sbrk
420 _sbrk:
421 tst.b -40(sp)
422 link    a6,#-0
423 move.w 8(a6), d2
424 ext.l d2
425 move.l d2,-(sp)
426 jsr __Ssbrk
427 add.l #4,sp
428 unlk a6
429 rts
430 __Ssbrk:                tst.b   -8(sp)
431                         move.l  4(sp),d0
432                         beq     1f
433                         add.l   nd,d0
434                         move.l  d0,-(sp)
435                         clr.l   -(sp)
436                         trap #0
437 .data2  0x11
438                         add.l   #8,sp
439                         bcc     1f
440                         jmp     cerror
441 1:
442                         move.l  nd,d0
443                         move.l  4(sp),d1
444                         add.l   d1,nd
445                         rts
446 __Sbrk:                 trap #0
447 .data2  0x11
448                         bcc     1f
449                         jmp     cerror
450 1:
451                         move.l  4(sp),nd
452                         clr.l   d0
453                         rts
454 .sect .data
455 nd:                     .data4 endbss
456 .sect .text
457 \0stat.s\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0¡\0.define _stat
458 .sect .text
459 .sect .rom
460 .sect .data
461 .sect .bss
462 .sect .text
463 .extern _stat
464 _stat:                  trap #0
465 .data2  0x12
466                         bcc     1f
467                         jmp     cerror
468 1:
469                         clr.l   d0
470                         rts
471 junlink.s\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0¥\0.define _unlink
472 .sect .text
473 .sect .rom
474 .sect .data
475 .sect .bss
476 .sect .text
477 .extern _unlink
478 _unlink:                trap #0
479 .data2  0xA
480                         bcc     1f
481                         jmp     cerror
482 1:
483                         clr.l   d0
484                         rts
485 _wait.s\0s\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0Í\0.define _wait
486 .sect .text
487 .sect .rom
488 .sect .data
489 .sect .bss
490 .sect .text
491 .extern _wait
492 _wait:          trap #0
493 .data2 0x7
494                 bcc 1f
495                 jmp cerror
496 1:
497                 tst.l 4(sp)
498                 beq 2f
499                 move.l 4(sp),a0
500                 move.w d1,(a0)
501 2:
502                 rts
503 swrite.s\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0V\ 1.define _write
504 .sect .text
505 .sect .rom
506 .sect .data
507 .sect .bss
508 .sect .text
509 .extern _write
510 .sect .text
511 _write:
512 tst.b -40(sp)
513 link    a6,#-0
514 move.w 14(a6), d2
515 ext.l d2
516 move.w 8(a6), d1
517 ext.l d1
518 move.l d2,-(sp)
519 move.l 10(a6),-(sp)
520 move.l d1,-(sp)
521 jsr __Swrite
522 lea 12(sp),sp
523 unlk a6
524 rts
525 __Swrite:               trap #0
526 .data2  0x4
527                         bcc     1f
528                         jmp     cerror
529 1:
530                         rts
531 cerror.s\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0Å\0.define cerror
532 .define _errno
533 .sect .text
534 .sect .rom
535 .sect .data
536 .sect .bss
537 .sect .text
538 .extern cerror
539 cerror:                 move.l d0,_errno
540                         move.l #-1,d0
541                         rts
542 .sect .bss
543 _errno:
544                         .space 4
545 .sect .text
546 -access.s\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0;\ 1.define _access
547 .sect .text
548 .sect .rom
549 .sect .data
550 .sect .bss
551 .sect .text
552 .extern _access
553 .sect .text
554 _access:
555 tst.b -40(sp)
556 link    a6,#-0
557 move.w 12(a6), d2
558 ext.l d2
559 move.l d2,-(sp)
560 move.l 8(a6),-(sp)
561 jsr __Saccess
562 add.l #8,sp
563 unlk a6
564 rts
565 __Saccess:              trap #0
566 .data2  0x21
567                         bcc     1f
568                         jmp     cerror
569 1:
570                         clr.l   d0
571                         rts
572 1alarm.s\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0ð\0.define _alarm
573 .sect .text
574 .sect .rom
575 .sect .data
576 .sect .bss
577 .sect .text
578 .extern _alarm
579 .sect .text
580 _alarm:
581 tst.b -40(sp)
582 link    a6,#-0
583 move.w 8(a6),-(sp)
584 clr.w -(sp)
585 jsr __Salarm
586 add.l #4,sp
587 unlk a6
588 rts
589 __Salarm:               trap #0
590 .data2  0x1B
591                         rts
592 chown.s\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0c\ 1.define _chown
593 .sect .text
594 .sect .rom
595 .sect .data
596 .sect .bss
597 .sect .text
598 .extern _chown
599 .sect .text
600 _chown:
601 tst.b -40(sp)
602 link    a6,#-0
603 move.w 14(a6), d2
604 ext.l d2
605 move.w 12(a6), d1
606 ext.l d1
607 move.l d2,-(sp)
608 move.l d1,-(sp)
609 move.l 8(a6),-(sp)
610 jsr __Schown
611 lea 12(sp),sp
612 unlk a6
613 rts
614 __Schown:               trap #0
615 .data2  0x10
616                         bcc     1f
617                         jmp     cerror
618 1:
619                         clr.l   d0
620                         rts
621 (dup.s\0s\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0Ý\ 1.define _dup
622 .define _dup2
623 .sect .text
624 .sect .rom
625 .sect .data
626 .sect .bss
627 .sect .text
628 .extern _dup
629 .sect .text
630 _dup:
631 tst.b -40(sp)
632 link    a6,#-0
633 move.w 8(a6), d2
634 ext.l d2
635 move.l d2,-(sp)
636 jsr __Sdup
637 add.l #4,sp
638 unlk a6
639 rts
640 .extern _dup2
641 _dup2:
642 tst.b -40(sp)
643 link    a6,#-0
644 move.w 10(a6), d2
645 ext.l d2
646 move.w 8(a6), d1
647 ext.l d1
648 move.l d2,-(sp)
649 move.l d1,-(sp)
650 jsr __Sdup2
651 add.l #8,sp
652 unlk a6
653 rts
654 __Sdup2:                or.l    #64,4(sp)
655
656 __Sdup:                 trap #0
657 .data2  0x29
658                         bcc     1f
659                         jmp     cerror
660 1:
661                         rts
662 cmknod.s\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0b\ 1.define _mknod
663 .sect .text
664 .sect .rom
665 .sect .data
666 .sect .bss
667 .sect .text
668 .extern _mknod
669 .sect .text
670 _mknod:
671 tst.b -40(sp)
672 link    a6,#-0
673 move.w 14(a6), d2
674 ext.l d2
675 move.w 12(a6), d1
676 ext.l d1
677 move.l d2,-(sp)
678 move.l d1,-(sp)
679 move.l 8(a6),-(sp)
680 jsr __Smknod
681 lea 12(sp),sp
682 unlk a6
683 rts
684 __Smknod:               trap #0
685 .data2  0xE
686                         bcc     1f
687                         jmp     cerror
688 1:
689                         clr.l   d0
690                         rts
691 mount.s\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0L\ 1.define _mount
692 .sect .text
693 .sect .rom
694 .sect .data
695 .sect .bss
696 .sect .text
697 .extern _mount
698 .sect .text
699 _mount:
700 tst.b -40(sp)
701 link    a6,#-0
702 move.w 16(a6), d2
703 ext.l d2
704 move.l d2,-(sp)
705 move.l 12(a6),-(sp)
706 move.l 8(a6),-(sp)
707 jsr __Smount
708 lea 12(sp),sp
709 unlk a6
710 rts
711 __Smount:               trap #0
712 .data2  0x15
713                         bcc     1f
714                         jmp     cerror
715 1:
716                         clr.l   d0
717                         rts
718 nice.s\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0\1d\ 1.define _nice
719 .sect .text
720 .sect .rom
721 .sect .data
722 .sect .bss
723 .sect .text
724 .extern _nice
725 .sect .text
726 _nice:
727 tst.b -40(sp)
728 link    a6,#-0
729 move.w 8(a6), d2
730 ext.l d2
731 move.l d2,-(sp)
732 jsr __Snice
733 add.l #4,sp
734 unlk a6
735 rts
736 __Snice:                trap #0
737 .data2  0x22
738                         bcc     1f
739                         jmp     cerror
740 1:
741                         clr.l   d0
742                         rts
743
744 profil.s\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0l\ 1.define _profil
745 .sect .text
746 .sect .rom
747 .sect .data
748 .sect .bss
749 .sect .text
750 .extern _profil
751 .sect .text
752 _profil:
753 tst.b -40(sp)
754 link    a6,#-0
755 move.w 16(a6), d2
756 ext.l d2
757 move.w 14(a6), d1
758 ext.l d1
759 move.w 12(a6), d0
760 ext.l d0
761 move.l d2,-(sp)
762 move.l d1,-(sp)
763 move.l d0,-(sp)
764 move.l 8(a6),-(sp)
765 jsr __Sprofil
766 lea 16(sp),sp
767 unlk a6
768 rts
769 __Sprofil:              trap #0
770 .data2  0x2C
771                         rts
772 signal.s\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0Ù\ 2.define _signal
773 .sect .text
774 .sect .rom
775 .sect .data
776 .sect .bss
777 .sect .text
778 .extern _signal
779 NSIG=32
780 _signal:
781         move.w  4(sp), d0
782         ext.l   d0
783         cmp.l   #NSIG,d0
784         bcc     1f
785         move.l  6(sp),d1
786         move.l  d0,a0
787         add.l   a0,a0
788         add.l   a0,a0
789         add.l   #dvect,a0
790         move.l  (a0),a1
791         move.l  d1,(a0)
792         beq     2f
793         btst    #0,d1
794         bne     2f
795         move.l  #enter,d1
796 2:
797         move.l  d1,-(sp)
798         move.l  d0,-(sp)
799         clr.l   -(sp)
800         trap #0
801 .data2  48
802         add.l   #12,sp
803         bcs     3f
804         btst    #0,d0
805         bne     4f
806         move.l  a1,d0
807 4:
808         clr.l   d1
809         rts
810 1:
811         move.l  #22,d0
812 3:
813         jmp     cerror
814
815 enter:
816         movem.l d0/d1/a0/a1,-(sp)
817         move.l  16(sp),a0
818         move.l  a0,-(sp)
819         add.l   a0,a0
820         add.l   a0,a0
821         add.l   #dvect,a0
822         move.l  (a0),a0
823         jsr     (a0)
824         add.l   #4,sp
825         movem.l (sp)+,d0/d1/a0/a1
826         add.l   #4,sp
827         rtr
828 .sect .bss
829 dvect: .space 4*NSIG
830 .sect .text
831 \0exit1.s\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0Ç\0.define _exit
832 .sect .text
833 .sect .rom
834 .sect .data
835 .sect .bss
836 .sect .text
837 .extern _exit
838 .sect .text
839 _exit:
840 tst.b -40(sp)
841 link    a6,#-0
842 jsr __cleanup
843 move.w 8(a6),-(sp)
844 jsr __exit
845 add.l #2,sp
846 unlk a6
847 rts
848 ,exit2.s\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0ó\0.define __exit
849 .sect .text
850 .sect .rom
851 .sect .data
852 .sect .bss
853 .sect .text
854 .extern __exit
855 .sect .text
856 __exit:
857 tst.b -40(sp)
858 link    a6,#-0
859 move.w 8(a6), d2
860 ext.l d2
861 move.l d2,-(sp)
862 jsr __Sexit
863 add.l #4,sp
864 unlk a6
865 rts
866 __Sexit:                trap #0
867 .data2                  0x1
868 0time.s\0\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0\10\ 1.define _time
869 .define _ftime
870 .sect .text
871 .sect .rom
872 .sect .data
873 .sect .bss
874 .sect .text
875 .extern _time
876 _time:
877         trap #0
878 .data2  0xD
879         tst.l 4(sp)
880         beq 1f
881         move.l 4(sp),a0
882         move.l d0,(a0)
883 1:
884         rts
885 .extern _ftime
886 _ftime:
887         trap #0
888 .data2 0x23
889         bcc 1f
890         jmp cerror
891 1:
892         clr.l d0
893         rts
894 cleanup.s\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0y\0.define __cleanup
895 .sect .text
896 .sect .rom
897 .sect .data
898 .sect .bss
899 .sect .text
900 .extern __cleanup
901 .sect .text
902 __cleanup:
903 rts
904 apause.s\0s\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0\92\0.define _pause
905 .sect .text
906 .sect .rom
907 .sect .data
908 .sect .bss
909 .sect .text
910 .extern _pause
911 _pause:         trap #0
912 .data2 29
913                 bcc 1f
914                 jmp cerror
915 1:
916                 rts
917 _alarm.s\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0ó\0.define __alarm
918 .sect .text
919 .sect .rom
920 .sect .data
921 .sect .bss
922 .sect .text
923 .extern __alarm
924 .sect .text
925 __alarm:
926 tst.b -40(sp)
927 link    a6,#-0
928 move.w 8(a6),-(sp)
929 clr.w -(sp)
930 jsr __Salarm
931 add.l #4,sp
932 unlk a6
933 rts
934 __Salarm:               trap #0
935 .data2  0x1B
936                         rts
937 j_close.s\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0$\ 1.define __close
938 .sect .text
939 .sect .rom
940 .sect .data
941 .sect .bss
942 .sect .text
943 .extern __close
944 .sect .text
945 __close:
946 tst.b -40(sp)
947 link    a6,#-0
948 move.w 8(a6), d2
949 ext.l d2
950 move.l d2,-(sp)
951 jsr __Sclose
952 add.l #4,sp
953 unlk a6
954 rts
955 __Sclose:               trap #0
956 .data2  0x6
957                         bcc     1f
958                         jmp     cerror
959 1:
960                         clr.l   d0
961                         rts
962 _creat.s\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0,\ 1.define __creat
963 .sect .text
964 .sect .rom
965 .sect .data
966 .sect .bss
967 .sect .text
968 .extern __creat
969 .sect .text
970 __creat:
971 tst.b -40(sp)
972 link    a6,#-0
973 move.w 12(a6), d2
974 ext.l d2
975 move.l d2,-(sp)
976 move.l 8(a6),-(sp)
977 jsr __Screat
978 add.l #8,sp
979 unlk a6
980 rts
981 __Screat:               trap #0
982 .data2  0x8
983                         bcc     1f
984                         jmp     cerror
985 1:
986                         rts
987 _dup.s\0s\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0ã\ 1.define __dup
988 .define __dup2
989 .sect .text
990 .sect .rom
991 .sect .data
992 .sect .bss
993 .sect .text
994 .extern __dup
995 .sect .text
996 __dup:
997 tst.b -40(sp)
998 link    a6,#-0
999 move.w 8(a6), d2
1000 ext.l d2
1001 move.l d2,-(sp)
1002 jsr __Sdup
1003 add.l #4,sp
1004 unlk a6
1005 rts
1006 .extern __dup2
1007 __dup2:
1008 tst.b -40(sp)
1009 link    a6,#-0
1010 move.w 10(a6), d2
1011 ext.l d2
1012 move.w 8(a6), d1
1013 ext.l d1
1014 move.l d2,-(sp)
1015 move.l d1,-(sp)
1016 jsr __Sdup2
1017 add.l #8,sp
1018 unlk a6
1019 rts
1020 __Sdup2:                or.l    #64,4(sp)
1021
1022 __Sdup:                 trap #0
1023 .data2  0x29
1024                         bcc     1f
1025                         jmp     cerror
1026 1:
1027                         rts
1028 r_exec.s\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0è\ 1.define __execl
1029 .define __execve
1030 .define __execv
1031 .sect .text
1032 .sect .rom
1033 .sect .data
1034 .sect .bss
1035 .sect .text
1036 .extern __execl
1037 .extern __execve
1038 .extern __execv
1039 __execl:                tst.b -48(sp)
1040                 link a6,#0
1041                 move.l _environ,-(sp)
1042                 pea 12(a6)
1043                 move.l 8(a6),-(sp)
1044                 jsr __execve
1045                 add.l #12,sp
1046                 unlk a6
1047                 rts
1048 __execve:       trap #0
1049 .data2 59
1050                 jmp cerror
1051 __execv:                tst.b -48(sp)
1052                 link a6,#0
1053                 move.l _environ,-(sp)
1054                 move.l 12(a6),-(sp)
1055                 move.l 8(a6),-(sp)
1056                 jsr __execve
1057                 add.l #12,sp
1058                 unlk a6
1059                 rts
1060 _fork.s\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0°\0.define __fork
1061 .sect .text
1062 .sect .rom
1063 .sect .data
1064 .sect .bss
1065 .sect .text
1066 .extern __fork
1067 __fork:         trap #0
1068 .data2 0x2
1069                 bra 3f
1070                 rts
1071 3:
1072                 bcc 2f
1073                 jmp cerror
1074 2:
1075                 clr.l d0
1076                 rts
1077 _fstat.s\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\09\ 1.define __fstat
1078 .sect .text
1079 .sect .rom
1080 .sect .data
1081 .sect .bss
1082 .sect .text
1083 .extern __fstat
1084 .sect .text
1085 __fstat:
1086 tst.b -40(sp)
1087 link    a6,#-0
1088 move.w 8(a6), d2
1089 ext.l d2
1090 move.l 10(a6),-(sp)
1091 move.l d2,-(sp)
1092 jsr __Sfstat
1093 add.l #8,sp
1094 unlk a6
1095 rts
1096 __Sfstat:               trap #0
1097 .data2  0x1C
1098                         bcc     1f
1099                         jmp     cerror
1100 1:
1101                         clr.l   d0
1102                         rts
1103 0_getpid.s\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0\82\0.define __getpid
1104 .sect .text
1105 .sect .rom
1106 .sect .data
1107 .sect .bss
1108 .sect .text
1109 .extern __getpid
1110 __getpid:               trap #0
1111 .data2  0x14
1112                         rts
1113 _gtty.s\0s\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0å\0.define __gtty
1114 .sect .text
1115 .sect .rom
1116 .sect .data
1117 .sect .bss
1118 .sect .text
1119 .extern __gtty
1120 .sect .text
1121 __gtty:
1122 tst.b -40(sp)
1123 link    a6,#-0
1124 move.l 10(a6),-(sp)
1125 move.w #29704,-(sp)
1126 move.w 8(a6),-(sp)
1127 jsr __ioctl
1128 add.l #8,sp
1129 unlk a6
1130 rts
1131 a_ioctl.s\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0f\ 1.define __ioctl
1132 .sect .text
1133 .sect .rom
1134 .sect .data
1135 .sect .bss
1136 .sect .text
1137 .extern __ioctl
1138 .sect .text
1139 __ioctl:
1140 tst.b -40(sp)
1141 link    a6,#-0
1142 move.w 10(a6), d2
1143 ext.l d2
1144 move.w 8(a6), d1
1145 ext.l d1
1146 move.l 12(a6),-(sp)
1147 move.l d2,-(sp)
1148 move.l d1,-(sp)
1149 jsr __Sioctl
1150 lea 12(sp),sp
1151 unlk a6
1152 rts
1153 __Sioctl:               trap #0
1154 .data2  0x36
1155                         bcc     1f
1156                         jmp     cerror
1157 1:
1158                         clr.l   d0
1159                         rts
1160 _kill.s\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0K\ 1.define __kill
1161 .sect .text
1162 .sect .rom
1163 .sect .data
1164 .sect .bss
1165 .sect .text
1166 .extern __kill
1167 .sect .text
1168 __kill:
1169 tst.b -40(sp)
1170 link    a6,#-0
1171 move.w 10(a6), d2
1172 ext.l d2
1173 move.w 8(a6), d1
1174 ext.l d1
1175 move.l d2,-(sp)
1176 move.l d1,-(sp)
1177 jsr __Skill
1178 add.l #8,sp
1179 unlk a6
1180 rts
1181 __Skill:                trap #0
1182 .data2  0x25
1183                         bcc     1f
1184                         jmp     cerror
1185 1:
1186                         clr.l   d0
1187                         rts
1188 r_link.s\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0£\0.define __link
1189 .sect .text
1190 .sect .rom
1191 .sect .data
1192 .sect .bss
1193 .sect .text
1194 .extern __link
1195 __link:                 trap #0
1196 .data2  0x9
1197                         bcc     1f
1198                         jmp     cerror
1199 1:
1200                         clr.l   d0
1201                         rts
1202 v_lseek.s\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0Z\ 1.define __lseek
1203 .sect .text
1204 .sect .rom
1205 .sect .data
1206 .sect .bss
1207 .sect .text
1208 .extern __lseek
1209 .sect .text
1210 __lseek:
1211 tst.b -40(sp)
1212 link    a6,#-0
1213 move.w 14(a6), d2
1214 ext.l d2
1215 move.w 8(a6), d1
1216 ext.l d1
1217 move.l d2,-(sp)
1218 move.l 10(a6),-(sp)
1219 move.l d1,-(sp)
1220 jsr __Slseek
1221 lea 12(sp),sp
1222 unlk a6
1223 rts
1224 __Slseek:               trap #0
1225 .data2  0x13
1226                         bcc     1f
1227                         jmp     cerror
1228 1:
1229                         rts
1230 _open.s\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0'\ 1.define __open
1231 .sect .text
1232 .sect .rom
1233 .sect .data
1234 .sect .bss
1235 .sect .text
1236 .extern __open
1237 .sect .text
1238 __open:
1239 tst.b -40(sp)
1240 link    a6,#-0
1241 move.w 12(a6), d2
1242 ext.l d2
1243 move.l d2,-(sp)
1244 move.l 8(a6),-(sp)
1245 jsr __Sopen
1246 add.l #8,sp
1247 unlk a6
1248 rts
1249 __Sopen:                trap #0
1250 .data2  0x5
1251                         bcc     1f
1252                         jmp     cerror
1253 1:
1254                         rts
1255 p_pause.s\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0\95\0.define __pause
1256 .sect .text
1257 .sect .rom
1258 .sect .data
1259 .sect .bss
1260 .sect .text
1261 .extern __pause
1262 __pause:                trap #0
1263 .data2 29
1264                 bcc 1f
1265                 jmp cerror
1266 1:
1267                 rts
1268 d_pipe.s\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0Ô\0.define __pipe
1269 .sect .text
1270 .sect .rom
1271 .sect .data
1272 .sect .bss
1273 .sect .text
1274 .extern __pipe
1275 __pipe:         trap #0
1276 .data2 0x2A
1277                 bcc 1f
1278                 jmp cerror
1279 1:
1280                 move.l 4(sp),a0
1281                 move.w d0,(a0)+
1282                 move.w d1,(a0)
1283                 clr.l d0
1284                 rts
1285 _read.s\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0T\ 1.define __read
1286 .sect .text
1287 .sect .rom
1288 .sect .data
1289 .sect .bss
1290 .sect .text
1291 .extern __read
1292 .sect .text
1293 __read:
1294 tst.b -40(sp)
1295 link    a6,#-0
1296 move.w 14(a6), d2
1297 ext.l d2
1298 move.w 8(a6), d1
1299 ext.l d1
1300 move.l d2,-(sp)
1301 move.l 10(a6),-(sp)
1302 move.l d1,-(sp)
1303 jsr __Sread
1304 lea 12(sp),sp
1305 unlk a6
1306 rts
1307 __Sread:                trap #0
1308 .data2  0x3
1309                         bcc     1f
1310                         jmp     cerror
1311 1:
1312                         rts
1313 _sbrk.s\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0\95\ 2.define __brk
1314 .define __sbrk
1315 .sect .text
1316 .sect .rom
1317 .sect .data
1318 .sect .bss
1319 .sect .text
1320 .extern __brk
1321 .sect .text
1322 __brk:
1323 tst.b -40(sp)
1324 link    a6,#-0
1325 move.l 8(a6),-(sp)
1326 jsr __Sbrk
1327 add.l #4,sp
1328 unlk a6
1329 rts
1330 .extern __sbrk
1331 __sbrk:
1332 tst.b -40(sp)
1333 link    a6,#-0
1334 move.w 8(a6), d2
1335 ext.l d2
1336 move.l d2,-(sp)
1337 jsr __Ssbrk
1338 add.l #4,sp
1339 unlk a6
1340 rts
1341 __Ssbrk:                tst.b   -8(sp)
1342                         move.l  4(sp),d0
1343                         beq     1f
1344                         add.l   .limhp,d0
1345                         move.l  d0,-(sp)
1346                         clr.l   -(sp)
1347                         trap #0
1348 .data2  0x11
1349                         add.l   #8,sp
1350                         bcc     1f
1351                         jmp     cerror
1352 1:
1353                         move.l  .limhp,d0
1354                         move.l  4(sp),d1
1355                         add.l   d1,.limhp
1356                         rts
1357 __Sbrk:                 trap #0
1358 .data2  0x11
1359                         bcc     1f
1360                         jmp     cerror
1361 1:
1362                         move.l  4(sp),.limhp
1363                         clr.l   d0
1364                         rts
1365 a_stty.s\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0å\0.define __stty
1366 .sect .text
1367 .sect .rom
1368 .sect .data
1369 .sect .bss
1370 .sect .text
1371 .extern __stty
1372 .sect .text
1373 __stty:
1374 tst.b -40(sp)
1375 link    a6,#-0
1376 move.l 10(a6),-(sp)
1377 move.w #29705,-(sp)
1378 move.w 8(a6),-(sp)
1379 jsr __ioctl
1380 add.l #8,sp
1381 unlk a6
1382 rts
1383 -_time.s\0\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0\16\ 1.define __time
1384 .define __ftime
1385 .sect .text
1386 .sect .rom
1387 .sect .data
1388 .sect .bss
1389 .sect .text
1390 .extern __time
1391 __time:
1392         trap #0
1393 .data2  0xD
1394         tst.l 4(sp)
1395         beq 1f
1396         move.l 4(sp),a0
1397         move.l d0,(a0)
1398 1:
1399         rts
1400 .extern __ftime
1401 __ftime:
1402         trap #0
1403 .data2 0x23
1404         bcc 1f
1405         jmp cerror
1406 1:
1407         clr.l d0
1408         rts
1409 _unlink.s\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0¨\0.define __unlink
1410 .sect .text
1411 .sect .rom
1412 .sect .data
1413 .sect .bss
1414 .sect .text
1415 .extern __unlink
1416 __unlink:               trap #0
1417 .data2  0xA
1418                         bcc     1f
1419                         jmp     cerror
1420 1:
1421                         clr.l   d0
1422                         rts
1423 _wait.s\0s\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0Ð\0.define __wait
1424 .sect .text
1425 .sect .rom
1426 .sect .data
1427 .sect .bss
1428 .sect .text
1429 .extern __wait
1430 __wait:         trap #0
1431 .data2 0x7
1432                 bcc 1f
1433                 jmp cerror
1434 1:
1435                 tst.l 4(sp)
1436                 beq 2f
1437                 move.l 4(sp),a0
1438                 move.w d1,(a0)
1439 2:
1440                 rts
1441 _write.s\0\0\0\0\0\0\0\0\0\0\ 2\ 2¤\ 1\0\0Y\ 1.define __write
1442 .sect .text
1443 .sect .rom
1444 .sect .data
1445 .sect .bss
1446 .sect .text
1447 .extern __write
1448 .sect .text
1449 __write:
1450 tst.b -40(sp)
1451 link    a6,#-0
1452 move.w 14(a6), d2
1453 ext.l d2
1454 move.w 8(a6), d1
1455 ext.l d1
1456 move.l d2,-(sp)
1457 move.l 10(a6),-(sp)
1458 move.l d1,-(sp)
1459 jsr __Swrite
1460 lea 12(sp),sp
1461 unlk a6
1462 rts
1463 __Swrite:               trap #0
1464 .data2  0x4
1465                         bcc     1f
1466                         jmp     cerror
1467 1:
1468                         rts
1469 (