Rev 65 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 65 | Rev 74 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ;************************************************************* |
1 | ;************************************************************* |
- | 2 | ;* 29.04.2006 Elimination of hangup after the * |
|
- | 3 | ;* expiration hd_wait_timeout - Mario79 * |
|
2 | ;* 28.01.2006 find all Fat16/32 partition in all input point * |
4 | ;* 28.01.2006 find all Fat16/32 partition in all input point * |
3 | ;* to MBR - Mario79 * |
5 | ;* to MBR - Mario79 * |
4 | ;************************************************************* |
6 | ;************************************************************* |
Line 5... | Line 7... | ||
5 | 7 | ||
Line 98... | Line 100... | ||
98 | 100 | ||
99 | extended_already_set: |
101 | extended_already_set: |
100 | add eax,ebp ; mbr=mbr+0, ext_part=ext_start+relat_start |
102 | add eax,ebp ; mbr=mbr+0, ext_part=ext_start+relat_start |
101 | mov ebx,buffer |
103 | mov ebx,buffer |
- | 104 | call hd_read |
|
- | 105 | cmp [hd_error],0 |
|
Line 102... | Line 106... | ||
102 | call hd_read |
106 | jne problem_hd |
103 | 107 | ||
104 | cmp word [ebx+0x1fe],0xaa55 ; is it valid boot sector? |
108 | cmp word [ebx+0x1fe],0xaa55 ; is it valid boot sector? |
105 | jnz end_partition_chain |
109 | jnz end_partition_chain |
Line 247... | Line 251... | ||
247 | mov [PARTITION_START],eax |
251 | mov [PARTITION_START],eax |
Line 248... | Line 252... | ||
248 | 252 | ||
249 | mov [hd_setup],1 |
253 | mov [hd_setup],1 |
250 | mov ebx,buffer |
254 | mov ebx,buffer |
- | 255 | call hd_read ; read boot sector of partition |
|
- | 256 | cmp [hd_error],0 |
|
- | 257 | jne problem_fat_dec_count |
|
251 | call hd_read ; read boot sector of partition |
258 | |
Line 252... | Line 259... | ||
252 | mov [hd_setup],0 |
259 | mov [hd_setup],0 |
253 | 260 |