File: doscall.hpp

package info (click to toggle)
abuse 2.00-12
  • links: PTS
  • area: main
  • in suites: slink
  • size: 12,708 kB
  • ctags: 15,389
  • sloc: ansic: 115,852; cpp: 6,792; lisp: 2,066; sh: 1,734; makefile: 1,601; asm: 264
file content (12 lines) | stat: -rw-r--r-- 421 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
#include "macs.hpp"

struct rminfo {
  long edi,esi,ebp,resv,ebx,edx,ecx,eax;
  ushort flags, es,ds,fs,gs,ip,cs,sp,ss;
} ;


extern void RM_intr(int intr, struct rminfo *rm);      // do a real-mode interrupt
extern void *alloc_low_memory(long size);              // size in bytes
extern void free_low_memory(void *ptr);
extern long low_memory_available();                     // returns size of largest allocatable block