Mail Archives: djgpp/1997/09/25/04:44:30
I am writing code for a FLI player (to anyone that followed my previous
question, yes, I've fixed it up so it uses 60K instead of 6Mb now :)
They way I am doing it now is to recalculate the FLI frame and store it in a
buffer (64Kb). I then use the instruction (in mode 0x13):
_movedatal(_my_ds(),(int)fBuffer,VidMemSelector,0,16000L);
Where fBuffer holds the screen to be displayed and VidMemSelector is an
assigned selector to 0xA000.
The code works fine, but it is a little slow. Is there a faster way to do
this (fBuffer is a member of the class and this function is called inside
that class. Maybe I need to align it differently? I know next to nothing on
alignment...)
Thanks in advance,
Brett
--
"Give me ambiguity or give me something else"
--
Brett Porter
bporter AT rabble DOT uow DOT edu DOT au
http://www.geocities.com/CollegePark/Union/3596
Humour, Programming, and more.
- Raw text -