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