view 3rdparty/utils/boisy/makdir.asm @ 1163:5cbcbfd738ae

Added
author boisy
date Thu, 08 May 2003 20:50:59 +0000
parents 6641a883d6b0
children 0e08f0830fd8
line wrap: on
line source

         nam     MakDir Vr. 5
         ttl     Automatically capitalizes directories

         ifp1
         use     defsfile
         endc

         mod     Size,Name,Prgrm+Objct,Reent+1,Start,Fin

Name     fcs     /MakDir/
Vrsn     fcb     $05

         org     0

Stuff    rmb     80
Stack    rmb     200
Fin      equ     .

Start    pshs    x
Loop     lda     ,x+
         cmpa    #'a
         blo     DecIt
         cmpa    #'z
         bhi     DecIt
         anda    #$df
         sta     -1,x
DecIt    decb
         bne     Loop
         puls    x
MakDir   ldb     #$bf
Execute  os9     I$MakDir 
         bcs     Error
         clrb
Error    os9     F$Exit 
         emod
size     equ     *
         end