Subversion Repositories Kolibri OS

Rev

Rev 1962 | Rev 2288 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1962 Rev 2261
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2011. All rights reserved.      ;;
3
;; Copyright (C) KolibriOS team 2011. 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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
$Revision: 1962 $
8
$Revision: 2261 $
9
 
9
 
Line 10... Line 10...
10
; All parsers are called with ds:si -> value of the variable,
10
; All parsers are called with ds:si -> value of the variable,
Line 55... Line 55...
55
        jc      .nothing
55
        jc      .nothing
56
        mov     [es:number_vm], ax
56
        mov     [es:number_vm], ax
57
.nothing:
57
.nothing:
58
        ret
58
        ret
Line 59... Line 59...
59
 
59
 
60
parse_vrr:
60
;parse_vrr:
61
; vrr is a boolean setting
61
;; vrr is a boolean setting
62
        call    parse_bool
62
;        call    parse_bool
63
        jc      .nothing
63
;        jc      .nothing
64
; convert 0 to 2, 1 to 1
64
;; convert 0 to 2, 1 to 1
65
        inc     ax
65
;        inc     ax
66
        xor     al, 3
66
;        xor     al, 3
67
        mov     [es:preboot_vrrm], al
67
;        mov     [es:preboot_vrrm], al
68
.nothing:
68
;.nothing:
Line 69... Line 69...
69
        ret
69
;        ret
70
 
70
 
71
parse_biosdisks:
71
parse_biosdisks:
72
; using biosdisks is a boolean setting
72
; using biosdisks is a boolean setting