Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    570
  • comments
    2427
  • views
    216941

Untitled

Sign in to follow this  
Mushu

87 views

Random update before I go to bed at 9PM so I can actually wake up tommorrow at 4AM to go to my fucking job where I run around Target all day moving boxes getting paid a measley 8USD/hour [sad] At least I'm getting trained to work in the backroom, so I don't have to deal with people. I get to deal with lifting large heavy packages and working with machinary that can crush a man in half a second if used improperly.

Or so I've been told.

On the dev side, I wrote a GBA thingy that is supposed to flash the screen a random color. See, I wanted to give myself an epileptic episode, because I thought it'd be fun -

DO NOT VIEW IF YOU HAVE A HISTORY OF NOT LIKING FLASHY IMAGES!!!!





As you can see, I'm having some tearing issues, even with only updating the screen during a VBREAK interrupt. I suspect this is because I'm copying each pixel over one-by-one in a nice big loop for the entire screen, which is probably entirely too slow.

Or something. It still looks pretty cool.

Going to try to get sprites working tommorrow - they're a real pain [bawling]
Sign in to follow this  


3 Comments


Recommended Comments

Use the DMA or whatever the hell it's called. Make a bunch of arrays containing your seizure pixels and have the hardware copy it from ROM to video memory. Better than a pixel-by-pixel loop, yuck.

Share this comment


Link to comment
Quote:
Original post by Scet
Use the DMA or whatever the hell it's called. Make a bunch of arrays containing your seizure pixels and have the hardware copy it from ROM to video memory. Better than a pixel-by-pixel loop, yuck.


Or just edit a palette entry.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!