2011-01-28 14:00:06 +01:00
|
|
|
;/***
|
|
|
|
|
2020-11-16 08:55:40 +01:00
|
|
|
KolibriHeapInit = @Kolibri@HeapInit$qv
|
2011-01-28 14:00:06 +01:00
|
|
|
|
2020-11-16 08:55:40 +01:00
|
|
|
KolibriHeapAlloc = @Kolibri@Alloc$qul
|
2011-01-28 14:00:06 +01:00
|
|
|
|
2020-11-16 08:55:40 +01:00
|
|
|
KolibriHeapReAlloc = @Kolibri@ReAlloc$qpvul
|
2011-01-28 14:00:06 +01:00
|
|
|
|
2020-11-16 08:55:40 +01:00
|
|
|
KolibriHeapFree = @Kolibri@Free$qpv
|
2011-01-28 14:00:06 +01:00
|
|
|
|
2020-11-16 08:55:40 +01:00
|
|
|
align 4
|
|
|
|
proc @Kolibri@HeapInit$qv uses ebx
|
2020-11-13 12:22:40 +01:00
|
|
|
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-16 08:55:40 +01:00
|
|
|
align 4
|
|
|
|
proc @Kolibri@Alloc$qul uses ebx
|
2020-11-13 12:22:40 +01:00
|
|
|
mov eax,SF_SYS_MISC
|
|
|
|
mov ebx,SSF_MEM_ALLOC
|
2020-11-16 08:55:40 +01:00
|
|
|
mov ecx,[esp+8]
|
2020-11-13 12:22:40 +01:00
|
|
|
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-16 08:55:40 +01:00
|
|
|
align 4
|
|
|
|
proc @Kolibri@ReAlloc$qpvul uses ebx
|
2020-11-13 12:22:40 +01:00
|
|
|
mov eax,SF_SYS_MISC
|
|
|
|
mov ebx,SSF_MEM_REALLOC
|
2020-11-16 08:55:40 +01:00
|
|
|
mov ecx,[esp+12]
|
|
|
|
mov edx,[esp+8]
|
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-16 08:55:40 +01:00
|
|
|
align 4
|
|
|
|
proc @Kolibri@Free$qpv uses ebx
|
2020-11-13 12:22:40 +01:00
|
|
|
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
|
|
|
|
|
|
|
;/**/
|