Mail Archives: djgpp/1997/02/22/02:08:46
Just a few quick questions here. My main goal was to write a
fairly quick double buffer procedure (one that displays the
buffer). Using memcopy is too slow, and I'd like to do it with
inline assembly kind of like so:
movw _dos_ds,es
movl video_buff,edi
movw buffersize,cx
movw 320,ax
mulw y,ax
?addw ax,di
?lds si,double_buffer
movsw
rep
My first question is where I have the two question marks. I need to know
if this will work with DJGPP assembly. (I would test it myself, but I
really don't know if that would be wise).
Next I need to know if the pointer I receive from malloc() will work in
line 3 as I have written it.
Thanks for helping
Steve Anderson
sanderson AT emails DOT com
-------------------==== Posted via Deja News ====-----------------------
http://www.dejanews.com/ Search, Read, Post to Usenet
- Raw text -