mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-15 19:33:59 +03:00
2a2b5a8ff8
git-svn-id: svn://kolibrios.org@837 a494cfbc-eb01-0410-851d-a64ba20cac60
36 lines
1.3 KiB
PHP
36 lines
1.3 KiB
PHP
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
;; ;;
|
|
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
|
|
;; Distributed under terms of the GNU General Public License ;;
|
|
;; ;;
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
$Revision$
|
|
|
|
|
|
;
|
|
; Load of videomode driver in memory
|
|
;
|
|
; (driver is located at VMODE_BASE - 32kb) // if this area not occuped anything
|
|
;
|
|
; Author: Trans
|
|
; Date: 19.07.2003
|
|
;
|
|
; Include in MeOS kernel and compile with FASM
|
|
;
|
|
|
|
|
|
; LOAD VIDEOMODE DRIVER
|
|
; If vmode.mdr file not found
|
|
or eax,-1 ; Driver ID = -1 (not present in system)
|
|
mov [VMODE_BASE],eax ;
|
|
mov [VMODE_BASE+0x100],byte 0xC3 ; Instruction RETN - driver loop
|
|
|
|
stdcall read_file, vmode, VMODE_BASE, 0, 0x8000 ;{SPraid.simba}
|
|
; mov esi, vmode
|
|
; xor ebx, ebx
|
|
; mov ecx, 0x8000 ; size of memory area for driver
|
|
; mov edx, VMODE_BASE ; Memory position of driver
|
|
; xor ebp, ebp
|
|
; call fs_RamdiskRead
|