KFM - fix "page fault" after copying

git-svn-id: svn://kolibrios.org@4340 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2013-12-10 21:45:05 +00:00
parent d148603f7d
commit 9ba170ff16
3 changed files with 18 additions and 3 deletions

View File

@ -31,6 +31,18 @@ add_write_file:
ret ret
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
proc_read_left_folder: proc_read_left_folder:
mov ebx,304
push ebx ecx
mov ecx,[appl_memory]
add ecx,ebx
mov [esp],ebx
mov ebx,[appl_memory]
mov [esp+4],ebx
mov [appl_memory],ecx
mcall 64,1
call move_up_right_table
pop ecx ebx
xor eax,eax xor eax,eax
mov [left_marked_counter],eax mov [left_marked_counter],eax
mov [read_folder.start],eax ;dword 0 mov [read_folder.start],eax ;dword 0
@ -143,6 +155,10 @@ error_handler:
ret ret
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
proc_read_right_folder: proc_read_right_folder:
mov ecx,[appl_memory]
add ecx,304
mov [appl_memory],ecx
mcall 64,1
xor eax,eax xor eax,eax
mov [right_marked_counter],eax mov [right_marked_counter],eax
mov [read_folder_1.start],eax ;dword 0 mov [read_folder_1.start],eax ;dword 0

View File

@ -25,7 +25,7 @@
; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS ; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
;***************************************************************************** ;*****************************************************************************
; KFM v0.47h 30/11/2013 ; KFM v0.47h 11/12/2013
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
use32 use32
org 0x0 org 0x0
@ -490,5 +490,4 @@ I_END:
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
include 'data.inc' include 'data.inc'
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
align 4096
mem: mem:

View File

@ -1,4 +1,4 @@
header_text db 'Kolibri File Manager v0.47h 30/11/2013',0 header_text db 'Kolibri File Manager v0.47h 11/12/2013',0
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
fbutton_name: fbutton_name:
.f1 db '1 Help',0 .f1 db '1 Help',0