source: abuse/tags/pd/macabuse/imlib/include/doscall.hpp @ 49

Last change on this file since 49 was 49, checked in by Sam Hocevar, 11 years ago
  • Imported original public domain release, for future reference.
File size: 421 bytes
Line 
1#include "macs.hpp"
2
3struct rminfo {
4  long edi,esi,ebp,resv,ebx,edx,ecx,eax;
5  ushort flags, es,ds,fs,gs,ip,cs,sp,ss;
6} ;
7
8
9extern void RM_intr(int intr, struct rminfo *rm);      // do a real-mode interrupt
10extern void *alloc_low_memory(long size);              // size in bytes
11extern void free_low_memory(void *ptr);
12extern long low_memory_available();                     // returns size of largest allocatable block
Note: See TracBrowser for help on using the repository browser.