home *** CD-ROM | disk | FTP | other *** search
/ The Unsorted BBS Collection / thegreatunsorted.tar / thegreatunsorted / programming / asm_programming / PALROT.ZIP / PALROT.TXT < prev   
Text File  |  1993-03-07  |  854b  |  25 lines

  1. ─────────────────────────────────────────────────────────────────────────────
  2. ;
  3. ;     TITLE: Palette rotate
  4. ;WRITTEN BY: DRAEDEN /VLA
  5. ;      DATE: 03/07/93
  6. ;
  7. ;     NOTES: None.
  8. ;
  9. ;ASSOCIATED FILES: 
  10. ;
  11. ;       PALROT.ASM  =>  Source file
  12. ;
  13. ────────────────────────────────────────────────────────────────────────────
  14.  
  15. Well, here's a file that shows how a palette rotate could be done.  The 
  16. advantage of this way is that it's just as easy to rotate both directions,
  17. and it doesn't require any additional memory, like backup copies of the 
  18. palette or the such...
  19.  
  20.   As for the snow... I don't get any when I'm running at 40mhz, but there is
  21. snow when I'm at 15mhz.  A good solution is to not have anything on the upper 
  22. part of the screen that has its colors cycling.
  23.  
  24. Hitting the space bar will toggle the direction of the rotate.
  25.