/kernel/trunk/blkdev/rd.inc |
---|
1802,7 → 1802,12 |
jnz .disk_full2 |
dec edi |
dec edi |
lea eax, [edi-(RAMDISK_FAT)] |
; lea eax, [edi-(RAMDISK_FAT)] |
mov eax, edi |
sub eax, RAMDISK_FAT |
shr eax, 1 ; eax = cluster |
mov word [edi], 0xFFF ; mark as last cluster |
xchg edi, [esp] |
2294,7 → 2299,7 |
mov ebx, [ebx+4] |
test ebx, ebx |
jz @f |
add ebx, std_application_base_address |
; add ebx, std_application_base_address |
@@: |
;---------------------------------------------------------------- |