Exploring CP/M for the PC

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

КОМЕНТАРІ • 109

  • @Izavos
    @Izavos 7 місяців тому +1

    Good times of the old CPM/80 I used on my Brazilian clone of "Apple//e" in 1990.
    MBasic, dBase2 was complex for a kid but with the help of some books I was able to learn a few things.
    This PIP command is very powerful for copying data segments between devices, memory, disk, etc.
    What became obvious is the superiority of MSDos and especially PC/Dos in its time.
    Whoever said Unix is difficult never had to deal with the limitations of CPM!
    Good job.

    • @hchris2
      @hchris2 27 днів тому +1

      Um ancião da informática!

    • @Izavos
      @Izavos 27 днів тому

      @@hchris2 do tempo que computador era a Lenha!

  • @toonvanderpas7604
    @toonvanderpas7604 2 роки тому +14

    Hi, thanks for this blast from the past.
    Back in the eighties I used CP/M (v2.2) on a Z80-based computer.
    An important difference between CP/M and MSDOS is that CP/M came with a special adapted BIOS for every computer model, while DOS relied on the BIOS provided by the ROM on the motherboard. Programs for CP/M were supposed to call into the BIOS for all I/O-operations (for instance writing to the console). This made those programs portable between different hardware, but had a huge negative impact on performance. For instance, browsing through a document in Wordstar was unacceptable slow.
    However, I stumbled upon a posting by someone who had figured out how to modify the Wordstar binary to make it write to the console directly. I applied his solution to my Wordstar binary using a hex editor. This improved the performance enormously, probably 10 times as fast.
    So be careful blaming the languages/compilers for the bad performance. I remember Turbo Pascal to be blistering fast, as long as you didn't do any I/O. If CP/M 86 used the same BIOS construction, i t's probably this BIOS which is to blame.

    • @PCRetroTech
      @PCRetroTech  2 роки тому +1

      Interesting information. I'm really not sure how the BIOS calls are implemented for x86 CPM. I imagine that they hook into the PC bios at some point, but there's probably an inefficient layer in between.

  • @rabidbigdog
    @rabidbigdog 2 роки тому +26

    The innovation of CP/M was the separation of what we would call the 'DOS' now from the BIOS. The BDOS abstracted the differences at the hardware level so the the CP/M kernel could run. This was (probably) technically copied from concepts in RSX-11M (Dave Cutler) used to this day in Windows as (HAL - Hardware Abstraction Layer). CP/M's problem was that there really was no standard disk drive manufacturer or format until IBM came along and said 360k would be a standard. Everything in Wintel history follows from there.

    • @ammonitida
      @ammonitida 5 місяців тому

      the hal in the rsx was much different and less flexible than the one in cp/m.

  • @KodiBrehdon
    @KodiBrehdon 2 роки тому +10

    it's so refreshing to see something else then games. Those expensive machine were first for productivity and games were a side thing.

  • @DeakBrenan
    @DeakBrenan 4 роки тому +15

    PIP - Peripheral Interchange Program - copies file to file, file to printer, file to serial port or back etc.

  • @DataWaveTaGo
    @DataWaveTaGo Рік тому +2

    CP/M-80 expanded the world of "shrink wrapped" applications for business, engineering, science and much more. It attracted the attention of programmers who produced robust & reliable products that got the job done.

  • @hardlifting150
    @hardlifting150 10 місяців тому +1

    I have never seen CP/M before this, but was aware of some of the crossover with DOS. To this day we can see CP/M influence even (distantly) on modern OSs. I was impressed to see the text based pseudo-GUI utilities built in. Reminded me of the Amstrad PCWs. I started with MS DOS 3.3 and I don't recall it had much at all beyond command line tools until v5. I was less impressed when I saw "ed" though, because I was taken back to the bad old days of DOS Edlin lol. Was left wondering if the "print" command can print to the screen and not just to a printer.

  • @michaelmayfield4304
    @michaelmayfield4304 3 роки тому +7

    I ran the analyst position doing all the multi-million dollar budget for the Xerox Portland, Oregon district office on a Xerox 820-II running CP/M and dBaseII from 1984 to 1991.

  • @retrowikid
    @retrowikid Рік тому +5

    CP/M was innovative in many ways, both in concept and as a commercial product. CP/M 86 was way too late in the game to offer any real challenge to MS-DOS, but most of what it achieved, in time, was due to its CP/M "inspiration". CP/M 80 was certainly a product that shaped expectations and it made an impact on some computer enthusiasts in the 80s or even much after CP/M was obsolete, as was in my case. I considered CP/M to be the "missing link" in micro-computing evolution, since what started from hobbyists ended up in the mainstream.

    • @rowlybrown
      @rowlybrown 10 місяців тому

      Our telco engineering dept got a Dec Rainbow with our first hard drive, 5megs. We had DOS-1 and CPM-86 both installed with plenty of space. My experience was that CPM-86 was better; you could have "users" that give you at least a way of organizing files. When DOS-2 came out with directories, it just blew CPM away. (I hope I remember all this correctly, it was a long time ago).

  • @hardlifting150
    @hardlifting150 10 місяців тому

    Tic Tac Toe was the first program I compiled in C / Assembly after having spent weeks following a tutorial from a book. Memories!

  • @ibazulic
    @ibazulic 9 місяців тому +1

    Cp/m 86 would have been as successful as cp/m on 8 bit computers was if IBM didn't decide to price it almost 10 times more than the equivalent PC DOS, written by Tim Patterson, which was more or less an obvious copy of CP/M. It used the same routines, same BIOS calls, almost the same API. PC DOS 2.0 was the first really substantially different OS, with a tremendous amount of changes (from API to disk access, file system and such). While no one can deny that MS did incredible things for the computer world, it was Gary Kildall who kick started it all. He was the real visionary, and by all accounts a really good and genuine person.

  • @MadMatty72
    @MadMatty72 4 роки тому +8

    Great video, cpm now less of a mystery :)

  • @paulwratt
    @paulwratt 3 роки тому +8

    MS-DOS v1 was call compatible with CP/M 2.2, the 8-bit version you can still play with MSX-DOS v1 (MSX-DOS v2 is not CP/M compatible) where you can run generic CP/M (Z80/8080) compiled (.COM) programs (not machine specific -ie. no key or display specific stuff). Deleted files should appear in USER7 or USER15. Later CP/M 3 introduced the first (GSX) graphics extensions, which Concurrent DOS (CP/M 386) included.

  • @Dorff_Meister
    @Dorff_Meister 2 роки тому +2

    In the early 80s, my dad had a Kaypro 2 for work. One of the first computers I ever used. Since it had the ability to print, which I couldn't do from my Commodore 64, I wrote a bunch of my school papers on it using Wordstar. At the time, I was just blown away by how cool that machine was and spent many hours carefully tinkering on it (since I knew my dad needed it for work).

    • @PCRetroTech
      @PCRetroTech  2 роки тому +1

      I think I recall using WordStar on the Kaypro 2 at my dad's work too. I don't know if I ever printed anything or not, and we had a manual and eventually electronic typewriter at home, so probably I did school assignments on that. However I remember being pretty creative with excuses for not finishing these, so maybe I wrote up the excuses on the typewriter instead. :-)

    • @Dorff_Meister
      @Dorff_Meister 2 роки тому +3

      @@PCRetroTech Staring by about 1982 when I was about 12, if I could do it using a computer, I wanted to. A related story... I spent hours and hours on my C64 typing in SpeedScript, a machine-code word processor distributed via the magazine Compute's Gazette. I was so excited when it was complete. I wrote my first paper using it and then realized... I didn't have a printer and I couldn't figure out how to use my dad's work's printers on the C64. So I re-typed it into WordStar so I could print it. His work had a really nice Impact Printer, which looked amazing compared to dot matrix (especially at the time).

    • @PCRetroTech
      @PCRetroTech  2 роки тому

      @@Dorff_Meister Ah, what a lot of work only to not be able to print it out!

    • @Vebinz
      @Vebinz 2 роки тому

      "Since it had the ability to print, which I couldn't do from my Commodore 64"
      Why not?
      I had a dot mtrix priner back then that printed from the C64.

    • @Dorff_Meister
      @Dorff_Meister 2 роки тому +2

      @@Vebinz aaah... But I didn't. And my teenage self, with no access to a computer store and no internet, wasn't able to figure out how to interface the printer ports on my dad's work printers to the C64. Believe me - I tried to figure it out.

  • @alpcns
    @alpcns 3 роки тому +12

    CP/M at the time was technically and functionally superior to MS-DOS, certainly in the beginning.

    • @Caseytify
      @Caseytify 2 роки тому +6

      Actually MS-DOS was a 16 bit clone of CP/M.

    • @alpcns
      @alpcns 2 роки тому

      @@Caseytify I agree.

  • @alpcns
    @alpcns Місяць тому

    Beautiful memories.... CP/M was very fast, stable and efficient. In fact I preferred it to MS-DOS for many years. I fondly remember how it with a Z-80 processor easily outperformed far more recent MS-DOS PC-XT's and even 8086 machines.

  • @erie910
    @erie910 5 місяців тому

    I used CP/M on my Commodore 128 with WordStar for business for a number of years.

  • @grantbanstead1971
    @grantbanstead1971 2 роки тому +4

    So the A> prompt looks like Dos does it? I would say the Dos prompt looks like the CP/M prompt.

  • @AntonyTCurtis
    @AntonyTCurtis 4 роки тому +5

    Have you considered getting an Amstrad PC1512/1640? The supplied Dos Plus installed on them will run CP/M-86 applications as well as many MS-DOS applications. It is the operating system which sits between CP/M-86 and DR-DOS and it can read/write both CP/M formatted disks and MS-DOS formatted disks. If the PC has a NEC V20/30 CPU, it is possible to run some CP/M-80 applications using utilities such as VCPM.

    • @PCRetroTech
      @PCRetroTech  4 роки тому +2

      I nearly mentioned this in the video. I have a PC1512 and Dos Plus. In the end the video was getting a little long though.

  • @Eric_X
    @Eric_X 4 роки тому +33

    Sad that Gary missed his opportunity

    • @tomservo5007
      @tomservo5007 3 роки тому +2

      sad that Gary walked into a biker bar and died (no one was charged with a crime)

    • @Mythologos
      @Mythologos 2 роки тому +4

      @@tomservo5007 He was assaulted after using the bathroom in a pub, the "biker bar" story is rubbish, his assailant was never identified.

    • @TVPiles
      @TVPiles 2 роки тому +2

      The game was already carted down... by Mr. Gate's mother playing cards with the IBM CEO... just ibn case somebody tells you that little Billy had no help and only $100 from Daddy.....

    • @TheRetroRaven
      @TheRetroRaven 2 роки тому +1

      On the day IBM showed up at his door, he was out playing with his private plane, instead of working.
      "Assaulted in a bathroom" , that's an Urban Legend ... He crashed in his plane, and he had issues with alcohol.

  • @26c62626yamashita
    @26c62626yamashita 2 роки тому +1

    毎日 、暑いので無理はせず、がんばって ほしいです。

  • @intel386DX
    @intel386DX 4 роки тому +23

    very pity CP/M had more potential then DOS from the beginning :(

    • @fwingebritson
      @fwingebritson 4 роки тому +7

      DOS got its roots from CP/M, Unix, and a host of other environments. In fact, DOS was never a stand alone OS so much a frankenstien of other OS's.

    • @hoppinggnomethe4154
      @hoppinggnomethe4154 3 роки тому +7

      @@fwingebritson nah, MS-DOS is basically a modified Q-DOS - Quick and Dirty Operating System - a ripoff

    • @JS-fe8sx
      @JS-fe8sx 3 роки тому +7

      It was Gary Kildall and his wife’s fault. When IBM came to purchase CP/M for the PC, they wouldn’t sign the non-disclosure agreement IBM pulled out so they went to Microsoft and asked them if they could supply an operating system. The rest is history.

    • @tankermottind
      @tankermottind 3 роки тому

      @@JS-fe8sx Kildall never had the brutal capitalist instincts that Gates had. He would have been outmaneuvered sooner or later no matter what happened or how good his software was.

  • @durrcodurr
    @durrcodurr 6 місяців тому +1

    20:43 CP/M had a graphics layer called GSX which abstracted away the underlying hardware. The downside of this is that no matter how good your assembly coding skills were, they didn't matter, b/c everything had to go through the GSX layer.

    • @PCRetroTech
      @PCRetroTech  6 місяців тому +1

      Ah, I didn't know about that. Quite interesting.

  • @retrocomputingnordest-edyc5430
    @retrocomputingnordest-edyc5430 2 роки тому +1

    very brilliant video. Thanks!

  • @Caseytify
    @Caseytify 2 роки тому +3

    I remember CP/M. ED was horrible; the MS-DOS EDLIN was functionally the same thing, and I loathed that too. At the time text editors were rare to nonexistent, and word processors (that could run in text-only mode) were $500 plus in mid-80s money. I also remember when Turbo Pascal* came out for MS-DOS. I quickly adapted it as a text editor. Like it or not, MS-DOS was destined to come out on top, mainly because that's what the PC came bundled with.
    Digital Research came out with DR-DOS, which was binary compatible with MS-DOS, and usually offered superior features. DR actually developed multi-user multi-tasking versions of their DOS, but the IBM/Microsoft juggernaut had gained too much momentum by then.
    *Software was hideously expensive back then. Prices of $500+ were normal. Borland's Turbo Pascal was revolutionary because they charged only $60 per copy, and compile times were blazing fast for the time.
    Copy protection was rife, and made unstable software even less trustworthy.

  • @dant5464
    @dant5464 Рік тому +1

    This video was very briefly shown in a Techquickie (Linus Tech Tips) video "The CPUs You've NEVER Heard Of", published yesterday.
    Spoiler alert, they are CPUs you will have heard of. :P

    • @PCRetroTech
      @PCRetroTech  Рік тому +1

      That's quite funny. Yeah I've heard of all those. They actually could probably have found CPUs I haven't heard of. Disappointment!
      Anyway, thanks for the heads up.

  • @hardlifting150
    @hardlifting150 10 місяців тому

    Was there more to the setup than showed here? I seem to remember MS DOS setup was a fair bit more complicated (like specifying the hard drive specs, port addresses, resources and such)

  • @c128stuff
    @c128stuff Рік тому +2

    Technically, I have computers which can run DOS.. but the closest thing I'm still running is Windows 10... but I do still run CP/M on a C128 every so often. Actually, helping out a bit with finally getting proper HDD support for that CP/M version.

  • @StillChrist
    @StillChrist Рік тому +3

    Rather than pushed out by MSDOS, CP/M was mainly pushed out by IBM, introducing its PC with three optional operating systems to choose from, pricing CP/M 6x higher than "PC DOS" (MS DOS). Whether IBM did this in collusion with Gates, who knows, but most of the damage was done by IBM. On the other hand, i dont know what would have prevented Digital Research from offering a lower priced copy of their OS for the PC if ordered directly through them. Did IBM prevent that? Its as if IBM execs were deliberate about not using DR, and missed out on what would have been a great long term collaberation. Arguably that karma caught up with them as they too lost market share, trying to write their own OS after parting with MS. IBM could have had a Windows GUI (GEM) to rival Apple much earlier.

    • @The_Conspiracy_Analyst
      @The_Conspiracy_Analyst 10 місяців тому +1

      Everything back then was "6 to 8 weeks to arrive", and they meant it. The bad old days. That's why mail order options weren't really a viable business strategy back then.

  • @elwro07
    @elwro07 4 роки тому +3

    To run HDMAINT (to create CP/M-86 boot partition) and other software that requires more than 64KB of ram just disable the ram disk.

  • @Inquire98
    @Inquire98 4 роки тому +2

    'Thank GOD'🙏🏾 and thank you very much for sharing your support and time 😉 Applications for CP/M where written in what language 🙄

  • @videosuperhighway7655
    @videosuperhighway7655 4 роки тому +3

    MSDOS version was called edlin.

    • @hipwave
      @hipwave 2 роки тому +1

      and it sucked equally.

  • @cnccontroller
    @cnccontroller 3 роки тому +2

    Excellent!!! Thank!
    I did it! Only I used file "CP/M-86 binary for 1.44mb floppys" and floppy disk 1.44 (MS DOS 6.22)
    CP/M-86 works!

  • @luisfigueredo776
    @luisfigueredo776 3 роки тому +2

    With CP/M i begin Turbo Pascal.

  • @DarrenHughes-Hybrid
    @DarrenHughes-Hybrid 2 роки тому +1

    Your PC has an 8086? 22:46. Our PC's in the US came with 8088's?

    • @PCRetroTech
      @PCRetroTech  2 роки тому +1

      Indeed the IBM PC had an 8088 which was a slower version of the 8086 with an 8 bit data bus (but otherwise identical functionality). So I think I was just referring to the processor family here. I should have clarified.

  • @DxDeksor
    @DxDeksor 4 роки тому +2

    Very cool video ! I wonder if an IBM pc upgraded with a nec v20 can run vanilla-ish CP/M for 8080.

    • @PCRetroTech
      @PCRetroTech  4 роки тому

      My understanding is it basically can. But I haven't tried it as I don't have a V20 and I'm not sure exactly what one has to do to put it into 8080 mode.

    • @DxDeksor
      @DxDeksor 4 роки тому

      @@PCRetroTech i think it must be triggered by a software (probably sending a bit to some address or something like that), but I wonder if the pc's bios is CP/M compatible

    • @PCRetroTech
      @PCRetroTech  4 роки тому

      @@DxDeksor Yeah I wondered that too. I think when they say it will run CP/M I think they mean that it will run the assembly code. The rest would have to be ported. I remember reading though that it is really easy to port CP/M and this was one of its major features and why there are so many ports.

    • @DxDeksor
      @DxDeksor 4 роки тому

      @@PCRetroTech actually I meant, is the PC's bios binary compatible with the bios you have to have for CP/m ^^

    • @PCRetroTech
      @PCRetroTech  4 роки тому

      @@DxDeksor I doubt it. And if the V20 is in 8080 mode, it isn't even going to execute the instructions in the BIOS. I really don't know how this works at all. It would be cool to find out of course.

  • @captainkeyboard1007
    @captainkeyboard1007 5 місяців тому

    I think I would be good working on this microcomputer because I am an avid and a staunch typist who can work on anything that has a typewriter-like keyboard. Otherwise, I relish seeing people use microcomputer technology, whereby, today this act is rare.

  • @dcocz3908
    @dcocz3908 3 роки тому +4

    Wouldn't you rather play a game of Chess?

  • @apapagaiamaya9326
    @apapagaiamaya9326 3 роки тому +3

    I install this system on an 8-bit computer with Z80.

  • @bcgibson22
    @bcgibson22 3 місяці тому

    12:35: obviously this is not correct
    Me: shhhhh!!!!!

  • @hansneusidler7988
    @hansneusidler7988 4 роки тому +6

    Gary Kildall missed his Chance! When the guys of IBM wanted to contact him, he flew in holiday. Gates was the better buisinessman

    • @PauloConstantino167
      @PauloConstantino167 4 роки тому +2

      You've no idea. Gary was a super genius. Not only that, he had a kind heart. He was a true geek. Not a business man. He wrote the first microcomputer operating system when none existed. Bill gates is just a greedy businessman who got rich by stealing ideas, and then stealing money by selling the same software to everyone on the planet. If I make a hammer, I sell the hammer and I don't have it anymore. I can sell software to 1 billion people and I still have the software. This is fucking bullshit and should be forbidden. There should be a price decay on a piece of software.

    • @hansneusidler7988
      @hansneusidler7988 4 роки тому +3

      @@PauloConstantino167
      You missed the point. I have not doubted, that Gary was a Genius. He simply missed his Chance....

    • @BlaBla-pf8mf
      @BlaBla-pf8mf 3 роки тому

      That's a legend spread by Gates.

    • @hansneusidler7988
      @hansneusidler7988 3 роки тому

      @@BlaBla-pf8mf
      And what happened then, if this is not tge truth

    • @BlaBla-pf8mf
      @BlaBla-pf8mf 3 роки тому +2

      @@hansneusidler7988 IBM men looked for Kildall at his home when he wasn't there. His wife refused to sign an NDA so IBM guys left.

  • @esathegreat
    @esathegreat Рік тому +1

    Did people actually use stuff like ed?
    I wouldn't touch it with a ten-foot pole

    • @PCRetroTech
      @PCRetroTech  Рік тому +1

      I remember using Wordstar on a CP/M machine, so I don't think it was used for anything but basic file editing. But maybe some of the oldbies can fill us in on that.

  • @dejansotlar7861
    @dejansotlar7861 2 роки тому

    you need to clarify the content

  • @markgarrett8963
    @markgarrett8963 7 місяців тому

    TOD should be Time Of Day not short TODay

  • @imkow
    @imkow 4 роки тому +1

    programmable calculator..

  • @oblitum
    @oblitum 3 роки тому

    DEP GARY 😕

  • @thechosenonekky1602
    @thechosenonekky1602 3 роки тому +1

    CP/M Was Before Windows XP Came Into The Market After Bill Gates Renamed QDOS To MS-DOS In 1985-2001

    • @megamanguy
      @megamanguy Рік тому +1

      What about windows 3.0, 3.1, 95, 98, 2000, me, and NT?

  • @jblack8149
    @jblack8149 3 роки тому

    This accent never says “teen”, it’s “een”😅

  • @tomzhangus
    @tomzhangus 3 роки тому +1

    Gary is overrated. He missed his opportunity so stop biching about it. He could've just stayed home that day instead of "flying in his private jet." Choices people.

    • @rabidbigdog
      @rabidbigdog 2 роки тому +11

      That story is false. As other comments have said, see the Gary Kildall special from The Computer Chronicles. People who worked at Digital Research at the time have long disputed this nonsense. No-need to mindlessly repeat it.

    • @nneeerrrd
      @nneeerrrd Рік тому

      ​@@rabidbigdog how do you know Gary's words is true? I see here his words against Gates' words.