Last change
on this file since 483 was
49,
checked in by Sam Hocevar, 15 years ago
|
- Imported original public domain release, for future reference.
|
File size:
421 bytes
|
Rev | Line | |
---|
[49] | 1 | #include "macs.hpp" |
---|
| 2 | |
---|
| 3 | struct 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 | |
---|
| 9 | extern void RM_intr(int intr, struct rminfo *rm); // do a real-mode interrupt |
---|
| 10 | extern void *alloc_low_memory(long size); // size in bytes |
---|
| 11 | extern void free_low_memory(void *ptr); |
---|
| 12 | extern long low_memory_available(); // returns size of largest allocatable block |
---|
Note: See
TracBrowser
for help on using the repository browser.