Rev 346 | Rev 389 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 346 | Rev 358 | ||
---|---|---|---|
Line 407... | Line 407... | ||
407 | jg hd_timeout_error |
407 | jg hd_timeout_error |
408 | pop eax |
408 | pop eax |
409 | mov [hd_error],0 |
409 | mov [hd_error],0 |
410 | ret |
410 | ret |
Line 411... | Line 411... | ||
411 | 411 | ||
412 | iglobal |
412 | ;iglobal |
413 | hd_timeout_str db 'K : FS - HD timeout',13,10,0 |
413 | ; hd_timeout_str db 'K : FS - HD timeout',0 |
414 | hd_read_str db 'K : FS - HD read error',13,10,0 |
414 | ; hd_read_str db 'K : FS - HD read error',0 |
415 | hd_write_str db 'K : FS - HD write error',13,10,0 |
415 | ; hd_write_str db 'K : FS - HD write error',0 |
416 | hd_lba_str db 'K : FS - HD LBA error',13,10,0 |
416 | ; hd_lba_str db 'K : FS - HD LBA error',0 |
Line 417... | Line 417... | ||
417 | endg |
417 | ;endg |
Line 418... | Line 418... | ||
418 | 418 | ||
419 | hd_timeout_error: |
419 | hd_timeout_error: |
420 | 420 | ||
421 | ; call clear_hd_cache |
421 | ; call clear_hd_cache |
- | 422 | ; call clear_application_table_status |
|
422 | ; call clear_application_table_status |
423 | ; mov esi,hd_timeout_str |
423 | mov esi,hd_timeout_str |
424 | ; call sys_msg_board_str |
424 | call sys_msg_board_str |
425 | DEBUGF 1,"K : FS - HD timeout\n" |
425 | ; jmp $ |
426 | ; jmp $ |
Line 426... | Line 427... | ||
426 | mov [hd_error],1 |
427 | mov [hd_error],1 |
Line 427... | Line 428... | ||
427 | pop eax |
428 | pop eax |
428 | ret |
429 | ret |
429 | 430 | ||
430 | hd_read_error: |
431 | hd_read_error: |
- | 432 | ||
431 | 433 | ; call clear_hd_cache |
|
432 | ; call clear_hd_cache |
434 | ; call clear_application_table_status |
Line 433... | Line 435... | ||
433 | ; call clear_application_table_status |
435 | ; mov esi,hd_read_str |
Line 434... | Line 436... | ||
434 | mov esi,hd_read_str |
436 | ; call sys_msg_board_str |
435 | call sys_msg_board_str |
437 | DEBUGF 1,"K : FS - HD read error\n" |
436 | pop edx eax |
438 | pop edx eax |
437 | ret |
439 | ret |
- | 440 | ||
438 | 441 | hd_write_error: |
|
Line 439... | Line 442... | ||
439 | hd_write_error: |
442 | |
440 | 443 | ; call clear_hd_cache |
|
441 | ; call clear_hd_cache |
444 | ; call clear_application_table_status |
442 | ; call clear_application_table_status |
445 | ; mov esi,hd_write_str |
443 | mov esi,hd_write_str |
446 | ; call sys_msg_board_str |
- | 447 | DEBUGF 1,"K : FS - HD write error\n" |
|
444 | call sys_msg_board_str |
448 | ret |
445 | ret |
449 | |
Line 446... | Line 450... | ||
446 | 450 | hd_write_error_dma: |
|
447 | hd_write_error_dma: |
451 | ; call clear_hd_cache |
448 | ; call clear_hd_cache |
452 | ; call clear_application_table_status |
449 | ; call clear_application_table_status |
453 | ; mov esi, hd_write_str |
450 | mov esi, hd_write_str |
454 | ; call sys_msg_board_str |
- | 455 | DEBUGF 1,"K : FS - HD read error\n" |
|
451 | call sys_msg_board_str |
456 | pop esi |
Line 452... | Line 457... | ||
452 | pop esi |
457 | ret |
453 | ret |
458 |