Subversion Repositories Kolibri OS

Rev

Rev 425 | Rev 593 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
425 victor 1
$Revision: 431 $
431 serge 2
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3
;;                                                              ;;
4
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
5
;; Distributed under terms of the GNU General Public License    ;;
6
;;                                                              ;;
7
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
8
 
1 ha 9
;***************************************************
10
;      предварительная очистка области таблицы
11
;      поиск и занесение в таблицу приводов FDD
12
;      автор Mario79
13
;***************************************************
14
        xor  eax,eax
381 serge 15
        mov  edi,DRIVE_DATA
16
        mov  ecx,16384
1 ha 17
        cld
18
        rep  stosd
19
 
20
      mov al,0x10
21
      out 0x70,al
22
      mov  cx,0xff
23
wait_cmos:
24
      dec  cx
25
      cmp cx,0
26
      jne wait_cmos
27
      in  al,0x71
381 serge 28
      mov [DRIVE_DATA],al