From 266e892feb9b336e5c7fd2211a06f12345a920d9 Mon Sep 17 00:00:00 2001 From: Ivan Baravy Date: Fri, 9 Nov 2012 11:16:09 +0000 Subject: [PATCH] remove last mem.inc, forgot it git-svn-id: svn://kolibrios.org@3016 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/info3ds/mem.inc | 48 -------------------------------- 1 file changed, 48 deletions(-) delete mode 100644 programs/develop/info3ds/mem.inc diff --git a/programs/develop/info3ds/mem.inc b/programs/develop/info3ds/mem.inc deleted file mode 100644 index ec78fbf7f6..0000000000 --- a/programs/develop/info3ds/mem.inc +++ /dev/null @@ -1,48 +0,0 @@ -;----------------------------------------------------------------------------- -proc mem.Alloc,size ;///////////////////////////////////////////////////////// -;----------------------------------------------------------------------------- - push ebx ecx - mov ecx,[size] - ;*** add ecx,4 - mcall 68,12 - ;*** add ecx,-4 - ;*** mov [eax],ecx - ;*** add eax,4 - pop ecx ebx - ret -endp - -;----------------------------------------------------------------------------- -proc mem.ReAlloc,mptr,size ;////////////////////////////////////////////////// -;----------------------------------------------------------------------------- - push ebx ecx edx - mov ecx,[size] - or ecx,ecx - jz @f - ;*** add ecx,4 - @@: mov edx,[mptr] - or edx,edx - jz @f - ;*** add edx,-4 - @@: mcall 68,20 - or eax,eax - jz @f - ;*** add ecx,-4 - ;*** mov [eax],ecx - ;*** add eax,4 - @@: pop edx ecx ebx - ret -endp - -;----------------------------------------------------------------------------- -proc mem.Free,mptr ;////////////////////////////////////////////////////////// -;----------------------------------------------------------------------------- - push ebx ecx - mov ecx,[mptr] - or ecx,ecx - jz @f - ;*** add ecx,-4 - @@: mcall 68,13 - pop ecx ebx - ret -endp