Setting colour on your TV or montor

Hardware Hacking, Programming and Game Solutions/Cheats
Post Reply
zephyr
Posts: 1474
Joined: Mon Jul 21, 2008 1:18 am

Setting colour on your TV or montor

Post by zephyr »

Here's a colour bar display program which can be used for setting the colours on your TV or Monitor.

Code: Select all

10 FOR X = 0 TO 63
20 FOR Y = 0 TO 31
30 C=(X/8)+1
40 SET(X,Y,C)
50 NEXT Y,X
60 GOTO 60
EDIT: Another little program that I like to use for checking the PMODE graphic displays.

Code: Select all

10 X=RND(-TIMER)
20 PMODE 3,1:SCREEN 1,0
30 PCLS:TIMER=0
40 X=RND(256):Y=RND(192):R=RND(25)+5:C=RND(4)
50 CIRCLE(X,Y),R,C
60 PAINT (X,Y),C,C
70 IF TIMER < 3000 THEN 40 ELSE 30
Post Reply