Subversion Repositories Kolibri OS

Rev

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

Rev 2288 Rev 2384
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2008. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2008. 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: 2288 $
8
$Revision: 2384 $
9
 
9
 
10
 
10
 
Line 889... Line 889...
889
        popa
889
        popa
890
        mov     [hd_error], 1
890
        mov     [hd_error], 1
891
        jmp     hd_write_error
891
        jmp     hd_write_error
Line 892... Line 892...
892
 
892
 
893
uglobal
893
uglobal
894
int13_regs_in   rb      v86_regs.size
894
int13_regs_in   rb      sizeof.v86_regs
895
int13_regs_out  rb      v86_regs.size
895
int13_regs_out  rb      sizeof.v86_regs
Line 896... Line 896...
896
endg
896
endg
897
 
897
 
898
int13_call:
898
int13_call:
Line 905... Line 905...
905
        mov     dword [OS_BASE + 518h], eax
905
        mov     dword [OS_BASE + 518h], eax
906
        and     dword [OS_BASE + 51Ch], 0
906
        and     dword [OS_BASE + 51Ch], 0
907
        push    ebx ecx esi edi
907
        push    ebx ecx esi edi
908
        mov     ebx, int13_regs_in
908
        mov     ebx, int13_regs_in
909
        mov     edi, ebx
909
        mov     edi, ebx
910
        mov     ecx, v86_regs.size/4
910
        mov     ecx, sizeof.v86_regs/4
911
        xor     eax, eax
911
        xor     eax, eax
912
        rep stosd
912
        rep stosd
913
        mov     byte [ebx+v86_regs.eax+1], dl
913
        mov     byte [ebx+v86_regs.eax+1], dl
914
        mov     eax, [hdpos]
914
        mov     eax, [hdpos]
915
        lea     eax, [BiosDisksData+(eax-80h)*4]
915
        lea     eax, [BiosDisksData+(eax-80h)*4]