11 uint32_t edi, esi, ebp;
13 uint32_t ebx, edx, ecx, eax;
15 uint16_t es, ds, fs, gs;
16 uint16_t ip, cs, sp, ss;
19 uint16_t dpmi_alloc(unsigned int par, uint16_t *sel);
20 void dpmi_free(uint16_t sel);
21 void dpmi_int(int inum, struct dpmi_regs *regs);
22 void *dpmi_mmap(uint32_t phys_addr, unsigned int size);
23 void dpmi_munmap(void *addr);
26 #pragma aux dpmi_alloc = \
33 #pragma aux dpmi_free = \
39 #pragma aux dpmi_int = \
46 #pragma aux dpmi_mmap = \
64 #pragma aux dpmi_munmap = \
71 #endif /* __WATCOMC__ */
74 #define dpmi_int(inum, regs) __dpmi_int((inum), (__dpmi_regs*)(regs))