Subversion Repositories Kolibri OS

Rev

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

Rev 2229 Rev 2259
Line 66... Line 66...
66
;;
66
;;
67
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
67
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 68... Line 68...
68
 
68
 
Line 69... Line 69...
69
include 'macros.inc'
69
include 'macros.inc'
Line 70... Line 70...
70
 
70
 
Line 71... Line 71...
71
$Revision: 2229 $
71
$Revision: 2259 $
Line 647... Line 647...
647
;    mov    [dma_hdd],1
647
;    mov    [dma_hdd],1
648
; CALCULATE FAT CHAIN FOR RAMDISK
648
; CALCULATE FAT CHAIN FOR RAMDISK
Line 649... Line 649...
649
 
649
 
Line 650... Line -...
650
        call  calculatefatchain
-
 
651
 
-
 
652
; LOAD VMODE DRIVER
-
 
653
 
-
 
654
;!!!!!!!!!!!!!!!!!!!!!!!
-
 
655
include 'vmodeld.inc'
-
 
656
;!!!!!!!!!!!!!!!!!!!!!!!
650
        call  calculatefatchain
657
 
651
 
658
if 0
652
if 0
659
  mov ax,[OS_BASE+0x10000+bx_from_load]
653
  mov ax,[OS_BASE+0x10000+bx_from_load]
660
  cmp ax,'r1'           ; if using not ram disk, then load librares and parameters {SPraid.simba}
654
  cmp ax,'r1'           ; if using not ram disk, then load librares and parameters {SPraid.simba}
Line 865... Line 859...
865
  cmp ax,'r1'           ; if not rused ram disk - load network configuration from files {SPraid.simba}
859
  cmp ax,'r1'           ; if not rused ram disk - load network configuration from files {SPraid.simba}
866
  je  no_st_network
860
  je  no_st_network
867
        call set_network_conf
861
        call set_network_conf
868
  no_st_network:
862
  no_st_network:
Line -... Line 863...
-
 
863
 
-
 
864
        xchg bx, bx
-
 
865
        stdcall load_driver, ahci_driver
869
 
866
 
870
; LOAD FIRST APPLICATION
867
; LOAD FIRST APPLICATION
Line 871... Line 868...
871
        cli
868
        cli
872
 
869
 
Line 1006... Line 1003...
1006
        ; Fly :)
1003
        ; Fly :)
Line 1007... Line 1004...
1007
 
1004
 
1008
include 'unpacker.inc'
1005
include 'unpacker.inc'
Line -... Line 1006...
-
 
1006
include 'fdo.inc'
-
 
1007
 
1009
include 'fdo.inc'
1008
ahci_driver db 'AHCI',0
1010
 
1009
 
1011
align 4
1010
align 4
Line 1012... Line 1011...
1012
boot_log:
1011
boot_log:
Line 1602... Line 1601...
1602
    	ret
1601
    	ret
Line 1603... Line 1602...
1603
 
1602
 
1604
no_set_lba_read:
1603
no_set_lba_read:
1605
;     cmp  eax,12                     ; ENABLE PCI ACCESS
1604
;     cmp  eax,12                     ; ENABLE PCI ACCESS
1606
    	dec  ebx
1605
    	dec  ebx
1607
    	jnz  no_set_pci_access
1606
        jnz  sys_setup_err
1608
    	mov  [pci_access_enabled],ecx
1607
    	mov  [pci_access_enabled],ecx
1609
    	ret
-
 
1610
no_set_pci_access:
-
 
1611
 
-
 
1612
;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-
 
1613
include 'vmodeint.inc'
-
 
Line 1614... Line 1608...
1614
;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1608
    	ret
1615
 
1609
 
1616
sys_setup_err:
1610
sys_setup_err: