0
|
1 nam MakDir Vr. 5
|
|
2 ttl Automatically capitalizes directories
|
|
3
|
|
4 ifp1
|
|
5 use defsfile
|
|
6 endc
|
|
7
|
1260
|
8 mod Size,Name,Prgrm+Objct,ReEnt+1,Start,Fin
|
0
|
9
|
|
10 Name fcs /MakDir/
|
|
11 Vrsn fcb $05
|
|
12
|
|
13 org 0
|
|
14
|
|
15 Stuff rmb 80
|
|
16 Stack rmb 200
|
|
17 Fin equ .
|
|
18
|
|
19 Start pshs x
|
|
20 Loop lda ,x+
|
|
21 cmpa #'a
|
|
22 blo DecIt
|
|
23 cmpa #'z
|
|
24 bhi DecIt
|
|
25 anda #$df
|
|
26 sta -1,x
|
|
27 DecIt decb
|
|
28 bne Loop
|
|
29 puls x
|
|
30 MakDir ldb #$bf
|
|
31 Execute os9 I$MakDir
|
|
32 bcs Error
|
|
33 clrb
|
|
34 Error os9 F$Exit
|
1260
|
35
|
0
|
36 emod
|
1260
|
37 Size equ *
|
0
|
38 end
|
1260
|
39
|