annotate level2/cmds/procs.asm @ 1099:b77631456f91

Change to makefile
author roug
date Wed, 09 Apr 2003 19:02:19 +0000
parents 988c55027093
children bf6f854a4299
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
1 ********************************************************************
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
2 * Procs - Show process information
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
3 *
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
4 * $Id$
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
5 *
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
6 * Ed. Comments Who YY/MM/DD
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
7 * ------------------------------------------------------------------
843
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
8 * 14 Original Tandy/Microware version
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
9 * 15 Changed e to -e BGP 03/01/14
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
10
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
11 nam Procs
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
12 ttl program module
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
13
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
14 * Disassembled 98/09/11 17:07:20 by Disasm v1.6 (C) 1988 by RML
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
15
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
16 ifp1
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
17 use defsfile
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
18 endc
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
19
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
20 tylg set Prgrm+Objct
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
21 atrv set ReEnt+rev
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
22 rev set $01
843
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
23 edition set 15
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
24
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
25 mod eom,name,tylg,atrv,start,size
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
26
843
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
27 showall rmb 1
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
28 u0001 rmb 1
843
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
29 narrow rmb 1
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
30 u0003 rmb 1
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
31 u0004 rmb 1
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
32 u0005 rmb 1
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
33 u0006 rmb 2
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
34 u0008 rmb 1
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
35 u0009 rmb 1
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
36 u000A rmb 32
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
37 u002A rmb 58
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
38 u0064 rmb 22
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
39 u007A rmb 110
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
40 u00E8 rmb 1164
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
41 size equ .
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
42
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
43 name fcs /Procs/
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
44 fcb edition
843
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
45 header1 fcs " User Mem Stack"
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
46 header2 fcs "Id PId Number Pty Age Sts Signl Siz Ptr Primary Module"
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
47 header3 fcs "--- --- ------- --- --- --- ----- --- ----- ----------------"
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
48 sheader1 fcs "Id PId User# Pty Age Sts"
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
49 sheader2 fcs " Sigl Mem StPtr Primary"
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
50 sheader3 fcs "============================="
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
51 ItsDead fcs "DEAD"
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
52
843
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
53 start clr <showall
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
54 clr <narrow assume wide screen
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
55 lda #$01
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
56 sta <u0001
843
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
57 ldd ,x+
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
58 andb #$DF
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
59 cmpd #$2D45 -e?
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
60 bne L0122 branch if nnot
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
61 inc <showall
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
62 L0122 leax <u002A,u
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
63 stx <u0006
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
64 leax <u007A,u
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
65 os9 F$GBlkMp
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
66 tfr a,b
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
67 nega
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
68 sta <u0008
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
69 lda #$FE
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
70 L0134 inca
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
71 lsrb
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
72 bne L0134
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
73 sta <u0009
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
74 os9 F$ID
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
75 sty <u0003
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
76 lbsr L024F
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
77 lda #$01
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
78 ldb #SS.ScSiz
843
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
79 os9 I$GetStt get window size
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
80 bcc L0154 branch if gotten
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
81 cmpb #E$UnkSvc unknown service?
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
82 lbne L0241 if not, erroor
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
83 bra L017B else assume wide screen
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
84 L0154 cmpx #60 at least this wide?
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
85 bge L017B branch if so
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
86 inc <narrow else set narrow flag
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
87 leay >sheader1,pcr
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
88 lbsr L0244
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
89 lbsr L024F
843
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
90 leay >sheader2,pcr
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
91 lbsr L0244
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
92 lbsr L024F
843
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
93 leay >sheader3,pcr
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
94 lbsr L0244
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
95 lbsr L024F
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
96 bra L0199
843
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
97 L017B leay >header1,pcr
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
98 lbsr L0244
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
99 lbsr L024F
843
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
100 leay >header2,pcr
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
101 lbsr L0244
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
102 lbsr L024F
843
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
103 leay >header3,pcr
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
104 lbsr L0244
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
105 lbsr L024F
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
106 L0199 inc <u0001
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
107 lbeq L0240
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
108 lda <u0001
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
109 leax <u007A,u
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
110 os9 F$GPrDsc
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
111 bcs L0199
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
112 ldd <u0003
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
113 cmpd $08,x
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
114 beq L01B4
843
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
115 tst <showall
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
116 beq L0199
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
117 L01B4 ldb ,x
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
118 lbsr L026F
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
119 lbsr L0292
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
120 ldb $01,x
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
121 lbsr L026F
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
122 lbsr L0292
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
123 ldd $08,x
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
124 lbsr L02C3
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
125 lbsr L0292
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
126 lbsr L0292
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
127 lbsr L0292
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
128 ldb $0A,x
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
129 lbsr L026F
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
130 lbsr L0292
843
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
131 tst <narrow
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
132 beq L01E1
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
133 lbsr L0292
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
134 L01E1 ldb $0B,x
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
135 lbsr L026F
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
136 lbsr L0292
843
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
137 tst <narrow
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
138 beq L01F0
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
139 lbsr L0292
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
140 L01F0 lda #$24
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
141 lbsr L0296
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
142 lda $0C,x
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
143 lbsr L02A0
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
144 clra
843
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
145 tst <narrow
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
146 beq L0202
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
147 lbsr L024F
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
148 L0202 ldb <$19,x
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
149 lbsr L02C3
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
150 lbsr L0292
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
151 lbsr L0292
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
152 ldb $07,x
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
153 bsr L026F
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
154 bsr L0292
843
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
155 tst <narrow
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
156 beq L021E
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
157 bsr L0292
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
158 bsr L0292
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
159 bsr L0292
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
160 L021E lda #$24
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
161 bsr L0296
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
162 lda $04,x
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
163 bsr L02A0
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
164 lda $05,x
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
165 bsr L02A0
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
166 bsr L0292
843
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
167 tst <narrow
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
168 beq L0234
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
169 bsr L0292
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
170 bsr L0292
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
171 L0234 lbsr L02FA
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
172 bsr L0244
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
173 bsr L0292
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
174 bsr L024F
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
175 lbra L0199
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
176 L0240 clrb
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
177 L0241 os9 F$Exit
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
178 L0244 lda ,y
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
179 anda #$7F
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
180 bsr L0296
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
181 lda ,y+
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
182 bpl L0244
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
183 rts
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
184 L024F pshs y,x,a
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
185 lda #C$CR
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
186 bsr L0296
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
187 leax <u002A,u
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
188 stx <u0006
843
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
189 tst <narrow
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
190 beq L0264
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
191 ldy #$0020
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
192 bra L0268
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
193 L0264 ldy #80
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
194 L0268 lda #$01
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
195 os9 I$WritLn
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
196 puls pc,y,x,a
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
197 L026F clr <u0005
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
198 lda #$FF
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
199 L0273 inca
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
200 subb #$64
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
201 bcc L0273
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
202 bsr L0289
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
203 lda #$0A
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
204 L027C deca
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
205 addb #$0A
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
206 bcc L027C
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
207 bsr L0289
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
208 tfr b,a
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
209 adda #$30
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
210 bra L0296
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
211 L0289 tsta
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
212 beq L028E
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
213 sta <u0005
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
214 L028E tst <u0005
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
215 bne L0294
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
216 L0292 lda #$F0
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
217 L0294 adda #$30
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
218 L0296 pshs x
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
219 ldx <u0006
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
220 sta ,x+
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
221 stx <u0006
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
222 puls pc,x
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
223 L02A0 pshs a
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
224 anda #$F0
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
225 lsra
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
226 lsra
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
227 lsra
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
228 lsra
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
229 bsr L02AE
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
230 puls a
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
231 anda #$0F
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
232 L02AE adda #$30
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
233 cmpa #$39
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
234 bls L0296
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
235 adda #$07
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
236 bra L0296
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
237 L02B8 fdb $2710,$03e8,$0064,$000a
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
238 fcb $00,$01,$ff
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
239
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
240 L02C3 pshs y,x,b,a
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
241 leax <L02B8,pcr
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
242 ldy #$2F20
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
243 L02CC leay >$0100,y
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
244 subd ,x
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
245 bcc L02CC
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
246 addd ,x++
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
247 pshs b,a
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
248 tfr y,d
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
249 tst ,x
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
250 bmi L02F4
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
251 ldy #$2F30
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
252 cmpd #$3020
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
253 bne L02EE
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
254 ldy #$2F20
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
255 lda #$20
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
256 L02EE bsr L0296
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
257 puls b,a
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
258 bra L02CC
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
259 L02F4 bsr L0296
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
260 leas $02,s
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
261 puls pc,y,x,b,a
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
262 L02FA pshs u,x
843
988c55027093 Now uses -e instead of e
boisy
parents: 335
diff changeset
263 leay >ItsDead,pcr
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
264 lda $0C,x
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
265 bita #$01
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
266 bne L0330
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
267 leay <$40,x
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
268 tfr y,d
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
269 ldx <$11,x
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
270 ldy #$0009
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
271 leau u000A,u
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
272 os9 F$CpyMem
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
273 pshs b,a
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
274 ldd u0004,u
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
275 leax d,x
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
276 puls b,a
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
277 ldy #$0020
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
278 os9 F$CpyMem
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
279 leay ,u
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
280 lda <$1F,y
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
281 ora #$80
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
282 sta <$1F,y
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
283 L0330 puls pc,u,x
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
284
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
285 emod
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
286 eom equ *
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
287 end
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
diff changeset
288