annotate level1/modules/boot_d64.asm @ 556:28a203bbd2cc

findstr and signal finished.
author roug
date Tue, 22 Oct 2002 19:09:04 +0000
parents 360005465b59
children 10957d54bf16
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
238
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
1 ********************************************************************
507
360005465b59 Added appropriate header
boisy
parents: 238
diff changeset
2 * Boot - Dragon floppy boot module
238
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
3 *
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
4 * $Id$
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
5 *
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
6 * Ed. Comments Who YY/MM/DD
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
7 * ------------------------------------------------------------------
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
8 * - Original Dragon Data distribution version
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
9 *
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
10 * $Log$
507
360005465b59 Added appropriate header
boisy
parents: 238
diff changeset
11 * Revision 1.2 2002/10/10 14:50:21 boisy
360005465b59 Added appropriate header
boisy
parents: 238
diff changeset
12 * Added appropriate header
360005465b59 Added appropriate header
boisy
parents: 238
diff changeset
13 *
238
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
14 * Revision 1.1 2002/07/18 19:46:07 roug
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
15 * We can now build a Dragon 64 kernel
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
16 *
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
17 * Revision 1.1 2002/04/21 21:27:50 roug
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
18 * These are the kernel modules from Dragon 64's OS9Boot.
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
19 * OS9 and OS9p2 are older than what's in ../MODULES so I checked them
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
20 * in as well.
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
21
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
22 nam Boot
507
360005465b59 Added appropriate header
boisy
parents: 238
diff changeset
23 ttl Dragon floppy boot module
238
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
24
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
25 * Disassembled 02/04/21 22:37:43 by Disasm v1.6 (C) 1988 by RML
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
26
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
27 ifp1
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
28 use defsfile
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
29 endc
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
30 tylg set Systm+Objct
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
31 atrv set ReEnt+rev
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
32 rev set $01
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
33 edition set 1
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
34 mod eom,name,tylg,atrv,start,size
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
35 u0000 rmb 2
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
36 u0002 rmb 1
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
37 u0003 rmb 1
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
38 u0004 rmb 1
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
39 size equ .
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
40 name equ *
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
41 fcs /Boot/
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
42 fcb edition
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
43
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
44 * First, we make a stack...
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
45 start clra
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
46 ldb #size
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
47 MakeStak pshs a
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
48 decb
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
49 bne MakeStak
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
50
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
51 tfr s,u
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
52 ldx #$FF40
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
53 u001F lda #$D0
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
54 u0021 sta ,x
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
55 u0023 lbsr L0178
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
56 lda ,x
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
57 lda >$FF22
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
58 lda #$FF
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
59 sta u0004,u
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
60 leax >L0105,pcr
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
61 stx >$010A
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
62 lda #$7E
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
63 sta >$0109
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
64 lda #$04
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
65 sta >$FF48
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
66
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
67 * delay loop
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
68 u0040 ldd #$C350
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
69 L0043 nop
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
70 nop
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
71 subd #$0001
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
72 u0048 bne L0043
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
73
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
74 pshs u,x,b,a
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
75 clra
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
76 clrb
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
77 ldy #$0001
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
78 ldx <u001F+1
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
79 ldu <u0021+1
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
80 os9 F$SchBit
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
81 bcs L009C
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
82 exg a,b
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
83 ldu $04,s
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
84 std u0002,u
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
85 clrb
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
86 * go get LSN0
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
87 ldx #$0000
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
88 bsr L00B9
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
89 bcs L009C
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
90
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
91 * get bootfile size from LSN0 and allocate memory for it
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
92 ldd <$18,y
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
93 std ,s
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
94 os9 F$SRqMem
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
95 bcs L009C
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
96 stu $02,s
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
97 ldu $04,s
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
98 ldx $02,s
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
99 stx u0002,u
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
100 ldx <$16,y
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
101 ldd <$18,y
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
102 beq L0095
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
103
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
104 * this loop reads a sector at a time from the bootfile
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
105 L0083 pshs x,b,a
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
106 clrb
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
107 bsr L00B9
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
108 bcs L009A
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
109 puls x,b,a
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
110 inc u0002,u
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
111 leax $01,x
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
112 subd #$0100
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
113 bhi L0083
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
114 L0095 clrb
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
115 puls b,a
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
116 bra L009E
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
117 L009A leas $04,s
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
118 L009C leas $02,s
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
119 L009E puls u,x
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
120 leas $05,s
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
121 rts
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
122 L00A3 clr ,u
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
123 clr u0004,u
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
124 lda #$05
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
125 L00A9 ldb #$43
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
126 pshs a
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
127 bsr L00B6
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
128 puls a
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
129 deca
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
130 bne L00A9
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
131 ldb #$03
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
132 L00B6 lbra L0164
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
133 L00B9 lda #$91
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
134 cmpx #$0000
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
135 bne L00D1
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
136 bsr L00D1
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
137 bcs L00C8
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
138 ldy u0002,u
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
139 clrb
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
140 L00C8 rts
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
141
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
142 L00C9 bcc L00D1
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
143 pshs x,b,a
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
144 bsr L00A3
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
145 puls x,b,a
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
146 L00D1 pshs x,b,a
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
147 bsr L00DC
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
148 puls x,b,a
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
149 bcc L00C8
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
150 lsra
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
151 bne L00C9
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
152 L00DC bsr L011B
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
153 bcs L00C8
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
154 ldx u0002,u
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
155 orcc #$50
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
156 pshs y,dp,cc
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
157 lda #$FF
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
158 tfr a,dp
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
159 lda #$34
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
160 sta <u0003
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
161 lda #$37
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
162 sta <u0023
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
163 lda <u0021+1
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
164 ldb #$88
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
165 stb <u0040
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
166 ldb #$24
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
167 stb <u0048
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
168 L00FC sync
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
169 lda <L0043
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
170 ldb <u0021+1
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
171 sta ,x+
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
172 bra L00FC
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
173 L0105 leas $0C,s
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
174 lda #$04
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
175 sta <u0048
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
176 lda #$34
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
177 sta <u0023
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
178 ldb <u0040
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
179 puls y,dp,cc
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
180 bitb #$04
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
181 beq L015E
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
182 L0117 comb
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
183 ldb #$F4
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
184 rts
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
185 L011B clr ,u
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
186 tfr x,d
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
187 cmpd #$0000
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
188 beq L0134
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
189 clr ,-s
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
190 bra L012B
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
191 L0129 inc ,s
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
192 L012B subd #$0012
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
193 bcc L0129
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
194 addb #$12
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
195 puls a
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
196 L0134 incb
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
197 L0135 stb >$FF42
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
198 bsr L0178
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
199 cmpb >$FF42
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
200 bne L0135
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
201 ldb u0004,u
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
202 stb >$FF41
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
203 cmpa u0004,u
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
204 beq L015C
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
205 sta u0004,u
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
206 sta >$FF43
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
207 ldb #$13
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
208 bsr L0164
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
209 pshs x
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
210 ldx #$222E
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
211 L0156 leax -$01,x
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
212 bne L0156
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
213 puls x
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
214 L015C clrb
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
215 rts
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
216 L015E bitb #$98
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
217 bne L0117
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
218 clrb
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
219 rts
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
220 L0164 bsr L0176
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
221 L0166 ldb >$FF40
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
222 lsrb
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
223 bcs L0166
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
224 rts
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
225 L016D lda #$04
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
226 sta >$FF48
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
227 stb >$FF40
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
228 rts
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
229 L0176 bsr L016D
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
230 L0178 lbsr L017B
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
231 L017B lbsr L017E
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
232 L017E rts
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
233 emod
d6c4f9985571 We can now build a Dragon 64 kernel
roug
parents:
diff changeset
234 eom equ *