Subversion Repositories Kolibri OS

Rev

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

Rev 593 Rev 638
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2007. 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: 593 $
8
$Revision: 638 $
9
 
9
 
10
 
10
 
Line 428... Line 428...
428
 
428
 
429
           call destroy_kernel_object
429
           call destroy_kernel_object
Line 430... Line 430...
430
           ret
430
           ret
-
 
431
 
-
 
432
align 4
-
 
433
select_cursor:
-
 
434
 
-
 
435
           ret 4
431
 
436
 
432
align 4
437
align 4
433
proc init_cursors
438
proc init_cursors
Line 434... Line 439...
434
           cmp [SCR_MODE],word 0x13
439
           cmp [SCR_MODE],word 0x13
Line 470... Line 475...
470
 
475
 
471
           movzx ebx, byte [ScreenBPP]
476
           movzx ebx, byte [ScreenBPP]
472
           cmp ebx, 32
477
           cmp ebx, 32
Line -... Line 478...
-
 
478
           jne @F
-
 
479
 
473
           jne @F
480
 
474
 
481
           mov dword [select_hw_cursor], select_cursor
475
           mov dword [set_hw_cursor], cursor_32
482
           mov dword [set_hw_cursor], cursor_32
476
           mov dword [hw_restore], restore_32
483
           mov dword [hw_restore], restore_32
-
 
484
           ret
477
           ret
485
@@:
478
@@:
486
           mov dword [select_hw_cursor], select_cursor
479
           mov dword [set_hw_cursor], cursor_24
487
           mov dword [set_hw_cursor], cursor_24
480
           mov dword [hw_restore], restore_24
488
           mov dword [hw_restore], restore_24
481
           ret
489
           ret
-
 
490
.fail:
482
.fail:
491
           xor eax, eax
483
           xor eax, eax
492
           mov dword [select_hw_cursor], eax
484
           mov dword [set_hw_cursor], eax
493
           mov dword [set_hw_cursor], eax
485
           mov dword [hw_restore], eax
494
           mov dword [hw_restore], eax