home *** CD-ROM | disk | FTP | other *** search
/ No Fragments Archive 10: Diskmags / nf_archive_10.iso / MAGS / ST_USER / 1990 / USERSP90.MSA / TEXT_COLOUR.DOC < prev    next >
Text File  |  1990-07-25  |  2KB  |  36 lines

  1.                    ALL THE COLOURS OF THE RAINBOW
  2.  
  3.  
  4.     Colin Faller presents a scrolling multicolour demo in Fast BASIC!
  5.  
  6.  
  7. Have you ever seen those demonstration programs that display more than 16
  8. colours on the screen at the same time? They are usually machine code programs
  9. that use horizontal and vertical blank interrrupts, and other hideously complex
  10. technical stuff to display multiple palettes. It's not necessary!
  11.  
  12.     There is another way to achieve the same effect, and from simple BASIC!
  13. It's actually a trick, or optical illusion because what you do is mix two
  14. colours together by plotting alternate dots in one colour and then going back
  15. and filling in the gaps with the other colour. The two merge onscreen to
  16. produce a different colour. The effect is better with poor quality TVs and
  17. monitors because the coloured are more blurred.
  18.  
  19.     There are three demonstration programs. COLOUR1.BSC a small program that
  20. appears to display 80 colours on the screen at the same time. COLOUR2.BSC is
  21. more complicated because it scrolls the 80 colours in two directions. You can
  22. scroll the colours quickly or slowly up or down the screen. To scroll the
  23. colours in the opposite direction press the Alternate key.
  24.  
  25.     To change the speed you should press the Control key - this toggles between
  26. a fast and slow scroll. To change the pattern press the left Shift key, once
  27. you reach pattern seven you will start back at the beginning again. COLOUR3.BSC
  28. not only scrolls up and down at the same time, but also scrolls from left to
  29. right and right to left.
  30.  
  31.  
  32. HARDWARE: ALL STs, COLOUR ONLY (ALSO REQUIRES FAST BASIC)
  33.  
  34.  
  35.  
  36.