• CP/M 2.2 for Virtualbox

    From KenUnix@21:1/5 to All on Thu Jan 26 13:42:22 2023
    Hi.

    Anyone aware of a CP/M 2.2 ISO or equal image (pre-configured appliance) that will run on virtualbox?

    I had found a CP/M 1.1 image but it was too old and didn't support COM files.

    I had toyed with RunCPM and Z80Pack but I think under virtualbox you would get closer to the actual "machine".

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Tim Radde@21:1/5 to KenUnix on Thu Jan 26 15:17:06 2023
    I too toyed with Virtual Box for CP/M. I have other virtual machines, but never found anything for CP/M.
    I decided to go with Simh and it's Altair emulation which allows me to load up CP/M and it works quite well.
    I've used Simh for other things before so am familiar with it and it's easy to use. It should be available on Github.

    On Thursday, January 26, 2023 at 3:42:24 PM UTC-6, KenUnix wrote:
    Hi.

    Anyone aware of a CP/M 2.2 ISO or equal image (pre-configured appliance) that will run on virtualbox?

    I had found a CP/M 1.1 image but it was too old and didn't support COM files.

    I had toyed with RunCPM and Z80Pack but I think under virtualbox you would get closer to the actual "machine".

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From KenUnix@21:1/5 to All on Thu Jan 26 17:10:40 2023
    Well as I said I have used emulators RunCPM and Z80Pack and like RunCPM
    the best under Linux 64bit (Ubuntu).

    I also got a small box called Minz-C which runs CP/M 2.2 on a real Z-180 CPU.
    I have had a couple issues but the maker has been very nice helping me.

    Ken

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Randy McLaughlin@21:1/5 to All on Thu Jan 26 17:30:35 2023
    Am I mistaken or doesn't VirtualBox just emulate x86 environments? CPM2.2 is 8 bit.


    Randy

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From fridtjof.martin.weigel@gmail.com@21:1/5 to KenUnix on Fri Jan 27 00:17:37 2023
    On Thursday, January 26, 2023 at 4:42:24 PM UTC-5, KenUnix wrote:
    Hi.

    Anyone aware of a CP/M 2.2 ISO or equal image (pre-configured appliance) that will run on virtualbox?

    I had found a CP/M 1.1 image but it was too old and didn't support COM files.

    I had toyed with RunCPM and Z80Pack but I think under virtualbox you would get closer to the actual "machine".

    Thanks.
    KenUnix

    CP/M 1.1? No such beast for 8080. VirtualBox does not support 8 bit systems like 8080 or Z80 ( or 6502).

    The CP/M you had was likely CP/M for 8086. That did not support COM (CMD files instead). The earliest CP/M-80
    in common use was 1.4 (some 1.3 exists).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From bill@21:1/5 to fridtjof.ma...@gmail.com on Fri Jan 27 10:51:58 2023
    On 1/27/2023 3:17 AM, fridtjof.ma...@gmail.com wrote:
    On Thursday, January 26, 2023 at 4:42:24 PM UTC-5, KenUnix wrote:
    Hi.

    Anyone aware of a CP/M 2.2 ISO or equal image (pre-configured appliance) that will run on virtualbox?

    I had found a CP/M 1.1 image but it was too old and didn't support COM files.

    I had toyed with RunCPM and Z80Pack but I think under virtualbox you would get closer to the actual "machine".

    Thanks.
    KenUnix

    CP/M 1.1? No such beast for 8080. VirtualBox does not support 8 bit systems like 8080 or Z80 ( or 6502).

    The CP/M you had was likely CP/M for 8086. That did not support COM (CMD files instead). The earliest CP/M-80
    in common use was 1.4 (some 1.3 exists).

    More likely what he had was the CP/M Live 1.1 CD. It boots into
    FreeDOS (I think) then runs a z80 emulator and then runs CP/M 2.2.
    I have copies of it around here somewhere. I think there may even
    be newer versions avaialable.

    bill

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Thorbj=C3=B8rn_Ravn_Ander@21:1/5 to KenUnix on Fri Jan 27 07:48:20 2023
    On Thursday, January 26, 2023 at 10:42:24 PM UTC+1, KenUnix wrote:
    Hi.

    Anyone aware of a CP/M 2.2 ISO or equal image (pre-configured appliance) that will run on virtualbox?

    I had found a CP/M 1.1 image but it was too old and didn't support COM files.

    I had toyed with RunCPM and Z80Pack but I think under virtualbox you would get closer to the actual "machine".

    If you do not run directly on Z80/8080 compatible hardware, you need an emulator. VirtualBox does not support emulating other CPU architectures, and I do not recall having seen any mainstream "run another operating system"-product capable of doing so.

    So no way around the emulator unfortunately. That is a good thing though, modern machines can emulate a much much faster cpu than ever existed in hardware.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From KenUnix@21:1/5 to All on Fri Jan 27 08:34:50 2023
    The file (zip) is CPM-86_vbox_2013-01-01.zip

    Virtualbox 6.1.40 can run it.

    See also: https://www.youtube.com/watch?v=UqZbmLqX-Uw

    Ken

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From bill@21:1/5 to Randy McLaughlin on Fri Jan 27 18:26:10 2023
    On 1/27/2023 4:45 PM, Randy McLaughlin wrote:
    FYI CP/M-86 v1.1 was for the IBM PC.

    CP/M was made for a few different processors and can be a little confusing.

    The original CP/M systems were for 8 bit 8080/Z80 systems, later came 8086, 68000, Z8000 processors.

    Don't forget DEC VAX. :-)

    bill

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From fridtjof.martin.weigel@gmail.com@21:1/5 to KenUnix on Fri Jan 27 13:02:28 2023
    On Friday, January 27, 2023 at 11:34:51 AM UTC-5, KenUnix wrote:
    The file (zip) is CPM-86_vbox_2013-01-01.zip

    Virtualbox 6.1.40 can run it.

    See also: https://www.youtube.com/watch?v=UqZbmLqX-Uw

    Ken
    Ken

    Sounds Good! That is not CP/M 2.2 - and will not run COM files. For CP/M 2.2 to run COM files,
    you will need an 8080 / Z80 emulator. I recommend Udo Monks z80pack or RunCP/M. z80pack
    is very good, and actually runs CP/M 2.2. RunCP/M runs CP/M 2.2 CCP (the shell), but runs a translation
    layer for the rest.

    I use RunCP/M and the Altair-Duino. (8080 / Z80 emulation on an Arduino DUE, with blinky lights and
    switchs like the original Altair 8800 -- at the speed of the original). RunCP/M is very much faster.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From KenUnix@21:1/5 to All on Fri Jan 27 14:16:53 2023
    Randy,

    The 680x0 CPU was used heavily by Northern Telecom. See my library at:

    https://www.flickr.com/photos/9479603@N02/albums/72157602824219250/page2

    My complete library: https://www.flickr.com/photos/9479603@N02/albums

    Ken

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From KenUnix@21:1/5 to All on Fri Jan 27 13:13:42 2023
    Fridtjof,

    Is it possible to run the Altair Clone and RunCPM? Not at the same time.


    Ken

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Craig Ruff@21:1/5 to thorbjoern@gmail.com on Fri Jan 27 23:58:00 2023
    In article <88d4fcb7-266d-42b7-ae22-9ac56badf496n@googlegroups.com>,
    Thorbjørn Ravn Andersen <thorbjoern@gmail.com> wrote:
    VirtualBox does not
    support emulating other CPU architectures, and I do not recall having seen any mainstream "run another
    operating system"-product capable of doing so.

    www.qemu.org does this, but not for Z80 CPUs.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Randy McLaughlin@21:1/5 to All on Fri Jan 27 13:45:54 2023
    FYI CP/M-86 v1.1 was for the IBM PC.

    CP/M was made for a few different processors and can be a little confusing.

    The original CP/M systems were for 8 bit 8080/Z80 systems, later came 8086, 68000, Z8000 processors.


    Randy

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jack Fenton@21:1/5 to KenUnix on Fri Jan 27 17:55:18 2023
    On Thursday, January 26, 2023 at 1:42:24 PM UTC-8, KenUnix wrote:
    Hi.

    Anyone aware of a CP/M 2.2 ISO or equal image (pre-configured appliance) that will run on virtualbox?

    I had found a CP/M 1.1 image but it was too old and didn't support COM files.

    I had toyed with RunCPM and Z80Pack but I think under virtualbox you would get closer to the actual "machine".

    Thanks.
    Best to run it under DosBox

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From fridtjof.martin.weigel@gmail.com@21:1/5 to KenUnix on Fri Jan 27 20:20:29 2023
    On Friday, January 27, 2023 at 4:13:43 PM UTC-5, KenUnix wrote:
    Fridtjof,

    Is it possible to run the Altair Clone and RunCPM? Not at the same time.


    Ken
    Different purpose. RunCP/M runs CP/M 2.2 software under Linux (and maybe others?). It is not an Altair 8800
    "clone" or work-alike The Altair Clone (and the Altair Duino) are meant as Altair 8800 "clones". The "Altair" sits
    on my desk and gives me "blinkin lights".

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From KenUnix@21:1/5 to All on Sat Jan 28 04:39:50 2023
    fridtjof,

    Thanks for clarifying that I couldn't figure out the blinlin lights in a virtual machine like RunCPM.

    Ken

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From fridtjof.martin.weigel@gmail.com@21:1/5 to KenUnix on Sat Jan 28 09:30:29 2023
    On Saturday, January 28, 2023 at 7:39:51 AM UTC-5, KenUnix wrote:
    fridtjof,

    Thanks for clarifying that I couldn't figure out the blinlin lights in a virtual machine like RunCPM.

    Ken
    Ken, I do apologize for "over-explaining". I was trying to make sense of your comment:

    "Is it possible to run the Altair Clone and RunCPM? Not at the same time."

    Since the hardware I run the Altair Clone on is not capable of running RunCPM, I do run them "at the same
    time". Indeed, I run RunCPM on the hardware I use for the terminal emulator for the Altair. So, yes,
    almost always "at the same time". In a temporal sense I do. In a "share the hardware" sense. I do not.
    (but, that is my confusion for "at the same time").

    But, it was hard to estimate your level of knowledge. CP.M 1.1 could not have been CP/M 2.2, and so I
    assumed that you had a lack of familiarity. Which then meant that you possibly did not the difference
    between the multiple ways of running CP/M (as others have mentioned, CP/M was originally run on an
    Intel 8080, and then "ported" to 68000, Z8000 and 8086 -- you would find the 68000 port interesting...
    like Unix, it is written in C). Further, I noted that you wanted to run a COM file, and that narrowed it down
    to 8080 version, which meant 1.3, 1.4, 2.2 or 3.0. You had mentioned 2.2, and had noted that 1.1 could
    not run COM files, but assumed that was "too old". Again, I presume lack of knowledge. CP/M 1.1 is
    newer than 2.2! Indeed, CP/M 2.2 was retro-named CP/M-80 2.2 because of the confusion.

    I did not mean to disparage you. The LAST machine I used with the blinking lights was the Altair...
    I just have it on my desk for nostalgia... And, warm, glowing red comfort.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From KenUnix@21:1/5 to All on Sat Jan 28 10:41:20 2023
    fridtjof,

    Yea, it is like saying Unix is Unix, but it is not... Platform, CPU, etc.

    So CP/M 1.1 is newer then CP/M 2.2 !

    So CP/M can not run COM or EXE files?

    A couple of years ago I ported BWbasic (a very nice basic interpreter) to Linux , DOS, Windows and lately Coherent.
    A was toying with the idea of porting it to CP/M but don't know if it is possible. And even if I do would anyone
    be interested.

    Ken

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From fridtjof.martin.weigel@gmail.com@21:1/5 to KenUnix on Sat Jan 28 12:22:02 2023
    On Saturday, January 28, 2023 at 1:41:21 PM UTC-5, KenUnix wrote:
    fridtjof,

    Yea, it is like saying Unix is Unix, but it is not... Platform, CPU, etc.

    So CP/M 1.1 is newer then CP/M 2.2 !

    So CP/M can not run COM or EXE files?

    A couple of years ago I ported BWbasic (a very nice basic interpreter) to Linux , DOS, Windows and lately Coherent.
    A was toying with the idea of porting it to CP/M but don't know if it is possible. And even if I do would anyone
    be interested.

    Ken
    Ken

    It would be interesting to see a BWbasic port to CP/M-80. Remember... you get a total budget of 64Kb for
    everything. Turbo Pascal shows that it is possible. You should have a look at MBASIC (Microsoft BASIC) 5.21
    (or 5.29) to get an idea of what was considered "state of the art"
    : fred@llana ~ $; mbasic

    BASIC-80 Rev. 5.21
    [CP/M Version]
    Copyright 1977-1981 (C) by Microsoft
    Created: 28-Jul-81
    39480 Bytes free
    Ok

    (this from RunCPM). MBASIC support integer (16 bit) float (32 bit) double (64 bit) and string (up to 255 characters, with garbage collection).

    A BWbasic port won't be faster, probably not smaller (MBASIC even replaced READY with Ok as a prompt... to save
    3 bytes!).

    HiTech C (which is the one I would recommend) can be used. HiTech only supports 4 byte single precision (no double). This was the ONLY native compiler on CP/M-80 that support prototypes. Here are some of the things I have on Github:

    https://github.com/ratboy666/am9511 - this will show you the format of IEEE float, Microsoft float and HiTech float (yes, they are different)
    https://github.com/ratboy666/mtrel - convert from HiTech 3.09 object files to source MAC files.
    https://github.com/ratboy666/tiny - make the SMALLEST POSSIBLE programs with HiTech C 3.09

    Or, you could use cross-compiling...

    Have fun!
    Fred (thanks for using my Norwegian name, Fred is probably easier to type!)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Steve Nickolas@21:1/5 to KenUnix on Sat Jan 28 23:36:37 2023
    On Thu, 26 Jan 2023, KenUnix wrote:

    Hi.

    Anyone aware of a CP/M 2.2 ISO or equal image (pre-configured appliance) that will run on virtualbox?

    I had found a CP/M 1.1 image but it was too old and didn't support COM files.

    I had toyed with RunCPM and Z80Pack but I think under virtualbox you would get closer to the actual "machine".

    Thanks.


    CP/M-86 1.1 is CP/M 2.2, but for 8086 instead of 8080/Z80. It's not what you're looking for.

    There are ways to run CP/M-80 apps on CP/M-86 (I know one, but it needs
    CP/M-86 3.1 or later), though you might be better emulating CP/M-80
    directly instead of emulating it on top of CP/M-86.

    -uso.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Thorbj=C3=B8rn_Ravn_Ander@21:1/5 to KenUnix on Mon Jan 30 00:10:55 2023
    On Saturday, January 28, 2023 at 7:41:21 PM UTC+1, KenUnix wrote:
    fridtjof,

    Yea, it is like saying Unix is Unix, but it is not... Platform, CPU, etc.

    So CP/M 1.1 is newer then CP/M 2.2 !

    So CP/M can not run COM or EXE files?

    CP/M-86 1.1. is newer than CP/M-80 2.2. They are not binary compatible as they are for different cpu architectures. The suffix is CMD, not COM, exactly so the files could coexist. EXE is a MS-DOS invention.

    The 16-bit port to IBM PC came too late to marked and they could not agree to a deal with IBM, so an impatient programmer created enough of an operating system implementing the CP/M API to do his own porting, which Microsoft then bought and improved and
    sold cheaper than CP/M-86 and the rest is history.

    Later CP/M-86 evolved into Concurrent DOS which you probably would consider to be much more interesting. I used it briefly back then on non-PCs but DOS-compatability was not enough on its own to compete.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From henk siewert@21:1/5 to All on Thu Feb 9 10:30:53 2023
    Op maandag 30 januari 2023 om 09:10:56 UTC+1 schreef Thorbjørn Ravn Andersen:
    On Saturday, January 28, 2023 at 7:41:21 PM UTC+1, KenUnix wrote:
    fridtjof,

    Yea, it is like saying Unix is Unix, but it is not... Platform, CPU, etc.

    So CP/M 1.1 is newer then CP/M 2.2 !

    So CP/M can not run COM or EXE files?
    CP/M-86 1.1. is newer than CP/M-80 2.2. They are not binary compatible as they are for different cpu architectures. The suffix is CMD, not COM, exactly so the files could coexist. EXE is a MS-DOS invention.

    The 16-bit port to IBM PC came too late to marked and they could not agree to a deal with IBM, so an impatient programmer created enough of an operating system implementing the CP/M API to do his own porting, which Microsoft then bought and improved
    and sold cheaper than CP/M-86 and the rest is history.

    Later CP/M-86 evolved into Concurrent DOS which you probably would consider to be much more interesting. I used it briefly back then on non-PCs but DOS-compatability was not enough on its own to compete.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From henk siewert@21:1/5 to All on Thu Feb 9 10:33:39 2023
    Hi,

    I am running Z80MU in DOSBox on Windows 11.
    Z80MU uses normal Windows 11 file system.
    Works perfectly.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rwdeane@gmail.com@21:1/5 to henk siewert on Sun Feb 12 04:03:15 2023
    On Thursday, 9 February 2023 at 18:34:10 UTC, henk siewert wrote:
    Hi,

    I am running Z80MU in DOSBox on Windows 11.
    Z80MU uses normal Windows 11 file system.
    Works perfectly.

    No, it is dosbox that uses windows 11 file system
    Z80MU will use the dos file system of dosbox, otherwise you wouldn't need dosbox. Apologies if I seem over pedantic.

    FYI - if you use dosbox-x you get printer support, and if you use dosprn as well you can add in mapping from legacy to modern printers.

    Richard

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From henk siewert@21:1/5 to All on Mon Feb 13 07:22:37 2023
    Op zondag 12 februari 2023 om 13:03:16 UTC+1 schreef rwd...@gmail.com:
    On Thursday, 9 February 2023 at 18:34:10 UTC, henk siewert wrote:
    Hi,

    I am running Z80MU in DOSBox on Windows 11.
    Z80MU uses normal Windows 11 file system.
    Works perfectly.
    No, it is dosbox that uses windows 11 file system
    Z80MU will use the dos file system of dosbox, otherwise you wouldn't need dosbox. Apologies if I seem over pedantic.

    FYI - if you use dosbox-x you get printer support, and if you use dosprn as well you can add in mapping from legacy to modern printers.

    Richard
    OK, I just wanted to keep it simple...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rwdeane@gmail.com@21:1/5 to henk siewert on Mon Feb 13 09:11:53 2023
    On Monday, 13 February 2023 at 15:22:38 UTC, henk siewert wrote:
    Op zondag 12 februari 2023 om 13:03:16 UTC+1 schreef rwd...@gmail.com:
    On Thursday, 9 February 2023 at 18:34:10 UTC, henk siewert wrote:
    Hi,

    I am running Z80MU in DOSBox on Windows 11.
    Z80MU uses normal Windows 11 file system.
    Works perfectly.
    No, it is dosbox that uses windows 11 file system
    Z80MU will use the dos file system of dosbox, otherwise you wouldn't need dosbox. Apologies if I seem over pedantic.

    FYI - if you use dosbox-x you get printer support, and if you use dosprn as well you can add in mapping from legacy to modern printers.

    Richard
    OK, I just wanted to keep it simple...

    Apologies, my message came out ruder than I expected. Social media is rubbing off on me.
    Richard

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jack Fenton@21:1/5 to rwd...@gmail.com on Mon Feb 13 11:11:12 2023
    On Sunday, February 12, 2023 at 4:03:16 AM UTC-8, rwd...@gmail.com wrote:
    On Thursday, 9 February 2023 at 18:34:10 UTC, henk siewert wrote:
    Hi,

    I am running Z80MU in DOSBox on Windows 11.
    Z80MU uses normal Windows 11 file system.
    Works perfectly.
    No, it is dosbox that uses windows 11 file system
    Z80MU will use the dos file system of dosbox, otherwise you wouldn't need dosbox. Apologies if I seem over pedantic.

    FYI - if you use dosbox-x you get printer support, and if you use dosprn as well you can add in mapping from legacy to modern printers.

    Richard
    Actually the main issue is that Windows now only accepts 32 or 64 bit applications and DOS was a 16 bit application. I think that this occurred from the transition from Windows XP to Windows 7 ( and later). In this case since DOSBOX is a 32 bit
    application, you have to run 16 bit applications (such as Z80MU) under DOSBox. Essentially DOSBOX handles the transition from 32 or 64 to 16 bit and then Z80MU handles the translation from 16 bit DOS to 8 bit CP/M.
    So we have an emulator under an emulator to make this all work. DOSBOX also handles file system management by sending requests to Windows to actually update the System Disks. Some CP/M emulators handle this by routing read/write requests from the guest
    application to the host application. Others treat the guest application files separately and the whole file system image is seen by the host as a single file. For instances MyZ80 has disk drives called A-Disk, B-Disk and C-Disk which by Windows are seen
    as files. Then there needs to be an import/export capability to move the individual files between CP/M and Windows.

    Most older legacy games are 16 bit applications.

    Thanks goodness there are people that write these programs to keep alive the work that went into CP/M and other older legacy applications.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From KenUnix@21:1/5 to All on Mon Feb 13 13:18:43 2023
    Thanks.

    I have decided to use SIMH and run AltairZ80 CP/M 2.2 under Ubuntu 22.04.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)