Subversion Repositories Kolibri OS

Rev

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

Rev 1306 Rev 1307
Line 9... Line 9...
9
;;  Distributed under GPL. See file COPYING for details.        ;;
9
;;  Distributed under GPL. See file COPYING for details.        ;;
10
;;  Copyright 2003 Ville Turjanmaa                              ;;
10
;;  Copyright 2003 Ville Turjanmaa                              ;;
11
;;                                                              ;;
11
;;                                                              ;;
12
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
12
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 13... Line 13...
13
 
13
 
Line 14... Line 14...
14
$Revision: 1306 $
14
$Revision: 1307 $
15
 
15
 
16
 
16
 
Line 282... Line 282...
282
	mov	eax,5
282
	mov	eax,5
283
        mov     [check_idle_semaphore],eax
283
        mov     [check_idle_semaphore],eax
284
;        mov     al, 0x20
284
;        mov     al, 0x20
285
	add 	eax,(0x20-0x5)
285
	add 	eax,(0x20-0x5)
Line 286... Line -...
286
 
-
 
287
        mov     al, 0x20
286
 
288
        out     0x20, al
287
        out     0x20, al
289
        ret
288
        ret
290
;destroy eax
289
;destroy eax
291
ready_for_next_irq_1:
290
ready_for_next_irq_1:
Line 422... Line 421...
422
        ; ecx = new amount of memory
421
        ; ecx = new amount of memory
Line 423... Line 422...
423
 
422
 
424
;        cmp    eax,1
423
;        cmp    eax,1
425
	dec	ebx
424
	dec	ebx
426
        jnz    .no_application_mem_resize
-
 
427
;fix it! 
-
 
428
        mov	ebx,ecx
425
        jnz    .no_application_mem_resize
429
        stdcall new_mem_resize, ebx
426
        stdcall new_mem_resize, ecx
430
        mov [esp+32], eax
427
        mov [esp+32], eax
431
.no_application_mem_resize:
428
.no_application_mem_resize:
Line 432... Line 429...
432
        ret
429
        ret