Subversion Repositories Kolibri OS

Rev

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

  1. $Revision: 431 $
  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.  
  9. ;***************************************************
  10. ;      ïðåäâàðèòåëüíàÿ î÷èñòêà îáëàñòè òàáëèöû
  11. ;      ïîèñê è çàíåñåíèå â òàáëèöó ïðèâîäîâ FDD
  12. ;      àâòîð Mario79
  13. ;***************************************************
  14.         xor  eax,eax
  15.         mov  edi,DRIVE_DATA
  16.         mov  ecx,16384
  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
  28.       mov [DRIVE_DATA],al
  29.