hi all...
i had no idea this forum existed so i am hoping i can receive some burning questions i have trying to make heads nor tails of. , i shall give abit of back ground before i unleash my questions. so...
I am a vehicle mechanic , who has had a burning desire to learn programming because i wanted to be able to write my own programs to help me with my job. , probably a tall order but its worth ago so , i tried various programming languages and attempt to get my head around the wording and understandings. ^ be it a teachers or a YouTube video. , it just wouldn't sink in . , so then i discovered a youtuber that spoke about BASIC. so i looked into it , then i thought this is not that bad , I actually quite liked the way it was written ,so naturally i seemed to have gravitated toward BASIC that the vic-20 or c64 has installed. , which lead to to discover the vic-20 &c64 had books which where marketed at children at the time to allow them to learn programing. perfect! I'll try that and find these books which i did , and indeed they did to a certain point... now most of the books i have are" beginner this or beginner that". or "BASIC for beginners ", or "BASIC for such and such"... which then lead me to 6502 machine language... again gave me abit of a false hope as these books are marketed to people who sort of know how to program. so its not really for beginners....
now i have to admit that i have done this totally round the wrong way , i probably should of started what the hardware first then moved on to the software. instead i started reading about the software then linking the wording and action , with the hardware. which is confusing me to no end. so lets break it down.
So i have been learning about AND gates , NOT gates , NAND gates , NOR gates , OR gates. , xtal crystals , TTL chips , TTL logic , all sorts of wonderful words , and what there uses are and kind of getting lost with it all , forgive me if some of the listed above gates are not on a 6502 machine i am merely using it in the story for my learnings , there is afar more i could right that do not make much sense to me i figured id try and keep it briefish...
so i have some questions , hardware questions that have really been annoying me , what is an ALU , uses for a XTRAL crystal (i'll explain more in a moment) , TTL logic , shift register.....
I have been trying to work out what the ALU is for , and i didn't really get a decent enough answer. But i just watched a video of someone working on a mechanical calculator which he called the lower track which shows the ending some a "shift register" , and then he called the input where he placed afew numbers a "accumulator" , so i figured is this just a coincidence that these names where used.
am i on the right path on that one?
Xtal crystal.. this one didn't quite make much sense , i understand that there is one , and the computer needs a crystal. or a "clock" , , i also read somewhere that this is almost like the rhythm of a heart beat electronics and keeps the computer moving at a pace
. , but! i read today that a "clock" xtal what ever you'd like to call it , is for sync , so everything is sync'd at the right time , so does that mean its not used all the time ?
ok so i'll leave it there ,as i would probably bore the hell out of who ever is going to read this. but i guess i have to start somewhere. so i am hear to learn...well trying too
thanks!
Adam