Subversion Repositories Kolibri OS

Rev

Rev 8091 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8091 Rev 8092
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: 8091 $
8
$Revision: 8092 $
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 67... Line 67...
67
        mov     [es:preboot_biosdisk], al
67
        mov     [es:preboot_biosdisk], al
68
.nothing:
68
.nothing:
69
        ret
69
        ret
Line 70... Line 70...
70
 
70
 
71
parse_imgfrom:
71
parse_imgfrom:
72
; boot device (1-floppy 2-kolibri.img using primary loader)
72
; boot device (1-floppy 2-kolibri.img using primary loader, 3-don't use ramdisk)
73
        call    parse_number
73
        call    parse_number
74
        jc      .nothing
74
        jc      .nothing
75
        cmp     al, 1
75
        cmp     al, 1
76
        jb      .nothing
76
        jb      .nothing