C64 Users Guide

From Maze

(Difference between revisions)
Jump to: navigation, search
Line 69:Line 69:
----
----
−
<blockquote>
 
New programme and type in
New programme and type in
Line 118:Line 117:
OK back to that little programme.
OK back to that little programme.
−
Line 10
+
Line 10<br />
This gives you the CHR$ for the shifted clear home, Note that the number is always in the () symbols.
This gives you the CHR$ for the shifted clear home, Note that the number is always in the () symbols.
 +
Well my level and understanding of programming has me looking at that and counting the spaces. Counting the print command as the ? symbol, that is 9 spaces taken up. Using the ? and the shifted clear home in the quotes takes up 4 spaces. Seems this last style is more effective in spaces. More experienced programmers can tell me if I am right or wrong on this thought. I have seen the chr$(147) in type in programmes and substituted the shifted clear home, didn't appear to me to do anything different in the prg.
Well my level and understanding of programming has me looking at that and counting the spaces. Counting the print command as the ? symbol, that is 9 spaces taken up. Using the ? and the shifted clear home in the quotes takes up 4 spaces. Seems this last style is more effective in spaces. More experienced programmers can tell me if I am right or wrong on this thought. I have seen the chr$(147) in type in programmes and substituted the shifted clear home, didn't appear to me to do anything different in the prg.
−
Line 20
+
Line 20<br />
This will print that character string and then the words in the quotes notice that there is nothing for you to do for a real answer, which is green, before I go to a complicated programme for you to type in. I should tell you something, a short hand way to write CHR$, which is cH. Well that is how it looks in lower case. Upper case would have the capital C and a vertical bar. Still have to type in the () things with the number between them though.
This will print that character string and then the words in the quotes notice that there is nothing for you to do for a real answer, which is green, before I go to a complicated programme for you to type in. I should tell you something, a short hand way to write CHR$, which is cH. Well that is how it looks in lower case. Upper case would have the capital C and a vertical bar. Still have to type in the () things with the number between them though.
−
Next is a colour bar programme. I have a few things to say before you have a go at typing it into the C=. Running this will create a series of reverse video colour bars on the screen. They will run till you press the run/stop key, only does the first 8 colours of the commodore's 16 and uses the chr$ codes. If you feel like experimenting and have the chart, feel free to expand this to the full16 colours. We have covered the rudiments for how to do that except for a command that is new to us at this point and I will get to that afterwards. I did make this as the 16 colours the tool that I use to test the colour chip and monitors when they come into my collection.
 
----
----

Revision as of 12:42, 26 May 2010

View this revision of C64 Users Guide.

Personal tools