ref: 1133a53f2d13dd7b45761c595ad2a741309dc3e8
parent: c7a06d4124a74b26f1a0476f3a8e3e2f21aa434e
author: Marc-Alexandre Espiaut <[email protected]>
date: Mon Jun 4 14:18:07 EDT 2018
Removing DOS code audiolib/_multivc.h
--- a/rott/audiolib/_multivc.h
+++ b/rott/audiolib/_multivc.h
@@ -219,31 +219,8 @@
static void MV_CalcVolume( int MaxLevel );
static void MV_CalcPanTable( void );
-#ifdef PLAT_DOS
-#define ATR_INDEX 0x3c0
-#define STATUS_REGISTER_1 0x3da
-
-#define SetBorderColor(color) \
- { \
- inp (STATUS_REGISTER_1); \
- outp (ATR_INDEX,0x31); \
- outp (ATR_INDEX,color); \
- }
-#endif
-
void ClearBuffer_DW( void *ptr, unsigned data, int length );
-#ifdef PLAT_DOS
-#pragma aux ClearBuffer_DW = \
- "cld", \
- "push es", \
- "push ds", \
- "pop es", \
- "rep stosd", \
- "pop es", \
-parm [ edi ] [ eax ] [ ecx ] modify exact [ ecx edi ];
-#endif
-
void MV_Mix8BitMono( unsigned long position, unsigned long rate,
const char *start, unsigned long length );
@@ -275,12 +252,5 @@
void MV_16BitReverbFast( const char *src, char *dest, int count, int shift );
void MV_8BitReverbFast( const signed char *src, signed char *dest, int count, int shift );
-
-#ifdef PLAT_DOS
-#pragma aux MV_16BitReverb parm [eax] [edx] [ebx] [ecx] modify exact [eax ebx ecx edx esi edi]
-#pragma aux MV_8BitReverb parm [eax] [edx] [ebx] [ecx] modify exact [eax ebx ecx edx esi edi]
-#pragma aux MV_16BitReverbFast parm [eax] [edx] [ebx] [ecx] modify exact [eax ebx ecx edx esi edi]
-#pragma aux MV_8BitReverbFast parm [eax] [edx] [ebx] [ecx] modify exact [eax ebx ecx edx esi edi]
-#endif
#endif