Subversion Repositories Kolibri OS

Rev

Rev 5 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. ;======================================================================
  2. ;
  3. ;                           BOOT DATA
  4. ;
  5. ;======================================================================
  6.  
  7. macro line_full_top {
  8.           db       201
  9.           times    78   db 205
  10.           db       187
  11. }
  12. macro line_full_bottom {
  13.           db       200
  14.           times    78   db 205
  15.           db       188
  16. }
  17. macro line_half {
  18.           db      186,' '
  19.           times    76   db 0xc4
  20.           db      ' ',186
  21. }
  22. macro line_space {
  23.           db      186
  24.           times   78 db 32
  25.           db      186
  26. }
  27. d80x25_top:
  28.                 line_full_top
  29. space_msg:      line_space
  30. verstr:
  31. ;               line_space
  32. ; version string
  33.         db 186,32
  34.         repeat 78
  35.                 load a byte from version+%-1
  36.                 if a = 13
  37.                         break
  38.                 end if
  39.                 db a
  40.         end repeat
  41.         repeat 78 - ($-verstr)
  42.                 db      ' '
  43.         end repeat
  44.         db 32,186
  45.                 line_half
  46. d80x25_top_num = 4
  47. d80x25_bottom:
  48.           db       186,' KolibriOS based on MenuetOS and comes with ABSOLUTELY '
  49.           db       'NO WARRANTY            ',186
  50.           db       186,' See file COPYING for details                          '
  51.           db       '                       ',186
  52.           line_full_bottom
  53. d80x25_bottom_num = 3
  54.  
  55. novesa    db      "Display: EGA/CGA",13,10,0
  56. vervesa   db      "Version of Vesa: Vesa x.x ",13,10,0
  57. vervesa_off=22
  58. gr_mode   db      186," Vesa 2.0+ 16 M LFB:  [1] 640x480, [2] 800x600, "
  59.           db      "[3] 1024x768, [4] 1280x1024",13,10
  60.           db      186," Vesa 1.2  16 M Bnk:  [5] 640x480, [6] 800x600, "
  61.           db      "[7] 1024x768, [8] 1280x1024",13,10
  62.           db      186," EGA/CGA   256 Colors:  [9] 320x200, "
  63.           db      "VGA 16 Colors: [0]  640x480",13,10
  64.           db      186," Select mode: ",0
  65. bt24      db      13,10,186," Bits Per Pixel: 24",13,10,0
  66. bt32      db      13,10,186," Bits Per Pixel: 32",13,10,0
  67. vrrmprint db      13,10,186," Apply VRR? (picture frequency greater than 60Hz"
  68.           db      " only for transfers:",13,10
  69.           db      186," 1024*768->800*600 and 800*600->640*480) [1-yes,2-no]:",0
  70. askmouse  db      " Mouse at:"
  71.           db      " [1] PS/2 (USB), [2] Com1, [3] Com2."
  72.           db      " Select port [1-3]: ",0
  73. no_com1   db      13,10,186, " No COM1 mouse",0
  74. no_com2   db      13,10,186, " No COM2 mouse",0        
  75. gr_acc    db      13,10,186," Vesa 2.0+ : MTRR graphics acceleration "
  76.           db      "[1-yes/2-no] ? ",0
  77. gr_direct db      186," Use direct LFB writing? "
  78.           db      "[1-yes/2-no] ? ",0
  79. ;mem_model db      13,10,186," Motherboard memory [1-16 Mb / 2-32 Mb / "
  80. ;          db      "3-64Mb / 4-128 Mb / 5-256 Mb] ? ",0
  81. bootlog   db      13,10,186," After bootlog display [1-continue/2-pause] ? ",0
  82. bdev      db      186
  83.           db      " Load ramdisk from [1-floppy; 2-C:\menuet.img (FAT32);"
  84.           db      13,10,186,"                    "
  85.           db      "3-use preloaded ram-image from kernel restart]: ",0
  86. probetext db      13,10,13,10,186," Use standart graphics mode? [1-yes, "
  87.           db      "2-probe bios (Vesa 3.0)]: ",0
  88. ;memokz256 db      13,10,186," RAM 256 Mb",0
  89. ;memokz128 db      13,10,186," RAM 128 Mb",0
  90. ;memokz64  db      13,10,186," RAM 64 Mb",0
  91. ;memokz32  db      13,10,186," RAM 32 Mb",0
  92. ;memokz16  db      13,10,186," RAM 16 Mb",0
  93. prnotfnd  db      " pr. - not found.",0
  94. modena    db      "Fatal - VBE 0x112+ required.",0
  95. not386    db      "Fatal - CPU 386+ required.",0
  96. btns      db      13,10,186,"Fatal - Can't determine color depth.",0
  97. fatalsel  db      13,10,"Fatal - Graphics mode not supported by hardware.",0
  98. badsect   db      13,10,186," Fatal - Bad sector. Replace floppy. ",0
  99. memmovefailed db  "Fatal - Int 0x15 move failed.",0
  100. okt       db      " ... OK"
  101. linef     db      13,10,0
  102. diskload  db      13,10,186," Loading diskette: 00 %",8,8,8,8,0
  103. backspace db      8,0
  104. pros      db      "00",8,8,0
  105. boot_dev  db      0  ; 0=floppy, 1=hd
  106. start_msg db      "Press [abcd] to change settings, press [Enter] to continue booting",13,10,0
  107. time_msg  db      " or wait "
  108. time_str  db      " 5 seconds"
  109.           db      " before automatical continuation",13,10,0
  110. current_cfg_msg db "Current settings:",13,10,0
  111. curvideo_msg db   " [a] Videomode: ",0
  112. mode1     db      "640x480",0
  113. mode2     db      "800x600",0
  114. mode3     db      "1024x768",0
  115. mode4     db      "1280x1024",0
  116. modes_msg dw mode4-0x10000,mode1-0x10000,mode2-0x10000,mode3-0x10000
  117. modevesa20 db     " with LFB",0
  118. modevesa12 db     ", VESA 1.2 Bnk",0
  119. mode9     db      "320x200, EGA/CGA 256 colors",0
  120. mode10    db      "640x480, VGA 16 colors",0
  121. probeno_msg db    " (standard mode)",0
  122. probeok_msg db    " (check nonstandard modes)",0
  123. mtrr_msg  db      " [b] Use MTRR for graphics acceleration:",0
  124. on_msg    db      " on",13,10,0
  125. off_msg   db      " off",13,10,0
  126. vrrm_msg  db      " [c] Use VRR:",0
  127. preboot_device_msg db " [d] Floppy image: ",0
  128. preboot_device_msgs dw 0,pdm1-0x10000,pdm2-0x10000,pdm3-0x10000
  129. pdm1      db      "real floppy",13,10,0
  130. pdm2      db      "C:\menuet.img (FAT32)",13,10,0
  131. pdm3      db      "use already loaded image",13,10,0
  132. loading_msg db    "Loading KolibriOS...",0
  133. save_quest db     "Remember current settings? [y/n]: ",0
  134. loader_block_error db "Bootloader data invalid, I cannot continue. Stopped.",0
  135.