annotate level1/cmds/tsmon.asm @ 0:6641a883d6b0

Initial revision
author boisy
date Thu, 04 Apr 2002 16:34:12 +0000
parents
children 39de99977f31
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1 ********************************************************************
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
2 * Tsmon - Timesharing monitor
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
3 *
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
4 * $Id$
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
5 *
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
6 * Ed. Comments Who YY/MM/DD
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
7 * ------------------------------------------------------------------
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
8 * 6 Original Microware distribution version
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
9
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
10 nam Tsmon
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
11 ttl Timesharing monitor
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
12
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
13 * Disassembled 02/04/03 22:36:47 by Disasm v1.6 (C) 1988 by RML
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
14
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
15 ifp1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
16 use os9defs
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
17 endc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
18 tylg set Prgrm+Objct
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
19 atrv set ReEnt+rev
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
20 rev set $01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
21 mod eom,name,tylg,atrv,start,size
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
22 u0000 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
23 u0001 rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
24 u0003 rmb 452
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
25 size equ .
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
26 name equ *
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
27 fcs /Tsmon/
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
28 fcb $06
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
29 L0013 fcb $4C L
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
30 fcb $4F O
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
31 fcb $47 G
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
32 fcb $49 I
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
33 fcb $4E N
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
34 L0018 fcb $0D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
35 L0019 fcb $3B ;
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
36 start equ *
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
37 stx <u0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
38 std <u0003
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
39 L001E cmpd #$0002
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
40 bcs L0047
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
41 lda ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
42 cmpa #$0D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
43 beq L0047
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
44 clra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
45 os9 I$Close
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
46 inca
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
47 os9 I$Close
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
48 inca
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
49 os9 I$Close
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
50 lda #$03
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
51 os9 I$Open
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
52 bcs L007C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
53 os9 I$Dup
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
54 bcs L007C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
55 os9 I$Dup
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
56 bcs L007C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
57 L0047 leax <L0019,pcr
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
58 os9 F$Icpt
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
59 L004D clra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
60 leax ,-s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
61 ldy #$0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
62 os9 I$ReadLn
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
63 leas $01,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
64 bcs L004D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
65 lda #$01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
66 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
67 leax <L0013,pcr
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
68 leau <L0018,pcr
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
69 ldy #$0000
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
70 os9 F$Fork
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
71 bcs L004D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
72 sta <u0000
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
73 L006F os9 F$Wait
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
74 cmpa <u0000
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
75 bne L006F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
76 ldx <u0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
77 ldd <u0003
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
78 bra L001E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
79 L007C os9 F$Exit
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
80 emod
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
81 eom equ *