g0 hex 0C // clear screen strln MICROTEL VTX-202 strln Telidon Terminal strln strln TEST: COLOR CAPABILITY strln Draw rectangles of the 64 colors strln possible with one-byte operand format. strln strln 2015 Sep g1 // blue 0 setp 0 80 color 0 0 0 rectf +12 +12 color 1 0 0 rectf +12 +12 color 2 0 0 rectf +12 +12 color 3 0 0 rectf +12 +12 setpr -48 -12 color 0 1 0 rectf +12 +12 color 1 1 0 rectf +12 +12 color 2 1 0 rectf +12 +12 color 3 1 0 rectf +12 +12 setpr -48 -12 color 0 2 0 rectf +12 +12 color 1 2 0 rectf +12 +12 color 2 2 0 rectf +12 +12 color 3 2 0 rectf +12 +12 setpr -48 -12 color 0 3 0 rectf +12 +12 color 1 3 0 rectf +12 +12 color 2 3 0 rectf +12 +12 color 3 3 0 rectf +12 +12 // blue 1 setpr +12 +36 color 0 0 1 rectf +12 +12 color 1 0 1 rectf +12 +12 color 2 0 1 rectf +12 +12 color 3 0 1 rectf +12 +12 setpr -48 -12 color 0 1 1 rectf +12 +12 color 1 1 1 rectf +12 +12 color 2 1 1 rectf +12 +12 color 3 1 1 rectf +12 +12 setpr -48 -12 color 0 2 1 rectf +12 +12 color 1 2 1 rectf +12 +12 color 2 2 1 rectf +12 +12 color 3 2 1 rectf +12 +12 setpr -48 -12 color 0 3 1 rectf +12 +12 color 1 3 1 rectf +12 +12 color 2 3 1 rectf +12 +12 color 3 3 1 rectf +12 +12 // blue 2 setpr +12 +36 color 0 0 2 rectf +12 +12 color 1 0 2 rectf +12 +12 color 2 0 2 rectf +12 +12 color 3 0 2 rectf +12 +12 setpr -48 -12 color 0 1 2 rectf +12 +12 color 1 1 2 rectf +12 +12 color 2 1 2 rectf +12 +12 color 3 1 2 rectf +12 +12 setpr -48 -12 color 0 2 2 rectf +12 +12 color 1 2 2 rectf +12 +12 color 2 2 2 rectf +12 +12 color 3 2 2 rectf +12 +12 setpr -48 -12 color 0 3 2 rectf +12 +12 color 1 3 2 rectf +12 +12 color 2 3 2 rectf +12 +12 color 3 3 2 rectf +12 +12 // blue 3 setpr +12 +36 color 0 0 3 rectf +12 +12 color 1 0 3 rectf +12 +12 color 2 0 3 rectf +12 +12 color 3 0 3 rectf +12 +12 setpr -48 -12 color 0 1 3 rectf +12 +12 color 1 1 3 rectf +12 +12 color 2 1 3 rectf +12 +12 color 3 1 3 rectf +12 +12 setpr -48 -12 color 0 2 3 rectf +12 +12 color 1 2 3 rectf +12 +12 color 2 2 3 rectf +12 +12 color 3 2 3 rectf +12 +12 setpr -48 -12 color 0 3 3 rectf +12 +12 color 1 3 3 rectf +12 +12 color 2 3 3 rectf +12 +12 color 3 3 3 rectf +12 +12 g0 //--------------------------------------------------------------------- // Encoding of above: 0000: 0F 0C 4D 49 43 52 4F 54 45 4C 20 56 54 58 2D 32 ..MICROTEL VTX-2 0010: 30 32 0D 0A 54 65 6C 69 64 6F 6E 20 54 65 72 6D 02..Telidon Term 0020: 69 6E 61 6C 0D 0A 0D 0A 54 45 53 54 3A 20 43 4F inal....TEST: CO 0030: 4C 4F 52 20 43 41 50 41 42 49 4C 49 54 59 0D 0A LOR CAPABILITY.. 0040: 44 72 61 77 20 72 65 63 74 61 6E 67 6C 65 73 20 Draw rectangles 0050: 6F 66 20 74 68 65 20 36 34 20 63 6F 6C 6F 72 73 of the 64 colors 0060: 0D 0A 70 6F 73 73 69 62 6C 65 20 77 69 74 68 20 ..possible with 0070: 6F 6E 65 2D 62 79 74 65 20 6F 70 65 72 61 6E 64 one-byte operand 0080: 20 66 6F 72 6D 61 74 2E 0D 0A 0D 0A 32 30 31 35 format.....2015 0090: 20 53 65 70 0D 0A 0E 24 41 42 40 3C 40 31 40 49 Sep...$AB@<@1@I 00A0: 64 3C 42 31 40 49 64 3C 50 31 40 49 64 3C 52 31 d