Re: sprites

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu