Subversion Repositories Kolibri OS

Rev

Rev 3757 | Rev 3796 | 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. ;======================================================================
  9. ;
  10. ;                           BOOT DATA
  11. ;
  12. ;======================================================================
  13.  
  14. $Revision: 2455 $
  15.  
  16.  
  17. d80x25_bottom:
  18.           db       186,' KolibriOS comes with ABSOLUTELY NO WARRANTY. See file COP'
  19.           db       'YING for details    ',186
  20.           line_full_bottom
  21. d80x25_bottom_num = 2
  22.  
  23. msg_apm   db      " APM x.x ", 0
  24. novesa    db      "Display: EGA/CGA",13,10,0
  25. s_vesa    db      "Version of VESA: "
  26.   .ver    db      "?.?",13,10,0
  27.  
  28. gr_mode   db      "Select a videomode: ",13,10,0
  29.  
  30. ask_bd     db      "Add disks visible by BIOS emulated in V86-mode? [1-yes, 2-no]: ",0
  31.  
  32. if defined extended_primary_loader
  33. bdev      db      "Load ramdisk from [1-floppy; 2-kolibri.img]: ",0
  34. else
  35. bdev      db      "Load ramdisk from [1-floppy; 2-C:\kolibri.img (FAT32);"
  36.           db      13,10,186,"                    "
  37.           db      "3-use preloaded ram-image from kernel restart;"
  38.           db      13,10,186,"                    "
  39.           db      "4-create blank image]: ",0
  40. end if
  41.  
  42. prnotfnd  db      "Fatal - Videomode not found.",0
  43.  
  44. not386    db      "Fatal - CPU 386+ required.",0
  45. fatalsel  db      "Fatal - Graphics mode not supported by hardware.",0
  46. pres_key  db      "Press any key to choose a new videomode.",0
  47. badsect   db      13,10,186," Fatal - Bad sector. Replace floppy.",0
  48. memmovefailed db  13,10,186," Fatal - Int 0x15 move failed.",0
  49. okt       db      " ... OK"
  50. linef     db      13,10,0
  51. diskload  db      "Loading diskette: 00 %",8,8,8,8,0
  52. pros      db      "00"
  53. backspace2 db     8,8,0
  54. boot_dev  db      0  ; 0=floppy, 1=hd
  55. start_msg db      "Press [abc] to change settings, press [Enter] to continue booting",13,10,0
  56. time_msg  db      " or wait "
  57. time_str  db      " 5 seconds"
  58.           db      " before automatical continuation",13,10,0
  59. current_cfg_msg db "Current settings:",13,10,0
  60. curvideo_msg db   " [a] Videomode: ",0
  61.  
  62. mode0     db      "320x200, EGA/CGA 256 colors",13,10,0
  63. mode9     db      "640x480, VGA 16 colors",13,10,0
  64.  
  65. usebd_msg db      " [b] Add disks visible by BIOS:",0
  66. on_msg    db      " on",13,10,0
  67. off_msg   db      " off",13,10,0
  68.  
  69. preboot_device_msg db " [c] Floppy image: ",0
  70.  
  71. if defined extended_primary_loader
  72. preboot_device_msgs dw 0,pdm1,pdm2,0
  73. pdm1      db      "real floppy",13,10,0
  74. pdm2      db      "C:\kolibri.img (FAT32)",13,10,0
  75. else
  76. preboot_device_msgs dw 0,pdm1,pdm2,pdm3
  77. pdm1      db      "real floppy",13,10,0
  78. pdm2      db      "C:\kolibri.img (FAT32)",13,10,0
  79. pdm3      db      "use already loaded image",13,10,0
  80. pdm4      db      "create blank image",13,10,0
  81. end if
  82.  
  83. loading_msg db    "Loading KolibriOS...",0
  84.  
  85. if ~ defined extended_primary_loader
  86. save_quest db     "Remember current settings? [y/n]: ",0
  87. loader_block_error db "Bootloader data invalid, I cannot continue. Stopped.",0
  88. end if
  89.  
  90. _st:latin1 '║                   ┌───────────────────────────────┬─┐',13,10,0
  91. _r1:latin1 '║                   │  320x200  EGA/CGA 256 colors  │ │',13,10,0
  92. _r2:latin1 '║                   │  640x480  VGA 16 colors       │ │',13,10,0
  93. _rs:latin1 '║                   │  ????x????@??  SVGA VESA      │ │',13,10,0
  94. _bt:latin1 '║                   └───────────────────────────────┴─┘',13,10,0
  95.  
  96. remark1 db      "Default values were selected to match most of configurations, but not all.",0
  97. remark2 db      "If the system does not boot, try to disable the item [b].",0
  98. remarks dw      remark1, remark2
  99. num_remarks = 2
  100.