This is the code that sent Apollo 11 to the moon (and it’s awesome)

Поділитися
Вставка
  • Опубліковано 19 жов 2024

КОМЕНТАРІ • 236

  • @codingwithdee
    @codingwithdee  19 годин тому +33

    Hi, thanks for watching. I incorrectly said the landing was on 29 July, it was on the 20th. I just read it wrong on my script! Also this video is getting a few moon landing deniers unfortunately. I’ll try remove the more crazy comments but please ignore (unless you really want to get into an online argument!)

    • @yogibarista2818
      @yogibarista2818 18 годин тому +2

      Although it's understandable enough to keep saying 1969... the truth is that the Inertial Guidance System (high-tech gyroscope) the Computer and its Software was the first contract issued for the Apollo mission, so its concepts and design are rooted in the key technologies of nearly a decade prior, and partly successful due to the foresight of what may be available when critical commitments to implementation are due - e.g. use of the first integrated circuits. The software was developed over a long time, and only just made the deadlines set for each critical step in the pathway.

    • @StephanieHallberg
      @StephanieHallberg 15 годин тому

      hopefully, a decompiled version will be available! like c. historical we wrote in assembly, until we realize we can write higher level code like c to create assembly. then we wrote another layer like python and java to go a step further. java compiles to java bytecode, that then compile to an assembly with java virtual machine.
      there's no real reason to write in assembly, as most modern languages today compile to assembly. so we all still write in assembly. but with custom functions you can say.

    • @DonJoyce
      @DonJoyce 14 годин тому

      Yeah...I noticed the date glitch: I clearly remembered watching the landing 2 days before my 10th birthday! Great video...really brought it to life!

    • @brianlara8651
      @brianlara8651 13 годин тому +2

      Thank you for this video. Truly amazing software accomplishment. Amazing that NASA had this one-of-a-kind non-programmer computer-to-human interface.
      Also, you a beautiful and well spoken. Thank you again. Best Regards.

    • @4tarsus
      @4tarsus 24 хвилини тому

      fwiw: Comanche is the European name for a very famous tribe of Native Americans inhabiting the Great Plains region of what is now the United States. Pronounced kuh-man-chee.

  • @What_do_I_Think
    @What_do_I_Think День тому +59

    Kudos for making the distinction between Assembly code and Machine code. Some today even do not know that.

    • @markrosenthal9108
      @markrosenthal9108 День тому +10

      There is a 1-to-1 correspondence between the assembly language and machine code. The programming logic is the same for both. Assembly provides human-friendly symbols that the assembler translates 1-to-1 into machine code instructions. Assemblers also provide human-friendly labels for memory addresses like jump/goto targets and data locations. Advanced assemblers also provide "macros" that substitute sequences of assembly instructions with a single command, similar to how macros in office software like word processors and spreadsheets work. Once macro code is substituted and memory address symbols are resolved, again, it's 1-to-1 translation to machine code.
      Early microcomputers like the Altair and minicomputers like the PDP-11 had front panels with displays a little similar to the AGC DSKY. You could enter the instructions in binary and read results in binary from display lights. The DSKY was more user-friendly (no binary) in this regard as it provided command symbols on the keypad and decimal values for the display and keypad.

    • @What_do_I_Think
      @What_do_I_Think День тому +3

      @@markrosenthal9108 Nobody argued, that an Assembler is like a Compiler.

    • @ewmlloyd
      @ewmlloyd 23 години тому +8

      One other thing to keep in mind about assembly language is that it's not a single language. Each processor architecture's assembly language is unique; e.g., the AGC's assembly looks completely different from 6502 assembly, which looks completely different from i386 assembly, which looks completely different from ARM assembly, which... you get the idea. This was because assembly instructions map 1:1 to machine instructions, which of course are completely different for different architectures.

    • @phill6859
      @phill6859 16 годин тому +4

      ​@@markrosenthal9108it's not necessarily 1:1. Assemblers support macros that can turn one assembly statement into 2 or more machine code instructions. MIPS CPUs don't have an instruction for loading a 32 bit constant, but there is a "pseudo instruction" li, which is turned into lui + or.
      The main difference is you can use all the instructions available, while high level languages only use a subset and they won't let you directly use things like CPU flags. An issue that I have faced is C not letting you detect carry or math overflows without wasting time on unnecessary calculations

    • @TheOriginalSnial
      @TheOriginalSnial 3 години тому

      @@markrosenthal9108 It's not quite 1:1, because even without a macro assembler, there are tricks you can do with machine code, that's difficult or meaningless with assembler, like designing code that executes differently if you jump into the middle of a multi-byte instruction in an instruction set that supports a variable-length instruction set (like x86 or Z80 or 6502 or 68K).

  • @Fred-yq3fs
    @Fred-yq3fs 2 години тому +3

    Curious Marc is a treasure trove channel. Going to auctions, nabbing old gear, doing hardware debugging, rebuilding display tech... Then casually piloting a landing. They are amazing.

  • @OneAndOnlyMe
    @OneAndOnlyMe 23 години тому +44

    Even more mind blowing is that the AGC's memory was HAND WOVEN.

    • @TheWallReports
      @TheWallReports 9 годин тому +11

      Yes, it was called magnetic core memory. It was really an amazing technology of the day bc it was non-volatile so it served double duty as RAM as well as flash.

    • @aristoclesathenaioi4939
      @aristoclesathenaioi4939 Годину тому

      ​@@TheWallReportsMagnetic core memory was a step up from using cathode ray tubes to write, store and read data. Thank heavens I never had to use cathode ray tubes for storage and I have a very time imagining what it was like to use mercury delay lines for memory.

  • @RogierYou
    @RogierYou День тому +27

    Curious Mark is bringing these machines back to life

    • @BezoLS
      @BezoLS 13 годин тому +3

      that how i found him . from one of the videos on agc restoration and since then watch every video he publishing .

  • @terpcj
    @terpcj 19 годин тому +16

    I started playing with computers around '69/70 and started programming for space systems around '80. When I began, cards were for development and paper tape was for finished code (it was more compact but really really annoying to edit). Fast forward ten years to around 1980 and terminals faster than a TTY were starting to become common, which made all the programmers happier -- even at 300 baud. That said, I was still doing a fair amount of programming with cards well into the 80s. Many programs were developed using FORTRAN to work out the algorithms and logic (C wasn't yet mainstream, nor vetted for space missions where I worked) and chase out a lot of the bugs, but in the end we were still translating that by hand into "optimized" and commented assembly (i.e. just compiling and doing an assembly dump as a shortcut wasn't an option). It was a treat when you got to use an AL you already knew from a previous computer; still, you ended up learning a lot of them.

  • @Jenny_Digital
    @Jenny_Digital 21 годину тому +13

    I have worked on Assembly language programs and it really finds out your weaknesses and forces you to learn. I am not a professional developer BTW, but I do have a passion for embedded systems.
    I know why they used assembly so much back in the day. It was their only real option.
    Thank goodness for really good compilers and large memories nowadays. WE ARE SPOILED.

    • @TheWallReports
      @TheWallReports 9 годин тому +3

      👍🏾True. The thing with Assembly Language and same can be said for machine language is the coder has to know & understand the actual CPU & hardware bc you're working & manipulating registers & memory directly more less depending on whether virtual memory mode is active.

    • @Jenny_Digital
      @Jenny_Digital 9 годин тому +4

      @@TheWallReports in the days when I was writing in 6502, there was no memory protection, no multiply or divide, and no hardware breakpoints.

    • @sgtGiggsy
      @sgtGiggsy Годину тому

      I still remember my first days meeting with assembly. It was in 3rd elementary... No, I was not some Sheldon Cooper level genius in some "gifted kids' school". It was early 90s, and my school decided to buy modern computers (so 286s instead of Comodore64) and start computer science courses for the kids. It was really forward thinking at the time, sure, but there was one tiny problem. None of the teachers knew ANYTHING about computers, so they assigned the science teacher to learn about computers from books and teach kids what she learned. Basically she was ahead of the classes she taught by one or two lessons.
      And what exactly you think they thought would be the best way to introduce kids into computer science? Yes, exactly what you thought: Assembly language. During the first few lessons we learned what peripherials are, then right after that we were introduced to registers, stacks and heaps and data manipulation verbs. In like two months, all the kids were taken out of that course by the parents.

  • @PinnerBlinn
    @PinnerBlinn 22 години тому +13

    Ah, the good old days when programming was creative and fun, when code wasn't shipped until it was just about perfect. Also, the verb/noun paradigm is so well-suited to human command logic. Great video. Enlightening. Entertaining. Well done,

    • @phill6859
      @phill6859 16 годин тому +3

      It famously wasn't perfect.

    • @pixelcatcher123
      @pixelcatcher123 15 годин тому +2

      @@phill6859 it never will be

    • @msromike123
      @msromike123 11 годин тому +3

      I mean, the noun-verb paradigm was the true genius of the system. It was such an elegant solution to the size and weight limitations necessary in the AGC human interface component. Also, an amazing design in light of the need for the astronauts to be able to accurately interpret the output from, and make input to the AGC in times of extreme stress. Mind boggling!

    • @leftaroundabout
      @leftaroundabout 10 годин тому

      You'd better be sure that most of the work on the Apollo software was not fun but very tedious. Those jokes tell a story of exasperation.
      On the flip side, coding can be very much fun today, and modern software can be far more reliable than what even those most brilliant programmers of the 60s were able to do with their limited tooling. If your experience tells you otherwise then perhaps you should look a bit more around for better projects, other programming languages, etc..

  • @mrrolandlawrence
    @mrrolandlawrence 3 години тому +1

    Actor Jack Black's mum worked on the Abort-Guidance System (AGS) in the Apollo Lunar Module. In what has to be one of the best quotes ever... "In a memorial tribute, her son Neil notes that she was troubleshooting problems with schematics on the day she went into labor, called her boss to let him know she had fixed the problem and then delivered Jack".
    The calculations and measurements were also done in metric and displayed in imperial units as was simpler.

  • @edwinblake
    @edwinblake 11 годин тому +3

    As an ex assembly programmer (on PDP 11 about a decade after this) I can add that it was good practice to comment every line of code. They were after all cryptic instructions involving registers and memory locations.
    Actually the PDP 11 had a great assembler. All registers could be incremented and used as memory pointers. Once you added Macros you were close to C. Actually C was essentially sugared PDP assembly code.

  • @rthompson2783
    @rthompson2783 20 годин тому +7

    I was in the US Air Force, and we used punch cards well into the 80s. It was in the 90s, if I recall correctly, that we switched over to a system of remote terminals. Even then, it was the old system at heart, but you could enter data directly rather than via punch cards. This allowed for real-time updates to maintenance data rather than overnight batch processing.

    • @TheWallReports
      @TheWallReports 9 годин тому

      As a Cold War veteran myself I was the Communications Squadron and I remember it very well.👍🏾

    • @rhymereason3449
      @rhymereason3449 2 години тому

      Yep... I still remember the thrill of the first IBM 3270 terminal in the shop with CICS to enter our code on. The senior programmers hogged it up most of the time...

  • @cerealport2726
    @cerealport2726 День тому +25

    I'm all for expressing a sense of humour in code comments.

    • @SergLapin
      @SergLapin День тому +4

      I have seen a comment in the code, which was loading and starting some firmware- " demons be gone!"

    • @msromike123
      @msromike123 11 годин тому +1

      I am not.

    • @cerealport2726
      @cerealport2726 11 годин тому +2

      @@msromike123 so... don't...?

    • @stzi7691
      @stzi7691 8 годин тому +2

      As long as you make comments. Especially in assembler. Joe Armstrong (the inventor of Erlang) made a joke about the commenting behaviour of one of his colleagues:
      It was one big file of assembly code and in the middle of the file there was just one sentence: " ;And now for the tricky bit!" 😆

    • @garryholmberg6502
      @garryholmberg6502 3 години тому +1

      As long as what needs to be known can be known, putting in a little humor or a note to future programmers is like putting a note in a bottle and casting it into the sea. Who knows who will eventually read that note, and how this little bit of humanity will affect their appreciation of the code. I think the comments also help document a point in history with slang or literary or movie references. If done tastefully and with a sense of balance, these comments give us insight not only in the code, but of the programmer.

  • @fungibleunit4477
    @fungibleunit4477 День тому +4

    I have always injected some humour into the code and continue to do so - mostly for my own amusement - sometimes as a monument/reminder of some insight that would otherwise get lost in time. I enjoy seeing it in other people's code too, it does have some utility beyond putting a smile on a tired developer's face though...
    What I have found is that third parties looking at the code latch onto those bits and pieces, they give an otherwise featureless jumble of code some landmarks - which folks can use to navigate the code (and share in the insights of the original developer).

  • @notsillyone
    @notsillyone 23 години тому +7

    Great Video Thanks! Don Eyles on of the programmers responsible for those jokes wrote an interesting book called “Sunburst and Luminary an Apollo Memoir” about his time working on Apollo.

  • @peakz8548
    @peakz8548 21 годину тому +10

    There is a book about the Apollo guidance computer called "The Apollo Guidance Computer Architecture and Operation" which is pretty good reading. It had a preemptive and cooperative multiprogramming, an interpreter to implement more complex instructions.

    • @TheWallReports
      @TheWallReports 9 годин тому

      Correct me if I'm wrong but my understanding of the AGC is that it was NOT calculator some are led to believe. To believe would be absurd. But what was meant by that statement is it had the computation power inline of that of a calculator but far more capable bc of it's preemptive & cooperative multi-tasking abilities.

    • @__christopher__
      @__christopher__ 4 години тому

      @@TheWallReports I guess the problem is also that different people think of different things when thinking of a calculator. When I think of a calculator I think of a non-programmable device which has keys for a fixed set of mathematical operations and a display capable of showing a single number; however there were other electronics also going under the name of calculator that could be programmed and had graphical displays, and which IMHO would qualify as pocket computers.

    • @peakz8548
      @peakz8548 4 години тому

      @@TheWallReports It looks like a calculator because it use a VERB/NOUN interface but it could do a lot of things. The verb was a two digit code that defined the action for 00-99. The lower codes were for early stages on mission like prelaunch while later codes were used for later parts of the mission like navigation, descent and landing back on earth. This interface was something the developers came up with while expected something better in the future but nobody could think on anything better.
      The CPU had 16 bit registers. With the interpreter they implemented opcodes on double width registers doing trig functions and vector/matrix operations needs for flight control. The CPU had access via IO to many sensors and engine controls.
      The AGC were quite capable but the ground facilities had much more powerful computers to augment the AGC because there were weight constraints on how big a on board AGC could be.

  • @GadgeteerZA
    @GadgeteerZA 6 годин тому +1

    Really interesting thanks for your video! I read too that HP-41 calculators were used as backup devices by astronauts on Apollo missions back then. I still have my HP-41CV and managed to power it up 40 years later.

    • @tVideoUTube
      @tVideoUTube 4 години тому +1

      I finally sold my HP-41CV last year on ebay for $100. Great calculator.

  • @mikesmith6838
    @mikesmith6838 День тому +10

    I went to college in the late 80s. I was the first CompSci class to NOT use punch cards for computer programming classes. My internship was at a company that still used a punch card machine; for FIVE cards per day! So, this technology lingered on and on!

    • @TesterAnimal1
      @TesterAnimal1 18 годин тому +2

      Same. I learned on PDP-11s running RSTS/E in college on the 80s. We’d use VT52 terminals or even the teletype machines in the lab.
      But on my work experience I had to deal with punched cards and paper tape.

    • @stzi7691
      @stzi7691 8 годин тому +1

      @@TesterAnimal1 Yes, well, this is typical for every Generation. In Universities we mostly learn the cutting edge science and tooling (but also sometimes got optical EEPROMS for programming an SPS 🙂). When you come to industry then you realize, that most of them are at least 10 years behind.

  • @raysutton2310
    @raysutton2310 23 години тому +5

    I remember machine code and hand compiling 6502 programs into hex! I also remember watching the landing live, aged 12. BTW it was July 20th 1969 not the 29th. As a computer operator back in 1983ish punch cards were still in regular use where I worked. Having recently retired after 40+ years in IT, based on talking to recent graduates I get the impression that basically Assembler is no longer taught in college. This is a mistake; short of some kind of electrical engineering degree there is, in my opinion, no better way to understand what the hardware's doing.

  • @QuicksilverSG
    @QuicksilverSG 5 годин тому

    I learned 6502 assembly language progamming on the Apple ][ computer, a decade after the 1969 Apollo 11 moon launch. The page layout and formatting of the Apollo Guidance Computer assembly code is strikingly familiar, and similar to the assembly language syntax and commenting standards I used and encountered in programming Apple ][, Commodore 64, and IBM PC computers in the 1980's and beyond. It's inspirational to see how low-level programming culture and techniques evolved from the earliest examples of embedded systems programming on machines that predated modern microprocessors.

  • @Stampe-OZ0AS
    @Stampe-OZ0AS 19 годин тому +3

    Apollo's AGC was the first computer to use ICs (Integrated circuit / Chips) There was a lot of discussion about this but the team decided that they were the only way the project could be realized

    • @MattFieldPhoto
      @MattFieldPhoto 3 години тому

      Whilst they used some super basic logic gate ICs in the AGC, the real leap goes to the CADC in the Grumman F14 Tomcat which was designed in ~1968-70 and used the first set of ICs that would in combination be considered a microprocessor, the computer being the only way to make the swing wing design flyable

  • @bluur101
    @bluur101 День тому +5

    My first programming was less than a decade after the moon-landing and we had a landline from college (UK, so age 16 to 18) to a local university mini-computer. The link terminal had a huge telex-keyboard and a paper-roll instead of a cathode-raye tube screen, and then you had to wait for most of the lesson (or frequently until the next one) to get the inevitable error message about a typo in line ten, or maybe the results of the program if you had been extra careful. A DSKY like the Apollo had was massively ahead of it's time. NASA has large public archives concerning the tasks and planning for the tens or hundreds of thousands of people involved in the project, and the solutions to the new problems that had never previously needed solving.

    • @phill6859
      @phill6859 16 годин тому

      Microcomputers showed up in 1972, but it takes a while for education to catch up.

    • @bluur101
      @bluur101 15 годин тому +1

      Catching up was indeed a problem, with no budgets for that sort of thing as computer use was percieved to be just something for accountants . . . The more enthusiastic students had Commodore or TRS80 machines at home, at about the same time as the telex-and-paper terminals in college!

    • @robbannstrom
      @robbannstrom 10 годин тому

      Yep, me too on the landline setup.

  • @dadw7og116
    @dadw7og116 20 годин тому +3

    FYI, "Burn Baby Burn" was a term associated with the 1965 Watts Riots. It was often quoted by college students of the time. The MIT programmers would have been familiar with it's source and meaning.

  • @vanessaadams3500
    @vanessaadams3500 3 години тому

    I felt like I was on this mission just based on your description of the code...Excellent!!! 🚀

  • @skjones91199
    @skjones91199 День тому +4

    We were using punch cards up through 1991 on our ship. We had to learn Hollerith code and even had 5-channel paper tape and magnetic tape. We had guys coming down from various departments, sometimes with several BOXES full of the cards. Every once in a while, they would trip on the ladder (stairwell) coming down to our shop to give us the job! Those cards were stacked sequentially and had NO writing on them. They had to go back to their shop and re-run the entire job again to get the output. :)

    • @Heater-v1.0.0
      @Heater-v1.0.0 День тому +2

      So they missed the trick of running a pen down the side of a stack of cards at a slight angle so that even if the cards get shuffled it's quick and easy to get them back into order.

    • @dermick
      @dermick 17 годин тому +1

      @@Heater-v1.0.0 Our cards were punched and also had the text printed at the top of the card. We were taught to tab over to the comment part of the punch card starting at I believe column 72 and type a sequential number. No one ever did it, since it was so slow to move over there. Dropping your punched card deck was everyone's nightmare.

    • @Heater-v1.0.0
      @Heater-v1.0.0 16 годин тому +1

      @@dermick Yeah, we didn't bother numbering our cards when punching in Algol code in 1976. Seems a lot of people didn't cotton on to the trick of running a marker pen down the side of the deck. Anyway, luckily by 1977 we had terminals to a timesharing OS , no more card punching. Then very soon came micro-processors and personal computers. Happy days...

  • @373323
    @373323 День тому +3

    the note off to see the wizard is followed by the instruction to call burb baby burn , so you see

  • @tonyscaminaci7959
    @tonyscaminaci7959 21 годину тому +1

    Thank you for explaining this. I was a teenager in 1969 and remember well the issue of the lunar module computer being overloaded but never knew why.

  • @LunaticEdit
    @LunaticEdit 23 години тому +6

    Note: Assembly code is platform specific. X86 assembly is very different than ARM64 or 6502 assembler. They have completely different syntax, opcodes, registers, etc. Each CPU type's assembly code is essentially it's own language and there is generally no direct parallel between different platforms.

    • @TheHeff76
      @TheHeff76 22 години тому +3

      Oldish assembly coder here. Whilst assembly can be different on each platform, the biggest difference is big endian and little endian. Where basically the code is written backward. (Kinda). And yes, opcodes, registers, memory etc. all different but that can even be different from the same architecture to the next in the same architecture.

    • @dariusjordaan4725
      @dariusjordaan4725 18 годин тому +1

      I agree they are different but.... I know Microchip assembly vey well, and if I have a quick look at a reference manual, I can easily read and understand any other flavor of Assembly.

    • @phill6859
      @phill6859 16 годин тому +2

      ​@@TheHeff76endian is rather insignificant, big endian is easier for a programmer to read but slower for the computer (little endian let's you start doing maths as soon as it's read the lowest significant byte)
      Load/store Vs register/memory architecture is a more important distinction.
      The way the 6502 updates flags after every instruction while 8080/z80 only does it on a few, is a larger difference. Even the indexing modes on 6502 are vastly superior. Trying to switch between 6502 and z80 (which are both little endian) can be annoying, the 6502 is the best CPU ever.

    • @__christopher__
      @__christopher__ 4 години тому

      @@phill6859 I've never done anything with the 6502, but I heard it had very few registers. Also, every instruction updating the flags sounds more like a nightmare to me; what if you want to test more than one flag? Also it means that you'll more often need to store the flag's value somewhere else for later reference.

  • @howardwilliams2587
    @howardwilliams2587 4 години тому

    I love the image of the Tektronix 7854 oscilloscope. Much like the AGC, it was a magnificently capable waveform processing instrument that combined analog, sampling, and the introduction to digital processing capabilities. Those were exciting times for technology.

  • @tomschmidt381
    @tomschmidt381 12 годин тому +1

    Great summary of the AGC. As others have posted Curious Marc and team have brought back an AGC and rebuilt the code for multiple missions. Current video they are debugging ground radio commands to remotely program the AGC. Given the state of the art back then it was a fantastic accomplishment.
    Less well know is the LVDC (Launch Vehicle Digital Computer) that guided the Saturn 5 and astronauts to orbit designed by IBM.

  • @robertoso8796
    @robertoso8796 День тому +6

    i can see why there are moon conspiracies. these engineers performed MAGIC. forget the primitive hardware, the sheer elegance of practical code to control a system of that complexity seems like scifi mumbo jumbo.

    • @airaction6423
      @airaction6423 16 годин тому +2

      On the contrary. There are conspiracies because we have not gone there since then with infinitely more powerful, safe and robust equipment

    • @gerrykavanagh
      @gerrykavanagh 12 годин тому

      @@airaction6423look up the Artemis program

  • @peterturnham5134
    @peterturnham5134 14 годин тому +2

    I'm 67, at school they stopped the whole school for the Lunar landing wheeled out a television and we watched the landing LIVE. Later on in my Career I spent 40+ years in IT. A specialist in Aerospace/Defence, several languages, no machine code, megabytes of code. Yes I put in jokes. They can be useful. If an error says "Tony your shorts are on fire" in correction you go straight to the place in the code. "Error 404" could be anywhere. NOW THE IMPORTANT PART. For Apollo they taught me that they programmed in triplicate. For a key calculation three programmers would code the algorithm. The calculation on the onboard computer would run all three in parralel. If all three did not agree the result, it would display the two majority result. If All three were different it was "Shorts on Fire". From my experience they could not run the whole of the system in triplicate (we can now) this would be sub sections of code.

  • @mbunkus
    @mbunkus День тому +2

    I remember playing with discarded punch cards as a child back in the early 1980s, I guess. My parents were students at the time & one of their student jobs was loading punch cards into the university's computers (and taking them out again later). They brought home a bunch, mostly to be used as note pad replacements. They also caused my child brain to imagine all kinds of funky things for all those strange hole patterns.
    Thank you very much for this fascinating & entertaining dive into our past; definitely one of humanity's most uplifting & most impressive achievements ever.

  • @michaelteegarden4116
    @michaelteegarden4116 День тому +20

    "Comanche" is pronounced as /ko-man'-chee/. "ko" rhymes with "go" but can be softened to "kuh". The second syllable is emphasized; "man" is exactly like "man". And "chee" rhymes with "me". The Comanche tribe of Native Americans here in the USA are headquartered in the state of Oklahoma.

    • @msromike123
      @msromike123 11 годин тому +2

      LOL. How do you say aluminum?

    • @michaelteegarden4116
      @michaelteegarden4116 11 годин тому +1

      @@msromike123, the typical American pronunciation is /uh-loo'-muh-num/. Emphasis on the second syllable. The last two syllables can be /min-um/ instead.
      You can blame our first prolific dictionary editor for all that. Old Noah Webster.

  • @tnetroP
    @tnetroP 9 годин тому +2

    The first language I learnt was BASIC. The second was 6502 Assembler. I also programmed on punched cards at school.

  • @msromike123
    @msromike123 11 годин тому +2

    And to think we got to the moon with a computer program written in assembler that supported only 30 to 40 operations, and no floating point math.

  • @CesarGrossmann
    @CesarGrossmann Годину тому

    Great video!
    I always think of the AGC as an HP-12C on steroids-you input numbers, store them in registers, and call commands to have the "calculator" compute and give you results. The part where it gives the astronaut instructions to correct the trajectory works like that. The astronaut observes the positions of 40+ stars and inputs them into the computer, entering the star number and its position. Then, the AGC calculates the required correction, providing the result in terms of thrust duration and timing. This meant the astronauts had to manually ignite the thruster and control how long it stayed on (which is where the beautiful Omega Speedmaster came into play). The AGC didn’t control the thrusters directly or track positions automatically.
    I’d love to see what the AGC code would look like in C or another modern programming language.

  • @bobpond6381
    @bobpond6381 18 хвилин тому

    thanks this is great. I remember watching the broadcasts from the moon like it was yesterday. Grabbed the github repo reading through the source code will be fun. I've done assembly language programming for three different processors but that was decades ago. I will probably have to learn this now so I can understand what the code is doing. Thanks again this will be a lot of fun.

  • @ALaModePi
    @ALaModePi 3 години тому

    The thing a lot of folks don't realize if they hadn't written code in that era is that you optimized your own code. It wasn't just a matter of getting the program to correctly run. (That, of course, was vital because you can't fix the software on the LEM on location :) ) It was also a matter of squeezing as much code into as little space as possible because memory was so limited. You're doing this balancing act with efficient coding on one side and readable code on the other (because people other than you needed to be able to read it and quickly understand what you were doing.)
    That said, I don't regret that we have optimizing compilers and high-level languages today.
    The other thing that I remember from writing code in (approximately) this era was that there were lots of jokes and "easter eggs" buried in the comments usually (because you couldn't waste memory on a joke.) I can remember a much later computer system where an unused system error message was actually coded as "massive system conniption fit."

  • @andymustangflyer1528
    @andymustangflyer1528 День тому +2

    Awesome presentation! Learned a few new things. Thank you so much

  • @garryholmberg6502
    @garryholmberg6502 3 години тому

    Thank you for bringing this to light--wonderful! Just amazed by the immensity of the challenge to put a person on the moon. And the bravery of those who were involved.

  • @arlasoft
    @arlasoft День тому +1

    It's a great computer, incredible for the time. Good fun to program, I made a couple of games for it a few years ago and in terms of raw speed is on par with 8-bit computers from the 80s. I had to put in artificial delays so the games wouldn't run too fast.

  • @What_do_I_Think
    @What_do_I_Think День тому +4

    They do not make such quality any longer -- same as with many, many products.

  • @moba2k
    @moba2k 11 годин тому

    Very well researched and well presented. Thank you. Didn’t know the part about the original software engineer. History has a way of missing and looking past such milestones and just focusing on the three guys playing footie out in space.

  • @jingfang3054
    @jingfang3054 3 години тому

    Thanks for this instructive video! Really interesting to highlight something often overlooked.

  • @skfineshriber
    @skfineshriber 4 години тому

    Seeing how it is still difficult today to put a craft on the moon (there have been recent failures), let alone a human, it makes NASA’s success in putting 12 people on the moon with 1960s technology even more awe inspiring. When done right, a government agency can do fantastic things. Private enterprise can too, but only if there is a profit motive. Public good vs private profits.

  • @Mr.SharkTooth-zc8rm
    @Mr.SharkTooth-zc8rm 23 години тому +2

    But but but Stanley Kubrick and the studio! And what about the Van Allen Belt? Huh, what about that pretty lady? And everyone now knows that only computers can do complex math! Got'cha there...

  • @paulramasco6769
    @paulramasco6769 11 годин тому

    Thanks for this video! As an embedded systems engineer I found this super interesting.

  • @davorinrusevljan6440
    @davorinrusevljan6440 16 годин тому +1

    I was not programming in days of Apollo, but started in 80' and still do. I also like to have small touches in naming or comments, but I have noticed modern generations of programmers are some times much stiffer, and do not take it well always. It seems a lot of playfulness has disappeared over the time, I miss it.

  • @IMBlakeley
    @IMBlakeley 4 години тому

    I used to write customer tech documentation to go with patch releases. We (myself & a colleague) concocted the idea to include an innocuous recipe white characters on a white background on a blank page. Sadly we bottled it, in a way I wish we hadn't.

  • @bradmiller8517
    @bradmiller8517 9 годин тому +1

    Great video! This relates to my favorite computer hack on Apollo 14 to bypass the abort button. It’s too much to type in a comment but might be something for you to cover in a future video

  • @GreenGrapesMilk
    @GreenGrapesMilk 17 годин тому

    Really cool find, didn't know this was available. Good video, thanks Dee

  • @jr4062
    @jr4062 10 годин тому +1

    Get a heathkit robot, microprocessor trainer to see what a pain it is to write even the most simple code.

  • @zadrik1337
    @zadrik1337 17 годин тому +1

    Punch cards were used into the 80's. I did my ALGOL and FORTRAN lasses on punch cards in the early 80's.

  • @rongarza9488
    @rongarza9488 День тому +1

    I started my computer course at Control Data Corp's Institute in 1969. I was so disappointed that they were no longer teaching how to jumper wire boards! Before the end of the course, we stopped using paper tape. Soon after that (in my career), we stopped using punch cards. Today, AI is taking over. Wow. What will replace it? Today's students will work with technology that may not exist for a decade. Learn to think!

  • @rhymereason3449
    @rhymereason3449 2 години тому

    People might be amazed to know that there is STILL a LOT of IBM BAL assembly code running - especially in large, critical applications where companies deem it just too expensive to rewrite, test, and certify the new code. The banking industry is notorious for this - lots of ancient code on HOGAN systems and still running heirarchical databases like IMS...

  • @automateTec
    @automateTec 22 години тому +2

    You can do a lot with 3 terabytes, but you can also do a lot with 3 bytes.

  • @skamithi
    @skamithi 50 хвилин тому

    BBC has a good interview of Ramon Alonso who developed the DSKY interface. Its part of the "13 Minutes To The Moon" podcast episode 5.

  • @MikeFox1
    @MikeFox1 5 годин тому

    A very interesting and informative video. Thank you!

  • @Marcaunon
    @Marcaunon 18 годин тому +1

    Thank you for the video. I mostly just assumed it was still analog in those days.
    Anyways some more interesting things.
    The thing has a 2mhz clock that took 4 cycles to execute. So code ran 500khz. Which was probably ground breaking at the time.
    Yes assembly. But very different than say x86 or arm. There was only 11 instructions. 4 primary registers. And it was 16bit without floating point....
    What I don't get is why they would print it out other than for a cool photo.
    Anyways. Margaret def another unsung hero I will tell my little girls about

  • @canadiannomad4088
    @canadiannomad4088 День тому +1

    I personally think of it as the Up Goer Five.

  • @JeanYvesBouguet
    @JeanYvesBouguet 20 годин тому +3

    Boeing should have learned a thing or two from those NASA programmers before outsourcing their software development from overseas…

    • @sidharthcs2110
      @sidharthcs2110 10 годин тому

      It is unfair to judge their entire history with the recent events

  • @garethbaker5179
    @garethbaker5179 24 хвилини тому

    Nice video and well put together.👍

  • @Boxbearer
    @Boxbearer 14 годин тому

    Also a very important thing to remember when comparing the AGC with a “normal” computer, a “normal” computer is designed to handle a lot of things, whereas the AGC was designed for one thing and one thing only, taking the CSM and LM to their respective destinations and nowhere else. It wasn’t that they too a computer off the shelf and made the programs to fit, they started from scratch with what was needed to perform the task at hand and then designing the AGC from that standpoint

  • @SleeOnTech
    @SleeOnTech 10 годин тому

    Great history! Thank you for putting this together

  • @phill6859
    @phill6859 16 годин тому +2

    If you have ever done any software development, but especially embedded software development, you have to write software within the constraints of the hardware you have available
    If your software throws an error because of a hardware failure, then you need to figure out how to write your software so that it doesn't produce that error.
    I'm sure the programmers are upset, I've been blamed for hardware errors, but the reality is that you need to deal with it.

    • @jose6183
      @jose6183 12 годин тому +1

      Yeah I'm a systems engineer, and have developed software for embedded systems, even with some assembly routines and specialized hardware and the issue with the radar was a software bug, not only a hardware issue. Nowadays at universities when you take this course, they show you slides regarding accidents that have happened due to not handling these errors, where the outcome might have been fatal. It's definitely a priority and it has to be dealt with by the software.

  • @TheOriginalSnial
    @TheOriginalSnial 3 години тому

    As someone born before the moon landings, it's tragic how we just stopped going for both my generation and for the vast majority of people now who were born way after the last Apollo moon mission (ignoring Skylab). The era had hope built-in, and if you were never there, there must be a massive undercurrent of a lack-of-hope. I do have a copy of the source code - Luminary 12? I always figured it was one of the best arguments against the moon landings being faked, because you don't need 36KW of working software and 2/3 of the global chip supply if nothing actually needed to get there.

  • @__christopher__
    @__christopher__ 5 годин тому

    I would have guessed that the Shakespeare comment referred to the fact that the interface consisted of entering a verb and a noun, as explained earlier in the video.

  • @BeeWhere
    @BeeWhere День тому

    Absolutely wonderful. Thank you so much for sharing.

  • @fuzzybeardaddy460
    @fuzzybeardaddy460 3 години тому

    I remember hearing many years ago that it was common for software companies to print their source code on paper. Maybe a legal thing or some kind of backup. Just funny to see it.

    • @b43xoit
      @b43xoit 15 хвилин тому

      Without displays, it was hard to visualize source code without printing it.

  • @TheExileFox
    @TheExileFox 10 годин тому +1

    Stating that Assembly is "older" is "technically correct" but also kind of misleading because most compiled languages output a type of platform-specific assembly.

  • @HansVerhoog
    @HansVerhoog 7 годин тому

    Interesting story again. Thx for sharing 👍🙂

  • @terryschima4964
    @terryschima4964 23 години тому

    Cute. I was always enthralled with assembler.

  • @rogerpence
    @rogerpence 8 годин тому

    This is a great video and is very well done. Thank you!

  • @msromike123
    @msromike123 11 годин тому +2

    I find the comments to be opaque and lending itself to potential catastrophic mistakes. It's humorous but not confidence inspiring, at least in my mind.

  • @krisclem8290
    @krisclem8290 5 годин тому

    In terms of computational power/complexity I wonder what that was like at the time. We often compare it to smartphones/calculators today but at the time was it comparable to a state of the arch mainframe or something like a personal computer if they had them at the time.

  • @aristoclesathenaioi4939
    @aristoclesathenaioi4939 Годину тому

    Based on my experience using assembly language in the 1970s, you needed some sense of humor or else you would lose your mind. Most of the humor in my code and those of my colleagues was more like graveyard humor and rather dark. The comments and subroutine names you quoted are much more amusing than the ones we had.

  • @swedishpsychopath8795
    @swedishpsychopath8795 19 годин тому +3

    I'll program in assembly or direct in machine (or even COBOL) any day over "programming" using Spring, TypeScript and Kotlin. Those are the worst "programming" languages / frameworks ever made.

  • @KarlLew
    @KarlLew 21 годину тому +1

    I used to punch FORTRAN cards. Today I punched squeaky virtual aliens in Halo. Thanks for the memories of days gone by…❤️

  •  17 годин тому +1

    I would say comment about the noun and the verb would reference the interface itself, because you operate it with a noun and a verb.

    • @IvanToshkov
      @IvanToshkov 14 годин тому

      That was my thought as well. Assembly wouldn't feel strange for them to comment on it like that.

  • @TheDigitalOne
    @TheDigitalOne 6 годин тому

    It all makes sense, complicated encrypted coding that only a few could understand due to security reasons. Having said that, seems to me that the code langue development is just simply the way individuals communicated with each other, yes complicated and simple at the same time. Either way thanks did not know that. Anyone with coding language better yet understanding binary machine language can code a digital machine to their liking, in this case a spaceship computer, such as a car computer!👌🥰✨💎

  • @jcpole
    @jcpole День тому

    I’m curious - where are you from? You have one of the most unique accents I’ve ever heard. Nice video - most people don’t ever think “low” enough to wonder about the computers that ran the mission. Thanks!

    • @TesterAnimal1
      @TesterAnimal1 18 годин тому

      Sounds Seth Efrican. Some antipodean accent. Kiwis would say “luft” and “mussion” for “lift” and “mission”.

  • @wyldanimal2
    @wyldanimal2 18 годин тому

    Just Discovered your UA-cam channel. Instant Subscribe..

  • @stewartcarberry2483
    @stewartcarberry2483 16 годин тому

    0:40 the digital computer was well know and regarded as enabling technology, more so than the rocket motor. I think if u show someone over the age of 40 a picture of the ‘ASCI’ (the interface) and the guidance computer, they will know what it is.
    Perhaps you never gave it enough attention before.

  • @nikhilgeorgemathew
    @nikhilgeorgemathew День тому +3

    Great video

  • @veritanuda
    @veritanuda День тому +1

    RE: Code Comments
    > This doesn't really happen in modern programming
    You obviously have not read the Linux kernel source code, have you?

  • @mind_of_a_darkhorse
    @mind_of_a_darkhorse День тому +2

    Co-man-che like the American Native Indian Tribe. 😉😉

  • @RobRoschewsk
    @RobRoschewsk 22 години тому

    The intro photo was a Saturn V …. But that was Skylab

  • @Norman_Fleming
    @Norman_Fleming 9 годин тому

    Who says modern comments are serious? ... throw new exception("Larry needs to fix this!") not even a comment, actual exception. :)

  • @baglesac5806
    @baglesac5806 21 годину тому +1

    Good video. BUT big ERROR at 0:52. NOT 29 th.... 20 th July was the Landing on the moon.
    Such a well known fact.
    So easy to check. Google it.
    I was watching it at that time.
    Please correct or check your script. You are precise normally.
    Now I can we trust your facts on the rest if you missed this. Still i will watch your videos because you do excellent presentation.

  • @rhymereason3449
    @rhymereason3449 2 години тому

    Coding in COBOL 45 years ago, I worked with a sex obsess woman who would do stuff like name a flag "hot_and_horny" and labels like "bed_with_me" so she could write statements like...
    "If (hot_and_horny) goto bed_with_me".... I kid you not... she was something else. And this was for a major Fortune 500 company....

  • @wjhann4836
    @wjhann4836 4 години тому

    Don't blame the punch cards - I had to learn on them even 1980. Not proud of. 😤
    Want to mention: In general Assembler is 1:1 the readable version of the machine code. Assembler is a general term - it always belong to ONE MACHINE TYPE (AGC, Z80, 6502, 68000 and so on).

  • @Kaleidosium
    @Kaleidosium День тому +1

    From now on, I will add silly comments to my personal projects' source code.

  • @bmiller949
    @bmiller949 6 годин тому

    I did punch card programming in 1982. I am not sure when it went away.

    • @eldersprig
      @eldersprig 5 годин тому

      took a 2 credit course in Cobol in my freshman year just so I could use punch cards for the last time. 1982

  • @wetcircuit
    @wetcircuit День тому

    Fun episode! Thank you!

  • @landlocked4771
    @landlocked4771 21 годину тому

    Your a smart young lady, I was hoping that you would run the code. To see what it would do. How far will you take this as I found it very interesting. I don't suppose you have one of those computers laying around ? Have you read all the code ? Do you think that young lady that wrote the code is still alive ? By looking at her I guess she would be about 80 or so. You should look here up. That would be a fun video. Thanks for this tho. Nice job.

  • @fllthdcrb
    @fllthdcrb 12 годин тому +1

    12:59 You cut that quote short. It looks like it was split over a page boundary, if I understand the "Page 393" marker correctly, and the last bit is on the line after that. So, it should end as, "...such abominable words as no Christian ear can endure to hear."

  • @pixelcatcher123
    @pixelcatcher123 15 годин тому

    1969 was a nice year

  • @rursus8354
    @rursus8354 19 годин тому

    Programmers naturally insert funny and punny comments when coding for themselves. In a professional (usually non-OpenSource) setting this is prohibited. Someone may get annoyed, and it is usually not the programmers.

  • @markcampanelli
    @markcampanelli День тому

    Thank you for this!

  • @gnastic
    @gnastic 8 годин тому

    Good video. Thank you