Subversion Repositories Kolibri OS

Rev

Rev 431 | Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. $Revision: 437 $
  2. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  3. ;;                                                              ;;
  4. ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
  5. ;; Distributed under terms of the GNU General Public License    ;;
  6. ;;                                                              ;;
  7. ;; KERNEL16.INC                                                 ;;
  8. ;;                                                              ;;
  9. ;; Included 16 bit kernel files for MenuetOS                    ;;
  10. ;;                                                              ;;
  11. ;; This file is kept separate as it will be easier to           ;;
  12. ;; maintain and compile with an automated SETUP program         ;;
  13. ;; in the future.                                               ;;
  14. ;;                                                              ;;
  15. ;; Copyright Ville Turjanmaa, see file COPYING for details.     ;;
  16. ;;                                                              ;;
  17. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  18.  
  19.  
  20. ;% +include
  21.  
  22. ;!!!
  23. include "boot/bootstr.inc"     ; language-independent boot messages
  24. if lang eq en
  25. include "boot/booteng.inc"     ; english system boot messages
  26. else if lang eq ru
  27. include "boot/bootru.inc"      ; russian system boot messages
  28. else if lang eq et
  29. include "boot/bootet.inc"      ; estonian system boot messages
  30. else
  31. include "boot/bootge.inc"      ; german system boot messages
  32. ;!!!
  33. end if
  34. if lang eq et
  35. include "boot/et.inc"          ; Estonian font
  36. else if lang eq ru
  37. include "boot/ru.inc"          ; Russian font
  38. end if
  39.  
  40. ; ñþäà äàííûå çàïèñûâàþòñÿ â 16 ðàçðÿäíîì ðåæèìå, ÷èòàþòñÿ â 32 ðàçðÿäíîì
  41. bx_from_load:                   ; ñòðóêòóðà äëÿ õðàíåíèÿ ïàðàìåòðîâ- îòêóäà ãàøðóçèëèñü, áåðåòñÿ íèæå èç bx ; {SPraid}[13.03.2007]
  42. .from_disc      db 0            ; a,b,c,d - âèí÷åñòåðû, r - ðàì äèñê
  43. .from_part      db 0,0          ; # äèñêà... ñèìâîë, à íå áàéò. '1', à íå 1
  44.  
  45. org $-0x10000
  46.  
  47. include "boot/bootcode.inc"    ; 16 bit system boot code
  48.  
  49. include "bus/pci/pci16.inc"
  50.  
  51. ;% -include
  52.