Mail Archives: djgpp/1999/05/18/21:14:05
Carlos Giani_AEN2003 (M2003) wrote:
>
> Hello DJGPP folks!
> I have a question about NASM assembler routines. I wrote some mixing
> routines in ASM which are called by an interrupt. I locked the memory
> successfully. But the routine doesn't work correctly! I wrote the
> routine in C, tried it, and it works correctly! Can somebody help me??
Source, please. Post your routine, and what goes wrong with it.
Be sure you are preserving all the right registers-- ebx, esi, edi, ds
and es must be saved. This is a common pitfall.
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -