Subversion Repositories Kolibri OS

Rev

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

Rev 925 Rev 946
Line 9... Line 9...
9
;;  KolibriOS 16-bit loader,                                    ;;
9
;;  KolibriOS 16-bit loader,                                    ;;
10
;;                        based on bootcode for MenuetOS        ;;
10
;;                        based on bootcode for MenuetOS        ;;
11
;;                                                              ;;
11
;;                                                              ;;
12
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
12
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 13... Line 13...
13
 
13
 
Line 14... Line 14...
14
$Revision: 925 $
14
$Revision: 946 $
15
 
15
 
16
 
16
 
Line 392... Line 392...
392
; DISPLAY VESA INFORMATION
392
; DISPLAY VESA INFORMATION
393
         call    print_vesa_info
393
         call    print_vesa_info
394
         call    calc_vmodes_table
394
         call    calc_vmodes_table
395
         call    check_first_parm  ;check and enable cursor_pos
395
         call    check_first_parm  ;check and enable cursor_pos
Line 396... Line -...
396
 
-
 
397
 
396
 
398
; \begin{diamond}[30.11.2005]
397
; \begin{diamond}[30.11.2005]
399
cfgmanager:
398
cfgmanager:
400
; settings:
399
; settings:
401
; a) preboot_graph = graphical mode
400
; a) preboot_graph = graphical mode
Line 444... Line 443...
444
        call    .gettime
443
        call    .gettime
445
        mov     [.starttime], eax
444
        mov     [.starttime], eax
446
        mov     word [.timer], .newtimer
445
        mov     word [.timer], .newtimer
447
        mov     word [.timer+2], cs
446
        mov     word [.timer+2], cs
448
.printcfg:
447
.printcfg:
-
 
448
 
449
        _setcursor 9,0
449
        _setcursor 9,0
450
        mov     si, current_cfg_msg
450
        mov     si, current_cfg_msg
451
        call    print
451
        call    print
452
        mov     si, curvideo_msg
452
        mov     si, curvideo_msg
453
        call    print
453
        call    print
Line 513... Line 513...
513
;        push    0
513
;        push    0
514
;        pop     es
514
;        pop     es
515
        mov     eax, [.oldtimer]
515
        mov     eax, [.oldtimer]
516
        mov     [es:8*4], eax
516
        mov     [es:8*4], eax
517
        mov     [.timer], eax
517
        mov     [.timer], eax
-
 
518
 
518
        _setcursor 7,0
519
        _setcursor 7,0
519
        mov     si, space_msg
520
        mov     si, space_msg
520
        call    printplain
521
        call    printplain
521
; clear remarks and restore normal attributes
522
; clear remarks and restore normal attributes
522
        push    es
523
        push    es
Line 765... Line 766...
765
        jz      .loadc
766
        jz      .loadc
766
        cmp     al, 'y'
767
        cmp     al, 'y'
767
        jnz     .waityn
768
        jnz     .waityn
768
        call    putchar
769
        call    putchar
769
        mov     byte [space_msg+80], 186
770
        mov     byte [space_msg+80], 186
-
 
771
 
770
        pop     eax
772
        pop     eax
771
        push    cs
773
        push    cs
772
        push    .cont
774
        push    .cont
773
        push    eax
775
        push    eax
774
        retf
776
        retf                          ;call back
775
.loadc:
777
.loadc:
776
        pop     eax
778
        pop     eax
777
.cont:
779
.cont:
778
        push    cs
780
        push    cs
779
        pop     ds
781
        pop     ds