ref: 3c5ec3c8bb3853c5017463302b55c892961bccab
parent: 8d0e7b3149bead254221fe4c100c4a8f7af1d792
author: Marc-Alexandre Espiaut <marcalexandre@member.fsf.org>
date: Mon Jun 4 14:20:00 EDT 2018
Removing DOS code audiolib/dpmi.h
--- a/rott/audiolib/dpmi.h
+++ b/rott/audiolib/dpmi.h
@@ -75,28 +75,4 @@
#define DPMI_Unlock( variable ) \
( DPMI_UnlockMemory( (void *) &( variable ), sizeof( variable ) ) )
-#ifdef PLAT_DOS
-#pragma aux DPMI_GetDOSMemory = \
- "mov eax, 0100h", \
- "add ebx, 15", \
- "shr ebx, 4", \
- "int 31h", \
- "jc DPMI_Exit", \
- "movzx eax, ax", \
- "shl eax, 4", \
- "mov [ esi ], eax", \
- "mov [ edi ], edx", \
- "sub eax, eax", \
- "DPMI_Exit:", \
- parm [ esi ] [ edi ] [ ebx ] modify exact [ eax ebx edx ];
-
-#pragma aux DPMI_FreeDOSMemory = \
- "mov eax, 0101h", \
- "int 31h", \
- "jc DPMI_Exit", \
- "sub eax, eax", \
- "DPMI_Exit:", \
- parm [ edx ] modify exact [ eax ];
-#endif
-
#endif