Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. PGAlloc:
  2. ; in: ecx=size
  3. ; out: eax=pointer or NULL
  4.         push    ebx
  5.         push    68
  6.         pop     eax
  7.         push    12
  8.         pop     ebx
  9.         int     40h
  10.         pop     ebx
  11.         ret
  12. PGFree:
  13. ; in: ecx=pointer
  14. ; destroys eax
  15.         push    ebx
  16.         push    68
  17.         pop     eax
  18.         push    13
  19.         pop     ebx
  20.         int     40h
  21.         pop     ebx
  22.         ret
  23.