Subversion Repositories Kolibri OS

Rev

Rev 9958 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2288 clevermous 1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                              ;;
10051 ace_dent 3
;; Copyright (C) KolibriOS team 2004-2024. All rights reserved. ;;
2288 clevermous 4
;; Distributed under terms of the GNU General Public License    ;;
5
;;                                                              ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
7
 
8
 
9
; boot data: common strings (for all languages)
10
macro line_full_top {
9958 dunkaist 11
        db      201
12
        times   78 db 205
13
        db      187
2288 clevermous 14
}
15
macro line_full_bottom {
9958 dunkaist 16
        db      200
17
        times   78 db 205
18
        db      188
2288 clevermous 19
}
20
macro line_half {
9958 dunkaist 21
        db      186,' '
22
        times   76 db 0xc4
23
        db      ' ', 186
2288 clevermous 24
}
25
macro line_space {
9958 dunkaist 26
        db      186
27
        times   78 db 32
28
        db      186
2288 clevermous 29
}
30
d80x25_top:
31
                line_full_top
9958 dunkaist 32
if __REV__ > 0
33
  cur_line_pos = 75
34
        store byte ' ' at d80x25_top+cur_line_pos+1
35
  rev_var = __REV__
36
  while rev_var > 0
37
        store byte rev_var mod 10 + '0' at d80x25_top+cur_line_pos
38
        cur_line_pos = cur_line_pos - 1
39
        rev_var = rev_var / 10
40
  end while
41
        store byte ' ' at d80x25_top+cur_line_pos
42
        store dword ' SVN' at d80x25_top+cur_line_pos-4
43
end if
2288 clevermous 44
 
45
space_msg:
46
                line_space
47
verstr:
48
;               line_space
49
; version string
50
        db 186,32
51
        repeat 78
9958 dunkaist 52
                load a byte from kernel_header.signature+%-1
2288 clevermous 53
                if a = 13
54
                        break
55
                end if
56
                db a
57
        end repeat
58
        repeat 78 - ($-verstr)
59
                db      ' '
60
        end repeat
61
        db 32,186
62
                line_half
63
d80x25_top_num = 4