]> cloudbase.mooo.com Git - avrcpm.git/blobdiff - avr/dsk_fsys.asm
* avr/dsk_fat16.asm
[avrcpm.git] / avr / dsk_fsys.asm
index f5069db297861129f9977fcce0580e1f313f7efc..eb9a030123d14b775e8eb1b0be99113298a74705 100644 (file)
@@ -30,7 +30,7 @@
 
 ; Fields in the parttabl
 
-       .equ    MAXDISKS  = 8                   ;Max number of Disks (partitions)
+       .equ    MAXDISKS       = 8              ;Max number of Disks (partitions)
        .equ    PARTENTRY_SIZE = 9              ;Size of a Partitiontableentry
 
        .equ    PTAB_TYPE       = 0
@@ -702,11 +702,9 @@ dsk_format_get:
 
 ; Get first sector (512 byte) of current drive into hostbuf.
 
-       push    temp3
        ldi     temp,0                  
        ldi     temp2,0                 ;
        rcall   dsk_readhost_lba
-       pop     temp3
        
 ; Test for variable format avrcpmhd.