Sorry for posting another video topic, but I have scratched my head quite a bit over this new problem...
I have an LCD flat-TV connected to my Apple II+ and Apple IIe, and I get 4-color graphics when playing games (e.g. Wavy navy - what a great game!) on the IIe (I cannot get disk drive working on II+). But when I try plotting graphics in Applesoft on either II+ or IIe, I get striped blocks in low-graphics, and only white in high-graphics. E.g. I tried there short programs:
10 GR
20 FOR I=0 TO 15
30 PLOT 1, I
40 NEXT I
50 END
and
10 HGR
20 FOR I=0 TO 15
30 HPLOT 1, I
40 NEXT I
50 END
but still no color. What the hell? The tutorial says it should be colors. Black/white graphics is not enough for my upcomping Halo clone!
Did you try COLOR=x (where x=color number)?
15 COLOR = 5
Vince
Oups, sorry I forgot that. YES I do set color to I. Here is the correct code.
10 GR
20 FOR I=0 TO 15
25 COLOR=I
30 PLOT 1, I
40 NEXT I
50 END
and
10 HGR
20 FOR I=0 TO 15
25 COLOR=I
30 HPLOT 1, I
40 NEXT I
50 END
For selection of color in LoRes graphics the command is;
COLOR=15 (for colors #0-15)
For selection of color in HiRes graphics the command is:
HCOLOR=7 (for colors #0-7)
In the second program change the range on "I" to 0-7 (line #20), and change COLOR to HCOLOR (line #25).
Actually you need to make another change too. In HiRes graphics you can't put every color in every X (column) position, due to the funky way Steve Wozniak made the video circuitry to use color. For better results, besides the changes I suggested above, make this change to line 30 in second program;
30 HPLOT 1, I to 279, I
I think that it would be helpful to you to have the AppleSoft Programmers Manual. It lists all of the command codes, their syntax's, and a tutorial on how to use them.
You know about LoRes graphics and HiRes graphics, do you know about DoubleHiRes graphics?
Share and enjoy.
Mutant_Pie
Thanks! But nothing really helped. However I realized that the LCD flat-TV I am using is doing the mischief. It seems to interpret the video as B/W at first, then it stays B/W when plotting. I could get a color rendition by changing channelon the TV and the changing back to external input, which seems to cause the TV to reinterpret the video signal as color.
Four color graphics - yay!
Keep in mind that Woz broke new ground with the color video display in a home computer. I remember from "I Woz" where he talked about hooking up the prototype II to a overhead display just to check if the video would work with it. There is always the chance that putting a modern TV with a II can cause issues like this. However there should be a way to turn off Auto color adjust or something like that on your TV. This should help with that issue.
Vince
DoubleHiRes graphics?
I bought a shiny new LCD flat-panel monitor that has scads of inputs: composite, component RGB, SCART, S-Video. I can plug in every device I ever owned into it. But the Apples look horrible. As Vince said - Woz took (ahem) liberties with the NTSC signal to coax color from it. Our LCD TVs expect much tighter compliance with the signal standard, and the early Apples just don't do it that way. At least yours is usable - my LCD looks wavy all the time (and not in a good way, like Wavy Navy). I have to keep an old CRT monitor around just for my Apples.