Subversion Repositories Kolibri OS

Rev

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

  1. $Revision: 425 $
  2. ;======================================================================
  3. ;
  4. ;                           BOOT DATA
  5. ;
  6. ;======================================================================
  7.  
  8. macro line_full_top {
  9.           db       201
  10.           times    78   db 205
  11.           db       187
  12. }
  13. macro line_full_bottom {
  14.           db       200
  15.           times    78   db 205
  16.           db       188
  17. }
  18. macro line_half {
  19.           db      186,' '
  20.           times    76   db 0xc4
  21.           db      ' ',186
  22. }
  23. macro line_space {
  24.           db      186
  25.           times   78 db 32
  26.           db      186
  27. }
  28. d80x25_top:
  29.                 line_full_top
  30. space_msg:      line_space
  31. verstr:
  32. ;               line_space
  33. ; version string
  34.         db 186,32
  35.         repeat 78
  36.                 load a byte from version+%-1
  37.                 if a = 13
  38.                         break
  39.                 end if
  40.                 db a
  41.         end repeat
  42.         repeat 78 - ($-verstr)
  43.                 db      ' '
  44.         end repeat
  45.         db 32,186
  46.                 line_half
  47. d80x25_top_num = 4
  48. d80x25_bottom:
  49.           db       186,' KolibriOS based on MenuetOS and comes with ABSOLUTELY '
  50.           db       'NO WARRANTY            ',186
  51.           db       186,' See file COPYING for details                          '
  52.           db       '                       ',186
  53.           line_full_bottom
  54. d80x25_bottom_num = 3
  55.  
  56. novesa    db      "Display: EGA/CGA",13,10,0
  57. vervesa   db      "Version of Vesa: Vesa x.x",13,10,0
  58. vervesa_off=22
  59. msg_apm   db      " APM x.x ", 0
  60. gr_mode   db      186," Vesa 2.0+ 16 M LFB:  [1] 640x480, [2] 800x600, "
  61.           db      "[3] 1024x768, [4] 1280x1024",13,10
  62.           db      186," Vesa 1.2  16 M Bnk:  [5] 640x480, [6] 800x600, "
  63.           db      "[7] 1024x768, [8] 1280x1024",13,10
  64.           db      186," EGA/CGA   256 Colors:  [9] 320x200, "
  65.           db      "VGA 16 Colors: [0]  640x480",13,10
  66.           db      186," Select mode: ",0
  67. bt24      db      "Bits Per Pixel: 24",13,10,0
  68. bt32      db      "Bits Per Pixel: 32",13,10,0
  69. vrrmprint db      "Apply VRR? (picture frequency greater than 60Hz"
  70.           db      " only for transfers:",13,10
  71.           db      186," 1024*768->800*600 and 800*600->640*480) [1-yes,2-no]:",0
  72. ;askmouse  db      " Mouse at:"
  73. ;          db      " [1] PS/2 (USB), [2] Com1, [3] Com2."
  74. ;          db      " Select port [1-3]: ",0
  75. ;no_com1   db      13,10,186, " No COM1 mouse",0
  76. ;no_com2   db      13,10,186, " No COM2 mouse",0        
  77. ask_dma   db      "Use DMA for HDD writing? [1-yes/2-no]: ",0
  78. ;gr_direct db      186," Use direct LFB writing? "
  79. ;          db      "[1-yes/2-no] ? ",0
  80. ;mem_model db      13,10,186," Motherboard memory [1-16 Mb / 2-32 Mb / "
  81. ;          db      "3-64Mb / 4-128 Mb / 5-256 Mb] ? ",0
  82. ;bootlog   db      13,10,186," After bootlog display [1-continue/2-pause] ? ",0
  83. bdev      db      "Load ramdisk from [1-floppy; 2-C:\kolibri.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      "Fatal - Videomode not found.",0
  94. ;modena    db      "Fatal - VBE 0x112+ required.",0
  95. not386    db      "Fatal - CPU 386+ required.",0
  96. btns      db      "Fatal - Can't determine color depth.",0
  97. fatalsel  db      "Fatal - Graphics mode not supported by hardware.",0
  98. badsect   db      13,10,186," Fatal - Bad sector. Replace floppy.",0
  99. memmovefailed db  13,10,186," Fatal - Int 0x15 move failed.",0
  100. okt       db      " ... OK"
  101. linef     db      13,10,0
  102. diskload  db      "Loading diskette: 00 %",8,8,8,8,0
  103. pros      db      "00"
  104. backspace2 db     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. dma_msg   db      " [b] Use DMA for HDD writing:",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:\kolibri.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.