1 nc 2 comp color 3 sync&lumin 4 r/w 5-16 db11-db0 17 dotx 18 dot y 19 comp snd 20 vss 21-34 a0-a13 35 pPhi1 36 pPhi2 37 option 38 Phi2 in 39 Phi1 in 40 Vdd 9000 ABBBBBBB 9001 CCCCCCCC 9002 HDDDDDDD 9003 GEEEEEEF 9004 GGGGGGGG 9005 HHHHIIII 9006 JJJJJJJJ 9007 KKKKKKKK 9008 LLLLLLLL 9009 MMMMMMMM 900A NRRRRRRR 900B OSSSSSSS 900C PTTTTTTT 900D QUUUUUUU 900E WWWWVVVV 900F XXXXYZZZ A: interlace mode (6560 only): 0=off, 1=on B: screen origin X (4 pixels granularity) 6561-101: at 23 chars/line, the suitable range is 5 to 19 this must be between 1 and 23, or the picture will mix up with the value 0, there is some disturbance on the screen bottom C: screen origin Y (2 pixels granularity) 6561-101: suitable range is 14 to 155=312/2-1, no wraparound D: number of video columns 6560 range: 0-27 (according to the PRG) 6561-101: 0-29 makes sense, >32 will be interpreted as 32. E: number of video rows 6560 range: 0-23 (according to the PRG) 6561-101: 0-35, >=36 will be interpreted as 35½ F: character size (1=8x16, 0=8x8) G: raster value ($9004=raster compare register b8-b1, $9003 bit 7 = b0) H: screen memory location ($9005:7-4 = b13-b10, $9002:7 = b9 of screen and color memory) I: character memory location (b13-b10) * Note that b13 is connected to the inverse of A15 on the Vic-20. J: light pen X K: light pen Y L: paddle X M: paddle Y N: bass switch, R: freq f=Phi2/256/(255-$900a) O: alto switch, S: freq f=Phi2/128/(255-$900b) P: soprano switch, T: freq f=Phi2/64/(255-$900c) Q: noise switch, U: freq f=Phi2/32/(255-$900d) W: auxiliary color V: volume control X: screen color Y: reverse mode Z: border color multicolor (character color b7=1) 00 = screen color 01 = character color 10 = border color 11 = auxiliary color Color codes: 0 black 1 white 2 red 3 cyan 4 purple 5 green 6 blue 7 yellow 8 orange 9 light orange a pink b light cyan c light purple d light green e light blue f light yellow