Let's learn COBOL on the Commodore 128

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 พ.ย. 2024

ความคิดเห็น • 36

  • @LZCatt
    @LZCatt 8 หลายเดือนก่อน +9

    The memories are flooding back. I remember that my first paragraph in every Cobol program I wrote in my 30 year career was named HIHOAG. It still makes me smile.

  • @LandNfan
    @LandNfan 8 หลายเดือนก่อน +11

    I learned to program in COBOL in 1975 on an IBM System 3/10. It had less memory than your Commodore, 24K (yes, K!) of genuine ferrite core memory. Input was through the proprietary 96 column cards. All source code was kept on card decks, so dropping a deck was a really annoying thing. Much worse was the time our system operator pulled out too many drawers at once and the entire source cabinet toppled over, spilling all the contents. At least our keypunch operators had set up program cards to auto-dup the program name into columns 73-80 so a couple of intense hours at the card sorter straightened out the mess.

  • @ChopsticksDIYGarden
    @ChopsticksDIYGarden 4 หลายเดือนก่อน

    I never had a chance to learn COBOL but heard a lot about it during college years. It's great to see what the language looks like now. Thanks for sharing.

  • @miketv8741
    @miketv8741 8 หลายเดือนก่อน +1

    I have fond memories of programming in COBOL for my first full time job in the late 1990s. I would have loved to had played with COBOL on my C128 before then but learned more than enough in college. COBOL is fun and easy. It’s wonderful seeing others enjoy this too... especially on my favorite 8-bit computer. Great video. 🙂

  • @sergiogabbiani1614
    @sergiogabbiani1614 6 หลายเดือนก่อน

    I learned COBOL in the 80s, still using today for work.

  • @pauledwards2817
    @pauledwards2817 8 หลายเดือนก่อน

    Yes I was one of those people being taught COBOL in the mid 80s, at least it was on a PC rather than a punch and wait. The 128 COBOL looks quite well thought out and usable. Thanks for presenting the demo. A trip in to my history. Keep them coming.

  • @fleef3790
    @fleef3790 7 หลายเดือนก่อน +1

    I took a COBOL class back in 1982. It was right after the school purchased a few terminals and stopped using punch cards. It was easy to get a job programming in COBOL on a mainframe, and I did it for 30+ years. It was a highly paid job, especially during the Y2K scare. The market salary for a senior developer was $160K in 2017. After 1997, there was a huge lack of COBOL programmers, so most companies started sending work overseas or paying for VISAs to bring people full-time into the U.S. Most colleges had abandoned MF languages and were teaching only C/C++, Java, etc. That was a big mistake, as foreigners took over the high-paying jobs at government institutions and banks.

  • @PaulHockerOnEarth
    @PaulHockerOnEarth 8 หลายเดือนก่อน +4

    I am really enjoying these videos.

  • @moshixmainframechannel
    @moshixmainframechannel 8 หลายเดือนก่อน +5

    nice video! cool Cobol environment!

  • @00Skyfox
    @00Skyfox 8 หลายเดือนก่อน

    When I went to community college back in the mid 90s I started out signed up for a computer science major. In the first two years I went through BASIC (which I already knew pretty thoroughly), COBOL, Pascal, and Fortran, I forget in what order. I’m not sure about the BASIC class but the other three at least used their Vax mainframe shared by a bunch of dumb terminals. We had to type in our programs, run them through an assembler, then through a compiler, and then finally run the program. While we could see the output on the screens, that output was also captured and sent to their shared printer which spit out 11x17 green bar. I think it was one of those chain printers, or possibly a daisy wheel. Of course all that programming skill is a distant memory but I still have the text books if I wanted to relearn how to program in them. I would just need something that was compatible with what the books taught and not system-specific, like C64 BASIC vs. PC BASIC.

  • @wendywyll5032
    @wendywyll5032 8 หลายเดือนก่อน +3

    This takes me back! In the beginning....

  • @digitalman4404
    @digitalman4404 8 หลายเดือนก่อน +2

    My program in college had 3 COBOL courses. My final year, the exam was to debug a COBOL print out. This was in 1995. If I had of known, I would of protested them forcing me to learn this archaic language in 1995 especially when they could have been introducing us to HTML. I was quite good at it, but alas, never used it again!

    • @lnxrox
      @lnxrox 8 หลายเดือนก่อน +3

      To be fair you can make more money today writing cobol than writing plain HTML 😅

    • @timlocke3159
      @timlocke3159 8 หลายเดือนก่อน

      I learned COBOL in 1990 in college and used it at my first job on a Tandem NONSTOP mainframe which are used in banks and stock exchanges where they can't afford to ever go down. When I left that job, I wasn't doing COBOL any more. My next job was COBOL again. Haven't done it since but I always figured if things got really bad I would go back to COBOL. I liked it. I took typing in high school so the verbosity doesn't bother me. I like that it is English-like and easy to read and understand. C and Perl look like chicken scratches.

    • @marcuswilliams3455
      @marcuswilliams3455 8 หลายเดือนก่อน

      @@timlocke3159 Hey, as a career Cobol programmer, I kind of like the syntax of C. However, it seems like a lot of modern languages somewhat like originality, since they borrow the common syntax from C. But those who balk at looking at Cobol, I can just think how they take to handling mainframe assembly language.

  • @DevilsHandyman
    @DevilsHandyman 8 หลายเดือนก่อน

    I've written COBOL in school in the mid 1980s on an IBM System/360. Wound up instead using RPG II (same system and others) for a few years after.

  • @75slaine
    @75slaine 7 หลายเดือนก่อน

    Must check this out. I haven’t done any COBOL since college. It was weird, old and I kinda liked it. And that was in the mid-90’s. At least we were doing our coding on VT100 terminals

    • @75slaine
      @75slaine 4 หลายเดือนก่อน

      Managed to get my C128D stable enough to run through this. Had a blast. Wish I still had my printouts from projects back in the day. As mentioned above we had terminals that we used to connect to a Unix box that had COBOL compiler and we did all our work there rather than punch cards. But to get a copy of our code we literally had to send it to a line printer in the lab. I had a few printouts of my projects in a binder for years but it got dumped at some point when moving apartment or something.

  • @billb6283
    @billb6283 8 หลายเดือนก่อน +1

    I bet that compiler wasn't cheap, back then. Your AI pics were interesting. I learned COBOL on an IBM 360 in the late 1970s. I used flow charts, coding sheets and printer layout forms and punched 80 col cards, that we fed into a card reader ourselves. If there were bugs that caused your program to crash, known as ABEND, you had to look through possibly hundreds of pages of hexadecimal data to track down the bug. And yes it usually took hours to get results... printouts. back. There was a machine (called a collator, if I remember) that used those sequence numbers, that could put your cards in proper sequence if you dropped them. I use GnuCOBOL sometimes today to write COBOL, on Linux.

  • @marcuswilliams3455
    @marcuswilliams3455 8 หลายเดือนก่อน

    OMG, I had this same Compiler back in the 80's. Back then the version I had was copy protected. Though, looking about the file-control section, not sure what's the significance of the drive model type. Would have thought specifying either disk or printer could have suffice. Though, it amazes me, about the differences between learning Cobol on academic basis vs coding in the real world.

  • @bozimmerman
    @bozimmerman 8 หลายเดือนก่อน +2

    That looked painful, but I was enthralled.

  • @wizardsghost876
    @wizardsghost876 8 หลายเดือนก่อน +1

    I was always intrested in COBOL, but way back int my C128 time i never heard about a c128 Cobol. Or was it absurdly expensive? I just found a C/PM Version that i never got to work..

  • @mmille10
    @mmille10 12 ชั่วโมงที่ผ่านมา

    Just curious, but in what step is it compiling the code, when you save it, or when you run it? I saw you run it, and thought I missed something.

  • @johnsmith1953x
    @johnsmith1953x 8 หลายเดือนก่อน +4

    *COBOL is STILL CONSTANTLY being used in Banks*

  • @AppliedCryogenics
    @AppliedCryogenics 8 หลายเดือนก่อน +5

    Common Boilerplate-Oriented Language

    • @timlocke3159
      @timlocke3159 8 หลายเดือนก่อน

      Nice! Not many COBOL programmers, myself included, would know how to write the boilerplate DIVISIONs. Every program I wrote started by taking the DIVISIONs from another COBOL program.

  • @SuperHammaren
    @SuperHammaren 8 หลายเดือนก่อน +1

    The reviewers considered it too slow at the time. However, they hated Cobol as well so perhaps a bit biased :))

  • @rbebut1
    @rbebut1 8 หลายเดือนก่อน +1

    Oh, this would be awesome if you can get to create sprites and create a game. The labeling of non character players and communicating with the users would be so much easier to code. I was at a community college and we used punch cards and terminals on a Honeywell system.

  • @sebas0816
    @sebas0816 8 หลายเดือนก่อน

    For the Europeans, decimal point is comma;

    • @MyDeveloperThoughts
      @MyDeveloperThoughts  8 หลายเดือนก่อน +3

      I was so tempted to add this to the video and I didn't because I thought it was too 'in the weeds'. Now I kind of wish I did, but here it is:
      In the configuration section, you can add this under the OBJECT-COMPUTER. C128. line:
      SPECIAL-NAMES.
      CURRENCY SIGN IS "E" (Or whatever currency you would like to use instead of the default of $)
      DECIMAL-POINT is COMMA.

    • @VK2FVAX
      @VK2FVAX 8 หลายเดือนก่อน +1

      @@MyDeveloperThoughts Video Part 2!! :P "Advanced Topics" .. Decimal Math, String/UnString routines, Tables, Sub-routines, ...

  • @PixelOutlaw
    @PixelOutlaw 2 หลายเดือนก่อน

    COBOL, what an awful language. I would have been reaching for C or Pascal or even Forth given the hardware options - but it is cool to see how they ported great evil to the system so people could play IBM mainframe at home.

  • @whtiequillBj
    @whtiequillBj 8 หลายเดือนก่อน

    I've not ever seen COBAL. To me, it seems very incomprehensible and ridiculous.
    I've been trying to learn x64 assembly too. Yes that includes reading the Intel Architecture Software Developer's Manual

    • @georgemaragos2378
      @georgemaragos2378 8 หลายเดือนก่อน

      Hi, cobol is very structured and rigid, you just need to get used to its syntax and the right line spacong routine eg position 7 position 12
      After Cobol i studies Pascal, then Visual basic..... On dos machines Turbo pascal is cool

    • @timlocke3159
      @timlocke3159 8 หลายเดือนก่อน

      When COBOL came out in 1959, the only other big, popular language that existed was FORTRAN which came out in 1957 and was only two years old. FORTRAN was for scientists and engineers. COBOL was for business. Take your pick!
      COBOL's syntax is verbose but it is easy to read, even for non-programmers, which was considered a plus.
      ALGOL came in 1958 but wasn't as common, Lisp in 1960, BASIC in 1964, Pascal in 1970, C in 1972, Ada in 1980, C++ in 1985, Visual Basic and Python both came in 1991.