1 00:00:00,000 --> 00:00:01,640 Thank you all for coming. 2 00:00:01,640 --> 00:00:07,660 This is the 12 o'clock talk on the wild and wonderful world of 8-bit microprocessors. 3 00:00:08,140 --> 00:00:12,140 And I'll be doing a focus on the MOS 6502. 4 00:00:12,300 --> 00:00:17,200 I do apologize, there is not much of a demo in this talk. 5 00:00:17,200 --> 00:00:20,460 I was hoping to have more of a demo, but I've had some technical problems. 6 00:00:20,540 --> 00:00:23,740 So this, we're going to go more into more of history and technology. 7 00:00:24,240 --> 00:00:27,780 For some of you, this might be stuff you've never heard of before. 8 00:00:28,000 --> 00:00:29,260 That's what it's all about. 9 00:00:29,260 --> 00:00:33,640 And I have quite a few slides with a lot of resources and information. 10 00:00:34,000 --> 00:00:37,960 So you're certainly welcome, and I encourage you guys to take pictures of them. 11 00:00:38,080 --> 00:00:44,560 I've been actually adding to these slides, so they might not have, they're not going to have the latest version. 12 00:00:44,880 --> 00:00:46,460 So let me start. 13 00:00:46,460 --> 00:00:47,760 My name is Michael Brown. 14 00:00:47,780 --> 00:00:52,120 This is my normal bio I do with these talks, which I typically talk about InfoSec stuff. 15 00:00:52,120 --> 00:00:57,100 This isn't an InfoSec talk, so I'm not going to really go over this. 16 00:00:57,260 --> 00:00:58,920 But why am I here? 17 00:00:58,920 --> 00:01:02,380 I actually grew up in the era of 8-bit computers. 18 00:01:02,380 --> 00:01:07,700 You know, when I was a kid, it was the Apple II and the Atari 8-bit, Commodore 8-bit. 19 00:01:07,700 --> 00:01:11,360 My first game console was an Atari 2600. 20 00:01:11,680 --> 00:01:18,760 My first computer was actually an Atari 800XL, which I got around in 84 when I was going to college. 21 00:01:18,900 --> 00:01:31,600 And I can tell you that it was a big change going from writing papers on a typewriter to using a word processor to write up my papers. 22 00:01:32,100 --> 00:01:49,360 And I remember an incident when I turned in one of my first papers to my English teacher that I use on the word processor, and she marked off the fact that I didn't put quotes around the book, all the titles. 23 00:01:49,460 --> 00:01:52,740 And I had to go and take it back to her and tell her, like, no, no, no, no, no. 24 00:01:52,920 --> 00:01:55,560 I italicized the titles. 25 00:01:55,740 --> 00:01:57,600 They don't need to be quoted. 26 00:01:58,340 --> 00:01:59,860 And she didn't realize that. 27 00:01:59,860 --> 00:02:01,980 And then, of course, gave me back the points. 28 00:02:02,120 --> 00:02:05,040 Because that was just too new at that time. 29 00:02:06,000 --> 00:02:09,620 My second computer was an Atari 1040ST-FM. 30 00:02:10,220 --> 00:02:17,100 You will impress me if you come up afterwards and tell me what that means without looking it up. 31 00:02:17,760 --> 00:02:23,620 When I was in college, among other things, I actually did programming in the 6502 and the 68000. 32 00:02:25,040 --> 00:02:26,600 You know, these are some of the computers I used. 33 00:02:26,600 --> 00:02:30,920 And I used these wonderful programming languages that maybe some of you know of, maybe you don't. 34 00:02:30,920 --> 00:02:32,600 Later on, I did do C. 35 00:02:32,600 --> 00:02:34,580 I still got my computers. 36 00:02:34,600 --> 00:02:36,420 I've added to my collection. 37 00:02:36,420 --> 00:02:37,920 I don't have a huge collection. 38 00:02:38,080 --> 00:02:41,520 But I, you know, I enjoyed using these computers at the time. 39 00:02:41,640 --> 00:02:44,260 I enjoy using modern computers. 40 00:02:44,400 --> 00:02:50,760 What I find kind of disappointing with a lot of people who get into computer science is they... 41 00:02:51,380 --> 00:02:53,180 because I'm a computer science major. 42 00:02:53,180 --> 00:02:55,120 I was never a computer engineer. 43 00:02:55,340 --> 00:02:57,920 I wasn't, you know, hardware wasn't what I was about. 44 00:02:57,920 --> 00:02:59,540 I was about running software. 45 00:02:59,540 --> 00:03:04,680 But my view is always from the beginning was I'm running software. 46 00:03:04,680 --> 00:03:06,040 It runs on a computer. 47 00:03:06,040 --> 00:03:07,700 I should know about the hardware. 48 00:03:07,780 --> 00:03:14,500 And unfortunately, what I saw was a lot of computer science majors, the computer was just a black box. 49 00:03:14,600 --> 00:03:18,140 I remember talking to them and asking them, hey, what processor is in that computer? 50 00:03:18,140 --> 00:03:21,080 And they're like, I don't know. 51 00:03:21,700 --> 00:03:23,600 And of course, today, it's even worse. 52 00:03:24,160 --> 00:03:28,380 I know that my computer here, my laptop is a Core i7. 53 00:03:28,380 --> 00:03:40,720 But I'd have to look it up to find out which of the 20 some generations of the i7 it is or what capabilities because, you know, nowadays, we're just pretty much oblivious. 54 00:03:42,640 --> 00:03:51,220 So kind of the outline, we'll talk about some of the timeline, computer types, where we get into like some of the semiconductor companies, which I find kind of interesting. 55 00:03:51,540 --> 00:03:56,020 We'll look at, you know, more about the microprocessor units, we'll look more at the 6502. 56 00:03:56,180 --> 00:04:04,460 We'll talk a little bit about assembly language, which it's either something that is really interesting to you, or freaking boring, you know, it's... 57 00:04:05,700 --> 00:04:07,180 or, you know, the worst thing possible. 58 00:04:07,180 --> 00:04:12,200 And then I want to, I put together a lot of good resources, at least a lot of things that I think are good resources. 59 00:04:12,660 --> 00:04:15,860 So I encourage you guys to take pictures of that. 60 00:04:16,080 --> 00:04:20,440 So the timeline, the 70s, which is what I said, this is when I was in high school. 61 00:04:21,580 --> 00:04:41,000 You know, we had Intel came out with the 8080, which kicked off the microcomputer era, we have the Altair, you know, followed up and by other processors, you know, you have the Apple to the Commodore, you know, the TRS-80 model one, the so called trash 80, 62 00:04:41,000 --> 00:04:48,540 as everyone called it, and so forth into the 70s, the TI's computer, and the rest. 63 00:04:48,540 --> 00:05:01,740 And then in the 80s, we get more, we get the VIC-20, the Commodore 64, the IBM PC, the Macintosh, and then of course, you know, the Macintosh, the ST, the Amiga. 64 00:05:01,960 --> 00:05:05,580 I didn't want to go further, because now we're getting outside of 8-bit. 65 00:05:06,120 --> 00:05:10,600 When I was doing this, I wondered, should I get into RISC processors? 66 00:05:10,860 --> 00:05:15,720 Because that's another whole, you know, topic, and that's kind of interesting and kind of sad. 67 00:05:16,480 --> 00:05:19,000 So I didn't want to kind of overwhelm things. 68 00:05:20,460 --> 00:05:24,360 When we talk about computer types, there's a lot of different ways to categorize them. 69 00:05:24,360 --> 00:05:32,880 These are the ones that I understood when I was into computer science, we talked about the mainframes, you had minicomputers, and you had microcomputers. 70 00:05:33,220 --> 00:05:39,680 And I'll be honest, this is the distinction I've always been told about. 71 00:05:39,680 --> 00:05:41,240 Why is this a mainframe ? 72 00:05:41,240 --> 00:05:42,640 Why is this a minicomputer? 73 00:05:42,720 --> 00:05:45,620 And usually the way they said it's like, well, it's about size. 74 00:05:45,680 --> 00:05:53,540 Your mainframes were your huge room-based computers, the ones you see in the TVs and movies, with the tape drives going and whatnot. 75 00:05:53,860 --> 00:05:57,120 And the minicomputers were smaller, the size of a refrigerator. 76 00:05:58,080 --> 00:06:05,540 Earlier on, it was, you know, these companies, you know, IBM and these others, they were called Snow White and the Seven Dwarfs. 77 00:06:05,840 --> 00:06:08,960 Through mergers, it became IBM and the Bunch. 78 00:06:09,220 --> 00:06:15,880 And today, yes, mainframe computers are still being made, but now by these companies. 79 00:06:16,560 --> 00:06:25,460 The minicomputers were kind of interesting, you had, you know, digital and data, data general and all these others, and they no longer exist. 80 00:06:25,680 --> 00:06:34,380 You know, there are no minicomputers as a market, and almost all those companies either don't exist or they've moved out. 81 00:06:35,160 --> 00:06:46,780 Microcomputers started, of course, as the small, you know, more of a hobbyist getting into the business computers with MIT or the MITS, MSci, Sol, you know, then the Apple, Atari, Commodore. 82 00:06:46,780 --> 00:06:57,300 But as microprocessor became more and more powerful, you now had microprocessor-based servers, and those kind of moved in and wiped out the minicomputers. 83 00:06:58,820 --> 00:07:12,060 And then I debated to put into a lower level, which would have been your microcontrollers, which in many cases are microprocessors being used to control hardware, you know, disk drives and this sort of stuff. 84 00:07:13,100 --> 00:07:17,560 So, let's talk about semiconductor manufacturers as kind of interesting. 85 00:07:17,560 --> 00:07:20,780 The first major one is called Shockley Semiconductor. 86 00:07:20,780 --> 00:07:26,540 It was founded by the guy who created transistors, a guy named William Shockley. 87 00:07:26,760 --> 00:07:35,060 Unfortunately, Shockley was one of these people who was like a brilliant, you know, scientist, a lousy manager. 88 00:07:35,280 --> 00:07:41,200 So, he established his company, he brought all these engineers on board, he trained them. 89 00:07:41,580 --> 00:07:44,340 They didn't like working for him, and they left. 90 00:07:44,480 --> 00:07:59,680 And these people, there was eight of them, and they are known as, and I'm not, I'm not making this up, they are the traitorous eight who left Shockley Semiconductor to go found a new company called Fairchild Semiconductor. 91 00:07:59,720 --> 00:08:10,900 And Fairchild was a subsidiary of Fairchild Camera, and we have Fairchild Semiconductor for having Silicon Valley. 92 00:08:10,900 --> 00:08:13,980 They literally created Silicon Valley. 93 00:08:13,980 --> 00:08:30,720 They were established in California, and then the funny thing was with Fairchild is many of the people that came to Fairchild left to establish other companies, and some of them even left those and started other companies, and these are referred to as the Fairchildren. 94 00:08:31,360 --> 00:08:41,740 And there's even, you can go online, you can see these charts of all these companies that have been like second generation from Fairchild that spread this knowledge of the semiconductors. 95 00:08:42,200 --> 00:08:51,240 Fairchild's big claim to fame is they were one of two companies that created the integrated circuit that gives us all the computer chips that we use today. 96 00:08:51,500 --> 00:09:07,100 They did create their own microprocessor, which until recently I didn't even know existed, called the F8, and they created their own game console called the Channel F, which I again have to admit, I don't remember that when I was a kid. 97 00:09:08,060 --> 00:09:19,860 But the big thing that was made the Channel F important is it was the first one to use ROM cartridges for the games, which became the standard of all the game consoles that followed. 98 00:09:19,860 --> 00:09:31,540 You know, all the Atari's used game consoles, the Nintendo and Super Nintendo and the Sega Genesis and all those all used ROM cartridges until they came along sort of using CDs. 99 00:09:32,720 --> 00:09:41,780 One of the big Fairchild is this little company called Intel, which was for it stood for Integrated Electronics, very, very creative name. 100 00:09:42,320 --> 00:09:47,180 And it was actually 10 of the guys that were the traders that went and founded Intel. 101 00:09:47,380 --> 00:09:51,160 Intel, when they were established, made memory chips. 102 00:09:51,160 --> 00:09:52,940 That's really what they did. 103 00:09:53,900 --> 00:10:07,340 But what made a difference is when was when a Japanese calculator company went to them and said, hey, we need some chips made, because we're going to make four sets of calculators. 104 00:10:07,340 --> 00:10:11,360 And we need chips in them to make them function. 105 00:10:11,400 --> 00:10:14,920 And they were saying like, well, okay, we have four calculated with different features. 106 00:10:15,180 --> 00:10:21,700 So why don't you make us four sets of chips for these four compute for calculators. 107 00:10:21,840 --> 00:10:25,920 But one of the engineers at Intel said like, no, that's not a good idea. 108 00:10:25,920 --> 00:10:33,260 Let's make one set of chips that we can program and use in all four of these. 109 00:10:33,280 --> 00:10:40,100 And that what they created was the 4004, which is a four bit processor. 110 00:10:40,440 --> 00:10:45,820 That was actually the first microprocessor, it was then replaced with a better 4040. 111 00:10:46,240 --> 00:10:51,020 And then shortly thereafter, another calculator company came with the same thing. 112 00:10:51,020 --> 00:10:57,780 And the same engineers then created the 8008, now an eight bit processor. 113 00:10:57,780 --> 00:11:01,900 And then they made it better and created the 8080. 114 00:11:02,380 --> 00:11:06,460 And again, they created these to be used in calculators. 115 00:11:06,460 --> 00:11:09,860 No one created these for being be used in computers. 116 00:11:09,860 --> 00:11:17,660 It took other people to look at this and go like, hey, I can take this 8080 chip and make it into a computer. 117 00:11:18,180 --> 00:11:24,800 And those were the guys at MIT or MITS, depending on what you believe is the name of the company. 118 00:11:24,860 --> 00:11:37,280 And that was the Altair 8800, which was, it's not the first personal computer, but it was the first commercially available personal computer. 119 00:11:37,280 --> 00:11:39,000 And that kicked it all off. 120 00:11:39,000 --> 00:11:43,200 And of course, people that wanted these were more people that were hobbyists and engineers. 121 00:11:43,200 --> 00:11:50,620 They, you know, at that time, as I said, you had many computers and mainframes that you didn't get to sit at and work on the computers. 122 00:11:50,620 --> 00:12:01,480 People wanted their own computer that they could have and work on and do stuff with, as well as now that can be used for practical purposes and businesses. 123 00:12:02,680 --> 00:12:08,660 Shortly thereafter, Intel created the 8086, which is now a 16 bit processor. 124 00:12:09,380 --> 00:12:12,840 And that then, of course, was used for more powerful computers. 125 00:12:12,860 --> 00:12:20,180 They then started a series of kind of iterations that gave us the 80186 and so forth. 126 00:12:20,180 --> 00:12:26,320 You know, the 286, the 386, the 386 is now a 32 bit processor. 127 00:12:26,320 --> 00:12:29,000 So now we're moving up and becoming more and more powerful. 128 00:12:29,140 --> 00:12:34,740 And the 486, the next one was supposed to be the 8586. 129 00:12:35,160 --> 00:12:43,420 But instead, Intel decided to call it a Pentium because you can't copyright a number, but you can copyright a name. 130 00:12:43,800 --> 00:12:55,640 And then with the Pentium, there was all the various different variations of the Pentium, which I'm sorry, I can't, I couldn't keep up with even at the time you had the Pentium 2 and the 3 and the 4 and the DX and so forth. 131 00:12:55,760 --> 00:12:59,800 I think around the Pentium 4 is when they went to 64 bit. 132 00:13:01,260 --> 00:13:04,540 Intel also tried their hand at RISC processors. 133 00:13:04,640 --> 00:13:08,260 That's the i86, 860 and 960. 134 00:13:08,720 --> 00:13:10,320 Those are dead. 135 00:13:10,700 --> 00:13:16,900 Most of the other ones, they actually made them for several decades, but then stopped doing so. 136 00:13:17,080 --> 00:13:25,600 And then there was also the Itanium, that was another architecture they tried out, that was useful for a while and it's also dead. 137 00:13:25,600 --> 00:13:35,040 Nowadays, it's the one on the next line, the the Atom and the Celeron, which are the low power ones meant for like tablets and embedded systems. 138 00:13:35,200 --> 00:13:42,700 The Core 3579, which for laptops and desktops and then the Xeon for servers. 139 00:13:43,520 --> 00:13:57,240 One thing that I've noticed in the last few years with Intel, and maybe others of you have noticed the same thing, is that Intel is still pretty big with desktops and laptops and servers, but that's it. 140 00:13:58,160 --> 00:14:04,320 They tried getting into smartphones, that didn't go. 141 00:14:04,320 --> 00:14:13,600 They tried getting into the Arduino space, there was actually an Intel-based Arduino called the 101, that didn't last. 142 00:14:13,600 --> 00:14:19,080 They tried getting into the single board computer like the Raspberry Pi. 143 00:14:19,080 --> 00:14:25,760 I'm not sure how many people here remember the Minnow board that they put together, that didn't last. 144 00:14:25,760 --> 00:14:33,460 They've tried other little IoT devices like the Edison, which I got and several others. 145 00:14:33,460 --> 00:14:42,780 And it's like outside of desktops, servers, and laptops, Intel doesn't exist, everything else is ARM. 146 00:14:43,680 --> 00:14:49,040 Every one of you who has a smartphone with you, that's an ARM-based processor. 147 00:14:49,660 --> 00:14:53,070 Seriously, now you have anything that's not an ARM-based smartphone. 148 00:14:54,260 --> 00:15:00,060 ARM is now being used by Apple for their systems. 149 00:15:00,940 --> 00:15:07,260 There is actually already, we're seeing ARM-based laptops that'll run Windows. 150 00:15:07,300 --> 00:15:09,600 I'm hearing of ARM-based servers. 151 00:15:09,980 --> 00:15:12,340 So, I don't know what that means. 152 00:15:12,340 --> 00:15:14,540 So, it's kind of interesting what's happening. 153 00:15:15,360 --> 00:15:22,860 Subbing back, I mentioned that certain engineers at Intel had created the 4040 and 8080. 154 00:15:22,900 --> 00:15:30,760 Those were a gentleman by the name of Federico Fagan, along with a Japanese engineer named Masatoshi Shima. 155 00:15:30,760 --> 00:15:43,120 They actually left Intel to form Zilog, which is, and I'm not joking, it was picked because it's the last name and integrated electronics. 156 00:15:43,120 --> 00:15:49,400 And they created the Z80, which was a much improved version of the 8080. 157 00:15:49,400 --> 00:15:57,240 So improved that the Z80 in the market kind of displaced the 8080 from systems. 158 00:15:57,240 --> 00:16:02,320 And so, everyone who was using what would have been an 8080-based system was using a Z80. 159 00:16:04,180 --> 00:16:12,300 And until April of this year, they were still manufacturing the original Z80 chip and selling it. 160 00:16:13,160 --> 00:16:14,900 That's not the end of the Z80. 161 00:16:14,900 --> 00:16:19,340 They have replacement chips such as the EZ80 you can still get. 162 00:16:19,340 --> 00:16:22,800 So, you can still get Z80 chips and use them. 163 00:16:22,800 --> 00:16:24,560 They tried their hand at others. 164 00:16:24,560 --> 00:16:28,280 They did a Z800, which is a 16-bit processor. 165 00:16:28,500 --> 00:16:32,920 And then they went with a 32-bit with a Z80,000. 166 00:16:32,980 --> 00:16:37,560 And if you're like, I never heard of those, well, it wasn't that successful. 167 00:16:39,480 --> 00:16:46,400 These are what we refer to, and I don't know if I, where I got the term from, is these are the eights. 168 00:16:46,400 --> 00:16:50,340 That almost the processors use the letter eight, the number eight on it. 169 00:16:50,880 --> 00:16:55,260 The other set that we talked about that's really major starts off with Motorola. 170 00:16:56,160 --> 00:16:59,920 They start off with the Z, the 6800 processor. 171 00:17:00,220 --> 00:17:02,780 It had some success. 172 00:17:02,800 --> 00:17:12,220 A lot of the early computer companies, MITS and MSCI, did release 6800-based systems with an 8-bit processor, but it wasn't that big. 173 00:17:12,220 --> 00:17:18,280 They replaced it with a more powerful 6809, which is an 816-based system. 174 00:17:18,280 --> 00:17:26,260 Probably its fame to fame is, it was one used in the Tandy Color Computer, which was used for many years. 175 00:17:26,260 --> 00:17:35,660 And I was actually really surprised to learn how much involvement Motorola had in actually the creation of the Color Computer, which I never knew. 176 00:17:35,660 --> 00:17:38,280 I learned that, you know, like the last couple of years. 177 00:17:39,440 --> 00:17:54,880 Then of course, much more famously is a 6800, sorry, 68000, which was of course used in the Macintosh, the ST, the Commodore, many Unix workstations, Sega Genesis used it and so forth. 178 00:17:54,880 --> 00:17:57,340 So a very, very popular processor. 179 00:17:57,340 --> 00:18:02,840 They then extended out, the 68000 is a 1632-bit system. 180 00:18:02,840 --> 00:18:08,340 And then the full 32-bit was a 68020, or the 020, as we call it. 181 00:18:08,340 --> 00:18:17,860 And there was a progression of those, the 020 to 060, which was used in subsequent Macintoshes, Amigas, and Atari systems. 182 00:18:19,080 --> 00:18:24,600 Motorola also got into trying their hand at RISC processors with the 88000. 183 00:18:25,430 --> 00:18:49,300 However, in the mid-90s, they got involved with the AIM consortium, which was Apple, IBM, and Motorola to compete against the Windows, sorry, the Microsoft Intel duopoly. 184 00:18:49,300 --> 00:18:53,280 And they were going to make, and part of that was the PowerPC. 185 00:18:53,400 --> 00:19:02,080 Now the PowerPC was a RISC-based architecture from IBM, but the idea was that Motorola and IBM would create the chips. 186 00:19:02,960 --> 00:19:07,780 Motorola, IBM, and Apple would all build PowerPC systems. 187 00:19:09,080 --> 00:19:12,600 Apple would move Macintosh to PowerPC and so forth. 188 00:19:12,700 --> 00:19:17,280 The funny thing is, I was actually at IBM at that time and then went to Motorola. 189 00:19:17,280 --> 00:19:22,540 So I got to see a lot of PowerPC-based systems that never got to market. 190 00:19:22,540 --> 00:19:26,100 There were some cool ones, but that's just how it is. 191 00:19:27,180 --> 00:19:33,680 Going back to the 6800, as I said, that was Motorola's, you know, 8-bit processor initially. 192 00:19:33,880 --> 00:19:36,040 And there were some problems with it. 193 00:19:36,040 --> 00:19:46,100 One thing they discovered from feedback from the customers or potential customers was that one, they thought it was just a little bit too powerful for what they needed. 194 00:19:46,520 --> 00:19:53,060 But more importantly, a lot of their potential customers thought it was too expensive as a chip. 195 00:19:53,240 --> 00:19:57,440 Motorola was charging over $300 for a chip . 196 00:19:57,700 --> 00:20:05,500 And you need to understand is that when you're building a system, yes, you know, your CPU chip is important, but there's also other chips you need. 197 00:20:05,500 --> 00:20:11,320 And if it's already 300 bucks for that CPU chip, and then add the others, then you have a kind of an expensive system. 198 00:20:11,320 --> 00:20:13,020 And that was a problem. 199 00:20:13,020 --> 00:20:17,820 One of the engineers at Motorola by the name of Chuck Peddle was involved with that. 200 00:20:17,820 --> 00:20:27,900 And he was like trying to work out a low cost alternative at Motorola for the 6800 until basically Motorola told him to knock it off. 201 00:20:27,900 --> 00:20:28,620 Yeah. 202 00:20:28,720 --> 00:20:30,620 And so he wasn't happy by that. 203 00:20:30,620 --> 00:20:32,100 Some of those people weren't happy. 204 00:20:32,100 --> 00:20:33,900 So they left Motorola. 205 00:20:33,900 --> 00:20:39,600 This is a group of people that included Chuck Peddle, an associate by the name of Bill Minch. 206 00:20:39,600 --> 00:20:45,600 And they left Motorola and they went to the next company on the slide there. 207 00:20:45,860 --> 00:20:50,240 So let me make a couple of things really clear about this company. 208 00:20:50,500 --> 00:20:53,940 Because a lot of people get this wrong, get these two things wrong. 209 00:20:53,940 --> 00:20:58,440 I've seen it in YouTube channels, on videos on YouTube that are incorrect. 210 00:20:58,500 --> 00:21:02,400 So first of all, is how do you say its name? 211 00:21:03,280 --> 00:21:07,560 If you think it's MOS Technology, you're wrong. 212 00:21:07,660 --> 00:21:18,800 It is MOS Technology because you don't want to confuse it with another company that exists at the time called MOS Tech, which I listed up there. 213 00:21:18,800 --> 00:21:24,920 And that's very true because I know as a kid, well at that time, I was even confused myself. 214 00:21:25,080 --> 00:21:36,020 The next thing that I've seen that several videos would claim is that Chuck Peddle and the other guys from Motorola founded MOS Technology. 215 00:21:36,080 --> 00:21:37,560 No, they did not. 216 00:21:37,560 --> 00:21:44,060 MOS had already been in existence for several years as a, again, as a memory company. 217 00:21:44,060 --> 00:21:46,900 They just joined the company. 218 00:21:46,900 --> 00:21:51,940 There, they created two chips, the 6501 and the 6502. 219 00:21:52,200 --> 00:21:55,600 And if you're going, well, I've heard of the 6502. 220 00:21:55,720 --> 00:21:57,660 I never heard of the 6501. 221 00:21:57,660 --> 00:21:58,560 Well, there's a reason. 222 00:21:58,560 --> 00:21:59,780 Let me explain it. 223 00:22:00,400 --> 00:22:05,620 These two chips are logically, are mostly the same in terms of architecturally. 224 00:22:06,060 --> 00:22:09,260 It was meant to be a scaled down version of 6800. 225 00:22:09,260 --> 00:22:11,760 I'll show, I'll show, I'll explain that shortly. 226 00:22:12,480 --> 00:22:14,340 But there were some differences. 227 00:22:14,440 --> 00:22:21,520 The main difference is the 6501 was pin compatible with the 6800. 228 00:22:21,540 --> 00:22:36,880 That means if you're, if you have a board that you designed to use the 6800, you can then go get a 6501, which would be way, way, way cheaper and plop it in and off you, off you run. 229 00:22:36,980 --> 00:22:39,020 You know, the op code would, would not be compatible. 230 00:22:39,020 --> 00:22:45,900 You would still have to program it, but you would save your development time because you've got, you know, you've already got a board that'll use it. 231 00:22:46,800 --> 00:22:49,280 Motorola didn't like that and they sued them. 232 00:22:49,280 --> 00:22:51,520 So they never brought it to market. 233 00:22:51,520 --> 00:22:55,580 I don't understand how you can sue over that. 234 00:22:55,580 --> 00:22:58,260 I mean, you, you know, you copyright your pin outs. 235 00:22:58,260 --> 00:23:05,560 I don't, I don't understand that because Intel didn't, as far as I know, never, never, you know, sued Zilog about the Z80. 236 00:23:05,980 --> 00:23:08,060 So I don't understand that. 237 00:23:08,060 --> 00:23:10,800 So anyway, so the 6502 is what came out. 238 00:23:10,900 --> 00:23:15,880 They did make a lot of different derivatives, things that were like slightly different of it and so forth. 239 00:23:15,920 --> 00:23:19,340 MOS technology existed in a separate company. 240 00:23:19,340 --> 00:23:21,820 Commodore later soon bought them out. 241 00:23:22,020 --> 00:23:24,940 So they would have a ready source of chips. 242 00:23:24,940 --> 00:23:30,700 So they also were the ones that manufactured the specialized chips for the Commodores and the Amiga computers. 243 00:23:32,100 --> 00:23:36,340 And unfortunately MOS went under when Commodore went under. 244 00:23:36,340 --> 00:23:47,140 However, one of those other guys I mentioned, Bill Minch, he left Commodore and formed his own company called Western Design Company. 245 00:23:47,140 --> 00:23:48,460 I had to be kind of careful with some of that. 246 00:23:48,460 --> 00:23:50,940 They say Western Digital, which is wrong. 247 00:23:51,520 --> 00:24:00,240 And then he licensed the 6502 chip to make it because that was the common thing there is you'd have multiple companies making chips. 248 00:24:00,540 --> 00:24:11,940 Then what he did was he teamed up with a couple other companies that were making 6502 and they developed a new version of it called the 65CO2. 249 00:24:11,940 --> 00:24:14,880 The C means it's made using CMOS. 250 00:24:15,500 --> 00:24:18,140 And it's an improved version of 6502. 251 00:24:18,140 --> 00:24:19,460 They fixed some bugs. 252 00:24:19,460 --> 00:24:24,920 They added some opcodes and they still make them today. 253 00:24:25,020 --> 00:24:28,320 You want a 6502 chip today, you can still buy them. 254 00:24:28,320 --> 00:24:29,520 They're a few bucks. 255 00:24:29,520 --> 00:24:34,800 You can go to like DigiKey and Mouser and those guys and you can still get it. 256 00:24:35,180 --> 00:24:45,040 Shortly thereafter, he made a new version and that's the 65816, which is an 816 bit version of the 6502. 257 00:24:45,040 --> 00:24:53,400 It can emulate fully the 6502 or can go, you know, an 816 bit processor. 258 00:24:53,900 --> 00:25:02,740 It's best known and used has been in the Apple IIgs, which was not quite the last Apple II, but probably one of the best ones. 259 00:25:03,420 --> 00:25:05,960 And it was used in the Super Nintendo. 260 00:25:06,280 --> 00:25:09,740 So if you use a Super Nintendo, guess what, you use that. 261 00:25:10,300 --> 00:25:15,860 So that's... and these, as I said, the other group is compute processor, that's the 8s. 262 00:25:15,860 --> 00:25:17,900 So these are the 6s. 263 00:25:18,460 --> 00:25:19,720 There are a few other companies. 264 00:25:19,720 --> 00:25:22,380 I just want to quickly mention Texas Instrument. 265 00:25:23,420 --> 00:25:26,580 Huge in calculators, still big in calculators. 266 00:25:27,000 --> 00:25:32,160 But I was surprised to learn that for a period of time, they actually made many computers. 267 00:25:33,160 --> 00:25:45,380 They took that architecture and made a processor called the TMS9900, which they used in their computer called the TI99 slash 4, which I remember it. 268 00:25:45,380 --> 00:25:49,180 It was an interesting computer. 269 00:25:49,180 --> 00:25:51,240 I'll say it that way. 270 00:25:51,240 --> 00:25:54,240 The processor was an 816 processor. 271 00:25:54,240 --> 00:26:03,340 The problem was, you know, there's debate whether it was kind of a crippled design because of infighting within the company. 272 00:26:03,340 --> 00:26:05,160 So it wasn't very successful. 273 00:26:06,020 --> 00:26:13,080 Another company, which is I thought I should list more as a could have been is National Semiconductor. 274 00:26:13,420 --> 00:26:16,780 They had a series of chips called the 32000. 275 00:26:17,160 --> 00:26:27,180 And I do know that Atari looked at them, maybe Amiga looked at them as possibly the processor for the next generation. 276 00:26:27,180 --> 00:26:31,380 But they didn't go with them and said they went with Motorola 68000. 277 00:26:31,380 --> 00:26:35,280 So who knows what might have happened if that didn't go. 278 00:26:35,620 --> 00:26:38,640 The last one I'll mention is RCA. 279 00:26:38,640 --> 00:26:40,980 Yes, yes, that's Radio Communications of America. 280 00:26:40,980 --> 00:26:44,920 They had an 8-bit processor called the 1802. 281 00:26:45,080 --> 00:26:48,360 All I would say for that is take a look at that on Wikipedia. 282 00:26:48,360 --> 00:26:49,700 It's very, very interesting. 283 00:26:49,900 --> 00:26:54,880 They actually use that in space probes. 284 00:26:54,880 --> 00:26:56,520 So kind of insane. 285 00:26:56,520 --> 00:26:59,720 Now, if you're like, well, you forgot this company, you forgot that company. 286 00:26:59,720 --> 00:27:01,180 There are other companies out there. 287 00:27:01,180 --> 00:27:03,460 A lot of them, all they do is they make chips. 288 00:27:03,460 --> 00:27:05,460 They don't design chips. 289 00:27:05,960 --> 00:27:13,980 Even today, Apple designs their own software, their own silicon, the M1, 2, 3, and 4. 290 00:27:13,980 --> 00:27:15,240 But they don't make it. 291 00:27:15,240 --> 00:27:19,660 They go to another company and say, here, here's a design, make us these chips. 292 00:27:20,460 --> 00:27:25,160 ARM, you know, ARM is nothing more than, you know, a licensing company. 293 00:27:25,160 --> 00:27:26,920 They don't make ARM chips. 294 00:27:26,920 --> 00:27:29,160 They design the ARM architecture. 295 00:27:29,340 --> 00:27:33,980 They give it to other companies like Broadcom and all the others, and they make it. 296 00:27:34,440 --> 00:27:38,200 You know, this has a, you know, an ARM processor in it. 297 00:27:38,200 --> 00:27:39,500 ARM didn't make it. 298 00:27:39,520 --> 00:27:45,420 They went to Broadcom and, you know, which is part, you know, tied to the Raspberry Pi people, and they made it. 299 00:27:45,420 --> 00:27:46,740 That's just how it is. 300 00:27:48,900 --> 00:27:58,760 I thought I should make, I should mention this, because a lot of people don't understand, again, about, you know, if you don't understand the history of computers, when you think about the IBM PC, and they, some people think how, oh, how radical it is, 301 00:27:58,760 --> 00:28:03,240 and, you know, standardized things, and that's just not quite the way it was. 302 00:28:03,240 --> 00:28:15,060 In the early 70s, we did have a standard, which was, you know, many companies, and I mentioned several, you know, Altair, MSCI, Fromenco, and a lot of these others, who built standard business computers. 303 00:28:15,060 --> 00:28:17,900 They used, used the Z80 chip. 304 00:28:18,500 --> 00:28:28,480 They had what was called the S100 bus, which also known as the Altair bus, which was an IEEE standard bus up until the 19, the mid 90s. 305 00:28:28,480 --> 00:28:37,420 People were still making S100 based systems, and they used CPM as the operating system. 306 00:28:38,280 --> 00:28:44,320 But unfortunately, other than that, there was, there was little standards that, you know, floppies, drives was all over the place. 307 00:28:44,320 --> 00:28:57,580 You had eight, you know, eight inch, you had five and a quarter, you had, you know, you might not know what the, what I mean by hard sector and soft sector, double sided, double density, you know, is all a lot of complexity with these things. 308 00:28:57,580 --> 00:28:59,180 It was pretty crazy. 309 00:29:00,320 --> 00:29:03,260 Look into the CPM operating system. 310 00:29:03,460 --> 00:29:14,940 Again, it's one of like, what might have been CP, we might have been using CPN instead of MS-DOS, if certain things had not gone certain ways. 311 00:29:15,400 --> 00:29:21,380 It's either a, either a ridiculous story, or a sad story, or however you want to look at it. 312 00:29:23,080 --> 00:29:27,220 So, it goes a little beyond what I wanted to talk about here, but it is interesting. 313 00:29:29,140 --> 00:29:37,640 So, I don't know if people, I've been saying things like 8-bit, 16-bit, I've even said like 8, 16. 314 00:29:38,220 --> 00:29:42,260 Does anyone know, understand what the hell I'm saying when I say these things? 315 00:29:42,260 --> 00:29:44,160 I see some hands raised. 316 00:29:44,160 --> 00:29:48,600 Okay, good, if that's the case, because a lot of people don't. 317 00:29:48,600 --> 00:29:50,200 It's, it's ridiculous. 318 00:29:51,060 --> 00:30:04,540 To give you an example, Atari came out with one of their game consoles toward the end called the Jaguar, which they toted as being a 64-bit system. 319 00:30:04,540 --> 00:30:10,640 And their, their marketing tagline was, you know, do the math. 320 00:30:10,640 --> 00:30:17,440 But if you look at the system, and I'm pretty positive that, no, it was not a 64-bit system. 321 00:30:17,580 --> 00:30:20,580 It was, I think, either 16 or 32. 322 00:30:20,580 --> 00:30:27,960 That's the problem with these terminologies is that we as technology people, we understand that, oh, this is an 8-bit system. 323 00:30:27,960 --> 00:30:29,220 This is a 16-bit. 324 00:30:29,220 --> 00:30:32,820 Oh, yeah, we have, we can have an 8, 16 that's in between that's more powerful. 325 00:30:32,900 --> 00:30:37,840 But then you get to these marketing dweebs, and they just, you know, do ridiculous things. 326 00:30:37,840 --> 00:30:41,920 I came across an article around this time where they talked about this system. 327 00:30:41,920 --> 00:30:44,320 And they were claiming it was a 64-bit system. 328 00:30:44,320 --> 00:30:48,900 And I'm like, wait, wait a minute, I know what the processor is in that system. 329 00:30:48,900 --> 00:30:49,800 It isn't. 330 00:30:50,320 --> 00:30:51,820 It isn't a 64-bit. 331 00:30:51,820 --> 00:30:57,280 And I'm reading the article, and I'm realizing that the person who wrote it was like adding things together. 332 00:30:57,280 --> 00:31:03,980 Like, oh, well, it's, you know, I'm taking the address bus and the data bus and this, and I'm adding them all together. 333 00:31:03,980 --> 00:31:05,200 And it's 64-bit. 334 00:31:05,200 --> 00:31:06,520 So it's a 64-bit system. 335 00:31:06,520 --> 00:31:09,400 I'm like, no, that's not how it works. 336 00:31:11,140 --> 00:31:24,840 I was also surprised to learn, because only because I never used these computers that we also had 12 and 24-bit and 48-bit computers at one time, which I was surprised, but I never used those. 337 00:31:25,340 --> 00:31:30,180 You know, when we talk about processors, these are the things we look at, you know, clock speed. 338 00:31:30,180 --> 00:31:35,200 I remember people think that clock speed is real important, and it's not as important as people think. 339 00:31:35,640 --> 00:31:44,660 If you go and watch these YouTube videos where people are doing it, you know, they're looking at a new board and seeing how powerful it is, they're not going and looking at the dang clock speed. 340 00:31:44,660 --> 00:31:49,560 They're going to run benchmarks to see, oh, how fast can it do these things? 341 00:31:49,560 --> 00:31:51,240 So that's more important. 342 00:31:51,760 --> 00:31:59,720 But this is kind of interesting is that the 6502 has a 0.43 versus a 68,000 of 0.75. 343 00:31:59,720 --> 00:32:05,980 If that's not clear, that means that the 6502 is actually faster than the 68,000. 344 00:32:06,100 --> 00:32:14,820 But that's also gets into logic of, you know, why we went with RISC processors because, you know, they're more powerful because they're kind of stripped down. 345 00:32:15,420 --> 00:32:19,340 The address bus is entering that tells us how much memory we can access. 346 00:32:19,340 --> 00:32:26,760 Almost all 8-bit systems have a 24-bit address bus, which is why they only have 64K of memory. 347 00:32:27,440 --> 00:32:36,440 The size and number of registers are kind of interesting because you got some CPUs that have like one or two registers, and others would like multiple. 348 00:32:36,520 --> 00:32:41,880 If you don't understand what I mean by a register, that's the storage space, if you will, within the processor. 349 00:32:41,880 --> 00:32:46,600 If you're going to do anything, you have to pull it out of memory, pull it into the processor and work with it. 350 00:32:46,740 --> 00:32:54,040 The data bus is what's important because that's the highway, the data highway within the computer that data is moving around. 351 00:32:54,040 --> 00:32:58,800 If you got an 8-bit processor, all these auxiliary chips need to be 8-bit. 352 00:32:58,800 --> 00:33:00,760 You can't be mixing and matching. 353 00:33:02,420 --> 00:33:08,820 So I always like to throw this out, which is the IBM PC, which had all these capabilities. 354 00:33:09,420 --> 00:33:12,360 How many people think this was a 16-bit system? 355 00:33:12,900 --> 00:33:15,540 How many people think this was an 8-bit system? 356 00:33:15,540 --> 00:33:17,100 Okay, good. 357 00:33:17,100 --> 00:33:23,420 It's an 8-bit system because the 8088 processor is really an 8 16-bit processor. 358 00:33:23,420 --> 00:33:28,100 So the PC is an 8-bit system, even though most people think it's 16 bits. 359 00:33:29,200 --> 00:33:35,780 A lot of the... I really can't call them a clone in the early days, more of the IBM compatible. 360 00:33:35,900 --> 00:33:42,740 They were full 16-bit because they either use the 8086 or the 8186 and so forth. 361 00:33:42,740 --> 00:33:44,500 So it's actually kind of interesting. 362 00:33:45,200 --> 00:33:47,400 So let's get into, you know, these chips. 363 00:33:47,400 --> 00:33:49,000 I talked about the 6800. 364 00:33:49,980 --> 00:33:50,880 These are the specs. 365 00:33:50,880 --> 00:33:52,060 I'm not going to read it. 366 00:33:53,000 --> 00:33:54,900 That's actually what they look like. 367 00:33:56,320 --> 00:34:00,560 Please note it had 72 instructions, what we call opcode. 368 00:34:01,100 --> 00:34:04,320 As I said, it was really cost $360. 369 00:34:04,340 --> 00:34:06,620 That was in 70s dollars. 370 00:34:07,120 --> 00:34:11,080 Then over time, they reduced it to $179, then to $69. 371 00:34:11,360 --> 00:34:19,600 I don't know how long they were making this, but what I've been able to see is they were still making these for probably a couple of decades. 372 00:34:22,660 --> 00:34:36,600 Now, I was trying to find a similar chart to what I show here for the 6502, but I thought that was useful because again, people need to understand that when a company makes a processor, they're making other chips to work with it. 373 00:34:36,680 --> 00:34:39,820 So in this case, you see that, you know, you have the 68000 processor. 374 00:34:39,820 --> 00:34:42,920 In this case, they have a separate chip for the clock. 375 00:34:43,780 --> 00:34:46,820 Then they have, of course, chips for ROM and RAM. 376 00:34:47,200 --> 00:34:50,820 And then they have a PIA, that's a peripheral interface adapter. 377 00:34:51,200 --> 00:34:53,560 And then of course, a communications adapter. 378 00:34:53,580 --> 00:35:04,920 So the whole idea was that if Motorola is not just selling you the processor, that's what true of all these companies, they're selling you the complete set of chips for your system. 379 00:35:07,800 --> 00:35:09,340 Architecturally, this is what we look at. 380 00:35:09,340 --> 00:35:15,480 We look at the inside with the registers, you see the 6800 versus the 6502. 381 00:35:15,600 --> 00:35:19,480 The 6800 had two registers, they got rid of one. 382 00:35:19,720 --> 00:35:21,200 But otherwise, they're pretty similar. 383 00:35:21,200 --> 00:35:24,100 They have index registers and stack registers and so forth. 384 00:35:24,100 --> 00:35:27,980 Those are all needed inside the chip to do the work that it does. 385 00:35:30,320 --> 00:35:34,740 So then we have the 6502, which of course, you see, it looks just the same. 386 00:35:34,740 --> 00:35:37,340 It's a four pin dip, as it's called. 387 00:35:38,180 --> 00:35:43,900 It has only 55 instructions versus the 77 of the 6800. 388 00:35:45,020 --> 00:36:01,000 So the funny thing is, I've actually read some stuff where people have claimed, I don't know if that's true or not, is that the 6502 might be the first risk chip, because they reduced the instruction set. 389 00:36:01,400 --> 00:36:04,560 I don't know who can make that determination. 390 00:36:05,360 --> 00:36:07,600 But that's what they did. 391 00:36:08,480 --> 00:36:12,120 The original cost for this chip was $25. 392 00:36:12,900 --> 00:36:21,340 And one of the ways they were able to do this was not just that it was a reduced design, was they were able to improve manufacturing. 393 00:36:21,420 --> 00:36:30,100 Now, as I understand it, and those of you who have more knowledge, you can give me the accurate and tell me I got this wrong. 394 00:36:30,100 --> 00:36:41,160 But as I understand it, the chip yield at that time was pretty lousy, as in you'd run a make a bunch of chips, and 70% of them were bad, i.e. 395 00:36:41,160 --> 00:36:47,160 had to throw them away, which is why chips are so costly, because the yield was so poor. 396 00:36:47,160 --> 00:37:09,700 But apparently someone that, you know, one of the motor engineers that came to MOS had worked out a way, I don't know what it is, I'm I'm not an engineer in this area, a way of fixing the chips after production, such that they had a good yield going and suddenly going from being 70% bad to like 30% bad. 397 00:37:09,980 --> 00:37:12,760 And thus they were able to sell the chips a lot cheaper. 398 00:37:12,800 --> 00:37:30,100 And it was because of this price that a couple of guys by the name of Steve Jobs and Steve Wozniak looked at this and they're like, hey, this is the chip that we can use to put together this little home computer we've been thinking about, which if you don't know who those people are, 399 00:37:30,100 --> 00:37:33,640 those are the guys that created the Apple One and the Apple Two and so forth. 400 00:37:35,260 --> 00:37:39,820 So what have been the 6502 been used for? 401 00:37:39,860 --> 00:37:41,460 A lot of stuff. 402 00:37:42,080 --> 00:37:54,300 Over in the UK, the Acorn computers, the BBC Micro used it, the Apple One, the Two and the Three, and all the variations used it. 403 00:37:54,300 --> 00:38:00,080 The Atari home game systems, the Atari 8-bit systems used it. 404 00:38:00,100 --> 00:38:06,020 Commodore used it for all the pet models of VIC-20, 64 and so forth. 405 00:38:06,020 --> 00:38:08,460 The Nintendo used it. 406 00:38:08,900 --> 00:38:10,780 Others used it. 407 00:38:10,780 --> 00:38:16,100 And Bender from Futurama used the 6502. 408 00:38:18,160 --> 00:38:23,060 Then of course, as I said, the 65816 chip was used in the 2GS and the Super NES. 409 00:38:23,660 --> 00:38:28,040 And as I said, Western Design is still making and selling these chips. 410 00:38:29,460 --> 00:38:30,800 That's all they do. 411 00:38:30,800 --> 00:38:33,260 As far as I know, that's pretty much what they manufacture. 412 00:38:33,540 --> 00:38:35,960 So clearly, people are using these for a lot of embedded systems. 413 00:38:35,960 --> 00:38:37,240 Sadly, I don't know. 414 00:38:37,240 --> 00:38:42,380 They don't even say specifically what they're being used for, but it's got to be used heavily. 415 00:38:42,840 --> 00:38:47,660 Another interesting computer is the Kim one, which was created by Chuck Peddle at MOS. 416 00:38:47,660 --> 00:38:52,500 It was a single board computer to kind of sell the 6502. 417 00:38:52,500 --> 00:38:54,840 It was so cheap that people bought that. 418 00:38:55,280 --> 00:38:57,320 Those are very collectible. 419 00:38:57,320 --> 00:38:59,340 I've never seen one. 420 00:38:59,340 --> 00:39:00,140 So I'm not even sure. 421 00:39:00,140 --> 00:39:02,360 I think they were probably about yay big. 422 00:39:02,980 --> 00:39:11,480 And if it's not clear, that keypad is basically hexadecimal numbers and some other commands. 423 00:39:11,480 --> 00:39:13,840 So no, it's not a typewriter keyboard. 424 00:39:15,840 --> 00:39:22,160 I know that Commodore was still making these even though after they bought out MOS. 425 00:39:22,260 --> 00:39:28,860 And then of course, some of the secondary sources for 652 made their own the SIM one and the AIM 65. 426 00:39:29,200 --> 00:39:33,260 And then I found this kind of interesting slide, I thought was interesting. 427 00:39:33,260 --> 00:39:36,900 It showed all the different systems, the clones of it that popped up. 428 00:39:37,100 --> 00:39:44,380 I actually brought one that I've been building that I need to try to fix, which is this is the PAL one. 429 00:39:44,560 --> 00:39:46,060 So you can see it's pretty small. 430 00:39:46,060 --> 00:39:48,300 It's got a keypad and LED. 431 00:39:48,940 --> 00:39:49,940 There's something wrong with it. 432 00:39:49,940 --> 00:39:52,020 I got to try to figure out how to fix this. 433 00:39:52,160 --> 00:40:00,560 But you know, if you come to me, if you visit me at the hardware hacking village, you can have a chance to take a look at it and so forth. 434 00:40:00,560 --> 00:40:01,920 That's why I brought it. 435 00:40:02,880 --> 00:40:12,280 So programming, which is always so much fun, which is a semi-language program, which is either miserable or whatever. 436 00:40:12,960 --> 00:40:16,660 I think most people, if you've done programming, you've probably done high level programming. 437 00:40:16,660 --> 00:40:20,680 I know I have, you know, C and BASIC and Pascal and so forth. 438 00:40:21,160 --> 00:40:31,660 The way I look at it is these programs are written to make it easier for us to put in, put down our ideas into how a program should work. 439 00:40:31,900 --> 00:40:42,640 But the thing is, is they have to be then converted into the language of the machines, which is machine code, which is, you know, binary coding and so forth. 440 00:40:42,840 --> 00:40:44,960 How good that is, is unknown. 441 00:40:44,960 --> 00:40:54,900 That's why many people do still write, do a semi-language programming because they can, you know, get down to the nitty gritty of the hardware and actually write to it. 442 00:40:55,220 --> 00:40:59,000 Unfortunately, it's not really fun, but people do write it. 443 00:40:59,000 --> 00:41:06,920 I was actually surprised that if you visit NoStarchPress here, they actually have a book on ARM semi-language programming. 444 00:41:06,920 --> 00:41:10,660 And I think they also have one for x86 programming. 445 00:41:11,080 --> 00:41:20,920 So the thing is also with program is when we do these higher level languages, there's things like, you know, an if then statement, you know, if this condition has been met, then do this. 446 00:41:20,920 --> 00:41:27,180 If you got a for loop or a while loop and all that, they don't, that doesn't exist in a semi-languages. 447 00:41:27,180 --> 00:41:35,440 You do have things like a compare command, like, hey, do these two things compare, which is higher, which is lower. 448 00:41:35,580 --> 00:41:41,320 But from that, then you have to build that logic of that if statement or the for loop and this sort of stuff. 449 00:41:41,400 --> 00:41:44,360 So it becomes a little bit more complex. 450 00:41:46,380 --> 00:41:49,900 So this is what 6502 looks like. 451 00:41:49,900 --> 00:41:51,960 And it's, I guess, three letter coding. 452 00:41:52,240 --> 00:42:06,300 And these are some of the ones in like, there's an add with carry, there's the compare, there's the load the accumulator, that means you're grabbing a number out of memory and pulling the accumulator so you can do math on it. 453 00:42:07,660 --> 00:42:14,440 The 6502 has only two math, math commands, it can add and it can subtract. 454 00:42:14,560 --> 00:42:15,780 And that's it. 455 00:42:16,060 --> 00:42:21,720 If you want to do multiply and divide, you're going to have to use add and subtract. 456 00:42:23,500 --> 00:42:29,680 So, and of course, if you're, have any sense, you're going to, you're going to comment your code. 457 00:42:29,680 --> 00:42:34,460 Otherwise, we're going to look at your semi-language, your semi-coding like, I don't know what the hell you're doing here. 458 00:42:35,100 --> 00:42:41,000 If you would like to try out 6502 semi-language, I found this really cool website. 459 00:42:41,000 --> 00:42:42,520 It uses JavaScript. 460 00:42:42,520 --> 00:42:45,520 So you can actually do a semi-language programming there. 461 00:42:45,580 --> 00:42:49,180 And it's both not, it's not just, it's not just like, oh, here's a window to do a semi-language. 462 00:42:49,200 --> 00:42:55,680 It is done as a tutorial where you can go on there and you can write, you know, put in the code, you can see what happens and so forth. 463 00:42:55,780 --> 00:42:58,860 And also it is here with this other one, which is an online tutorial. 464 00:42:58,860 --> 00:42:59,600 Yeah. 465 00:42:59,600 --> 00:43:01,700 Feel free to take pictures of these. 466 00:43:01,780 --> 00:43:03,080 These are really good. 467 00:43:03,080 --> 00:43:05,700 So this is what a semi-language looks like. 468 00:43:07,340 --> 00:43:11,200 The left side is a semi-language to do a bubble sort. 469 00:43:11,360 --> 00:43:16,860 And then on the right side is bubble sort in, I think, C. 470 00:43:18,320 --> 00:43:21,540 So that looks like really, really fun things to write. 471 00:43:22,280 --> 00:43:28,240 Which is probably why I don't recall doing a whole lot of, a lot of semi-language even in college. 472 00:43:28,240 --> 00:43:29,540 Really simple stuff. 473 00:43:29,900 --> 00:43:30,660 Okay. 474 00:43:32,100 --> 00:43:37,780 This is the point where I would recommend you might want to pull your phones out because I'm going to be giving a lot of resources. 475 00:43:37,780 --> 00:43:39,760 You are totally free to take pictures. 476 00:43:39,760 --> 00:43:41,400 That's why I do this. 477 00:43:41,640 --> 00:43:48,900 I'm always the mind of, I'm here to help educate you and show you where you can go next after this. 478 00:43:49,700 --> 00:43:57,960 So websites right at the top, 6502.org is like the place for anything about the 6502. 479 00:43:57,960 --> 00:44:05,440 There's Buku resources, emulators, software sources, hardware, tutorials, and everything like that. 480 00:44:05,440 --> 00:44:08,140 The other one is a neat one that I discovered. 481 00:44:08,140 --> 00:44:11,080 They have a lot of pages on the 6502 and so forth. 482 00:44:11,080 --> 00:44:18,440 And a lot on the CHEM 1, including PDF scans of a lot of the documentation, which I thought was really, really cool. 483 00:44:19,320 --> 00:44:22,060 The last one is the Internet Archive. 484 00:44:22,060 --> 00:44:30,260 If you are interested in looking for books and you can't find them or they're really, really expensive, try going there and searching. 485 00:44:30,260 --> 00:44:33,160 You can probably find them as PDF scan. 486 00:44:33,160 --> 00:44:37,100 So all the books I talk about, you can probably find them there if you don't want them. 487 00:44:37,100 --> 00:44:40,240 Me, I want physical books. 488 00:44:40,240 --> 00:44:41,580 That's just me. 489 00:44:41,700 --> 00:44:48,900 So I'm not sure if you guys are familiar with Adam Osborne, Osborne Computer. 490 00:44:48,900 --> 00:44:58,040 But one of the things that I liked about him is he had his own publishing company, which then became part of McGraw-Hill, as Osborne McGraw-Hill. 491 00:44:58,040 --> 00:45:01,680 And it was one of my favorite sources for books. 492 00:45:01,680 --> 00:45:10,820 So he did a series called An Introduction to Microcomputers that had four volumes numbered zero through three. 493 00:45:10,840 --> 00:45:14,160 But I only recommend you look at getting the first two. 494 00:45:14,160 --> 00:45:18,620 You can get them really inexpensive off of like Amazon and eBay. 495 00:45:18,760 --> 00:45:21,100 Make sure you get the last edition. 496 00:45:21,100 --> 00:45:23,620 But those are really, really good introduction to this. 497 00:45:25,060 --> 00:45:27,620 I don't have volume two and three. 498 00:45:27,620 --> 00:45:31,000 People ask for stupid money for it and I'm like, sorry. 499 00:45:31,100 --> 00:45:39,600 But if you really are into the hardware of microprocessors, the last two books you might want to get, I actually got them. 500 00:45:39,780 --> 00:45:42,480 They're literally about two inches thick. 501 00:45:42,500 --> 00:45:48,640 They're not going to tell you how to program these, but they're going to tell you about all the electronics and the hardware of these processors. 502 00:45:48,640 --> 00:45:50,760 To me, that was like really, really cool. 503 00:45:50,920 --> 00:45:53,240 But I'm a nerd. 504 00:45:53,240 --> 00:45:55,780 So what can you say? 505 00:45:57,180 --> 00:46:07,000 When it comes to a semi-language program, one of my two authors is Lance Leventhal, who did all these things through Osborne McGraw-Hill. 506 00:46:07,280 --> 00:46:10,200 He did the 65021, which had a second edition. 507 00:46:10,200 --> 00:46:11,640 That's what it looks like. 508 00:46:11,640 --> 00:46:18,820 He also did an semi-language subroutine series, which I was not aware of, but I got the 65021 recently. 509 00:46:19,180 --> 00:46:23,400 His 68000, I know I used that in college, but he did others. 510 00:46:23,400 --> 00:46:36,640 He did a 6800, a 6809, the Z8000, the 8085, and so forth, as well as a semi-language subroutine for some of these ones. 511 00:46:36,640 --> 00:46:55,600 Please be advised that people are asking stupid money for these, but if you go on lulu.com, someone has made available his Z80 and the first edition of the 6502 book there on Lulu, and I think they cost about 20 bucks or 30. 512 00:46:55,600 --> 00:46:57,500 Yeah, I think about 20 bucks or 30 bucks. 513 00:46:57,500 --> 00:47:00,700 So if you don't want to buy a used copy, go there. 514 00:47:00,720 --> 00:47:08,280 The other guy is Rodney Zaks, who founded Cybex Books, which is still around, but as an imprint of Wiley. 515 00:47:08,280 --> 00:47:12,600 He did actually a four -book series on the 6502. 516 00:47:13,360 --> 00:47:16,600 I know I used his 6502 book in college. 517 00:47:16,600 --> 00:47:20,080 The last one is the fourth edition with that really cool cover. 518 00:47:20,360 --> 00:47:21,980 I have most of the series. 519 00:47:21,980 --> 00:47:25,700 I'm trying to find the application book , but I want that cover. 520 00:47:26,000 --> 00:47:29,480 But he's got a really great Z80 book that I want to get. 521 00:47:29,480 --> 00:47:35,800 Again, I'm not going to pay the stupid money people are asking for, but he's another good one. 522 00:47:35,800 --> 00:47:45,560 I found on Tindy that someone had reprinted these MOS books on the Chem 1. 523 00:47:45,560 --> 00:47:49,020 I actually brought one of them with me that you guys can take a look at. 524 00:47:49,020 --> 00:47:50,820 I got the user manual. 525 00:47:51,500 --> 00:47:53,240 But he had these on Tindy. 526 00:47:53,460 --> 00:47:54,940 He might be running out. 527 00:47:54,940 --> 00:47:57,940 So if you want them, get them while the is good. 528 00:47:59,500 --> 00:48:02,360 Other books are these on the 65816. 529 00:48:02,640 --> 00:48:05,420 I've had the Osborne one, but I've never done programming. 530 00:48:05,440 --> 00:48:13,520 The last one was actually from Brady, but now Western Design has reprinted it so you can easily get it off of Amazon. 531 00:48:14,400 --> 00:48:20,500 But I've had people... I've read stuff that people don't think it's that good of a book for a semi-language program. 532 00:48:20,500 --> 00:48:22,660 So just be aware. 533 00:48:23,140 --> 00:48:25,800 I have not got it myself, so I cannot speak. 534 00:48:25,800 --> 00:48:29,220 So you want to actually play around and program with these. 535 00:48:29,220 --> 00:48:30,500 Well, you have various options. 536 00:48:30,500 --> 00:48:32,700 It's kind of depending on what you want. 537 00:48:33,180 --> 00:48:37,040 Do you want hardware or are you happy with software or something in between? 538 00:48:37,200 --> 00:48:39,160 That's up to you. 539 00:48:39,800 --> 00:48:45,360 There are many communities of fans that still keep these things going, and they're actually creating new stuff. 540 00:48:46,220 --> 00:48:49,780 I can actually have Wi-Fi on my Atari 8-bits. 541 00:48:49,800 --> 00:48:54,440 I can use compact flash and SD cards for storage. 542 00:48:54,460 --> 00:48:57,000 Because of the work that these people have done. 543 00:48:57,160 --> 00:49:00,020 So if you want, you can go get the classic 8-bit. 544 00:49:00,020 --> 00:49:02,320 You can go on eBay and take a look. 545 00:49:02,320 --> 00:49:05,820 Just be aware that sometimes they work, sometimes they don't. 546 00:49:05,820 --> 00:49:07,160 Most of the buyers are pretty honest. 547 00:49:07,160 --> 00:49:08,720 They'll say like, no, this doesn't work. 548 00:49:08,720 --> 00:49:10,500 You're getting this for parts or whatever. 549 00:49:10,560 --> 00:49:14,580 You might need to do some retrobriting, which is to clean up the coloring and so forth. 550 00:49:14,620 --> 00:49:26,640 But I've gotten an 800, a 1200XL, and a 130XE off of eBay for what I thought was reasonable prices. 551 00:49:27,700 --> 00:49:30,640 So just be aware. 552 00:49:31,120 --> 00:49:35,060 If you want brand new, check out this. 553 00:49:35,740 --> 00:49:39,140 This is an effort of a guy by the name of the 8-bit guy. 554 00:49:39,140 --> 00:49:43,060 It's a brand new 6502-based system. 555 00:49:43,060 --> 00:49:48,900 They are currently making and selling developer systems that cost about 300 bucks. 556 00:49:49,240 --> 00:49:52,220 They're still having people developing software and so forth. 557 00:49:52,560 --> 00:49:57,260 I think it's kind of a cool project, so take a look at it. 558 00:49:58,140 --> 00:50:00,060 Like I said, you can do Chem-1 clones. 559 00:50:00,060 --> 00:50:02,340 Like I said, this is a Chem-1 clone. 560 00:50:02,460 --> 00:50:06,000 I got this off of Tendy and I got the extra stuff. 561 00:50:06,000 --> 00:50:08,540 I'm trying to get this thing to work and so forth. 562 00:50:10,240 --> 00:50:12,520 If you want different, there's all other. 563 00:50:12,520 --> 00:50:17,080 If you go into Tendy and just search for 6502, you can find out there's the Pico computer. 564 00:50:17,080 --> 00:50:18,900 I actually brought mine with me. 565 00:50:18,920 --> 00:50:20,720 I still got to get that working. 566 00:50:21,160 --> 00:50:22,660 The Roscoe is kind of interesting. 567 00:50:22,660 --> 00:50:28,240 It's real old school computer, that's what it stands for, or you can do the other one. 568 00:50:28,240 --> 00:50:29,980 But there's others that are there on Tendy. 569 00:50:29,980 --> 00:50:31,340 It's like what you want. 570 00:50:31,340 --> 00:50:37,300 Do you want a computer where you're going to have to basically hook it to your laptop and send a code and whatnot? 571 00:50:37,300 --> 00:50:41,400 Or do you want one that's more of a standalone computer with a keyboard and screen? 572 00:50:41,400 --> 00:50:43,020 There's different options. 573 00:50:43,260 --> 00:50:46,600 If you don't want that, you can go hardware alternatives. 574 00:50:46,600 --> 00:50:50,840 One is emulation through what's called Field Programmable Gate Array. 575 00:50:50,840 --> 00:51:01,460 Look into the MiSTer project, where people are emulating all kinds of retro computers in this MiSTer system. 576 00:51:01,660 --> 00:51:05,520 You might have seen the various minis that have been hit in the market. 577 00:51:05,520 --> 00:51:19,220 There has been the Atari 400 mini, and the Atari 2600, and the Commodore mini, and the Amiga mini, and the Nintendo mini, and the Sega mini, and I'm probably missing some, and they're all done with FPGA. 578 00:51:20,140 --> 00:51:30,920 Then there's this interesting one, which is the Mega 65 from Germany, which they have basically recreated what would have been Commodore's last 8-bit system using FPGA. 579 00:51:31,280 --> 00:51:35,700 I thought about getting it until I looked at the price, and it's like, not yet. 580 00:51:35,920 --> 00:51:42,500 And if you just want software emulation, again, check out the 6502 or for that. 581 00:51:44,820 --> 00:51:47,000 Videos, there's a lot of cool videos out there. 582 00:51:47,320 --> 00:51:49,260 The 8-bit guy is a neat guy. 583 00:51:49,260 --> 00:51:52,200 He's the guy behind the Commander X16. 584 00:51:52,760 --> 00:51:54,100 LowSpecGamer has some neat videos. 585 00:51:54,100 --> 00:51:56,140 The first one is on the 6502. 586 00:51:56,240 --> 00:51:57,640 He did one of the Z80. 587 00:51:58,140 --> 00:52:00,560 Recommend you look up his one on the ARM. 588 00:52:00,800 --> 00:52:08,440 You will then learn why you have the 6502 to thank for ARM processors. 589 00:52:10,120 --> 00:52:15,860 And also look for videos with Chuck Peddle, Bill Minch, Rodney Zaks, and all these other guys. 590 00:52:15,860 --> 00:52:17,140 They're really, really cool. 591 00:52:17,140 --> 00:52:25,760 You want events and groups, there's the Vintage Computer Federation, and I was really shocked that they have these all around the country as well as overseas. 592 00:52:26,680 --> 00:52:31,360 And look for groups in your area that are into retrocomputing. 593 00:52:31,920 --> 00:52:34,880 So if you want to contact me, that's my Twitter handle. 594 00:52:34,880 --> 00:52:40,500 I am on the DEF CON Discord as well as there's one for the makers community. 595 00:52:40,500 --> 00:52:42,760 So if you want to reach out to me, that's great. 596 00:52:42,760 --> 00:52:43,940 That's my LinkedIn. 597 00:52:45,260 --> 00:52:52,680 I would recommend you, there's a retro tech community over there someplace that you can drop by then. 598 00:52:52,680 --> 00:52:54,920 I was disappointed they had no Atari stuff. 599 00:52:54,920 --> 00:52:56,420 Sorry, I'm an Atarian. 600 00:52:56,700 --> 00:52:58,780 And there's also the Hardware Hacking Village. 601 00:52:58,780 --> 00:53:00,920 After this, I'm going to head over to the Hardware Hacking Village. 602 00:53:00,920 --> 00:53:03,880 I'll have a few of my things with me. 603 00:53:03,940 --> 00:53:06,320 You want to talk with me and tell me I'm an idiot. 604 00:53:06,320 --> 00:53:07,620 I don't know what the hell I'm talking about. 605 00:53:07,620 --> 00:53:08,800 I shouldn't have been here. 606 00:53:09,360 --> 00:53:12,440 Or what have you or you have questions and comments and whatnot. 607 00:53:13,240 --> 00:53:17,980 I'm happy to hang out there and you can see you can, I'll even let you touch my stuff. 608 00:53:18,100 --> 00:53:24,300 So thank you very much and I will see you all later.