leading underscores in front of public symbols.
!ifdef __UNIX__
incpath = -Isrc -Isrc/dos -Ilibs/imago/src -Ilibs/oldmik/src
libpath = libpath libs/imago libpath libs/oldmik
!ifdef __UNIX__
incpath = -Isrc -Isrc/dos -Ilibs/imago/src -Ilibs/oldmik/src
libpath = libpath libs/imago libpath libs/oldmik
!else
incpath = -Isrc -Isrc\dos -Ilibs\imago\src -Ilibs\oldmik\src
libpath = libpath libs\imago libpath libs\oldmik
!else
incpath = -Isrc -Isrc\dos -Ilibs\imago\src -Ilibs\oldmik\src
libpath = libpath libs\imago libpath libs\oldmik
$(AS) $(ASFLAGS) -o $@ $[*.asm
clean: .symbolic
$(AS) $(ASFLAGS) -o $@ $[*.asm
clean: .symbolic
- del *.obj
- del *.occ
- del *.lnk
- del $(bin)
+ $(RM) *.obj
+ $(RM) *.occ
+ $(RM) *.lnk
+ $(RM) $(bin)
opt = -5 -oxl+
#dbg = -d1
opt = -5 -oxl+
#dbg = -d1
+!ifdef __UNIX__
+RM = rm -f
+!else
+RM = del
+!endif
+
CC = wcc386
AS = wasm
CFLAGS = $(dbg) $(opt) -zq -zu -j -s -bt=dos -Isrc
CC = wcc386
AS = wasm
CFLAGS = $(dbg) $(opt) -zq -zu -j -s -bt=dos -Isrc
+ASFLAGS = -zq -5pr -bt=dos
$(alib): cflags.occ $(obj)
%write objects.lbc $(obj)
$(alib): cflags.occ $(obj)
%write objects.lbc $(obj)
$(AS) -fo=$@ $(ASFLAGS) $[*
clean: .symbolic
$(AS) -fo=$@ $(ASFLAGS) $[*
clean: .symbolic
- del *.obj
- del *.occ
- del *.lbc
- del $(alib)
+ $(RM) *.obj
+ $(RM) *.occ
+ $(RM) *.lbc
+ $(RM) $(alib)
\r
PUBLIC AsmStereoNormal_\r
PUBLIC AsmMonoNormal_\r
\r
PUBLIC AsmStereoNormal_\r
PUBLIC AsmMonoNormal_\r
+ PUBLIC _AsmStereoNormal_\r
+ PUBLIC _AsmMonoNormal_\r
\r
SS2 MACRO index\r
even\r
\r
SS2 MACRO index\r
even\r
\r
\r
AsmStereoNormal_ proc USES ebp fs es\r
\r
\r
AsmStereoNormal_ proc USES ebp fs es\r
mov ax,_lvolsel\r
mov es,ax ; voltab selector naar fs\r
mov ax,_rvolsel\r
mov ax,_lvolsel\r
mov es,ax ; voltab selector naar fs\r
mov ax,_rvolsel\r
\r
\r
AsmMonoNormal_ proc USES ebp es\r
\r
\r
AsmMonoNormal_ proc USES ebp es\r
mov ax,_lvolsel\r
mov es,ax ; voltab selector naar fs\r
xor eax,eax\r
mov ax,_lvolsel\r
mov es,ax ; voltab selector naar fs\r
xor eax,eax\r
\r
UWORD lvolsel,rvolsel;\r
\r
\r
UWORD lvolsel,rvolsel;\r
\r
+#if __WATCOMC__ >= 1200 /* OpenWatcom 1.0+ */\r
+#define AsmStereoNormal _AsmStereoNormal\r
+#define AsmMonoNormal _AsmMonoNormal\r
+#endif\r
+\r
void AsmStereoNormal(SBYTE *srce,SLONG *dest,SLONG index,SLONG increment,ULONG todo);\r
#pragma aux AsmStereoNormal \\r
parm [esi] [edi] [ebx] [ecx] [edx] \\r
void AsmStereoNormal(SBYTE *srce,SLONG *dest,SLONG index,SLONG increment,ULONG todo);\r
#pragma aux AsmStereoNormal \\r
parm [esi] [edi] [ebx] [ecx] [edx] \\r