2011-01-28 16:00:06 +03:00
|
|
|
;/***
|
|
|
|
|
2020-11-13 14:22:40 +03:00
|
|
|
KolibriHeapInit = @@Kolibri@_HeapInit$qv
|
2011-01-28 16:00:06 +03:00
|
|
|
|
2020-11-10 15:19:15 +03:00
|
|
|
KolibriHeapAlloc = @@Kolibri@Alloc$qui
|
2011-01-28 16:00:06 +03:00
|
|
|
|
2020-11-10 15:19:15 +03:00
|
|
|
KolibriHeapReAlloc = @@Kolibri@ReAlloc$qpvui
|
2011-01-28 16:00:06 +03:00
|
|
|
|
2020-11-10 15:19:15 +03:00
|
|
|
KolibriHeapFree = @@Kolibri@Free$qpv
|
2011-01-28 16:00:06 +03:00
|
|
|
|
2020-11-13 14:22:40 +03:00
|
|
|
proc @MemoryHeap@mem_Init$qv uses ebx
|
|
|
|
mov eax,SF_SYS_MISC
|
|
|
|
mov ebx,SSF_HEAP_INIT
|
2011-01-28 16:00:06 +03:00
|
|
|
int 0x40
|
|
|
|
ret
|
2020-11-02 21:44:51 +03:00
|
|
|
endp
|
2011-01-28 16:00:06 +03:00
|
|
|
|
2020-11-13 14:22:40 +03:00
|
|
|
proc @MemoryHeap@mem_Alloc$qul uses ebx
|
|
|
|
mov eax,SF_SYS_MISC
|
|
|
|
mov ebx,SSF_MEM_ALLOC
|
|
|
|
int 0x40
|
2011-01-28 16:00:06 +03:00
|
|
|
ret
|
2020-11-02 21:44:51 +03:00
|
|
|
endp
|
2011-01-28 16:00:06 +03:00
|
|
|
|
2020-11-13 14:22:40 +03:00
|
|
|
proc @MemoryHeap@mem_ReAlloc$qulpv uses ebx
|
|
|
|
mov eax,SF_SYS_MISC
|
|
|
|
mov ebx,SSF_MEM_REALLOC
|
2011-01-28 16:00:06 +03:00
|
|
|
mov ecx,[esp+8]
|
2020-11-13 14:22:40 +03:00
|
|
|
mov edx,[esp+12]
|
2011-01-28 16:00:06 +03:00
|
|
|
int 0x40
|
2020-11-13 14:22:40 +03:00
|
|
|
ret
|
2020-11-02 21:44:51 +03:00
|
|
|
endp
|
2011-01-28 16:00:06 +03:00
|
|
|
|
2020-11-13 14:22:40 +03:00
|
|
|
proc @MemoryHeap@mem_Free$qpv uses ebx
|
|
|
|
mov eax,SF_SYS_MISC
|
|
|
|
mov ebx,SSF_MEM_FREE
|
|
|
|
mov ecx,[esp+8]
|
|
|
|
int 0x40
|
|
|
|
ret
|
|
|
|
endp
|
2011-01-28 16:00:06 +03:00
|
|
|
|
|
|
|
;/**/
|