Apple II+ video - color only works in games, not in Applesoft?

8 posts / 0 new
Last post
Offline
Last seen: 8 years 4 months ago
Joined: Jul 16 2006 - 17:30
Posts: 81
Apple II+ video - color only works in games, not in Applesoft?

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! Wink

Offline
Last seen: 2 months 1 week ago
Joined: Dec 20 2003 - 10:38
Posts: 249
Did you try COLOR=x (where x=

Did you try COLOR=x (where x=color number)?

15 COLOR = 5

Vince

Offline
Last seen: 8 years 4 months ago
Joined: Jul 16 2006 - 17:30
Posts: 81
Oups, sorry I forgot that. YE

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

Offline
Last seen: 1 year 5 months ago
Joined: Dec 19 2003 - 18:53
Posts: 906
Like the man said "there are no problems only solutions"

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

Offline
Last seen: 8 years 4 months ago
Joined: Jul 16 2006 - 17:30
Posts: 81
Thanks! But nothing really he

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! Smile

Offline
Last seen: 2 months 1 week ago
Joined: Dec 20 2003 - 10:38
Posts: 249
Keep in mind that Woz broke n

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

Simon27's picture
Offline
Last seen: 4 months 1 week ago
Joined: Jul 7 2005 - 15:54
Posts: 73
DoubleHiRes graphics?

DoubleHiRes graphics?

Offline
Last seen: 9 years 1 month ago
Joined: Apr 10 2006 - 20:01
Posts: 1013
Re: Apple II+ video - color only works in games, not in Applesof

I have an LCD flat-TV connected to my Apple II+ and Apple IIe, and I get 4-color 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.

Log in or register to post comments