Subversion Repositories Kolibri OS

Rev

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

Rev 5363 Rev 7121
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2011-2015. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2011-2015. 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: 5363 $
8
$Revision: 7121 $
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
 
-
 
60
;parse_vrr:
-
 
61
;; vrr is a boolean setting
-
 
62
;        call    parse_bool
-
 
63
;        jc      .nothing
-
 
64
;; convert 0 to 2, 1 to 1
-
 
65
;        inc     ax
-
 
66
;        xor     al, 3
-
 
67
;        mov     [es:preboot_vrrm], al
-
 
68
;.nothing:
-
 
69
;        ret
-
 
70
 
59
 
71
parse_biosdisks:
60
parse_biosdisks:
72
; using biosdisks is a boolean setting
61
; using biosdisks is a boolean setting
73
        call    parse_bool
62
        call    parse_bool
74
        jc      .nothing
63
        jc      .nothing