Subversion Repositories Kolibri OS

Rev

Rev 750 | Blame | Last modification | View Log | Download | RSS feed

  1. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2. ;;                                                              ;;
  3. ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
  4. ;; Distributed under terms of the GNU General Public License    ;;
  5. ;;                                                              ;;
  6. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  7.  
  8. $Revision: 1942 $
  9.  
  10.  
  11. flm               db 0
  12. preboot_lfb       db 0
  13. preboot_bootlog   db 0
  14. boot_drive        db 0
  15. bx_from_load:     dw 'r1'  ; ñòðóêòóðà äëÿ õðàíåíèÿ ïàðàìåòðîâ- îòêóäà ãàøðóçèëèñü, áåðåòñÿ íèæå èç bx ; {SPraid}[13.03.2007]
  16.                            ; a,b,c,d - âèí÷åñòåðû, r - ðàì äèñê
  17.                            ; # äèñêà... ñèìâîë, à íå áàéò. '1', à íå 1
  18.  
  19. align 4
  20. old_ints_h:
  21.     dw      0x400
  22.     dd      0
  23.     dw      0
  24.  
  25. ; table for move to extended memory (int 15h, ah=87h)
  26. align 8
  27. movedesc:
  28.         db      0x00,0x00,0x0,0x00,0x00,0x00,0x0,0x0
  29.         db      0x00,0x00,0x0,0x00,0x00,0x00,0x0,0x0
  30.  
  31.         db      0xff,0xff,0x0,0xa0,0x00,0x93,0x0,0x0
  32.         db      0xff,0xff,0x0,0x00,0x10,0x93,0x0,0x0
  33.  
  34.         db      0x00,0x00,0x0,0x00,0x00,0x00,0x0,0x0
  35.         db      0x00,0x00,0x0,0x00,0x00,0x00,0x0,0x0
  36.         db      0x00,0x00,0x0,0x00,0x00,0x00,0x0,0x0
  37.         db      0x00,0x00,0x0,0x00,0x00,0x00,0x0,0x0
  38.  
  39. fwmovedesc:
  40.         db      0x00,0x00,0x0,0x00,0x00,0x00,0x0,0x0
  41.         db      0x00,0x00,0x0,0x00,0x00,0x00,0x0,0x0
  42.  
  43.         db      0xff,0xff,0x0,0x00,0x10,0x93,0x0,0x0
  44.         db      0xff,0xff,0x0,0xa0,0x00,0x93,0x0,0x0
  45.  
  46.         db      0x00,0x00,0x0,0x00,0x00,0x00,0x0,0x0
  47.         db      0x00,0x00,0x0,0x00,0x00,0x00,0x0,0x0
  48.         db      0x00,0x00,0x0,0x00,0x00,0x00,0x0,0x0
  49.         db      0x00,0x00,0x0,0x00,0x00,0x00,0x0,0x0
  50.  
  51. ; look in PrimaryLoader.txt for the description
  52. bootdevice      dw      0                       ; ax from primary loader
  53. bootfs          dw      0                       ; bx from primary loader
  54. bootcallback    dd      0                       ; ds:si from primary loader
  55. ; data for configuration file loading, look in PrimaryLoader.txt
  56. config_file_struct:
  57.         dw      0, 4000h ; load to 4000:0000
  58.         dw      16       ; read no more than 16*4K = 64K
  59.         db      'config.ini',0
  60. ; data for configuration file parsing
  61. macro config_variable string,parser
  62. {
  63. local len
  64. len     dw      0
  65.         db      string
  66. store word $ - len - 2 at len
  67.         dw      parser
  68. }
  69. config_file_variables:
  70.         config_variable 'timeout', parse_timeout
  71.         config_variable 'resolution', parse_resolution
  72.         config_variable 'vbemode', parse_vbemode
  73.         config_variable 'vrr', parse_vrr
  74.         config_variable 'biosdisks', parse_biosdisks
  75.         config_variable 'imgfrom', parse_imgfrom
  76.         dw      0
  77. ; data for image file loading, look in PrimaryLoader.txt
  78. image_file_struct:
  79.         dw      0, 4000h ; load to 4000:0000
  80.         dw      16       ; read no more than 16*4K = 64K
  81.         db      'kolibri.img',0
  82.