Subversion Repositories Kolibri OS

Rev

Rev 8055 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8055 Rev 9932
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2015. 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: 8055 $
8
$Revision: 9932 $
9
 
9
 
10
 
10
 
11
;**********************************************************
11
;**********************************************************
12
;  Direct work with floppy disk drive
12
;  Direct work with floppy disk drive
Line 13... Line -...
13
;**********************************************************
-
 
14
; Source code author -  Kulakov Vladimir Gennadievich.
-
 
15
; Adaptation and improvement -  Mario79.
-
 
16
 
-
 
17
;give_back_application_data:  ; give back to application
13
;**********************************************************
18
;     mov edi,[TASK_BASE]
14
; Source code author -  Kulakov Vladimir Gennadievich.
19
;     mov edi,[edi+TASKDATA.mem_start]
15
; Adaptation and improvement -  Mario79.
20
;     add edi,ecx
16
 
21
give_back_application_data_1:
17
give_back_application_data_1:
22
        mov     esi, FDD_BUFF;FDD_DataBuffer  ;0x40000
18
        mov     esi, FDD_BUFF;FDD_DataBuffer  ;0x40000
Line 23... Line -...
23
        mov     ecx, 128
-
 
24
        cld
-
 
25
        rep movsd
-
 
26
        ret
-
 
27
 
19
        mov     ecx, 128
28
;take_data_from_application:   ; take from application
20
        cld
29
;     mov esi,[TASK_BASE]
21
        rep movsd
30
;     mov esi,[esi+TASKDATA.mem_start]
22
        ret
31
;     add esi,ecx
23