• Re: Building CCP/M-86 and running on QEMU

    From John@21:1/5 to naens on Sun Apr 20 12:28:24 2025
    On 4/20/25 5:13 AM, naens wrote:
    Hello. So I've been trying to make CCP/M-86 3.1 run on QEMU.
    I've been using the source files to build it.

    Here is the link to the project: https://gitlab.com/ccpm-86/ccpm

    It's primarily based on info by Matthias Thumann I found at http://mthu.freeshell.org/tmp/cpm/cpm.htm

    So, for me it builds and runs.
    For real hardware there might be problems with floppies (haven't tested
    it yet).

    I'm also trying to improve some things such as the BDOS c_readstr (allow
    line editing) and t_set (should also modify the internal QEMU date and
    time) functions.

    In order to run it on the floppy, I created my own cpmtools diskdef for
    the 1440K floppy. The hard drive is not supported yet, but I will try to adapt the format used by the Hampa Hug's PCE CCP/M-86 3.1 hard drives.

    Let me know if you tried to test it, and if you have some ideas on how
    to improve or modify it.

    --


    Just curious, what line editing commands will you support on the read
    string function?

    -J

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nick@21:1/5 to naens on Mon Apr 28 17:42:29 2025
    On 20/04/2025 11:13, naens wrote:
    Hello. So I've been trying to make CCP/M-86 3.1 run on QEMU.
    I've been using the source files to build it.

    Here is the link to the project: https://gitlab.com/ccpm-86/ccpm

    It's primarily based on info by Matthias Thumann I found at http://mthu.freeshell.org/tmp/cpm/cpm.htm

    So, for me it builds and runs.
    For real hardware there might be problems with floppies (haven't tested
    it yet).

    I'm also trying to improve some things such as the BDOS c_readstr (allow
    line editing) and t_set (should also modify the internal QEMU date and
    time) functions.

    In order to run it on the floppy, I created my own cpmtools diskdef for
    the 1440K floppy. The hard drive is not supported yet, but I will try to adapt the format used by the Hampa Hug's PCE CCP/M-86 3.1 hard drives.

    Let me know if you tried to test it, and if you have some ideas on how
    to improve or modify it.
    It's an interesting project. I wonder if it could be adapted to port
    CCP/M-86 to the V20-MBC board? It only has one serial port but virtual
    consoles would be cool.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Schultz@21:1/5 to naens on Tue Apr 29 12:33:15 2025
    On 4/20/25 5:13 AM, naens wrote:
    I'm also trying to improve some things such as the BDOS c_readstr (allow
    line editing) and t_set (should also modify the internal QEMU date and
    time) functions.

    That brings back memories. Once, long ago, I decided I wanted to add
    simple line editing to CP/M-68K. I started by creating a C source file
    that compiled into a binary identical to the existing consbdos.o. OK,
    not quite identical as there was one thing I couldn't figure out.

    Then I added the editing functions.

    It was interesting reading the DRI source code when that became available.

    --
    http://davesrocketworks.com
    David Schultz
    "The cheeper the crook, the gaudier the patter." - Sam Spade

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nick@21:1/5 to andrei.nesterov@gmail.com on Fri May 9 20:39:44 2025
    On 29/04/2025 20:42, andrei.nesterov@gmail.com wrote:
    On Mon, 28 Apr 2025 16:42:29 +0000, Nick wrote:

    It's an interesting project. I wonder if it could be adapted to port
    CCP/M-86 to the V20-MBC board? It only has one serial port but virtual
    consoles would be cool.

    Thank you! I think it should be possible to adapt the XIOS module for
    the board. But I'm not familiar with it.


    It uses a V20 CPU and runs CP/M-86 as well as CP/M 2 in 8080 emulation mode.
    It has 16 emulated disks on SD card. More details here

    https://j4f.info/v20-mbc

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Dassow@21:1/5 to All on Sun May 25 18:17:04 2025
    On 20.04.2025 at 12:13 naens wrote:
    Hello. So I've been trying to make CCP/M-86 3.1 run on QEMU.
    I've been using the source files to build it.

    Here is the link to the project: https://gitlab.com/ccpm-86/ccpm

    It's primarily based on info by Matthias Thumann I found at http://mthu.freeshell.org/tmp/cpm/cpm.htm

    So, for me it builds and runs.
    For real hardware there might be problems with floppies (haven't tested
    it yet). [...]
    Did you manage to recreate/compile/assemble also the submit command
    (external program) ?

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