cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/28/07:25:37

From: "Daniel Fauré" <dano AT dynaguy DOT demon DOT nl>
Newsgroups: comp.os.msdos.djgpp
Subject: Using timer to control sprite movement
Date: Fri, 26 Jun 1998 16:30:24 +0200
Message-ID: <898871923.25686.1.rover.c3ade179@news.demon.nl>
NNTP-Posting-Host: dynaguy.demon.nl
Lines: 12
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I'm new to programming in DJGPP and Allegro. I used to program C/C++ in
TurboC, real mode. My problem is that I used to put a lot of funtions which
control the movement of sprites in an interrupt-handler, but Allegro says
you should lock the functions and variables before using them in an
protected-mode interrupt-handler. How do I go about that with all the
functions I use?!? The reason I used this method was to let the sprites
always move 25 or 50 times a second even on computers which do not get a
framerate of 25/50, but what other way is there to achieve this?

Daniel Faure


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019