Subversion Repositories Kolibri OS

Rev

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

Rev 431 Rev 465
Line 1... Line 1...
1
$Revision: 431 $
1
$Revision: 465 $
2
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3
;;                                                              ;;
3
;;                                                              ;;
4
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
4
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
5
;; Distributed under terms of the GNU General Public License    ;;
5
;; Distributed under terms of the GNU General Public License    ;;
6
;;                                                              ;;
6
;;                                                              ;;
Line 25... Line 25...
25
     cmp  eax,13                 ; CALL VIDEOMODE DRIVER FUNCTIONS
25
     cmp  eax,13                 ; CALL VIDEOMODE DRIVER FUNCTIONS
26
     jne  .no_vmode_drv_access
26
     jne  .no_vmode_drv_access
27
        pushd   [ScreenWidth] [ScreenHeight]
27
        pushd   [ScreenWidth] [ScreenHeight]
28
	popd	[old_screen_height] [old_screen_width]
28
	popd	[old_screen_height] [old_screen_width]
29
     or   eax,-1                 ; If driver is absent then eax does not change
29
     or   eax,-1                 ; If driver is absent then eax does not change
30
     call 0x760100               ; Entry point of video driver
30
     call OS_BASE+0x760100       ; Entry point of video driver
31
     mov  [esp+36],eax
31
     mov  [esp+36],eax
32
     mov  [esp+24],ebx
32
     mov  [esp+24],ebx
33
     mov  [esp+32],ecx
33
     mov  [esp+32],ecx
34
;    mov  [esp+28],edx
34
;    mov  [esp+28],edx
35
	mov	eax,[old_screen_width]
35
	mov	eax,[old_screen_width]