The 6502 CPU Powered a Whole Generation!

Поделиться
HTML-код
  • Опубликовано: 25 мар 2024
  • Support The 8-Bit Guy on Patreon:
    / 8bitguy1
    Visit my website:
    www.the8bitguy.com/

Комментарии • 2 тыс.

  • @0x0fffff
    @0x0fffff 2 месяца назад +235

    Some additional fun facts:
    - The 6502 is the most sold processor in history, in Q4 2019 alone sold 5 billion (yes, billion) CPU units. With a total around 110 billions sold
    - The 6502 is the most documented CPU architecure, over 32,500 pages have been written on the CPU architechture, over 3 pages per transistor
    - the 65c02 overclocking record is 133Mhz, record achieved in 2003\
    - There were other, less known micros that ran 6502 processors, Like Digital 65, the SYM and AIM series, the Elektor Junior, the EP Series from Microdigital(Brazil), the Atlacatl(El Salvador, some little usage in Belize)
    - There have been machines with secon 6502 units, the BBC micro had a 6502 accelerator board, and several KIM upgrade boards had a second CPU only for graphics.
    -The PCEngine's CPU ran at 7.18 Mhz, so it was faster than the SNES

    • @danielmantione
      @danielmantione 2 месяца назад +9

      What products do make those billions of 6502 a quarter in the modern age?

    • @schnurliputz
      @schnurliputz 2 месяца назад +14

      @@danielmantione I suppose all those small ICs and especially sensors which you find in almost each technical product and which do not require an ARM oder other 32 bit CPU. Even recently designed products often contain either a 6502 or 8051 CPU. And there are for example more than hundred of those sensors in each modern car.

    • @drtaverner
      @drtaverner 2 месяца назад +3

      I pulled out my TG-16 a few weeks ago and it doesn't boot. I expect it needs to be re-capped. 😥 Still... I loved that machine and with full stereo sound and 64-bit graphics I could not understand why people owned Nintendos. LoL.

    • @foxxy46213
      @foxxy46213 2 месяца назад +7

      ​@@danielmantionewashing machines dryers basically all over..I love seeing them pop up an like said I'm the video toys... there all over

    • @Sakamoto196
      @Sakamoto196 2 месяца назад +5

      ​@@danielmantioneThere are calculators that run under a variant of the 6502
      many simple devices have a 6502
      NES clone consoles have a 6502 core chip

  • @ThePhiphler
    @ThePhiphler 2 месяца назад +223

    6502 is a canonical piece of computer hardware, similar to classic game consoles. They will keep getting made, emulated and implemented in FPGA forever.

    • @SaraMorgan-ym6ue
      @SaraMorgan-ym6ue 2 месяца назад +4

      the 8-bit guys is correct about how cpu speed does not compare well against different cpu's because amd's cpu's where slower then the pentium 4's but could seriously match or even outperform faster pentium4's so the 6502 is not the only cpu that proves this issue it works even with modern computers cpu's

    • @SK83RJOSH
      @SK83RJOSH 2 месяца назад +2

      I wouldn't be so sure, machines are getting ridiculously complex, and I doubt you're going to be implementing RDNA GPUs with unified memory in an FPGA anytime soon. Let alone accurately. 😅

    • @Bunny99s
      @Bunny99s 2 месяца назад

      @@SaraMorgan-ym6ueRight, however on "modern" hardware (so even 20 years ago) the clockspeed was just a tiny bit of the puzzle. The size and usage of the cache was in most cases much more important. CPUs have reached a complexity level that makes it almost impossible to predict the performance ahead of time. They have dynamic pipeline optimisation stuff going on that's just wild. In the good old day you just pick up an instruction set sheet, look up the clock cycles of each instruction, add them up and you get a fairly good estimate how long your code would take to run. This isn't the case anymore.

    • @ThePhiphler
      @ThePhiphler 2 месяца назад +1

      @@SK83RJOSH I read your comment but Im not sure what it has to do with the 6502?

    • @SaraMorgan-ym6ue
      @SaraMorgan-ym6ue 2 месяца назад

      @@Bunny99s well give it credit for surviving this long since no other cpu's have lasted as long as the 65c02 and 65c816 they are in it for the long haul plain and simple (for being manufactured this long) I mean lasting this long for manufacturing life all other cpu's are discontinued

  • @Errcyco
    @Errcyco 2 месяца назад +613

    My grandfather was the CTO of Zilog and raised me. He helped develop the Z80.
    I am very proud of him. He made life unrealistic for me.. he raised me and spent all his free time with me building PCs and listening to whatever music I found. I’ve never found anyone who holds a candle to him. Not having him around has been tough.
    Knowing his work won’t ever die in some capacity makes me happy. Not this IC.. just in general with his work. He also helped GE in the 60s build their first main frame. Dude was the most modest man you’d ever meet.
    Edit: I’m not going to put my families personal info out there, had no idea this comment would get any traction. Believe me if you want or don’t.

    • @niteward4309
      @niteward4309 2 месяца назад +41

      The Z80 is very cool and fun to program. Thanks for sharing! And big props to your grandfather and Zilog.

    • @Dong_Harvey
      @Dong_Harvey 2 месяца назад +30

      Hell yeah, would that make you the first Game Boy?

    • @ballyastrocade5672
      @ballyastrocade5672 2 месяца назад +13

      The TRS-80 Model I was my first home computer, and the first platform I learned assembly language on. The Z-80 will always have a special place of honor in my vintage-computing collection. 🙂

    • @ianknight9589
      @ianknight9589 2 месяца назад +10

      The Z80 was in everything, there was nothing like it. Still not fully understood today completely. Even the military used it everywhere.

    • @belstar1128
      @belstar1128 2 месяца назад +7

      interesting my grandpa on my dad's side couldn't even find the on button on a pc and refused to use them .my grandpa on my moms side knew a lot about analogue electronics like crt tv's and vcr's but when it came to computers i didn't have one until 2008 and kept getting malware .

  • @ACBMemphis
    @ACBMemphis 2 месяца назад +39

    At 4:38 that's me closing the VCR lid in the video "VHS VCRs Revisited" ... Big fan and honored to be mentioned/shown in an 8-bit-guy video! (First programming experience was BASIC on the Apple //e on a 6502 ...)

    • @captsorghum
      @captsorghum 2 месяца назад +2

      Note: As I recall, Apple //e used a 65c02, a CMOS version of the processor.

  • @Dr.Dawson
    @Dr.Dawson 2 месяца назад +264

    David please post that whole interview/chat. Please

  • @TechDeals
    @TechDeals 2 месяца назад +284

    A few thoughts...
    1. I feel this only scratches the surface. I get that this must be a monster project, but I'd watch a 2 hour version of this going into endless detail. Or a 4 part series even. The 6502 strikes me as one of the most important CPUs in history, it deserves ALL the effort and detail.
    2. The segment with Bill Mensch was very short, perhaps there wasn't much to add, or he couldn't share anything new, but I wish there had been more.
    3. The Z80 needs a similar video, as does the 6800/68000, as does the 8086

    • @nyccollin
      @nyccollin 2 месяца назад +1

      3:40 Nice CGI

    • @elijahvincent985
      @elijahvincent985 2 месяца назад +7

      You got some solid points, but The 8-Bit Guy already made several videos of consoles and computers that were powered by the 6502 and he did go into fair details of the chip scattered across them. I hope David covers the Z80. I own a 20mhz variant and I would love to learn more about it.

    • @Mmacrossfirekenai
      @Mmacrossfirekenai 2 месяца назад +4

      6809E here lol

    • @horusfalcon
      @horusfalcon 2 месяца назад +1

      @@elijahvincent985My z180 powered SC126 also would say "yes" to a video about the z80 and its descendants.

    • @horusfalcon
      @horusfalcon 2 месяца назад +2

      @@Mmacrossfirekenai And the 6809 family deserves a lot of love, too. OS-9 for the win!

  • @mistie710
    @mistie710 2 месяца назад +4

    I'm not surprised that he said that. ARM was developed by people who were very much connected with the 6502 world and had been involved with the various 8-bit Acorn machines. In fact the ARM 1 was developed using BBC Micros and their Tube adapters. So you could say that the 6502's influence still impacts the computing world to this day, even if you ignore the retro world!

  • @BradHouser
    @BradHouser 2 месяца назад +20

    My first computer was in college in 1978: the MEK6800D2 development kit. I programmed a prototype for an automotive MPG display and a Times Square marquee, each in 512 bytes. Programming was all in assembly and hexadecimal. I would measure the frequency of the odometer and fuel sensor, divide distance pulses per second by fuel pulses per second and converting that to MPG units all using bit shifting. Storage was Kansas City standard audio tapes. My productivity improved immensely when I learned how to use the 6800 assembler on the university mainframe. I was unaware of the history of the 6502 and its connection to the 6800 at the time. It is great to hear from the people like Bill Mensch, who were hands on with some these things that are now household words. Thousands of pacemaker users are happy to know they are using some of the most tried and true processors there is.

    • @javadian
      @javadian 2 месяца назад

      Wow! Fascinating!

  • @davidryle
    @davidryle 2 месяца назад +181

    I first programmed the 6502 on a synthesizer in 1979. A small music company in Oklahoma City called PAiA Electronics (still in business!) used a 6502 for computer control of a modular synthesizer in 1970's. John Simonton (en.wikipedia.org/wiki/John_Simonton ) was the designer. A fun fact is Larry Fast of Synergy used the Apple II to play some of Simonton's software for the PAiA platform. Fast played with Peter Gabriel and relied on Simonton for tour support on the first tour through Texas in 1977.
    So many electronic music performers are very familiar with the Rockwell 6502.

    • @MultiPetercool
      @MultiPetercool 2 месяца назад +3

      @davidryle Do you remember a guy named Hal Chamberlin? He wrote a killer book called Musical Applications of Microprocessors. It was my “Bible” in 1980.

    • @GodmanchesterGoblin
      @GodmanchesterGoblin 2 месяца назад +4

      @MultiPetercool I still have my copy of that book. An amazing resource the time, and still full of good info.

    • @MultiPetercool
      @MultiPetercool 2 месяца назад +3

      @@GodmanchesterGoblin I met Synth Legend Roger Powell about that time. He was working with an Apple 2 with a Mountain Hardware 16 channel A/D-D/A converter board in it. He used to to handle control voltages and triggers for his Moog and Serge modules. Cool stuff! I think he used it on his second solo album Air Pocket.

    • @BMKid
      @BMKid 2 месяца назад +2

      That is super cool! I've always wanted to get one of PAiA's theremin kits!

    • @loupasternak
      @loupasternak 2 месяца назад +2

      Larry Fast rocked.

  • @AshutoshJatkar
    @AshutoshJatkar 2 месяца назад +5

    Ben Eater has a very good video on the 6502, explaining all the decoding logic and stuff.

  • @Tutorius
    @Tutorius 2 месяца назад +1

    I had a 8080 at home, self build, with 2MHz, at school we have a CBM3032 with a 6502, 1MHz.
    I created two almost identical programs in assembler, calculating the 92 (or were it 72?) ways to put 8 draughts on a checker-board. One on my 8080, the other on the 6502.
    And the calculation-time for this was the same on both machines. 4 Seconds for all solutions, a Pascal-Program on the CBM needed 30 minutes.
    The 6502 was almost a RISC-processor, all commands were done much faster.

  • @mikealan208
    @mikealan208 2 месяца назад +92

    Thanks so much for the informative videos. Your channel inspired me to transition into IT. Two years later, I’m working full time in the industry and couldn’t be happier! Your channel is the best.

  • @nezbrun872
    @nezbrun872 2 месяца назад +308

    You got tantalising close to giving away a key reason why the 6502 was so popular, and that's that it leaves the bus available for video half the time in a predictable way. By luck (or judgement?) one clock cycle equalled one character time on the CRT, so one half of the cycle the CPU guzzled data, and the other half was left to video. Essentially it gave way to an early form of DMA.
    This wouldn't work on a Z80 as it doesn't have a predictable bus, so instead you have to implement other segregated ways for video.

    • @djmips
      @djmips 2 месяца назад +7

      6502 designs were often UMA like current consoles.

    • @Alfred-Neuman
      @Alfred-Neuman 2 месяца назад +20

      I wish someone could create a 6502 religion...
      Of course it kinda already exists, but someone needs to make it official.

    • @MrSegmentfault
      @MrSegmentfault 2 месяца назад +7

      The Gameboy ran a Z80 variant so I wonder why Nintendo made the switch there.

    • @guytech7310
      @guytech7310 2 месяца назад +18

      @@Alfred-Neuman Bender did! (Bender was powered by the 6502): Bender founded Robotology

    • @cogoid
      @cogoid 2 месяца назад +7

      It was just as easy to implement memory mapped graphics in Z80 machines. All clones of Sinclair Spectrum implemented it with a handful of ttl logic chips. Overall the complexity and performance were very similar.

  • @SatoshiMatrix1
    @SatoshiMatrix1 2 месяца назад +4

    David, could you please upload the entire unedited Bill Mensch interview? I would love to hear more of his thoughts. Such a brilliant man. Thanks!

  • @jonathancombe9991
    @jonathancombe9991 2 месяца назад +6

    Fascinating David I learnt a lot and I had no idea that the 6502 was still being made and it makes me happy that it is. Back in the day I had a Commodore 64 and Commodore Plus 4 at home and used BBC Computers at school, all 6502 based and used to write programs in basic for them all so I understand about memory access and some of the CPU instructions. But what I never really understood is how it all fitted together. You turned on and there was a BASIC prompt and a flashing cursor but it all seemed a bit magic as to how that all happened. I never knew about how memory was addressed and stuff like chip select lines. Between yours and Adrian's channel I have learnt so much over the last few years and now understand much better how the computers of my youth actually worked.
    Really enjoyed the video, thanks!

  • @TestECull
    @TestECull 2 месяца назад +139

    1:22 I wouldn't be surprised if there's cars running around with 6502s under their dashboard. My 85 F150 is one of the last vehicles Ford ever sold with a carb, but it had an Intel 8061 under the dash in the primitive EEC-IV system. It would be shocking if there ISNT a ton of cars rolling around with 6502s running their primitive EFI setups/last gen carb setups.

    • @senorverde09
      @senorverde09 2 месяца назад +5

      I heard rumors that some Chryslers had RCA 1802s under the hood for fuel management.

    • @ratdude747
      @ratdude747 2 месяца назад +3

      Ditto, I drive an '84 F150, also with the same 8061 EEC-IV feedback carb (300 I6). They only offered feedback carbs for 3 years (300 and 351 84-86, 302 84-85). A bit of a weird technology, but for an eccentric like me, it fits!

    • @Renville80
      @Renville80 2 месяца назад +4

      You wouldn't be wrong... GM actually commissioned a 6800 variant for their earliest engine control modules in the early '80s! (the 6502 began as a low-cost version of the 6800 after all)

    • @guytech7310
      @guytech7310 2 месяца назад +4

      6502 were used for ICBMs (Rocketdyne) as well as the spaceshuttles.

    • @ligius3
      @ligius3 2 месяца назад

      There are a lot of cars using 8051-compatible processors for various tasks. In recent times, most of those have moved to ARM, but, possibly some simple tasks like seat adjustment might be done with a specialized motor controller running 8051 code.

  • @kjrehberg
    @kjrehberg 2 месяца назад +231

    Great video!
    Fun fact: The 6502 is essentially a simplified Motorola 6800 implemented using NMOS with a different pinout and a slightly modified instruction set.
    That's because most of its engineers came from the Motorola 6800 team!

    • @talideon
      @talideon 2 месяца назад +37

      Those simplifications were super important though: 6800 was eye-meltingly expensive at the time and the 6502 was cheap enough to practically sell by the barrel!

    • @puskasis
      @puskasis 2 месяца назад +13

      @@talideoni think it was $25 vs $125. I have the feeling that production cost was not the only reason why the motorola was so expensive. Misunderstanding the market costed motorola to lose the industry

    • @djmips
      @djmips 2 месяца назад +18

      Fun fact:(s) Similar to the 6800, the Data General Nova (1969) had two accumulators and two index registers and a zero page! But historians and Chuck Peddle himself (who worked on both the 6800 and 6502) said the 6800 was inspired by the PDP-11 although from a modern perspective the PDP-11 is a lot closer to the 68000. However when you are coding the Motorola processors (6800, 6809 or 68000) vs the MOS Technology 6502 it is apparent that the C style structs are prefered by the addressing mode design and that does have PDP-11 roots. On the 6502 you end up wanting structure of arrays.

    • @JustWasted3HoursHere
      @JustWasted3HoursHere 2 месяца назад +12

      Yep. In fact Motorola sued them because of the extreme similarities.

    • @billbrowning3021
      @billbrowning3021 2 месяца назад +4

      Yeah, as an electrical engineering student, I cut my teeth on assembly on the 6800. I guess the college must have gotten a deal going with Motorola so they could “hook” us early. We soon moved to the TI TMS9900. And holy cow that thing was 16 bit! Wow. …lol

  • @Learnerofthings
    @Learnerofthings День назад

    I really appreciate your videos. There is something about them that has awakened my passion for mid-to-late 90s, early 2000s technology. I got into computer repair in 1996 and have been in love with them since. Just started teaching myself assembly and C and wow, much different than hardware :) Btw, I wish I had a picture of my grandfather. You look exactly like he did at our age lol.

  • @ForzaJersey
    @ForzaJersey 2 месяца назад +4

    @The8BitGuy You do an excellent job on these computer tech explainers. You provide the best quality videos of this type on RUclips. Great job buddy!

  • @laupert9021
    @laupert9021 2 месяца назад +28

    Thank you! This was one of the most interesting 8-Bit Guy videos I watched in a long time. The only thing is that it kind of left me longing for more. Also, I expected a bit more of the Bill Mensch interview. I appreciate the effort that goes into making a video like this, but if it was up to me it could be at least twice as long without being boring. Would love to see more of this!

    • @SteveMaves
      @SteveMaves 2 месяца назад +3

      Yes David you don't need to apologize at the end, it wasn't too long and many of us would be happy too watch a "Part Two" video if you make one.

  • @pdoherty926
    @pdoherty926 2 месяца назад +109

    This was informative and approachable. Nice work, 8BG!
    Do you have any plans to release the full interview with Bill Mensch? That segment was shorter than I was hoping it would be.

    • @The8BitGuy
      @The8BitGuy  2 месяца назад +129

      The interview with Bill didn't go so well. He goes off on a lot of tangents, and there wasn't a lot of great material to share.

    • @BillyBobDingledorf
      @BillyBobDingledorf 2 месяца назад +61

      @@The8BitGuy Appreciate the honest reply. It's a shame the video didn't go well. Best of luck to Bill anyway. He's a piece of history.

    • @JasperTedVidalTale
      @JasperTedVidalTale 2 месяца назад +6

      FR

    • @bertholtappels1081
      @bertholtappels1081 2 месяца назад +18

      I, too, truly appreciate the honesty. Mensch is obviously an architecture legend, but that doesn’t automatically translate into eloquence.

    • @-taz-
      @-taz- 2 месяца назад +23

      Tangents are fun too, sometimes!

  • @nimrodlevy
    @nimrodlevy 2 месяца назад +7

    David, this video was AWESOME I learnd soo much, as always thanks a ton 🙏 from the guns to the keys and cpus the sheer qualify of you videos is admirable! Thanks!

  • @mooniejohnson
    @mooniejohnson 2 месяца назад +4

    I *love* these breakdowns of CPUs and other chips, genuinely. Thank you for making my day! (I had a crappy week and this actually made up for it!)

  • @grafxgear
    @grafxgear 2 месяца назад +80

    10:50 The TurboGrafx/PC Engine's HuC6280 (A variant of the 65SC02) runs at 7.16 MHz & in 1987 may have been one of the fastest 6502 variants. You mentioned the SNES and Apple IIgs use the 65c816 a "16 bit" variation which may make them a bad benchmark. Where the TG16/PCE CPU is closer to the 8 bit 6502.
    11:35 Although the TG16/PCE had a few RAM expansion HuCards used by the CD-ROM attachment, there were no cartridge based enhancement chips ( 11:11 ) such as those used in SNES games. The TG16/PCE 65SC02 does make use of a video controller (HuC6270) and a color encoder (HuC6260) which certainly do some heavy lifting, but I still think the TG16/PCE would be a very good showcase of what the 6502 can do.
    Oh, and there is a mouse available if someone decided to port some games over.

    • @glenndoiron9317
      @glenndoiron9317 2 месяца назад +10

      This statement is a bit deceptive. The HuC6280 had an instruction set extension for copying memory to / from its video controller, which was far faster than doing it in software with the regular LDA/STA instructions.

    • @grafxgear
      @grafxgear 2 месяца назад +8

      @@glenndoiron9317 Deceptive is a bit deceptive. I’m just being concise in the internet. So sue me.

    • @keard558
      @keard558 2 месяца назад +2

      @@grafxgearexpect a summons in the mail.

    • @fattomandeibu
      @fattomandeibu 2 месяца назад +9

      That video co-processor did a lot of the heavy lifting on the PC Engine, much like most consoles of the time.
      The same even went for the C64. Things such as scrolling the screen, throwing sprites around the screen and collision detection, all of which could be very CPU intensive, were handled by these chips allowing the CPU to handle other things. That's why if you look at C64 versions of games vs. a Spectrum or an Amstrad version, no matter the quality of the gameplay itself(I can tell you from experience some Spectrum versions play better than their C64 versions), the C64 would typically have a smoother framerate and better scrolling. The only games I can think of where that isn't true is games that use 3D rendering.

    • @-taz-
      @-taz- 2 месяца назад +4

      I don't think the OP was deceptive, but I always considered the TG16's name to be deceptive. :)

  • @tonybarnes2920
    @tonybarnes2920 2 месяца назад +23

    I got my game dev career start on the Apple II, back in 1983 and coded the 6502 on the Apple, Vic-20, C64, Atari 8's, etc. until moving to 68000 on the ST, Amiga and Sega Genesis. 40 years later and I kind of miss the 6502 and regardless of the struggle and limitations, there was something really "fun" about getting things working back then vs. now.

    • @Okurka.
      @Okurka. 2 месяца назад +1

      You coded the C64's 6502?

    • @tonybarnes2920
      @tonybarnes2920 2 месяца назад +1

      @@Okurka.oh here we go... Well, I've coded several machines over my 40 year career. I guess I could get into the minutia of every specific variant, but I was being general. But I guess I should be more pedantic, considering the video and likely audience. 🙄

  • @DeccaOnline
    @DeccaOnline 2 месяца назад +1

    Awesome video, I truely loved every minute of it. Huge effort you put into this, thank you so much.

  • @lexluthermiester
    @lexluthermiester 2 месяца назад +2

    @The8-BitGuy
    Thank you for doing this one! It was really very informative!

  • @Maniac536
    @Maniac536 2 месяца назад +20

    Please consider the Motorola 68k chip next. It was in the Mac and the Neo Geo and several arcade games

    • @Okurka.
      @Okurka. 2 месяца назад +9

      And a little known thing called the Amiga.

    • @-taz-
      @-taz- 2 месяца назад

      But it's not 8 bit!

    • @ratdude747
      @ratdude747 2 месяца назад

      And the TI-89/92 series of graphing calculator, which are still in production in some form to this day.

    • @foo0815
      @foo0815 2 месяца назад +1

      @@-taz- There was the 68008 variant with an 8 bit data bus, but otherwise fully compatible.

    • @andic6676
      @andic6676 2 месяца назад

      And Atari ST

  • @Protosprite
    @Protosprite 2 месяца назад +712

    Writing a 6502 emulator is practically a rite of passage.

    • @nicholaslarson3778
      @nicholaslarson3778 2 месяца назад +53

      I have not done this yet. What have I not passed?

    • @nezbrun872
      @nezbrun872 2 месяца назад +74

      I skipped that and wrote an 8086 emulator for MIPS and ARM 25 years ago so you could run PC programs on those processors for Windows CE. Found an undocumented feature of the 8086 on the way that MS-DOS was dependent on too.

    • @Protosprite
      @Protosprite 2 месяца назад +113

      @@nicholaslarson3778 Once you finish the emulator a cutscene plays while you're sleeping.

    • @HaakonAnderson
      @HaakonAnderson 2 месяца назад

      I skipped both and touched a boob

    • @djmips
      @djmips 2 месяца назад +30

      Writing the correct Overflow handling in a 6502 emulator is a rite of passage.

  • @gizaire
    @gizaire 2 месяца назад +7

    This was a great video, thanks for going the extra mile and even interview one of its creators.

  • @mikes9939
    @mikes9939 2 месяца назад +2

    I have been a subscriber for a couple of years and come here every so often when I'm on RUclips . I have many other channels that I watch for different topics but I always enjoy spending time here as in this video. I remember all the hardware that used the 6502 back then so it's like a trip down memory lane. You put your videos together in such a way that makes them very enjoyable to watch and this one is no exception. Thanks a lot for this and please keep giving us the great content that you have been providing.

    • @raven4k998
      @raven4k998 17 дней назад

      so sometime in your life you have interacted with a 6502 processor you know🤣🤣

  • @christianmccollum1028
    @christianmccollum1028 2 месяца назад +49

    1975 vintage here too! Happy early birthday, young man.

  • @forcedfeedbackclassicgamer5499
    @forcedfeedbackclassicgamer5499 2 месяца назад +2

    Awesome video, great topic to cover. Been learning 6502 ASM over the last few years for doing NES homebrew projects, and I'm always amazed at the general efficiency of the processor and corresponding Assembly code. It really is fun to work with.

  • @RobRoss
    @RobRoss 2 месяца назад +5

    The only CPU I learned to program in Assembly language!!!!!! I’ve got a soft spot in my heart for the 6502, and I’m amazed it is still alive and kicking after all this time!

    • @SaraMorgan-ym6ue
      @SaraMorgan-ym6ue Месяц назад

      and the 8_bit guy was born that's why 1975 was a great year indeed

  • @thetechsavvy0153
    @thetechsavvy0153 2 месяца назад +19

    Hello David.
    Since I am so broke, I can't really afford Patreon, so this is the only place I can say it, but I wanted to express my deep thankfulness for you, LGR, and Techmoan changing my life. I have really wanted to meet you all, and get to know you a little better, and maybe send you something from the goodness of my heart, just to say thanks for getting me to where I am now. I am a sixteen-year-old nerd who from you three got really interested in old tech and began collecting old software, computers, typewriters, hi-fi equipment, etc. At this time I am now thinking about making my first video, but I haven't thought about it. I wanted to come on here and tell you guys I love all of you. I love watching your videos and learning new things. Always learning new things and weirding out teachers at school because they dont expect someone like me talking about these. I am talking about things they grew up with (lol)! And it makes me happy that I am now so interested in something I have spent literal years to dive into. Sounds weird to say but I enjoy growing up with you and the other two's videos. It makes me proud. Anyway, that's all I have right now.
    Thank you! ❤📼💾

    • @israelisjeshuas7009
      @israelisjeshuas7009 Месяц назад

      I appreciate these guys’ work too. But if you want real, eternal fulfilment I highly recommend you turn to the Lord Jesus. Read one of the Gospels today, perhaps. God bless. 🙏

  • @straightface311
    @straightface311 2 месяца назад

    These videos are just so entertaining! Love your work and passion. Very educational as well :)

  • @chriswheatley3146
    @chriswheatley3146 2 месяца назад +12

    The PCEngine/TG16 ran a HuC6280 CPU, which is an upgraded CMOS version of the 6502. It ran at 7.18mhz and was released in 1987. I believe that was the fastest clocked 6502 based CPU of the time period you listed in the chart that has the SNES and Apple IIc Plus.

    • @ArneChristianRosenfeldt
      @ArneChristianRosenfeldt 2 месяца назад +3

      I think that it is weird that the cartridge also ran at that clock. Hudson added an instruction to burst copy data to VRAM ( and RAM). So level loading was fast and you can spend the splash screen on decompression. Or stream a level. Only problem: all operands are immediate. So jump indirect or self modify code.

    • @shinyhappyrem8728
      @shinyhappyrem8728 2 месяца назад +2

      Did it really run at 7.18 MHz, or did the system insert waitstates? The NES and SNES have a system clock at 21.47{72} MHz (6 times the NTSC color subcarrier frequency), but that doesn't mean that anything else in the system runs that fast. The graphics chips were the fastest at 5.3693{18} MHz. Also, the SEGA Genesis had a system clock of 53.693{18} MHz (15 x color subcarrier), with various dividers for the components.
      This is where MIPS benchmarks become more useful...

    • @ArneChristianRosenfeldt
      @ArneChristianRosenfeldt 2 месяца назад

      @@shinyhappyrem8728 Fanboys assured me that it does run at this clock. Remember: that was in 1987. Even the first draft/prototype of any circuit made in a NEC fab would run at that clock.

  • @BillyBobDingledorf
    @BillyBobDingledorf 2 месяца назад +38

    I grew up with the 6502. Nostalgia makes me love it. Its abysmal registers brings me back to reality.
    I'd like to see a deeper dive. It was a transformative chip.

    • @maxxdahl6062
      @maxxdahl6062 2 месяца назад

      I grew up with many of the systems it was in. C64, NES, Apple II, etc. It was awesome.

    • @axle.student
      @axle.student 2 месяца назад +1

      First time I got to use a PC in real life was a OSI C1p and 41P at 12 years old in the late seventies. I still remember the first words OSI 6502 BASIC VERSION 3.2 (c) MS etc.
      The MS part doomed me for life lol

    • @maxxdahl6062
      @maxxdahl6062 2 месяца назад

      @@axle.student Was probably pretty similar to the commodore basic too, as both were made by MS.

    • @axle.student
      @axle.student 2 месяца назад

      @@maxxdahl6062 Similar. The Commodore also had a more advanced color display as well as the advanced sound mapping, but even the base code had subtle differences. Apple II, Amstrad etc had subtle differences. There is a page somewhere in wiki that has a list of the different 6502 BASIC variants.
      From the OSI BASIC start I can code in any form OF BASIC ever created. I Often use FreeBASIC beside C and Python.

    • @sputukgmail
      @sputukgmail 2 месяца назад +5

      Once you realise all the zero page instructions are there to provide loads of “registers” that can be used in lots of flexible ways, the 6502 is actually replete with registers ;)

  • @TheWiseRabbit
    @TheWiseRabbit 2 месяца назад

    Amazing video I've learned so much. I love these kinds of videos from the 8-bit guy!

  • @broncofun5636
    @broncofun5636 2 месяца назад +3

    Dang, that interview was strange. The video feels like it is missing the part of why the chip was designed in the first place and why it had such wide proliferation.

  • @nathansmith1085
    @nathansmith1085 2 месяца назад +135

    Fun fact. The UFOs at Roswell ran on 6502s. Bob Lazar told me

    • @keard558
      @keard558 2 месяца назад +4

      UFO Phil heard it from George noory

    • @Peter_S_
      @Peter_S_ 2 месяца назад +7

      Fun research: look up robert lazar's criminal history.

    • @Nobbie248
      @Nobbie248 2 месяца назад

      ​@@Peter_S_ propaganda?

    • @Peter_S_
      @Peter_S_ 2 месяца назад +11

      @@Nobbie248 No, court and police record. Public records. He's not a nice person and he's a typical con.

    • @sideburn
      @sideburn 2 месяца назад

      And a 68030 and AOL took down the aliens. Just watch Independence Day

  • @mattmorphett
    @mattmorphett 2 месяца назад

    Excellent as always David. Thanks so much for the great work you do.

  • @thecaveofthedead
    @thecaveofthedead 2 месяца назад +1

    Brilliant vid. I've picked up bits and pieces from these vids before, but it was great to have it all in one. Hopefully we'll see some similar vids on other chips in the future.

  • @knuckles9250
    @knuckles9250 2 месяца назад +14

    Love your videos!!
    This is a great video
    I never realized that modern technology still uses the 6502
    It really powers the whole world!
    And all because some guys wanted to make a copy of the Motorola 6800

    • @mudi2000a
      @mudi2000a 2 месяца назад +4

      Well I'm a big 6502 fan but the world is probably powered by ARM. Which is not bad because at the end of the day ARM was designed by Acorn which previously used a 6502 but then needed something better which still doesn't use much power, and the result was ARM. There is an excellent video by the channel www.youtube.com/@LowSpecGamer about the history of ARM; he also has very good videos on the history of the 6502 and the Z80.

    • @shinyhappyrem8728
      @shinyhappyrem8728 2 месяца назад

      They didn't want to make a copy, they wanted to make a much cheaper CPU! :)

  • @donaldblakley6796
    @donaldblakley6796 2 месяца назад +3

    Great video, thanks for sharing. Glad to see you back

  • @Tenaka30
    @Tenaka30 2 месяца назад +1

    Ah memories. I was taught assembly on a BBC Micro at college, then asked to recreate a 6502 in Logicworks(?) at Uni.

  • @AMarchant
    @AMarchant 2 месяца назад

    Thank you David, very interesting, as always. Also appreciate how you're able to distil complex issues down into easily understandable terms.

  • @akandr
    @akandr 2 месяца назад +4

    This is the best kind of 8-Bit Guy videos. Thanks!

  • @dkalwishky
    @dkalwishky 2 месяца назад +4

    Great video David, it was very informative.

  • @edbrown1166
    @edbrown1166 Месяц назад +1

    Another awesome video! Thank you!
    I'd like to hear more of the interview with Bill Mensch and what he had to say about the 6502 architecture and the direction it might have gone.

  • @pr3st00
    @pr3st00 Месяц назад

    This is one of the best videos I watched in years... amazing research work, kudos!

  • @BradHouser
    @BradHouser 2 месяца назад +3

    I would have liked to hear more about ARM from Bill Mensch. Ironic now that ARM chips are emulating 6502 game consoles.

  • @AndrewRoberts11
    @AndrewRoberts11 2 месяца назад +13

    The ARM was envisioned as a 24/32 bit 6502, with a few more registers, so I understand Bill's, no need to reinvent the wheel, pov.

    • @galier2
      @galier2 2 месяца назад +2

      The big idea behind ARM was to exploit the memory bandwidth to the max. When they evaluated all the current 16 bits CPUS (80285, 16032, 68000, 65816) they were appalled by their inefficient use of the memory bandwidth.

    • @AndrewRoberts11
      @AndrewRoberts11 2 месяца назад

      As did the 6502, with the rising / falling edge CLK logic almost doubling memory bandwidth (as i believe a video somewhere on RUclips mentions). Acorn's MEMC 1 / 1A may have been more efficient, with a near single clock cycle memory accesses possible, when using the read / store multiple instructions (to push / pull fifteen of the twenty seven, 32 bit registers, as a block, taking 18 clk cycles = 3.33 bytes per 8MHz clock tick, rather than the standard 2 clk ticks per single ARM read / store op = 2 bytes per clock tick, let alone the 4 clk ticks needed on the like of a 68000 to read a 32bit word = one bytes per tick. Memory access was 2 to 3.33 times faster on an Acorn Archimedes, at the same clock speed, than a 68000 based Amiga, ST, Mac, Sun One, ..., the Archimedes were also marginally faster clocked than the PAL variants of the above), making for some quick stack accessing wizardry on a branch or return, along with some weird, 7-bit, reverse page logic, initially eliminating the need for much of the slow blocking logic found in the CISC toys. Though only 22 bits (4 MB) of the address bus went anywhere (without a multi MEMC and motherboard fudge), and the VLSI logic / DRAM couldn't be clocked above 8MHz, for the first six years of ARM chippery. Till the ARM 610 appeared, you couldn't source a true 32bit ARM SoC.

    • @sputukgmail
      @sputukgmail 2 месяца назад

      @@galier2I remember reading somewhere around the time ARM 1 came out, that they tested the other CPUs using the TUBE on the BBC micro - because that allowed them to separate specific aspects of performance which exposed the issues. I held on to that idea that the BBC micro has that important role in the dev of ARM which is now in billions of devices - but I heard something more recently that cast doubt on that. I’d love to have confirmation either way :)

    • @andrewgrant788
      @andrewgrant788 2 месяца назад

      @@sputukgmail The BBC micro was developed by Acorn the same people who created the ARM cpu. (ARM == Acorn Risc Machine). And yes they used BBC Micros to help develop the first ARM CPU and the software for it.

    • @sputukgmail
      @sputukgmail 2 месяца назад

      @@andrewgrant788 yes, I’m aware of of the origins of ARM - used one of the first Archimedes, followed the dev very closely- but it’s the conflicting stories of how important using the Tube with second processors to inform the team realising how to focus on Arm being the right path that I am hoping someone can clarify. As I say, I recall an article/interview were someone said how important it was, but I also watched a documentary about the dev of Arm that suggested they had already decided RISC was the way to go before they got the other processors to experiment with and test using the Tube.

  • @Polarforscher666
    @Polarforscher666 2 месяца назад

    Thanks, I always learn something new in your videos !!

  • @mirage809
    @mirage809 2 месяца назад +38

    Wait. The damn furby is running on a 6502?! That's the kind of random factoid that I live for.
    The 6502 and Z80 are immortal in a way. These ancient chips from the 70s keep finding uses. You've listed many of the uses of the 6502. The Z80 also has some fun ones. Maybe you all remember those old MP3 players, the ones that were basically USB sticks with a battery and headphone jack. Those things use a Z80. It's fast enough to decode an MP3 as long as it doesn't need to do anything else.

    • @tr1p1ea
      @tr1p1ea 2 месяца назад +5

      Pretty sure it used a DSP or something to decode MP3.

    • @gasparinizuzzurro6306
      @gasparinizuzzurro6306 2 месяца назад +6

      no 8 bit of the era can decode mp3. do not tell us such kind of bullshits

    • @mrnmrn1
      @mrnmrn1 2 месяца назад +2

      There might be a Z80 core in some mp3 players for controlling them, but no way that thing does the mp3 decoding. That is done in a hardware decoder on the same chip.

    • @gasparinizuzzurro6306
      @gasparinizuzzurro6306 2 месяца назад +2

      ​@@mrnmrn1​As i said. no 8 bit processor has enough power to sw-decode a mp3 stream.

    • @mrnmrn1
      @mrnmrn1 2 месяца назад +4

      @@gasparinizuzzurro6306 And that's exactly what I said, too...

  • @jr2904
    @jr2904 2 месяца назад +22

    Wow, I knew the NES used a 6502 but I didn't know about the furby and Tama gotcha, that chip powered my '90s childhood. Perhaps the 6502 was also in the "digivice" that had a pedometer and you walked or shook the thing to get your Digimon to walk and play the game.

    • @a4d9
      @a4d9 2 месяца назад

      A lot of toys use it. For example Tamagotchis ruclips.net/video/c4PkcZScBV8/видео.html

    • @axle.student
      @axle.student 2 месяца назад +2

      Variants of the 6502 are still in use, one of the most versatile CPUs ever designed.

    • @sputukgmail
      @sputukgmail 2 месяца назад +2

      Fun fact, the code for the Furby is available and is fun to look through if you know 6502 :)

  • @MorganTN
    @MorganTN 2 месяца назад

    Great Video!!! It's like old times, learning stuff in a simple well laid out video. Thanks!!!

  • @mariano_buitrago
    @mariano_buitrago 2 месяца назад +1

    I did my capstone project for my BSEE in 1988 writing assembly code for the 6502 on an Apple II+. Really fond memories!

  • @AllQuirksNoFeatures
    @AllQuirksNoFeatures 2 месяца назад +6

    Ben Eater is the Bob Ross of breadboards

  • @KangoV
    @KangoV 2 месяца назад +3

    The most important company that used the 6502 was Acorn (BBC Micro) who then went on to create ARM!

    • @geoff1201
      @geoff1201 20 дней назад

      Mine still works, the two pages of memory space for mapping external peripherals is brilliant.

  • @1BitFeverDreams
    @1BitFeverDreams 2 месяца назад +2

    Yep, I got a F256K and the Ben Eater kit, modern 6502 and 65816 consumer reporting!

  • @stefanweilhartner4415
    @stefanweilhartner4415 2 месяца назад

    great video. highlighting the different versions and instruction and pin differences gave a very nice overview.

  • @Choralone422
    @Choralone422 2 месяца назад +7

    The 6502 was a legendary CPU is so many ways. In a way I think it's use just about everywhere well into the 80s hurt the 65C816's chances of success since it seemed like there was no urgency in designing a successor IMO. The 65C816 it wasn't available until 1985 and it's chief competitor was the 68000 was introduced 6 years earlier. The 68000 was comparatively much more expensive than a 6502 but once it's price started to decline in the early 80s interest in using it went up dramatically!
    If MOS or WDC had started working on what became the 65C816 years earlier maybe it could have scored wins in devices that ended up using the 68000.
    Also, I can only imagine what the SNES could have been capable of if it would have come standard with the version of the 65C816 in the SA1 chips that was used in a few dozen games. The SA1 ran at 10.74 MHz which is 3x the 3.58MHz the CPU in the stock SNES ran at.

    • @densomordnardatorn
      @densomordnardatorn 2 месяца назад +2

      Still I wonder what would have happened if Commodore had released a successor to the C64 based on the 65c816 in 1985...

  • @donaldhoot7741
    @donaldhoot7741 2 месяца назад +7

    I loved my 6510, was it, in my C64. Nice video!

    • @Okurka.
      @Okurka. 2 месяца назад +1

      I bet you loved the VIC-II and SID more.

    • @donaldhoot7741
      @donaldhoot7741 2 месяца назад

      Yes, I liked them so much I licked their shells.@@Okurka.

  • @axle.student
    @axle.student 2 месяца назад +1

    1:58 Thank you for including the OSI 4P. Warms my heart to see that :)
    7:40 Thank your for the excellent illustrations so far. I am hoping to replicate some of this with the Atmel mega328 some time soon. The bus CS I recognized instantly, but I was curious about how they were getting the 16-bit pointers and integers.
    25:16 thanks for the presentation. That was awesome :)

  • @ChrisM541
    @ChrisM541 2 месяца назад

    Thanks for this superbly delivered and researched upload. Fascinating to watch.

  • @coldlyanalytical1351
    @coldlyanalytical1351 2 месяца назад +3

    There are a few 8-bit microprocessors that are still in production:
    * MOS Technology 6502
    * Zilog Z80
    * Motorola 6800/6808
    * Intel 8051
    * RCA 1802 (still used professionally in aviation, space, defence)
    FWIW The F8 then Z80 then 68000 were very heavily used in arcade machines.

    • @superchump26
      @superchump26 Месяц назад

      Heck I used the 8051 in a few embedded projects at work just several years ago. They are extremely versatile…

  • @Nabeelco
    @Nabeelco 2 месяца назад +9

    Wow, that interview was short... seems like a missed opportunity...

    • @EddieSheffield
      @EddieSheffield 2 месяца назад

      I agree - I hope there's a longer unedited version to share at some point.

    • @Chaos89P
      @Chaos89P 2 месяца назад +3

      ​@@EddieSheffieldI read elsewhere here that the full interview didn't exactly... go so well. Bill went on a lot of tangents, apparently, as an example.

    • @TMSoYT
      @TMSoYT 2 месяца назад +3

      If anything, it felt "akward"

  • @Recovered
    @Recovered 2 месяца назад +2

    I was writing assembler for the 6502 as a 14 year old in 1980, and was hooked !!

  • @cheesyboofs
    @cheesyboofs 2 месяца назад

    Great video - You seem in your element and at most happy covering this type of history stuff.

  • @oldsoultechy
    @oldsoultechy 2 месяца назад +39

    You know it's a good day when the 8-Bit Guy uploads!

  • @cosmefulanito5933
    @cosmefulanito5933 2 месяца назад +10

    The Z-80 changed a generation. In fact, it is still used embedded today.

    • @-taz-
      @-taz- 2 месяца назад +1

      I mainly think of it from the TRS-80, disk drives, Sega Master System, and Sega Genesis. Some arcade games, too, I think, but I don't know off hand.

    • @ratdude747
      @ratdude747 2 месяца назад +4

      Still used on TI-84 graphing calculators which are still in current production. Actually, was used for most TI graphing calculators before the TI92 (and 89 series) moved to the 68K.

    • @-taz-
      @-taz- 2 месяца назад +1

      @@ratdude747 Like half of the Jeopardy questions, I'm sure I *used* to know that!

    • @ZenithMusicNet
      @ZenithMusicNet 2 месяца назад +4

      I love the whole structure of the Z80, and it was indeed used by lots of older arcade machines, also don't forget the 9 million MSX home computers.

    • @cosmefulanito5933
      @cosmefulanito5933 2 месяца назад +2

      @@ZenithMusicNet The MSX was sold worldwide (but not in England or the United States).
      That's why many people today don't know it. They don't know the rest of the world.

  • @nicolascortegosovissio2824
    @nicolascortegosovissio2824 2 месяца назад

    I really like all your videos. But, this is just the one I have enjoyed the most! Very clear and interesting explanations )

  • @lphipps1986
    @lphipps1986 2 месяца назад

    Absolutely love all your content brother. Keep it up!

  • @youtubenorthish3242
    @youtubenorthish3242 2 месяца назад +3

    These historical perspective computing-tech videos, are why I enjoy your work.

    • @Okurka.
      @Okurka. 2 месяца назад

      Anything to show off the game and computer he sells.

  • @MikesFutureRetro
    @MikesFutureRetro 2 месяца назад +17

    Great documentary video.
    2 comments.
    I’ve been a DJ for 36 years. Disco peaked in 1978, not 1975 as you mentioned as a notable moment of 1975.
    I thought the interview of the inventor of the 5602 could have been longer. It feels like it was cut short but that’s just my opinion.
    Overall A+ doc-video.

    • @Okurka.
      @Okurka. 2 месяца назад +4

      1 comment.
      It's 6502, not 5602.

    • @Loki-
      @Loki- 2 месяца назад +1

      One comment. He answered the interview problem in another comment, but I won't say which comment.

    • @NuntiusLegis
      @NuntiusLegis 2 месяца назад

      One little but not insignificant mistake in the video is that the WDC 65C816 would be from 1985, but it actually is from 1983 - which means a backwards compatible 16 bit successor to the C64 could have been done early enough to become the ancestor of our current PCs instead of the IBM PC, with Commodore still ruling the world now.

    • @Okurka.
      @Okurka. 2 месяца назад

      @@NuntiusLegis The design of the WDC65C816 started in 1983, Atari and Apple received prototype samples in the second half of 1984 and the official release of the CPU was early 1985.

    • @NuntiusLegis
      @NuntiusLegis 2 месяца назад

      @@Okurka. Ok, thanks, German Wikipedia didn't tell me that. But perhaps 1984 or 1985 would have been early enough as well.

  • @matamarcianos7596
    @matamarcianos7596 2 месяца назад

    I loved this video. Superinformative.
    The way to add and make multiplications was quite original

  • @ltlk937
    @ltlk937 2 месяца назад

    One of your best videos. Fantastic work.

  • @richard-hawley
    @richard-hawley 2 месяца назад +36

    I remember reading a book about the history of MOS, in one chapter which oddly you can hardly find any reference to online, it talks about the toxic chemicals used in the creation of the masks, the fumes from which would turn paper yellow. In 1974 the MOS plant in Audubon was listed as a hazardous waste site due to a leak of trichloroethylene (TCE) which caused local groundwater contamination. It stood out to me as I knew people who worked in the area who ended up with a profound life changing chemical sensitivity. While the 6502 may have powered a generation, it's creation may also have damaged one. I just think it's important that those things are not forgotten too.

    • @stevethepocket
      @stevethepocket 2 месяца назад

      Wikipedia does mention the leak, and the factory becoming an EPA Superfund site just as Commodore was in the process of taking over. Sounds like MOS hadn't informed the new owners and left them holding the bag. It doesn't say what happened after that; if I were in Jack Tramiel's shoes, I'd have sued the former owners into the middle ages!

    • @RetroPaul6502
      @RetroPaul6502 2 месяца назад +9

      That's life in the 70's! I grew up where a chrome plant dumped their plating chemicals into the town aquifer to help boost testicular cancer rates. Probably why the EPA came about in the 70's, too.

    • @0x0fffff
      @0x0fffff 2 месяца назад

      I heard that when Commodore refused to manufacture the Clipper Chip(NSA spy chip for cellphones) they sent the EPA to close MOS technologies for "Environmental concerns".
      This was in late '93. Commodore didn't kill itself...

    • @ArneChristianRosenfeldt
      @ArneChristianRosenfeldt 2 месяца назад +1

      Did they ever want to dispose of TCE properly, or just pay the shareholders and then go out of business? I don’t understand why everyone wants humans in a manufacturing or chemical plant. I also kinda hate the ISS.

    • @coldlyanalytical1351
      @coldlyanalytical1351 2 месяца назад +1

      I was at one fab in the 1970s. They used a gas to dope the wafers.
      They had the option of borane or arsine.
      In the gas cylinder room the arsine cylinders were untouched and covered with dust.
      "There is no way we are going to risk using that stuff".

  • @buffalox8492
    @buffalox8492 Месяц назад +3

    There is no way a 7 MHz 68000 was only 3 times faster than a 1 MHz 6502, in practical use it was more like 20 times faster. Although it required more cycles per operation, the operations were vastly superior in flexibility and capability, so most tasks could be performed with a third the operations, at 4 times the width. The 68000 also had divide and multiply of 32 bit numbers, where the 6502 only had addition and subtraction of 8 bit numbers. Needless top say the 68000 was hundreds of times faster in those tasks.
    I programmed Assembly for both, and although the 6502 is very nimble for the time size and price, there is no competition between it and a 68000 in how powerful they really are.
    OK you actually got to that at 14:47, and yes you had to make your own binary math for multiplication and division and numbers above 255. But even if you have the math, you sometimes use logic operations instead for fixed numbers. At least that's how I did it.

  • @pimpampet7053
    @pimpampet7053 2 месяца назад

    Great video 8bg. Been following your channel for years. Keep up the good work!

  • @miked4377
    @miked4377 Месяц назад +1

    david you take the best pictures ...from your days at the places you worked at when you were younger and had hair!till now still lookin good!

  • @jakedeschamps4454
    @jakedeschamps4454 2 месяца назад

    Great Video!
    Last year I actually did a project where I took a W65C02S, and connected it to a microcontroller, and monitored its inputs and outputs.
    I used the microcontroller's memory space as the addressable memory that the 65C02S used, and included peek and poke commands to monitor the memory addresses, as well as a clock step functionality and breakpoint functionality.
    I even wrote a disassembler for 6502 Assembly to go along with it.
    This was a fun project that i taught myself 6502 assembly with. It was a very cool experience.
    I'm now thinking of designing my own side project device around operating on the W65C02S.

  • @andrewdunbar828
    @andrewdunbar828 2 месяца назад +6

    I'll be quite shocked if a single person here saw a Rubik's Cube in 1975.

    • @galier2
      @galier2 2 месяца назад +5

      You're right. Rubik's cube was more a 1978/1979 big thing. I remember when I was in 8th class in middle school when I was summond to the school director, wondering what "crime" I had committed, to just having the director asking me to solve his cube.

    • @andrewdunbar828
      @andrewdunbar828 2 месяца назад +1

      @@galier2 I remember 1980 because it was my first year at highschool and couldn't wait to get my hands on one. There may be a Hungarian or two here in their late 50s who got one before the rest of us.

    • @GodmanchesterGoblin
      @GodmanchesterGoblin 2 месяца назад +1

      Designed in 1974, licensed for sale in the UK in 1978 and worldwide in 1980 (according Wikipedia). Bought my first cube in October 1980.

    • @sputukgmail
      @sputukgmail 2 месяца назад

      @@andrewdunbar828same here - 1st year at the comprehensive school and …lets just say, someone was selling legit cubes cheap somehow. I was too naive to realise why they were cheap at the time and only twigged months later, that not everyone pays for things when they walk out of a store!

  • @fractalMD
    @fractalMD 2 месяца назад +3

    Someone should write a song about it..... 😄

    • @rossarcher6104
      @rossarcher6104 Месяц назад

      ruclips.net/video/LrPxM-qYNTI/видео.html

  • @MotownBatman
    @MotownBatman 2 месяца назад

    Well Done Brotha!
    Great Explanation/Breakdown Video, This was Killer!

  • @magnum333
    @magnum333 2 месяца назад +2

    That was a good video! Congratulations David, looks like the 8-bit guy is back!

  • @billybollockhead5628
    @billybollockhead5628 2 месяца назад +21

    As someone who's been a game programmer for 30 years.. I miss this era.. Coding was so much more "fun" back then.. Modern day developers struggle to understand the basics of optimization... I look at people complaining about how impossible it is to run their game on the Switch (for example) and shake my head.

    • @JGreen-le8xx
      @JGreen-le8xx 2 месяца назад +1

      YES! Optimization was king back then, to the point it was more an "artform" than a skill set. And there were some damn fine "artists" back then

    • @colleagueriley860
      @colleagueriley860 2 месяца назад +2

      I agree, but that doesn’t mean it can’t still be fun. I personally don’t do a lot of actual optimization, I mostly try to make code that doesn’t run poorly and it’s pretty fun.
      This makes me want to do a homebrew project for an older cpu at some point through.

    • @billybollockhead5628
      @billybollockhead5628 2 месяца назад +2

      @@colleagueriley860: I work with 100s of people now. And most of them think optimization is a thing you get from adding more power to the machine.
      You hear them bitch and moan about power of hardware or engines in interviews with press.. it's depressing... And that's before we get to the simple fact the "higher ups" dont care and dont want you spending time/money on making it go fast.. just ship it out...

    • @syrus3k
      @syrus3k 2 месяца назад +2

      If people truly optimised code today it would be something else. Modern CPUs are so under utilised it's crazy

    • @giornikitop5373
      @giornikitop5373 2 месяца назад

      well, optimization back then was absolutely neccessary, because of the slow cpus, small mem etc. so there was no other way. you HAD to do it and that's why a lot of ppl became very good at it, it wasn't because it's "fun".

  • @BrainSlugs83
    @BrainSlugs83 2 месяца назад +9

    Errata: @16:30 - The Atari 2600 only has 12 bits of Address (as shown in your diagram) and can therefore only address 4 KB of memory space. The asteroids cartridge shown is an 8 KB cartridge, but it used a very crude banking scheme.

    • @TheGuyThatEveryoneIgnores
      @TheGuyThatEveryoneIgnores 2 месяца назад +4

      I count 13 address bits, A0 through A12. 😕

    • @NerdlyPleasures
      @NerdlyPleasures 2 месяца назад +6

      The 6507 CPU in the Atari 2600 can address 8KiB of memory space, 4KiB is devoted to the cartridge ROM and 4KiB is devoted to RAM, I/O, timer video and audio registers inside the RIOT and TIA chips.

    • @Nezuji
      @Nezuji 2 месяца назад +4

      I came to say something similar. BrainSlugs83 is close, but NerdlyPleasures has it right. I'm currently working on my first Atari 2600 game.
      The 6507 also still has internal vectors for interrupts that have been moved to fit into the modified address space, even though it no longer has the external pins that trigger those interrupts.

    • @BenHeckHacks
      @BenHeckHacks 2 месяца назад +1

      @@NerdlyPleasures This is correct. A12 is mapped to the cartridge ROM chip select.

  • @roskotroff
    @roskotroff Месяц назад

    Amazing documentary!, thanks 8-Bit Guy!! ^^

  • @j_m_b_1914
    @j_m_b_1914 2 месяца назад

    This is one of your best videos! I really appreciate your explanation on basic CPU operation. If you are programmer out there, I highly recommend eventually building your own computer from the CPU up. It does take a little time and effort and it does require a few additional tools, but if you ever get the time, building a computer at the chip level is a very rewarding experience and it really gives you a more solid understanding of how the hardware interfaces with the software you write.
    Thanks for making this video! I would subscribe to your channel just from this video alone but I'm already subscribed. ;)

  • @richardcampbell7055
    @richardcampbell7055 2 месяца назад +5

    The 8 bit baby, awesome! You were so cute!

    • @Okurka.
      @Okurka. 2 месяца назад

      Jeffrey Dahmer was also cute as a baby.

  • @sjzara
    @sjzara 2 месяца назад +8

    I don’t think it’s reasonable to say that the 6502 powered a generation. At least in the U.K. the ZX80/81 and the hugely popular Spectrum were Z80. My first micro, a TRS-80, as also Z80. The Z80 ran CP/M and was also a far easier chip to program.

    • @Okurka.
      @Okurka. 2 месяца назад +4

      The Z80 powered the poor part of that generation.

    • @sjzara
      @sjzara 2 месяца назад +2

      @@Okurka. Poor? Not at all. It was used in many business machines. It was the basis of the MSX computer standard. It was also widely used in games consoles. It had a rich instruction set, including 16-bit instructions.

    • @mudi2000a
      @mudi2000a 2 месяца назад +1

      But the BBC Micro had a 6502 and that fact eventually led to the creation of ARM in the further history of the Acorn company, so I think the impact of the 6502 even in the UK is probably higher at least from today's standpoint. By "powering a generation" in the 80 of course you are correct, that probably goes to the Z80 for Sinclair's computers being cheap.

    • @sjzara
      @sjzara 2 месяца назад +2

      @@mudi2000a The BBC Micro was expensive. That’s why the cheaper ZX Spectrum was so popular.
      I’m not saying that the 6502 wasn’t hugely popular, just that the Z80 was too, and it was also very successful so that the suggestion that the 6502 powered a generation of computers was wrong. It was a mixed market, and remained like that for a long time.

    • @mudi2000a
      @mudi2000a 2 месяца назад

      @@sjzara yes I didn’t deny that but at the end of the day the ARM processor was developed by the people that created the BBC Micro.

  • @brandonpetroski6663
    @brandonpetroski6663 2 месяца назад +1

    I am so happy I made the time to sit down and watch this video. There was a ton of great tech heavy information here that was extremely easy to understand, and I feel like such a casual "retro" fan having a murky understanding of the fundamental functionalities of these computers.

  • @TheMadisonHang
    @TheMadisonHang 2 месяца назад +1

    I'm glad we are all on this journey together
    8bit guy has taken us a long way from, vintage PCs to now ancient classic computer architecture
    In a way, I feel like we finally arrived.
    If this was the intro to vintage computing I had at the start of your channel, I can say I would be able to follow you. But, here we are!
    I feel like we are getting closer, if not already, at the heart of vintage computing.
    I think, the future is bright. People can now take the first steps in the right direction, of where we need to go if we are to grasp the future of computing while still connecting to the real legacy of computer technology and architecture!!!!

  • @eekpie
    @eekpie 2 месяца назад +6

    there are 6502 cores in many household junk like an electric toothbrush. I put them there, sorry

    • @WomblingFreely
      @WomblingFreely 2 месяца назад +1

      What is a toothbrush using a 6502 for? Am legitimately curious what computation is necessary for say a timer function!

    • @SevenCompleted
      @SevenCompleted 2 месяца назад

      ​@@WomblingFreely battery controller is my guess

  • @befeleme
    @befeleme 2 месяца назад +32

    Yes, but sorry - I still prefer Z80.

    • @JGAMER_FOX6502
      @JGAMER_FOX6502 Месяц назад +7

      It is true. Everyone has their preference. If someone insults you because of this comment, they are wrong.

    • @plankalkulcompiler9468
      @plankalkulcompiler9468 Месяц назад +8

      Exactly! Z80 is much more convenient to use than 6502.

    • @jbponzi1
      @jbponzi1 Месяц назад +8

      Have you heard that Z80 will be discontinued in a few weeks. Sad really.

    • @befeleme
      @befeleme Месяц назад +5

      @@jbponzi1 Yes, it's sad for me, too, especially as I am an old and sentimental guy. But, on the bright side, the Z180 still lives; I wrote a lot of code for the Z180. And also the eZ80 - already over 20 years since introduced; seems like yesterday. Life is so short and CPUs come and go! 🙂

    • @MicahtheDrumCorpsPseudoboomer
      @MicahtheDrumCorpsPseudoboomer Месяц назад +1

      @@jbponzi1No, I have not heard that! That's terrible!

  • @petergibson2318
    @petergibson2318 21 день назад +1

    In 1979 a I bought 6502 based kit computer called the Tangerine Microtan 65 . Every single component had to be soldered by hand onto the circuit-board etc.. I had never soldered before and was learning as I went. It worked the first time I switched it on; to my utter astonishment.
    Fondly remembered.

  • @sixteenseven123
    @sixteenseven123 2 месяца назад

    I really like these educational types of videos from The 8-bit Guy, he has a very clear and easy to understand way of explaining these processes and as somebody who couldn’t be further from understanding the inner mechanisms of how a computer operates, these videos are fascinating to me. Good job Bryan!👍

  • @Okurka.
    @Okurka. 2 месяца назад +14

    4:23 Nice research work.
    The Rubik's Cube went on sale in 1980, not in 1975.
    Originally it was called the Magic Cube and was since 1977 for sale but only in Hungary.

    • @mrb5217
      @mrb5217 2 месяца назад +2

      Nice being an asshole. It's not what you say, it's how you say it.

    • @Okurka.
      @Okurka. 2 месяца назад +3

      @@mrb5217 Oh, the irony!

    • @stevethepocket
      @stevethepocket 2 месяца назад +1

      @@Okurka. It's not irony; it's just paying back your rudeness in kind.

    • @Okurka.
      @Okurka. 2 месяца назад

      @@stevethepocket What rudeness?

    • @mrb5217
      @mrb5217 2 месяца назад

      @@Okurka.The part where you were rude