Subversion Repositories Kolibri OS

Rev

Rev 2987 | Rev 3555 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2987 Rev 3500
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;;
4
;; Distributed under terms of the GNU General Public License    ;;
4
;; Distributed under terms of the GNU General Public License    ;;
5
;;                                                              ;;
5
;;                                                              ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
$Revision: 2987 $
8
$Revision: 3500 $
9
 
9
 
10
 
10
 
Line 338... Line 338...
338
 
338
 
339
;    call  clear_hd_cache
339
;    call  clear_hd_cache
340
;    call  clear_application_table_status
340
;    call  clear_application_table_status
341
;    mov   esi,hd_timeout_str
341
;    mov   esi,hd_timeout_str
-
 
342
;    call  sys_msg_board_str
-
 
343
    if lang eq sp
-
 
344
    DEBUGF 1,"K : FS - HD tiempo de espera agotado\n"
342
;    call  sys_msg_board_str
345
    else
-
 
346
    DEBUGF 1,"K : FS - HD timeout\n"
Line 343... Line 347...
343
    DEBUGF 1,"K : FS - HD timeout\n"
347
    end if
344
 
348
 
345
        mov     [hd_error], 1
349
        mov     [hd_error], 1
Line 350... Line 354...
350
 
354
 
351
;    call  clear_hd_cache
355
;    call  clear_hd_cache
352
;    call  clear_application_table_status
356
;    call  clear_application_table_status
353
;    mov   esi,hd_read_str
357
;    mov   esi,hd_read_str
-
 
358
;    call  sys_msg_board_str
-
 
359
    if lang eq sp
-
 
360
    DEBUGF 1,"K : FS - HD error de lectura\n"
354
;    call  sys_msg_board_str
361
    else
-
 
362
    DEBUGF 1,"K : FS - HD read error\n"
355
    DEBUGF 1,"K : FS - HD read error\n"
363
    end if
356
    pop   edx eax
364
    pop   edx eax
Line 357... Line 365...
357
    ret
365
    ret
Line 358... Line 366...
358
 
366
 
359
hd_write_error:
367
hd_write_error:
360
 
368
 
361
;    call  clear_hd_cache
369
;    call  clear_hd_cache
-
 
370
;    call  clear_application_table_status
-
 
371
;     mov   esi,hd_write_str
-
 
372
;     call  sys_msg_board_str
362
;    call  clear_application_table_status
373
    if lang eq sp
-
 
374
    DEBUGF 1,"K : FS - HD error de escritura\n"
363
;     mov   esi,hd_write_str
375
    else
Line 364... Line 376...
364
;     call  sys_msg_board_str
376
    DEBUGF 1,"K : FS - HD write error\n"
365
    DEBUGF 1,"K : FS - HD write error\n"
377
    end if
366
     ret
378
     ret
367
 
379
 
368
hd_write_error_dma:
380
hd_write_error_dma:
-
 
381
;        call    clear_hd_cache
-
 
382
;        call    clear_application_table_status
-
 
383
;        mov     esi, hd_write_str
369
;        call    clear_hd_cache
384
;        call    sys_msg_board_str
-
 
385
        if lang eq sp
370
;        call    clear_application_table_status
386
        DEBUGF 1,"K : FS - HD error de escritura\n"
371
;        mov     esi, hd_write_str
387
        else
Line 372... Line 388...
372
;        call    sys_msg_board_str
388
        DEBUGF 1,"K : FS - HD write error\n"
373
        DEBUGF 1,"K : FS - HD read error\n"
389
        end if
374
        pop     esi
390
        pop     esi
375
        ret
391
        ret
376
 
392
 
-
 
393
hd_lba_error:
-
 
394
;    call  clear_hd_cache
-
 
395
;    call  clear_application_table_status
377
hd_lba_error:
396
;    mov   esi,hd_lba_str
-
 
397
;    call  sys_msg_board_str
378
;    call  clear_hd_cache
398
     if lang eq sp
Line 379... Line 399...
379
;    call  clear_application_table_status
399
     DEBUGF 1,"K : FS - HD error en LBA\n"
380
;    mov   esi,hd_lba_str
400
     else