Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Different colours

I've noticed on other peoples programs that they are able to have faded colours(instead of the 15 that I know of) How do I get such colours. Please help me


Comments

  • : I've noticed on other peoples programs that they are able to have faded colours(instead of the 15 that I know of) How do I get such colours. Please help me

    :



    If your program runs in graphic mode, use the PALETTE command

    If you're in text mode, you can do the following:



    OUT &H3c9, Number_of_colour

    OUT &H3c8, Red_between_0_and_63

    OUT &H3c8, Green_between_0_and_63

    OUT &H3c8, Blue_between_0_and_63



    I'm not really sure about these port adresses....

    .... and my english is really bad



    Stephan Walter


Sign In or Register to comment.