Rev 4624 | Rev 4700 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4624 | Rev 4641 | ||
---|---|---|---|
Line 69... | Line 69... | ||
69 | format binary as "mnt" |
69 | format binary as "mnt" |
Line 70... | Line 70... | ||
70 | 70 | ||
71 | include 'macros.inc' |
71 | include 'macros.inc' |
Line 72... | Line 72... | ||
72 | include 'struct.inc' |
72 | include 'struct.inc' |
Line 73... | Line 73... | ||
73 | 73 | ||
74 | $Revision: 4624 $ |
74 | $Revision: 4641 $ |
Line 2246... | Line 2246... | ||
2246 | call wakeup_osloop |
2246 | call wakeup_osloop |
2247 | ret |
2247 | ret |
2248 | ;------------------------------------------------------------------------------ |
2248 | ;------------------------------------------------------------------------------ |
2249 | align 4 |
2249 | align 4 |
2250 | sysfn_getdiskinfo: ; 18.11 = get disk info table |
2250 | sysfn_getdiskinfo: ; 18.11 = get disk info table |
2251 | ; cmp ecx,1 |
- | |
2252 | dec ecx |
2251 | dec ecx |
2253 | jnz full_table |
2252 | jnz .exit |
2254 | small_table: |
2253 | .small_table: |
2255 | call for_all_tables |
- | |
2256 | mov ecx, 10 |
- | |
2257 | cld |
- | |
2258 | rep movsb |
- | |
2259 | ret |
- | |
2260 | for_all_tables: |
- | |
2261 | mov edi, edx |
2254 | mov edi, edx |
2262 | mov esi, DRIVE_DATA |
2255 | mov esi, DRIVE_DATA |
2263 | ret |
- | |
2264 | full_table: |
- | |
2265 | ; cmp ecx,2 |
- | |
2266 | dec ecx |
- | |
2267 | jnz exit_for_anyone |
- | |
2268 | call for_all_tables |
- | |
2269 | mov ecx, DRIVE_DATA_SIZE/4 |
2256 | mov ecx, DRIVE_DATA_SIZE ;10 |
2270 | cld |
2257 | cld |
2271 | rep movsd |
2258 | rep movsb |
- | 2259 | .exit: |
|
2272 | ret |
2260 | ret |
2273 | ;------------------------------------------------------------------------------ |
2261 | ;------------------------------------------------------------------------------ |
2274 | sysfn_lastkey: ; 18.12 = return 0 (backward compatibility) |
2262 | sysfn_lastkey: ; 18.12 = return 0 (backward compatibility) |
2275 | and dword [esp+32], 0 |
2263 | and dword [esp+32], 0 |
2276 | ret |
2264 | ret |