= Background_Pattern =

Input: 11->X
            S,T
            1->Y or 0->Y

Output: Draw in the entire screen a pattern with the S, T values.
             Y=1 Draw in the LCD // Y=0 don't draw (saves in the Graphbuffer)

Explanation: Ok. Nice routine that... :) I like that. Let me explain better. I hope you understand work of X,Y vars. Now the S,T vars. First open your windows calculator, yes...quick. Ready? Nice. Now select scientific mode. Select the mod 'Bin' (binary numbers). Now insert the sequence: 10101010 and click in the 'Dec' mode: The number is 170 right? Now put in bin mode again, clear the display, and put 01010101, turn to Dec mode and number is 85 ! What is mean? Let's exemplify: You put 170 in the var S and 85 in the var T, 11->X and 1->Y, you run zapi83 and should be displayed something like this:


Understand? I hope. Now you can combine the S and the T var, but don't forget that they can be higher than 255.

Example:

PROGRAM:XXXX
:11->X:1->Y
:170->S:85->T
:prgmZZAPI

- Screen Routines -