CrazyChris Posted June 17, 2007 Share Posted June 17, 2007 (edited) I'm not a programmer, just an Atari 2600 enthusiast. On the original Atari brand 2600 games, after a few minutes when the game was over the screen would start changing random colors. Possibly to prevent screen burn in? Did Atari have their own code to do this? Wouldn't it be cool if this was available to programmers who want to make their homebrews more authentic. Chris Edited June 17, 2007 by CrazyChris Quote Link to comment Share on other sites More sharing options...
SeaGtGruff Posted June 17, 2007 Share Posted June 17, 2007 I'm not a programmer, just an Atari 2600 enthusiast. On the original Atari brand 2600 games, after a few minutes when the game was over the screen would start changing random colors. Possibly to prevent screen burn in? Did Atari have their own code to do this? Wouldn't it be cool if this was available to programmers who want to make their homebrews more authentic. Chris I think Atari did have a standardized code technique for this, and I think it's been discussed on the Stella list. You don't have to use that specific method, though; you can just change the color registers every so often if no input has occurred. Michael Quote Link to comment Share on other sites More sharing options...
Nukey Shay Posted June 18, 2007 Share Posted June 18, 2007 True that. Many games stored a dedicated color table in RAM...which is pretty wasteful if the game you are developing has cycles to spare whenever color values are stored to the registers (or at least storing them to temp ram). Just search for "attract mode" in a commented disassembly or source code. It's basically taking the original color fetched from a table, EORing that with an updated timer, then using AND to trim off bits according to the B&W switch status (AND #$FF = color, AND #$0F = B&W). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.