home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
501-525
/
apd511
/
colour_to_stone.amos
/
colour_to_stone.amosSourceCode
Wrap
AMOS Source Code
|
1991-06-14
|
1KB
|
30 lines
' This Proc will turn your current picture in to a blue and white
' picture. It will work very well wih highly detailed pictures
' but some pictures will not look as good.
'
Procedure C0LOUR_TO_STONE
' Proc written by Brett George
C=0 : Z=0
Repeat
Repeat
If Colour(Z)=$F Then C=True
If Colour(Z)=$11F Then C=True
If Colour(Z)=$22F Then C=True
If Colour(Z)=$33F Then C=True
If Colour(Z)=$44F Then C=True
If Colour(Z)=$55F Then C=True
If Colour(Z)=$66F Then C=True
If Colour(Z)=$77F Then C=True
If Colour(Z)=$88F Then C=True
If Colour(Z)=$99F Then C=True
If Colour(Z)=$AAF Then C=True
If Colour(Z)=$BBF Then C=True
If Colour(Z)=$CCF Then C=True
If Colour(Z)=$DDF Then C=True
If Colour(Z)=$EEF Then C=True
If Colour(Z)=$FFF Then C=True
If C=0 Then Colour Z,Colour(Z)-1
Until C
C=0 : Inc Z
Until Z=Screen Colour
End Proc