annotate level1/modules/boot_d64.asm @ 1347:89572d423498

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