doscall.hpp 421 B

12345678910111213
  1. #include "macs.hpp"
  2. struct rminfo {
  3. long edi,esi,ebp,resv,ebx,edx,ecx,eax;
  4. ushort flags, es,ds,fs,gs,ip,cs,sp,ss;
  5. } ;
  6. extern void RM_intr(int intr, struct rminfo *rm); // do a real-mode interrupt
  7. extern void *alloc_low_memory(long size); // size in bytes
  8. extern void free_low_memory(void *ptr);
  9. extern long low_memory_available(); // returns size of largest allocatable block