home *** CD-ROM | disk | FTP | other *** search
- // "Dinamo" (Stone family) cure
- #include "dlink.h"
-
- far cure() { uint register Sector, i, j1;
-
- Sector=((uint far*)(Header+0x11))[0];
- j1=((uint far*)(Header+0x16))[0];
-
- asm {
- mov cl,5
- ror Sector,cl
- mov ax,j1
- add Sector,ax
- rol Sector,1
- }
-
- i=((uint far*)(Header+0x18))[0];
- return Move_AbsSect_to_Boot( (Sector%i)+1 , Sector/i ); }
-