Why isn't there a CP/M for 128K Spectrums?

The place for codemasters or beginners to talk about programming any language for the Spectrum.
Sparky
Manic Miner
Posts: 611
Joined: Tue Dec 15, 2020 9:42 pm

Why isn't there a CP/M for 128K Spectrums?

Post by Sparky »

I know the minimum is 64K and that it needs a zilog Z80. From the toastrack onwards with 128K and the Z80, the requirements are met.
Alex
User avatar
8BitAG
Dynamite Dan
Posts: 1498
Joined: Sun Dec 17, 2017 9:25 pm
Contact:

Re: Why isn't there a CP/M for 128K Spectrums?

Post by 8BitAG »

A floppy drive is part of the minimum specification.
8-bit Text Adventure Gamer - games - research.
Sparky
Manic Miner
Posts: 611
Joined: Tue Dec 15, 2020 9:42 pm

Re: Why isn't there a CP/M for 128K Spectrums?

Post by Sparky »

I remember there were floppy interfaces, at least for the Amstrad +2s and +3
Alex
User avatar
8BitAG
Dynamite Dan
Posts: 1498
Joined: Sun Dec 17, 2017 9:25 pm
Contact:

Re: Why isn't there a CP/M for 128K Spectrums?

Post by 8BitAG »

Yes, techincally a 128K machine with a disk drive could have a version of CP/M... as the +3 did later on. CP/M+ on the +3, which I owned back in the day and used to play titles like the Infocom games, wasn't a particularly brilliant experience to use... especially if you were using 80 column software where the experience was, in I think Mike Gerrard's words, akin to watching a tennis match. (The 60 (iirc) column screen was split into two, overlapping halves, and you had to flick side to side to view each of them)

Also, from what I remember from my SAM days, the license fee for releasing a version of CP/M was ludicrously expensive (probably down to an exclusive UK distributor/reseller arrangement), which is why it was released on SAM as the "compatible system" ProDOS.
Last edited by 8BitAG on Wed Mar 24, 2021 9:54 am, edited 3 times in total.
8-bit Text Adventure Gamer - games - research.
User avatar
8BitAG
Dynamite Dan
Posts: 1498
Joined: Sun Dec 17, 2017 9:25 pm
Contact:

Re: Why isn't there a CP/M for 128K Spectrums?

Post by 8BitAG »

Just to reiterate... There *was* a version of CP/M for 128K Spectrums... The Spectrum +3 version from Locomotive, which came with Mallard BASIC.

https://spectrumcomputing.co.uk/entry/9 ... m_CPM_Plus
8-bit Text Adventure Gamer - games - research.
Sparky
Manic Miner
Posts: 611
Joined: Tue Dec 15, 2020 9:42 pm

Re: Why isn't there a CP/M for 128K Spectrums?

Post by Sparky »

Thanks, I had no idea. I have a folder full of CP/M software), it should be interesting testing it.
Alex
User avatar
PeterJ
Site Admin
Posts: 6879
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: Why isn't there a CP/M for 128K Spectrums?

Post by PeterJ »

[mention]Sparky[/mention],

There is an interesting article from Crash magazine here:

https://www.crashonline.org.uk/53/cpm.htm

Also, some more information here:

https://www.google.com/amp/s/swarmik.tu ... 4/aaaa/amp
User avatar
lister_of_smeg
Microbot
Posts: 145
Joined: Thu Nov 16, 2017 1:44 pm

Re: Why isn't there a CP/M for 128K Spectrums?

Post by lister_of_smeg »

The 128+ and +2 can't do CP/M as they always have ROM at the bottom of the Z80 address space, and CP/M requires RAM there.

With the +2A and +3 Amstrad added the 'special paging mode' specifically to allow CP/M to run.
User avatar
Lethargeek
Manic Miner
Posts: 744
Joined: Wed Dec 11, 2019 6:47 am

Re: Why isn't there a CP/M for 128K Spectrums?

Post by Lethargeek »

8BitAG wrote: Wed Mar 24, 2021 9:41 am A floppy drive is part of the minimum specification.
any drive, it was possible to run it with a ramdisk (at least one soviet 8080-based computer did it)
User avatar
PeterJ
Site Admin
Posts: 6879
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: Why isn't there a CP/M for 128K Spectrums?

Post by PeterJ »

User avatar
NEO SPECTRUMAN
Microbot
Posts: 110
Joined: Tue Jan 26, 2021 10:27 pm

Re: Why isn't there a CP/M for 128K Spectrums?

Post by NEO SPECTRUMAN »

Lethargeek wrote: Wed Mar 24, 2021 10:33 am
8BitAG wrote: Wed Mar 24, 2021 9:41 am A floppy drive is part of the minimum specification.
any drive, it was possible to run it with a ramdisk (at least one soviet 8080-based computer did it)
there were also pure tape versions
without ramdiscs
http://sannata.org/konkurs/2011/kt1119.shtml

Yes
Russians are so angry
that they format cassettes :)
Sparky
Manic Miner
Posts: 611
Joined: Tue Dec 15, 2020 9:42 pm

Re: Why isn't there a CP/M for 128K Spectrums?

Post by Sparky »

I wonder If it would work on a +2b with SD card as storage.
Alex
User avatar
kolbeck
Manic Miner
Posts: 310
Joined: Mon Nov 13, 2017 9:04 pm

Re: Why isn't there a CP/M for 128K Spectrums?

Post by kolbeck »

I think a gotek drive is the best option, for other sd card devices I would assume that part of the cp/m bdos has to be rewritten.
https://api.zxinfo.dk/v3/ - ZXDB API for developers
zxinfo-file-browser - Cross platform app to manage your files
https://zxinfo.dk - another ZXDB frontend
User avatar
PeterJ
Site Admin
Posts: 6879
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: Why isn't there a CP/M for 128K Spectrums?

Post by PeterJ »

This is running in Fuse with +3 emulation [mention]Sparky[/mention],

The disk images are still under copyright (so can't post here), but if you search hard enough you can find them.

Image
User avatar
lister_of_smeg
Microbot
Posts: 145
Joined: Thu Nov 16, 2017 1:44 pm

Re: Why isn't there a CP/M for 128K Spectrums?

Post by lister_of_smeg »

Sparky wrote: Wed Mar 24, 2021 10:57 am I wonder If it would work on a +2b with SD card as storage.
I believe it's possible with the +3e ROMS, though I've never tried it:-

https://www.va-de-retro.com/foros/viewtopic.php?t=5605
User avatar
1024MAK
Bugaboo
Posts: 3123
Joined: Wed Nov 15, 2017 2:52 pm
Location: Sunny Somerset in the U.K. in Europe

Re: Why isn't there a CP/M for 128K Spectrums?

Post by 1024MAK »

Sparky wrote: Wed Mar 24, 2021 9:36 am I know the minimum is 64K and that it needs a zilog Z80. From the toastrack onwards with 128K and the Z80, the requirements are met.
Actually the minimum is not 64K. CP/M itself does not need that much RAM, but the application programs often do. CP/M does however require RAM at the bottom of the microprocessor memory map, which as others have said, apart from the +2A, +2B, +3, +3B, none of the other models have this. Also the video screen area messes things up.

CP/M requires a 8080. The Z80 is mostly software compatible with the 8080. I think CP/M will also run on a 8085.
But some application programs were written only for the Z80.

CP/M is a disk operating system, so a disk drive is required (or something that is equivalent, that could include RAM disks and proper computer data tape systems). One thing that was not standard, was the disk format. It varies with the various different computer manufacturers. So there is no common standard format. To use CP/M on a system where the manufacturer did not offer support means writing and amending the relevant disk drive code.

And finally, CP/M was intended to be used with a 80 column display. It is just about useable with a 64 column display, but is not easy on the eye. Again, most applications assume you have a 80 column display.

Mark
:!: Standby alert :!:
“There are four lights!”
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb :dance
Looking forward to summer later in the year.
User avatar
PeterJ
Site Admin
Posts: 6879
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: Why isn't there a CP/M for 128K Spectrums?

Post by PeterJ »

1024MAK wrote: Wed Mar 24, 2021 2:49 pm And finally, CP/M was intended to be used with a 80 column display. It is just about useable with a 64 column display, but is not easy on the eye. Again, most applications assume you have a 80 column display.
I've not tried it Mark, but apparently there is a simulated 80 column display available:
Most CP/M packages expect an 80-column display. To get around this, Locomotive provide a simulated 80-column mode, showing 80 columns in two overlapping 51-column sections. There’s a marker on the status line to show which side you’re on. Flicking back and forth can follow the cursor, or be manually controlled. Either way it works with most packages, but makes some very hard to use.
crashonline.org.uk/53/cpm.htm

Not perfect, but at least better than nothing.

The manual is here:

http://k1.spdns.de/Vintage/Sinclair/86/ ... intro.html
Sparky
Manic Miner
Posts: 611
Joined: Tue Dec 15, 2020 9:42 pm

Re: Why isn't there a CP/M for 128K Spectrums?

Post by Sparky »

1024MAK wrote: Wed Mar 24, 2021 2:49 pm [
CP/M requires a 8080. The Z80 is mostly software compatible with the 8080. I think CP/M will also run on a 8085.
But some application programs were written only for the Z80.

Mark
Mark, I believe it also works on 68000
Alex
User avatar
1024MAK
Bugaboo
Posts: 3123
Joined: Wed Nov 15, 2017 2:52 pm
Location: Sunny Somerset in the U.K. in Europe

Re: Why isn't there a CP/M for 128K Spectrums?

Post by 1024MAK »

Sparky wrote: Wed Mar 24, 2021 5:19 pm
1024MAK wrote: Wed Mar 24, 2021 2:49 pm [
CP/M requires a 8080. The Z80 is mostly software compatible with the 8080. I think CP/M will also run on a 8085.
But some application programs were written only for the Z80.

Mark
Mark, I believe it also works on 68000
The 8 bit version of CP/M doesn’t, but there is a 16 bit version called CP/M-68K that is designed for 68000 series microprocessors.

Mark
:!: Standby alert :!:
“There are four lights!”
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb :dance
Looking forward to summer later in the year.
Sparky
Manic Miner
Posts: 611
Joined: Tue Dec 15, 2020 9:42 pm

Re: Why isn't there a CP/M for 128K Spectrums?

Post by Sparky »

I just learned by watching a video that Amstrad gave free CP/M diskettes for the 6128 but not for the +3. Stingy. :roll:
Alex
User avatar
8BitAG
Dynamite Dan
Posts: 1498
Joined: Sun Dec 17, 2017 9:25 pm
Contact:

Re: Why isn't there a CP/M for 128K Spectrums?

Post by 8BitAG »

Sparky wrote: Thu Mar 25, 2021 9:41 am I just learned by watching a video that Amstrad gave free CP/M diskettes for the 6128 but not for the +3. Stingy. :roll:
CP/M came with the disk-based 664 and 6128, as well as the 464 disk expansion.

Not really stingy... but Amstrad always looked at any way they could reduce costs. There was a cost involved with licensing the system from Digital Research. Bundling a business-orientated system with a "gaming system" wouldn't have made much financial sense; particularly when Amstrad were keen to keep the two platforms distinct.
8-bit Text Adventure Gamer - games - research.
User avatar
PeterJ
Site Admin
Posts: 6879
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: Why isn't there a CP/M for 128K Spectrums?

Post by PeterJ »

Agree with all that 8BitAG says.

Sugar was aiming to attract the business market with the 6128. The Spectrum under Alan Sugar was focused towards gaming.

Image

Note the 100% focus on gaming with the +3. Very much two distinct items.

Image
User avatar
8BitAG
Dynamite Dan
Posts: 1498
Joined: Sun Dec 17, 2017 9:25 pm
Contact:

Re: Why isn't there a CP/M for 128K Spectrums?

Post by 8BitAG »

It's probably worth posting a link to John Elliott's excellent CP/M resources & webpages here...
https://www.seasip.info/Cpm/index.html
8-bit Text Adventure Gamer - games - research.
User avatar
PeterJ
Site Admin
Posts: 6879
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: Why isn't there a CP/M for 128K Spectrums?

Post by PeterJ »

The CPC6128 also has 80 column text available.
Sparky
Manic Miner
Posts: 611
Joined: Tue Dec 15, 2020 9:42 pm

Re: Why isn't there a CP/M for 128K Spectrums?

Post by Sparky »

PeterJ wrote: Thu Mar 25, 2021 10:27 am The CPC6128 also has 80 column text available.
in monochrome only or in color as well?
Alex
Post Reply