]> cloudbase.mooo.com Git - avrcpm.git/blobdiff - avr/dsk_fat16.asm
* avr/dsk_fsys.asm
[avrcpm.git] / avr / dsk_fat16.asm
index fd8715fc1564c3ef983733786a4b7091203eb6fe..96ed44f439655c510fc6dc3a8cbdaef1258b8e33 100644 (file)
@@ -864,7 +864,6 @@ fat_hostparam:
        mov     temp,zl
        subi    temp,-('A')
        lcall   uartputc
-       printstring ": "
 .endif
 
        rcall   dsk_getpartentry        ; get partition entry
@@ -874,7 +873,7 @@ fat_hostparam:
 
 
 .if HOSTRW_DEBUG
-       printstring "lba: "
+       printstring ": lba "
        push    r15
        push    r14
        clr     r14
@@ -892,7 +891,7 @@ fat_hostparam:
        brcs    fat_hp1
        
 .if HOSTRW_DEBUG
-       printstring ", max: "
+       printstring ", max "
        push    r15
        push    r14
        push    temp2
@@ -1025,7 +1024,7 @@ fat_add_offset:
 .endif
 
 .if HOSTRW_DEBUG
-       printstring ", abs:"
+       printstring ", abs "
        push    r15
        push    r14
        push    temp2
@@ -1037,7 +1036,6 @@ fat_add_offset:
        pop     temp2
        pop     r14
        pop     r15
-       printstring " "
 .endif
 
        ori     temp,255
@@ -1058,8 +1056,7 @@ fat_hpex:
 
 fat_writehost:
 .if HOSTRW_DEBUG
-       printnewline
-       printstring "host write "
+       printstring ", hst WR "
 .endif
        rcall   fat_hostparam
        breq    fat_rdwr_err
@@ -1109,30 +1106,12 @@ fat_rdwr_err:
 
 fat_readhost:
 .if HOSTRW_DEBUG
-       printnewline
-       printstring "host read  "
+       printstring ", hst RD "
 .endif
 
        rcall   fat_hostparam
        breq    fat_rdwr_err
        
-       
-.if FAT16_RWDEBUG > 0
-       printstring "Read Image Sector:"
-       push    r15
-       push    r14
-       push    temp2
-       push    temp
-       movw    temp,x
-       movw    r14,y
-       lcall   print_ultoa
-       pop     temp
-       pop     temp2
-       pop     r14
-       pop     r15
-       printnewline
-.endif
-       
        lcall   mmcReadSect
        tst     temp
        breq    fat_rdwr_ok