Re: sprites
- Posted by Architek <architek at GEOCITIES.COM> Mar 31, 1997
- 1050 views
Cuny, David wrote: > I did notice that there is flickering when the screen refreshes, so I dug up > this snippet of code in the VGA Trainer portion of the PC Game Programmer's > Encyclopedia. Since I'm no good at coding assembly, I thought I'd post it > here and see if anyone else is interested in it. It's written for Turbo > Pascal. David, it's inline assembly, just take the part from label: and apply the ASM2EU program to make it in euphoria. After poking it into memory and calling it, it will return exactly when an fresh screen has been displayed, so if you poke to VGAmem the results will not flicker. This works fine in compiled languages.. but don't know in Euphoria because speed is required for syncronicity. Bye, -- ************************************ This message sent by Daniel Berstein ************************************ email: architek at geocities.com homepages: http://www.geocities.com/SiliconValley/Heights/9316 http://www.cybercity.hko.net/silicon_valley/architek