How Computers BOOT: From Startup to Viruses

Поделиться
HTML-код
  • Опубликовано: 15 ноя 2023
  • Dave explores how a computer starts up, or boots, from scratch. From the initial reset to loading the operating system, Dave shows you all the steps.
  • НаукаНаука

Комментарии • 683

  • @oliverscratch
    @oliverscratch 7 месяцев назад +661

    Back in the 1980s I ran a chemistry laboratory instrument that was controlled by a PDP-8. To start that up you used the front panel switches to input a program that enabled the paper tape reader on a connected ASR-33 Teletype machine. The rest of the operating system and the instrument software was loaded through multiple paper tapes that had to be read in one-by-one. Our software library was a box full of 35mm film cans each holding a single paper tape. When the instrument was finally decommissioned the PDP-8 went to the university's technology museum. (PS: After reading what I just wrote I realized how very old I am.)

    • @AlistairGale
      @AlistairGale 7 месяцев назад +6

      Did it have core memory?

    • @ehrenloudermilk1053
      @ehrenloudermilk1053 7 месяцев назад +19

      Happens to all of us. Sounds like you lived a good one.

    • @oliverscratch
      @oliverscratch 7 месяцев назад +8

      @@AlistairGale I think it used core, but after 40 years I can't be sure.

    • @nojava2
      @nojava2 7 месяцев назад +19

      We went to the same school. I was fat fingering the same pdo-8 in 1973

    • @daveelliott7715
      @daveelliott7715 7 месяцев назад +17

      I still have the papertape of my PDP-8 University work. 1978. Yeah, life was good. (M67).

  • @harrkev
    @harrkev 7 месяцев назад +279

    Hardware engineer here. Usually, reset lines are active low, so to reset a chip, the reset line is pulled to ground. I believe that to be an artifact of when BJT transistors were still used, and NPN transistors were both faster and had a larger current capacity than PNP transistors. So pulling a line low was easier than pulling it high. You can check old 74 series logic data sheets and see that the current sink number was typically a lot larger than current source.

    • @ChuckyGang
      @ChuckyGang 7 месяцев назад +10

      was about to comment that :)

    • @mg30ebay
      @mg30ebay 7 месяцев назад +29

      Also, with active-low, the device can be held in reset (or a similar sane state) as the power rails are coming up on startup.

    • @ChuckyGang
      @ChuckyGang 7 месяцев назад

      @@mg30ebay modern machine. powergood on atx is low until psu delivers fine power. tie it to reset and the psu does all that for you. "for free" :)

    • @draconi1992
      @draconi1992 7 месяцев назад +23

      An added benefit is in case of a power dip. A power dip can throw a CPU (or any other digital logic chip for that matter) into an unknown state. If the reset line dips, the CPU would reset and go back to a known state.

    • @herrbonk3635
      @herrbonk3635 7 месяцев назад +8

      Yes, bipolar NPN-transistors. But also the n-channel enhancement mode field effect transistors that was the basis of early µ-processors, before symmetrical CMOS took over in the mid 1980s.

  • @glaubhafieber
    @glaubhafieber 7 месяцев назад +77

    As an apprentice, I asked our top software engineer where does the H8 microcontroller know where to get my code from? He called hitachi and ordered a ton of documentation for me. I believe he mentioned that I’m the 16 year old kid in the R&D office. They were kind enough to send me a complete hardware emulator and i let nobody touch it until i graduated. I believe that thing was very expensive but the products that little boy designed are still in operation today. I saw one during a visit to a pharma company and said i wrote the software as a child haha. Luckily i added an easter egg that showed my name on the 7 segment display

    • @guybrush1701
      @guybrush1701 6 месяцев назад +8

      That's so cool!

    • @liamblu
      @liamblu 6 месяцев назад +6

      Now that's a story to tell your children 😊

    • @mikeb1596
      @mikeb1596 6 месяцев назад +5

      I don't know how you could wrap your head around this stuff at 16, you must have been exposed at a very young age. When I was 16, I was able to make only stupidly simple programs in quickbasic and visual basic and was learning the basics of electronic circuits. I couldn't grasp basic concepts like why i needed to use pointers, it was hard to find documentation or books that explained it in a way that clicked.
      Years later, I found Ben Eaters 8 bit breadboard computer videos and built one. Everything finally started to click, but already mid 30s working full time, just didn't have the time or energy to take programming further. Maybe my brain just wasn't made for it. I still don't understand how people that young were able to make sense of very advanced programming concepts. Maybe I'm just fucking retarded

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

      @@mikeb1596 fuck, you're WAY ahead of me. I could program Madlibs in BASIC as a tween, but I was too lazy/scared to try graphic programming. That's as far as my programming journey ever took me.

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

      @@mikeb1596 Well, it's all just a matter of exposure. My dad showed me Pascal at the age of 11 (somewhere around 1995). He only showed me the basics and at that time I barely understood english so I couldn't make much sense of it at first. However my first english words which I actually could type quite fast were things like "implementation", "interface", "record" and such things ^^. The help that shipped with Turbo Pascal 7 (in the fantastic Turbo Vision TextMode based IDE) was all I had. So I just made myself familiar with the most basic stuff at that time. So console input / output, file input / putput and some basic graphics with the horribly slow BGI drivers under dos emulation on a win95 PC. I got a few books on some system internal stuff which helped a lot. I saw my dad only a few days every couple of month. So each time he showed me some small tricks and details (like memory segment B800 which is the textmode screen buffer). You can do a lot with just those basic stuff.
      Later I naturally switched to Delphi (since it is based on Pascal) and since I now had a 96k modem I actually had occational internet access. Though dailup connection was quite expensive so I didn't have that much time. Though I found the excelent NeHe (Neon Helium) OpenGL tutorials. They had example code in 20 different languages, including pascal / delphi. So at the age of 16 I already had a quite good foundation on the hardware and some of the software interfaces. Though I have to say that back in the old days, the hardware was a lot simpler so it was way easier to understand how it works. Though back in the day I usually was just scratching on the surface.
      I had an apprenticeship as an electro mechanic at the german postal service "Deutsche Post". After the 3 and a half years a friend of mine who continued to work for the postal service as a service technician ask me if I could write a "simple" software that would replace an excel script that used VBA to receive text over a serial interface that was meant for dot matrix printer which was used to capture error messages. That PC was connected to a radio that could be operated over another serial port. The script was simply playing wav files according to the system error and broadcast it on the radio.
      Of course that system was horribly limited, especially since error messages also had a "solved" message so when errors piled up it couldn't keep up. I wrote a delphi program that received and parsed the messages, put them in a nice color coded list view and automatically matched the solved messages with the actual errors. It queued the messages up to be broadcast on the radio. Over the years the system grew. The radio had some handshake messages so we could detect if there was other chatter on the radio. So we implemented some timeouts to ensure we don't interrupted human communication, The radios even had 5 buttons which could send a 5-tone sequence that the radio could detect. So we even added the ability for the technicians to acknowledge an error or to make the system repeat the last one. I actually used a text-to-speech system to "read" the error on the radio. I setup a quite extensive config that allowed the technician to specify replacement messages. Tons of special cases were added. Like when an emergency halt button was pressed, the system usually generates tons of errors and in that case they should be suppressed and stuff like that.
      AFAIK this program is still in use to this day :) I wrote the initial version in 2008 (just checked my history txt) and the lates update was in 2019. At that time they got a new radio system and while it was mostly compatible, the busy detection suddenly failed because it was signalled differently. At that time I hadn't used delphi in years since I completely switched to C#. Though it's kinda amazing that the same piece of software is used for over 15 years on a daily basis. Fun fact: other parcel stations which had the same (old) system asked around 2010 if they could also get this software. Since I just made that in my free time to help out my old buddy, he ask me to integrate a simple "license" system. We didn't charge any money, but we wanted to make sure that we know how many stations were using it.
      That's one of my old software stories :) It was a fun time back then. Systems were so much simpler (and a lot more insecure). Nowadays we struggle with writing shaders or high end graphics stuff. That's how I ended up using Unity for about 12+ years now. Though you learn something new every day. There are so many programming languages out there and so many systems, frameworks and technology that it's impossible to keep up with all of that.

  • @aaronpower8741
    @aaronpower8741 6 месяцев назад +25

    Just sat down and watched through this with my ~20 year old son who is just starting out in an IT sys-admin career. I think it took us a good hour of pause-restart to get through the whole video, but I think he now has a better understanding of some fundamentals that are not normally taught in modern computer courses.
    Thanks Dave!

    • @DavesGarage
      @DavesGarage  6 месяцев назад +11

      Very welcome! For me its these little fundamental pieces of knowledge that can be the hardest to come by!

  • @mikebarushok5361
    @mikebarushok5361 7 месяцев назад +20

    An additional interesting thing about the original IBM PC was that if no bootable disk was found it would load Cassette Basic from ROM. Thus, early compatibles, not having Cassette Basic could give the error 'Cassette Basic not found ", rather than the later error of "No Bootable Devices Found".

  • @jimnech5066
    @jimnech5066 7 месяцев назад +43

    This brings back memories. Back when the first IBM PCs first shipped I wrote a little TSR to make duplicationg diskettes much faster. I had to deal with low level issues like the 64k DMA transfer limit. Mucking around with the hardware at a very low level was a lot of fun!

    • @Obscurai
      @Obscurai 7 месяцев назад +6

      Ah yes, mucking about in the Interrupt table and learning all the nuances of the Intel instruction set ...

  • @alphanarseven
    @alphanarseven 7 месяцев назад +26

    That was my first surprise interview question to the candidates while hiring to PSS in the late 90's. People would come prepped with all sort of things about SQL, Exchange etc but when initially confronted with this "basic" challenge, many would just freeze and needed few seconds to boot up and come back to life:) . At least for me it was a great way to understand how much deep the person could go for troubleshooting in the future if needed.

  • @mousefad3673
    @mousefad3673 7 месяцев назад +32

    If you *really* want to know how to build and bootstrap a microcomputer, Ben Eater's series on building a breadboard computer might be for you. Goes to a level of detail that should satisfy most anyone - both in terms of hardware and software.

    • @jackmacdonald8499
      @jackmacdonald8499 7 месяцев назад +4

      I had the same thought. It was a fascinating series.

  • @andrewduncan1217
    @andrewduncan1217 7 месяцев назад +15

    Thanks Dave, very informative. As a Software Engineer, I totally failed an interview question "What are the steps that occur when a computer boots up". Next time I will have a much better story to tell.

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

      I wonder if the interviewer was the other commenter here talking about how this was their interview question 😂

    • @billhudson7286
      @billhudson7286 7 месяцев назад

      @@SimonBuchanNz Or the secret NZ author of the Stoned boot sector virus

    • @vast634
      @vast634 6 месяцев назад

      I actually did not know about the reset line, and thought the bios chip somehow prepared the CPU directly.

  • @christopherg2347
    @christopherg2347 7 месяцев назад +6

    One reason BIOS Booting went: BIOS -> Boot Drive -> MBR -> Active Partition -> Partition Bootloader -> OS Bootloader, was simple size constraints.
    You needed quite a bit if space to store a bootloader that is capable of properly reading and writing a full filesystem. There was just no way to fit even partial reading before the Partition Bootloader.
    UEFI has much more storage space. So now we can write the OS bootloader directly into it. Sidestepping the whole MBR Relay Race.

  • @davetown
    @davetown 7 месяцев назад +74

    Having been in IT since the days of the first PCs, I enjoy watching your videos. They're very informative and entertaining. Thanks for the time and effort you put in to bring them to us. Your mention of The Friendly Giant brings back memories of the occasional sick day when I was in my early elementary school years. I remember flipping around the TV dial (yep, I remember dials on TVs), and finding this program on the regional PBS station. Good memories from a bygone era. Also, love, love, LOVE the LEDs you have set up in your gadgets and gizmos. Thanks again!

  • @JunYamog
    @JunYamog 7 месяцев назад +9

    Thanks this brings me back memories. I remember during my high school days, the computer lab teacher would remove me from the class as I was one of only kid in school who understood about boot sector viruses. He just excepted me from the classes, as I also gave him grief whenever I ask questions or propose better code. So I sat in a corner and help fix the schools virus issues. I have a known disk that has no viruses and write protected. I then would get most of my classmates disks, go through them and using DEBUG to copy back the boot sector to its original address. I also can easily when there is boot sector virus, when you open the PC case, you can see drive A: head will move differently when an infected disk is booted, you can clearly see that will go the beginning cylinders initially but moves to end to load most of the real boot sector.

  • @michaeljaques77
    @michaeljaques77 7 месяцев назад +1

    Canadian nostalgia to my early 1980's childhood:, both the friendly giant, "Look up, waaay up," and I have to assume a throwback to Stampede Wrestling with Ed Whalen's famous line. You better "batten the hatches and lock the doors, because it's stampede wrestlin' time once more!"

  • @Billblom
    @Billblom 7 месяцев назад +9

    Back in the dark ages, I was the "computer expert to call" at the local talk station. I remember one early morning when the activation date for a truly nasty virus hit. I had said that as long as you had a reliable antivirus running with current signatures, you should be good to go, but here is what it will do to you if you aren't protected... and described the virus's actions. That is when a guy with an 80286 based system called in to say "I think I got that virus. My computer turns on, but doesn't run the bios." The nasty that he had (and did not have an antivirus to detect) basically totally wiped out his BIOS code which was flashable. So the virus had written junk into what had been booting his machine. I told him since the bios was soldered on to his motherboard, he would need a new motherboard in all probability.

    • @eDoc2020
      @eDoc2020 7 месяцев назад

      Is that true? I thought most 286 systems still used mask ROMs or maybe UV EPROMS. Either way they can't be programmed from the PC. I'd be interested to know more about what this system was.

    • @Billblom
      @Billblom 7 месяцев назад +1

      @@eDoc2020 Early IBMs had the burned rom that was safe. However, there were a lot of stuff from overseas that had discovered the BIOS from folk here, and that they needed to be able to update them with a flash from a bootable floppy disk. (Phoenix among others.) And the clone motherboard manufacturers needed to be able to update the bios so that they could add new bootable devices.... It had to be able to init all the new stuff that was coming out, and of course, fix any bios related bugs. Some of the early bios systems from the far east were rather humorous... The error on one I had to fix... "Disk not setting OK" for a failure to load a floppy disk... Early Dells needed a chip change for an update. That got REAL expensive for them....

  • @andrewr7820
    @andrewr7820 7 месяцев назад +48

    A video discussing disk partitioning and how that dovetails with this piece would be interesting. Especially given the myriad of historical disk partitioning schemes. MBR and GPT would obviously be mandatory, but it might be fun to look at others, both historical and extant.
    After that, the one that really begs for your elucidation is the dark world of FILE SYSTEMS.
    Oooooo... Scary. Lions and tigers and bears.... FAT8/16/32, NTFS, ReFS, ISO9660, and maybe even some of the Linux options like Ext2/3/4, XFS, ZFS, etc.

    • @maxstr
      @maxstr 7 месяцев назад

      I'm curious how the BIOS knows how to boot from an NVME drive, since it's a PCI device rather than a SATA drive

    • @skilz8098
      @skilz8098 7 месяцев назад +7

      @@maxstr If I'm not mistaken I think the modern UEFI systems today are required to boot from NVME and it will read from that PCI Express lanes instead of the SATA Bus lines. It doesn't recognize it as a SATA unless if you're specific NVME or SSD is connected to the SATA ports. Also you may have to modify the BIOS settings to select that particular drive to be the drive to boot from. It may not automatically do it for you. You might have to configure the BIOS.

    • @falcon-ng6sd
      @falcon-ng6sd 6 месяцев назад +1

      @@maxstr At the abstract level, an NVMe device is a storage controller, just like an AHCI SATA controller or many other types. It can accept commands to read and write blocks and do other things.
      If the BIOS or UEFI has drivers to support the device, it can expose it through its storage APIs.
      In fact, I have an older motherboard here with an M.2 slot that supports PCIe drives. If you plug an NVMe drive into it and boot an OS with an NVMe driver, it will see the drive normally, however UEFI is unable to boot from it as it doesn't have a compatible driver.
      Once, I was reading something about modifying BIOS images to add drivers to them. I didn't go through the process, but I did manage to download an NVMe EFI driver and extract it. I started the built-in EFI shell, loaded the driver and the NVMe drive showed up in the list, as expected.

    • @andrewr7820
      @andrewr7820 3 месяца назад

      ​@maxstr Late reply. IIRC, the pre-UEFI BIOS points to sector 0 of the boot device to execute the bootloader. It doesnt care what type of device; they all get presented to the system as block devices. What happens next is based on your bootloader.

  • @Richardincancale
    @Richardincancale 7 месяцев назад +16

    In the early days of PDP8s and 11s we would usually key in an actual program - typically 10-15 instructions long - that could read from a card reader or paper tape reader. So we’d load up cards or tape with a bootstrap program that could then read from a hard drive if you had one.

    • @Drew-Dastardly
      @Drew-Dastardly 7 месяцев назад +5

      Yes. I only got to play with a salvage vintage PDP/8 back in the 1980's as a teenager. It had a boot sequence called a RIM loader that had to be keyed in octal using the front panel. This would fire up the paper tape reader which would be loaded with the bootstrap tape. That would enable and run the mag tapes one of which had a rudimentary OS on it. Only then would the terminals flicker to life and also enable the hard drive to run DEC OS or whatever. That HDD behemoth was less than 1MB, weighed a ton and took up half a rack.

    • @TesterAnimal1
      @TesterAnimal1 7 месяцев назад

      Never done that on a PDP-11
      They always just booted into RSTS/E on power up.

    • @HerbertTowers
      @HerbertTowers 7 месяцев назад

      ​​​@@Drew-DastardlyErr. In my lab, only after the first keyed-in bootstrap routine could control be transferred to a teletype thingy with a punced card or tape reader.
      Only then would life be reluctantly granted to the monitors and keyboards.
      PDP 11-45? That was around 1978.
      I recall editing paper tape with sticky tape and a paper punch. Splicing just like movie film. Obviously one needed to have a thorough knowledge of ASCII code to do the job. I just was a maths student not the actual computer manager!

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

    For years I have thought that this subject would make a great reference book. So much happens at boot time and knowing that can really help you speed things up. thanks for taking this on!

  • @genewhite7566
    @genewhite7566 7 месяцев назад +18

    Thanks Dave, another great tutorial. We used to refer to the IBM PC power switch as the BOSS -- Big Orange Shutoff Switch. Could you possibly make a session on PROM, EPROM and BIOS--What they are, where they are and how they are made. Keep up the good work.

    • @mordantly
      @mordantly 7 месяцев назад +1

      Up to the 2Mbit bios, don't forget the eeprom also retained the uv window under american megatrends foil label.

  • @icarvs_vivit
    @icarvs_vivit 7 месяцев назад +43

    You make such great, compendious videos that still somehow only take up 15 mins of my time.
    I don't know how you do it but I'm glad you do.

    • @jej3451
      @jej3451 7 месяцев назад +5

      Compendious is a great word.

    • @MadMathMike
      @MadMathMike 7 месяцев назад +4

      I've never heard the word "compendious" before. Thanks for helping me learn a new word today! 😊

    • @jimle22
      @jimle22 7 месяцев назад

      He talks fast for my slow mind. I am old.

  • @mattcowdisease1346
    @mattcowdisease1346 7 месяцев назад +15

    Freaking love this. Great work. Technology has come so far in such a short period. Thank you.

  • @dzee7936
    @dzee7936 7 месяцев назад +3

    Dave, these kinds of videos are great for even IT profesionals. Like you, I came up on computers that pre-dated DOS, but as an IT executive now, I find my staff is unaware of this level of detail about how computers operate which sometimes prevents them from theorizing about why computers may be misbehaving in particular ways. Thanks for another great video. Sure wish I could have worked with you back in the early 80s and onward.

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

    Your RUclips channel is the greatest thing to happen to me in a while. I bought an ESP32 and am so excited to program it with VS Code.

  • @phosphor_goat
    @phosphor_goat 6 месяцев назад

    I was literally about to comment and thank you for the use of the IBM PC power switch and then you started talking about it and replaying.
    You rock, sir. Bravo.

  • @sleepydragon1975
    @sleepydragon1975 6 месяцев назад

    I love the detail you've gone into on how a computer boots up. It was also a blast from the past, I remember getting the "Your PC is now Stoned!" message!

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

    first time watching one of your vids, immediately got the feeling that this was a man, probably towards the end of his career, educating the younger generations in a very entertaining and engaging way! I don't even know why I'm commenting but I'm sure I'll like that video.

  • @w2tty
    @w2tty 6 месяцев назад

    I only now just found your channel via this video. I liked and subscribed. Looking at your history, I’ll be busy a long time binge watching many of your previous videos. I’ve been programming since 1976. Thanks for some really great content! This is going to be fun.

  • @jamescrawford1534
    @jamescrawford1534 7 месяцев назад +1

    The Bootstraps saying comes from the story 'The Adventures of Baron Munchausen'. It is full of tall tales where the Baron is a hero in bizarre adventures. In a story he tells of how he was stuck knee deep in mud. Asked how he freed himself he replied 'he pulled himself up by his bootstraps.' An example of how crazy his tales where.

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

    An exceptionally great presentation Dave. Thank you.

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

    Clarity. This structured and interesting video was mostly stuff I knew already, but it nicely filled in some gaps in my knowledge, for which I am very grateful.

  • @tshackelton
    @tshackelton 7 месяцев назад +15

    I want more of this kind of content ;) Seriously, this is great stuff....

  • @leafylotus
    @leafylotus 7 месяцев назад +6

    Hey David, I’m working on my bachelors for CS. Love hearing your take on all these topics

  • @chuck10088
    @chuck10088 7 месяцев назад

    Always like the Friendly Giant outro. Brings back memories. Thanks Dave.

  • @estudiom142
    @estudiom142 6 месяцев назад

    I start at Dos 5.0 at 15 years old.. It 's change my Life. Lovo your videos. Cheers 🎉🎉

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

    Dave, you are a blessing and a legend! Thank you man for all the knowledge that you share so freely. I watched the Friendly Giant as a young boy.

  • @Adam-fz6sj
    @Adam-fz6sj 7 месяцев назад +1

    Great explanation I love hearing the reasoning behind everything.

  • @Dremvel2335
    @Dremvel2335 6 месяцев назад

    It's always wonderful to see your videos Dave. I just shared this with my mother so she would understand more about he computer and how it works. You have such a gift for explaining these things.. Have a Blessed Day Dave and Happy Thanksgiving.

  • @ronh6531
    @ronh6531 7 месяцев назад +3

    Back in the 80's I worked on the Docutel ATM's that were controlled by a computer with front panel switches like the Imsai, that had Core memory. to load the Operating system we would insert a loader board into a Bus Slot and manually enter a 15 instruction boot program into memory then plug in a cassette tape recorder with the program on a cassete into a audio jack on the loader board, then start play on the player then press run on the panel switches to run the boot loader program. Once the tape had played the recording (OS), I would stop the boot loader power off the computer remove the loader board power back on the computer press stop on the front panel switches. enter a memory start address into the program counter register then press run to start the OS. If the system didnt start correctly, we stop the the cpu examine memory loacations by using a memory dump listing and fixing loations with the wrong values then change the program counter back to the program start location and try agin. My How things have changed since then !

  • @JohnnieWalkerGreen
    @JohnnieWalkerGreen 7 месяцев назад +3

    I remember booting an HP1000 by switching its register buttons. The software was loaded from an HP2645 terminal by a cartridge. That minicomputer was used to control a Westinghouse OMR (Optical Mark Reader).

  • @rotaryconvert
    @rotaryconvert 7 месяцев назад

    Great stuff Dave. I grew up with the 6502 (a Commodore 64) and move to DOS PCs. I now have a friend with an Altair 8800 … you’ve tied them all together in my mind.

  • @LithiumSolar
    @LithiumSolar 6 месяцев назад

    That was a very intriguing explanation, thanks for putting this together!

  • @bertruttan129
    @bertruttan129 7 месяцев назад +1

    The good ole days. Never looked back. But i do remember fondly how I learned to even get these contraptions to work. The lights still mesmerize me though.

  • @sereysothe.a
    @sereysothe.a 7 месяцев назад +1

    dave your content is so killer. you've mastered this format

  • @perryuploads776
    @perryuploads776 6 месяцев назад

    This is so fun listening about this knowledge. Thanks Dave!

  • @ghostrideri6289
    @ghostrideri6289 7 месяцев назад +1

    Ahh the memories of the "sneaker Net" I used it for a long time, (late 70's through early 90's) and still find uses for it on occasion today for things like family information and such.

  • @WillKemp
    @WillKemp 7 месяцев назад +1

    When I started working as an assembly language programmer at the very start of the 1980s, the system I worked on had a 4 step boot procedure. 1., toggle in the paper tape reader bootstrap on the front panel, 2., run that and read in the card reader bootstrap from 8-level punched paper tape, 3., run that and load the operating system from a deck of punch cards. 4., once that was in, you entered the start address on the front panel, hit the run button, and it was up and running. Back then, I knew the card reader bootstrap code by heart - it was half a dozen or so 16-bit words which, of course, I remembered in hex. Sadly, I can't remember it now.

  • @ChadLuciano
    @ChadLuciano 7 месяцев назад +4

    The Friendly Giant stuff is great...thanks Dave!

  • @muddyexport5639
    @muddyexport5639 7 месяцев назад +1

    The mention of the "Stone Virus" reminds me of one of the earliest books about computer viruses and AI, "The Adolescence of P-1", by Thomas Ryan, 1977 AKA from way back.

  • @MadMathMike
    @MadMathMike 6 месяцев назад

    I love this channel so much. Great content, Dave!

  • @smrp1984
    @smrp1984 7 месяцев назад

    Great as always, the outro has me looking forward to next time.

  • @carlosteixeira2614
    @carlosteixeira2614 7 месяцев назад +3

    Hi Dave, great video!
    Not trying to be an arrogant prick but i'm pretty sure there's a mistake at 5:24. The reset vector on a 8088/8086 can't be FFFF:FFF0h because on those CPU's there's no A20 line and setting CS to FFFFh and IP to FFF0h would immediately wrap both registers to 0000h. Starting from the 286 CPU i'm sure setting CS and IP like that would make the A20 line set the physical address to the end of the HMA area minus 16 bytes.
    So on a 8088/8086 the vector MUST be by setting CS at F000h (start of the last real mode segment) and IP to FFF0h. The alternative would be setting CS to FFFFh and IP to 0000h. Both methods point to the same physical 20-bit address of FFFF0h.
    I'm absolutely 100% convinced that you are aware of this and that it was just a mistake.

    • @DavesGarage
      @DavesGarage  7 месяцев назад +1

      FFFFFFF0 is not FFFF:FFF0, nor did I claim it! You can use segment-offset to reach FFFFFFF0 without any overflows or A20 line, right? Or at least I thought so!

  • @sweepingtime
    @sweepingtime 6 месяцев назад

    I love the demo of the old machines. There's something beautiful about them to me.

  • @98of99
    @98of99 7 месяцев назад +4

    Love all that you do Dave, you’re awesome, thank you!

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

    That IBM switch is indeed pretty sweet!

  • @fredflickinger643
    @fredflickinger643 6 месяцев назад

    Finally it all comes together! Thanks Dave!

  • @es330td
    @es330td 7 месяцев назад +3

    It’s funny that you say “as simple as setting dip switches.” My son is a computer science major in college, and has no idea what the inside of a computer looks like, as opposed to his father, who used to build custom PCs for customers back in the 90s. I think if you asked my son to set dip switches, his head might explode.

  • @nickw6025
    @nickw6025 6 месяцев назад

    Thank you. Very interesting. Like your content. I'm sitting here with my two granddaughters, one using a chromebook and the other one using a Windows gaming pc.
    When they are not both on their phones. We have a lot to thank you early, guys, and all the hard work. To make it all happen.

  • @sunnohh
    @sunnohh 7 месяцев назад +1

    Back when I was a pc repair tech this was like the only thing that ever stumped me, like after the reset switch but before all the things

  • @gfdgdfgdfgdfggfdgdfgdfgdfg9709
    @gfdgdfgdfgdfggfdgdfgdfgdfg9709 7 месяцев назад +1

    Fantastic video. I think this was your best!

  • @miinyoo
    @miinyoo 4 месяца назад

    I love the style. It gets in the way. You can make it better so that it is fluid in identity and emotion never needing to break the user's attention.

  • @hansangb
    @hansangb 7 месяцев назад

    You brought the outro back! Love it

  • @cexeodus
    @cexeodus 6 месяцев назад

    Ya hell yea. Just the other day I was gonna look for videos on the topic of boot sequences, looks like Dave has it covered.
    Also dude, thanks for putting a focus over all the differences between uefi and legacy. Ngl the new stuff lately (i say lately but referring to the past decade) has seen so many re-shuffles it is rrally hard to track and account for everything.
    Staying on top of everything new is tough, so I wanna make it extremely clear that I appreciate all these videos. Your approach to these educational videos is perfect and it cant be overstated how much finding your channel has helped dispel alot of the frustration I go thru when there is a little tiny niche detail that I somehow miss but you highlight in a video 😅

  • @user-yg6ru8je3r
    @user-yg6ru8je3r 7 месяцев назад +2

    Awesome work Dave!

  • @soviut303
    @soviut303 7 месяцев назад +1

    I like this episode's musical choice. I'm not big on classic rock, but dark synthwave I can get behind any day.

  • @SeanTube2099
    @SeanTube2099 7 месяцев назад

    First of your videos Ive seen and it was excellent. Thanks.

  • @peterjansen4826
    @peterjansen4826 7 месяцев назад +20

    An interesting thing about UEFI which Dave did not explain in this video (he probably knows about it), you can also interact with the UEFI from your operating system, for example to 'tell it' to automatically go into the UEFI-menu after rebooting or to change the bootorder. On Linux with SystemD you could do the first thing by giving the option firmware to the reboot command, on Windows there also is a command for that but I don't know that by heart because I don't use Windows, I have tried it out though it works fine and it is easy enough if you remember the more difficult syntax.

    • @myne00
      @myne00 7 месяцев назад +1

      Don't quote me, but I believe that's as simple as a defined setting either in sram or a file on the uefi partition.
      ie, the uefi just checks if it's got a voicemail from the OS or not.
      Or, the way windows checks for the dirty flag to run chkdsk.
      It's not... "interactive" as it were.

    • @johnrumm4786
      @johnrumm4786 7 месяцев назад +3

      In windows the command "shutdown /r /fw /f /t 0" will restart and enter the firmware interface. Not all PCs have the capability though.

    • @mikebarushok5361
      @mikebarushok5361 7 месяцев назад +1

      Isn't there also the fact that when you are in the UEFI settings your machine is running the MINIX operating system.

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

      @@mikebarushok5361 UEFI is definitely not MINIX. There are rumors that the firmware running on the management engine (ME) in some chipsets runs MINIX, but that's a separate microcontroller.

    • @poofygoof
      @poofygoof 7 месяцев назад +1

      @@myne00 boot order is done through UEFI variable manipulation. UEFI provides a set of routines at boot time to the OS (UEFI runtime services) and one of those routines allows the OS to modify UEFI variables, including boot order and boot flags. The UEFI partition contains the bootloaders that the bootselector runs.
      ye olde CMOS settings are still in (battery-backed) SRAM, although some platforms let you ditch the battery and RTC.

  • @TheCynysterMind
    @TheCynysterMind 7 месяцев назад +1

    This does bring back days of my first gig as a new IT tech for a radio station. Your challenge should you choose to except it:
    Get this telephoney system (an 8086 with a MFM 10 meg Hard drive) working again even though the HD was completely full running DOS 6.00
    I was able to boot off a 1.2 meg 5.25 floppy and copy everything to a group of floppy disks on a 2nd 3.5 floppy drive.
    Load DOS 6.0 on a 286 with a whopping 100 meg IDE HD copy everything back over... transplant the IDE telephony 3 line card into the new computer and
    to my complete surprise...
    It worked. and continued to work for another couple years until the World Wide Web was a popular thing and this gizmo fell out of use.

  • @willynebula6193
    @willynebula6193 7 месяцев назад +1

    Now we're talking Dave.
    Great video.

  • @Horus9339
    @Horus9339 7 месяцев назад

    Thank you Uncle Dave, a pleasure as always.

  • @KenOttaviano
    @KenOttaviano 6 месяцев назад

    Loved it, Dave. Great info. Informative as always.

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

    Coming across this channel at the perfect time. I’m in the middle of trying to figure out if both my RAM sticks are bad (tested both separately), or if it’s something else :/
    Anyway, while doing this, I find myself wondering how in the hell computers do exactly what this video is about.
    This is my third video and the channel has earned a new sub!

  • @nancywangeci8189
    @nancywangeci8189 6 месяцев назад

    Thanks Sir, Very good videos , and a lot of learning from you, we appreciate your works.

  • @GregStrike
    @GregStrike 6 месяцев назад

    Great video! Loved the history and evolution!

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

    Finally! Someone answers the questions apparently only I have been asking!

  • @QualityDoggo
    @QualityDoggo 6 месяцев назад

    Great video. My favorite way to understand the low-level concepts is to look at old electromagnetic pinball machines -- all mechanical/relay logic, literally "hardwired"! When they start a game, the "bootstrap" is a sequence of events making sure everything is in the right state.
    From there, it's easy to see how digital versions evolved which could read punchcards or ROMs and "bootstrap" themselves into a usable state

  • @redwoodenjoyer
    @redwoodenjoyer 6 месяцев назад

    Dave, thank you
    I started an Internship a couple months ago that makes hardware, specifically Linux boards, and even within the first 5 seconds of the video you asked the questions that I had and still haven't fully learned. Same thought process exactly.

  • @j-me5820
    @j-me5820 6 месяцев назад

    Seeing that switch brought back so many old memories.
    Like when there were actually beep codes.

  • @HRJosef
    @HRJosef 7 месяцев назад +3

    I love this channel give us more :) Even I know how most things works it is different when you explain. Anyhow great work!

  • @nkronert
    @nkronert 7 месяцев назад +4

    As I was once told, the term bootstrapping is associated with Baron von Münchhausen (who was a pathological fantast) who once told a story that he was stuck in a swamp and managed to pull himself out by his own bootstraps.

  • @RockJawRicky
    @RockJawRicky 7 месяцев назад +3

    Great video! I miss the IBM PC keyboard. The tactile click of it was great - but a little noisy.. The Friendly Giant reference brings back memories too!

  • @woodrowsmith8065
    @woodrowsmith8065 7 месяцев назад +3

    Thank you for another entertaining, and educational, episode.

  • @endoplasreh
    @endoplasreh 7 месяцев назад +1

    Really like your videos. Thanks for making them.

  • @selami32
    @selami32 6 месяцев назад

    i remember you as Task Manager Dave. Great video again thank you.

  • @Mbro-dq2do
    @Mbro-dq2do 7 месяцев назад

    Fantastic video!! Im a Mac guy but user my windows machines for Linux VMs. Love all this old nerdy stuff. Thanks dude!

  • @napukapu
    @napukapu 6 месяцев назад

    One of the best PC channels on YT

  • @zyxnull
    @zyxnull 7 месяцев назад

    Absolutely outstanding intro!!!

  • @patrickzavas
    @patrickzavas 4 месяца назад

    I love your intros Dave it's like watching 60 minutes or something.

  • @Damon970
    @Damon970 7 месяцев назад +5

    Thanks Dave. Great video as usual.

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

      How'd you know??

  • @mobilephone4045
    @mobilephone4045 7 месяцев назад +3

    Fun fact. Many years ago, I was in a band called Ctrl Alt Del and we received a cease and desist letter from Microsoft lawyers, about the name.
    Our manager advised us to just change our name...

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

    Dave you have very nice pedagogical tools.

  • @alphabusinesscommunicatiio3733
    @alphabusinesscommunicatiio3733 6 месяцев назад

    Thanks Dave, Your channel is great.

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

    Great teacher, thanks Dave!

  • @vimalathithand917
    @vimalathithand917 3 месяца назад

    Just this! This was what i was looking for! Thanks a lot!

  • @vatesedgar
    @vatesedgar 7 месяцев назад

    Love the videos, Dave!

  • @viccie211
    @viccie211 7 месяцев назад +1

    Thanks for the great explanation Dave!

    • @DavesGarage
      @DavesGarage  7 месяцев назад +1

      Glad it was helpful!

  • @johnmckown1267
    @johnmckown1267 7 месяцев назад +1

    I didn't have one of those early computers. But I remember the SS-100 and SS-50 bus being mentioned in Byte and Creative Computing. I loved those mags.

  • @hiteck007
    @hiteck007 6 месяцев назад

    Ahhh the good O'l days, miss them to some degree. My poor old Amiga is still sitting in the cupboard with it's 500 Meg hard drive, and a SCSI 500 Meg drive was so massive for one of those I couldn't fill it after 10 years use & it never failed me either, such exceptional technology for the time.

  • @TheOakRoom
    @TheOakRoom 7 месяцев назад

    Awesome explication Dave!

  • @thecluff
    @thecluff 7 месяцев назад

    I love this channel so much!

  • @anamuslimun
    @anamuslimun 6 месяцев назад

    Awesome stuff Dave! I wish I can have one of those old computers in my collection

  • @TheRob2D
    @TheRob2D 7 месяцев назад

    That's a pretty nice switch you got there Dave.