Subversion Repositories Kolibri OS

Rev

Rev 750 | Rev 2455 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

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