Rev 8196 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
8140 | IgorA | 1 | |
8196 | IgorA | 2 | KolibriHeapAlloc = @Kolibri@Alloc$qul |
3 | KolibriHeapReAlloc = @Kolibri@ReAlloc$qpvul |
||
4 | KolibriHeapFree = @Kolibri@Free$qpv |
||
5 | |||
8140 | IgorA | 6 | |
8824 | IgorA | 7 | @$bnew$qui equ @Kolibri@Alloc$qul ;new struct or class |
8 | @$bdele$qpv equ @Kolibri@Free$qpv ;delete |
||
9 | |||
10 | |||
8196 | IgorA | 11 | proc @Kolibri@HeapInit$qv uses ebx |
12 | mov eax,SF_SYS_MISC |
||
8179 | IgorA | 13 | mov ebx,SSF_HEAP_INIT |
14 | int 0x40 |
||
8140 | IgorA | 15 | ret |
16 | endp |
||
17 | |||
18 | |||
8196 | IgorA | 19 | proc @Kolibri@Alloc$qul uses ebx |
20 | mov eax,SF_SYS_MISC |
||
8179 | IgorA | 21 | mov ebx,SSF_MEM_ALLOC |
22 | mov ecx,[esp+8] |
||
8196 | IgorA | 23 | int 0x40 |
8179 | IgorA | 24 | ret |
8140 | IgorA | 25 | endp |
26 | |||
27 | |||
8196 | IgorA | 28 | proc @Kolibri@ReAlloc$qpvul uses ebx |
29 | mov eax,SF_SYS_MISC |
||
8179 | IgorA | 30 | mov ebx,SSF_MEM_REALLOC |
31 | mov ecx,[esp+12] |
||
8196 | IgorA | 32 | mov edx,[esp+8] |
33 | int 0x40 |
||
8140 | IgorA | 34 | ret |
8179 | IgorA | 35 | endp |
36 | |||
37 | |||
8196 | IgorA | 38 | proc @Kolibri@Free$qpv uses ebx |
39 | mov eax,SF_SYS_MISC |
||
8179 | IgorA | 40 | mov ebx,SSF_MEM_FREE |
41 | mov ecx,[esp+8] |
||
8184 | IgorA | 42 | int 0x40 |
8140 | IgorA | 43 | ret |
8179 | IgorA | 44 | endp |
8140 | IgorA | 45 |