Subversion Repositories Kolibri OS

Rev

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

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