home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Assembler / dse-src6.dms / in.adf / BOUNCHSRCS.LZH / art-lame.S < prev    next >
Encoding:
Text File  |  1987-05-18  |  1.0 KB  |  34 lines

  1. ;···························································
  2. ;· HCS, HORISONTAL COLOR SELECTION, GIVES YOU 29791 COLORS ·
  3. ;· ON THE AMIGA!  THE FIRST WITH HCS WAS CHUCKY OF DRAGNET ·
  4. ;···························································
  5.  
  6. HCS:        ;Jump to this every VB
  7.         ;will return bitplane to show in D0
  8.  
  9.     bchg    #1,hcsdata
  10.     tst    hcsdata
  11.     beq.s    hcshigh
  12.     move.l    #picture1,d0
  13.     rts
  14.  
  15. hcshigh:
  16.     move.l    #picture2,d0
  17.     rts
  18.  
  19. HcsData:    dc.w    0
  20.  
  21. ; you got to have two HAM pictures in the memory! to get a new color
  22. ; you have to put two different colors on the same place! (one in
  23. ; on picture and the other in the other picture!) of you have a red
  24. ; $f00 and a red $e00 at the sample place you will get a red $e.5 00
  25. ; NOTE: it's easyer (and takes less rastertime) if you uses the same
  26. ; pallete in HAM!                    /Chucky
  27.  
  28. Picture1:    blk    48000,0
  29. Picture2:    blk    48000,0
  30.  
  31. ; Uploaded to ART-LINE becauze many guys still thinks it's
  32. ; impossible to get so many colors on sceen! Test have been done in
  33. ; NTSC and PAL modes with good result!        /Chucky
  34.