Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"Time is money and money can't buy you love and I love your outfit" -- T.H.U.N.D.E.R. #1


devel / comp.os.cpm / Re: ANN: Z280 CPU and Z280RC system Emulator

SubjectAuthor
* ANN: Z280 CPU and Z280RC system EmulatorHector Peraza
+* Re: ANN: Z280 CPU and Z280RC system EmulatorAndrew Brehm
|`- Re: ANN: Z280 CPU and Z280RC system EmulatorShawn Sijnstra
`* Re: ANN: Z280 CPU and Z280RC system EmulatorHector Peraza
 `* Re: ANN: Z280 CPU and Z280RC system EmulatorPeter Ljungberg
  `* Re: ANN: Z280 CPU and Z280RC system EmulatorHector Peraza
   `* Re: ANN: Z280 CPU and Z280RC system EmulatorPeter Ljungberg
    +* Re: ANN: Z280 CPU and Z280RC system EmulatorPeter Ljungberg
    |`* Re: ANN: Z280 CPU and Z280RC system EmulatorHector Peraza
    | `* Re: ANN: Z280 CPU and Z280RC system EmulatorPeter Ljungberg
    |  `- Re: ANN: Z280 CPU and Z280RC system EmulatorHector Peraza
    `- Re: ANN: Z280 CPU and Z280RC system EmulatorHector Peraza

1
ANN: Z280 CPU and Z280RC system Emulator

<9180fdaf-b0c4-4677-a7c0-af5d8de44812n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2757&group=comp.os.cpm#2757

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ac8:1190:: with SMTP id d16mr16183271qtj.391.1631995066465;
Sat, 18 Sep 2021 12:57:46 -0700 (PDT)
X-Received: by 2002:a05:6830:1507:: with SMTP id k7mr14438406otp.317.1631995066216;
Sat, 18 Sep 2021 12:57:46 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sat, 18 Sep 2021 12:57:45 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=81.82.53.10; posting-account=7UAaIQoAAACUm4-IP9G1k1Kzjsn_2m2B
NNTP-Posting-Host: 81.82.53.10
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9180fdaf-b0c4-4677-a7c0-af5d8de44812n@googlegroups.com>
Subject: ANN: Z280 CPU and Z280RC system Emulator
From: hperaz...@gmail.com (Hector Peraza)
Injection-Date: Sat, 18 Sep 2021 19:57:46 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 14
 by: Hector Peraza - Sat, 18 Sep 2021 19:57 UTC

Hello all,

Michal Tomek just released the beta version of the first and only Z280 emulator I'm aware of.

The emulator also simulates the hardware of a Z280RC machine, meaning it can be used as a development tool to test applications, OS ports, etc. before uploading the code to the target system.

The CPU core, MMU, DMA, timers, interrupts, traps, serial port and IDE interface are emulated accurately enough so that all four operating system ports available for the Z280RC are supported: CP/M 2.2, CP/M 3.0, RSX280 and UZI280.

The emulator can be downloaded from https://github.com/mtdev79/z280emu

Builds under Windows with MinGW and under Linux.

Enjoy!

Re: ANN: Z280 CPU and Z280RC system Emulator

<is6fj4Ff6i3U1@mid.individual.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2827&group=comp.os.cpm#2827

  copy link   Newsgroups: comp.os.cpm
Path: rocksolid2!news.neodome.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: and...@netneurotic.net (Andrew Brehm)
Newsgroups: comp.os.cpm
Subject: Re: ANN: Z280 CPU and Z280RC system Emulator
Date: Wed, 6 Oct 2021 22:34:44 +0200
Lines: 22
Message-ID: <is6fj4Ff6i3U1@mid.individual.net>
References: <9180fdaf-b0c4-4677-a7c0-af5d8de44812n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net +M8d2Ozm+rgfXirwnom8mgbgxdVyW+iMF9kAapaKx41eKcVkJ7
Cancel-Lock: sha1:/E6vzAH7cZX7YCrfRJi579bLg/o=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.1.2
Content-Language: en-US
In-Reply-To: <9180fdaf-b0c4-4677-a7c0-af5d8de44812n@googlegroups.com>
 by: Andrew Brehm - Wed, 6 Oct 2021 20:34 UTC

On 18/09/2021 21:57, Hector Peraza wrote:
> Hello all,
>
> Michal Tomek just released the beta version of the first and only Z280 emulator I'm aware of.
>
> The emulator also simulates the hardware of a Z280RC machine, meaning it can be used as a development tool to test applications, OS ports, etc. before uploading the code to the target system.
>
> The CPU core, MMU, DMA, timers, interrupts, traps, serial port and IDE interface are emulated accurately enough so that all four operating system ports available for the Z280RC are supported: CP/M 2.2, CP/M 3.0, RSX280 and UZI280.
>
> The emulator can be downloaded from https://github.com/mtdev79/z280emu
>
> Builds under Windows with MinGW and under Linux.
>
> Enjoy!
>

Cool! Will try to try.

I always wondered if there is a z180 or z280 emulator around, wanted to see what can be done with those CPUs.

Re: ANN: Z280 CPU and Z280RC system Emulator

<9d396c43-b634-48b0-9c89-95517391dd30n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2828&group=comp.os.cpm#2828

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ac8:4155:: with SMTP id e21mr3101554qtm.312.1633773578250;
Sat, 09 Oct 2021 02:59:38 -0700 (PDT)
X-Received: by 2002:a54:4f0e:: with SMTP id e14mr11383919oiy.73.1633773578000;
Sat, 09 Oct 2021 02:59:38 -0700 (PDT)
Path: rocksolid2!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sat, 9 Oct 2021 02:59:37 -0700 (PDT)
In-Reply-To: <is6fj4Ff6i3U1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=119.18.2.187; posting-account=91nb6goAAAAAOWChrrG_m23aySaI5fXr
NNTP-Posting-Host: 119.18.2.187
References: <9180fdaf-b0c4-4677-a7c0-af5d8de44812n@googlegroups.com> <is6fj4Ff6i3U1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9d396c43-b634-48b0-9c89-95517391dd30n@googlegroups.com>
Subject: Re: ANN: Z280 CPU and Z280RC system Emulator
From: shawn.si...@gmail.com (Shawn Sijnstra)
Injection-Date: Sat, 09 Oct 2021 09:59:38 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 20
 by: Shawn Sijnstra - Sat, 9 Oct 2021 09:59 UTC

On Thursday, October 7, 2021 at 7:34:47 AM UTC+11, Andrew Brehm wrote:
> On 18/09/2021 21:57, Hector Peraza wrote:
> > Hello all,
> >
> > Michal Tomek just released the beta version of the first and only Z280 emulator I'm aware of.
> >
> > The emulator also simulates the hardware of a Z280RC machine, meaning it can be used as a development tool to test applications, OS ports, etc. before uploading the code to the target system.
> >
> > The CPU core, MMU, DMA, timers, interrupts, traps, serial port and IDE interface are emulated accurately enough so that all four operating system ports available for the Z280RC are supported: CP/M 2.2, CP/M 3.0, RSX280 and UZI280.
> >
> > The emulator can be downloaded from https://github.com/mtdev79/z280emu
> >
> > Builds under Windows with MinGW and under Linux.
> >
> > Enjoy!
> >
> Cool! Will try to try.
>
> I always wondered if there is a z180 or z280 emulator around, wanted to see what can be done with those CPUs.

Looks very interesting! I'll be keeping an eye on this one as it develops.

Re: ANN: Z280 CPU and Z280RC system Emulator

<66a2d409-e3d9-469c-bcb9-cc797618aeden@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2969&group=comp.os.cpm#2969

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:20e:: with SMTP id b14mr4982675qtx.288.1640341786179;
Fri, 24 Dec 2021 02:29:46 -0800 (PST)
X-Received: by 2002:a4a:d211:: with SMTP id c17mr937492oos.47.1640341785851;
Fri, 24 Dec 2021 02:29:45 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Fri, 24 Dec 2021 02:29:45 -0800 (PST)
In-Reply-To: <9180fdaf-b0c4-4677-a7c0-af5d8de44812n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=81.82.53.10; posting-account=7UAaIQoAAACUm4-IP9G1k1Kzjsn_2m2B
NNTP-Posting-Host: 81.82.53.10
References: <9180fdaf-b0c4-4677-a7c0-af5d8de44812n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <66a2d409-e3d9-469c-bcb9-cc797618aeden@googlegroups.com>
Subject: Re: ANN: Z280 CPU and Z280RC system Emulator
From: hperaz...@gmail.com (Hector Peraza)
Injection-Date: Fri, 24 Dec 2021 10:29:46 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 4
 by: Hector Peraza - Fri, 24 Dec 2021 10:29 UTC

An update was released a couple of days ago, supporting emulation of Plasmo's quad-serial board.

The emulator can be downloaded as before from https://github.com/mtdev79/z280emu

Merry Christmas!

Re: ANN: Z280 CPU and Z280RC system Emulator

<79291658-d635-405f-89f7-21422799d31cn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2970&group=comp.os.cpm#2970

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ad4:5bc9:: with SMTP id t9mr7271693qvt.70.1640386127237;
Fri, 24 Dec 2021 14:48:47 -0800 (PST)
X-Received: by 2002:a05:6808:2111:: with SMTP id r17mr6246583oiw.118.1640386126945;
Fri, 24 Dec 2021 14:48:46 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Fri, 24 Dec 2021 14:48:46 -0800 (PST)
In-Reply-To: <66a2d409-e3d9-469c-bcb9-cc797618aeden@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=92.107.230.71; posting-account=xk1ivQoAAACYhVHe0AtVzlm252SdQzfx
NNTP-Posting-Host: 92.107.230.71
References: <9180fdaf-b0c4-4677-a7c0-af5d8de44812n@googlegroups.com> <66a2d409-e3d9-469c-bcb9-cc797618aeden@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <79291658-d635-405f-89f7-21422799d31cn@googlegroups.com>
Subject: Re: ANN: Z280 CPU and Z280RC system Emulator
From: peter.lj...@gmail.com (Peter Ljungberg)
Injection-Date: Fri, 24 Dec 2021 22:48:47 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 9
 by: Peter Ljungberg - Fri, 24 Dec 2021 22:48 UTC

On Friday, December 24, 2021 at 11:29:46 AM UTC+1, hper...@gmail.com wrote:
> An update was released a couple of days ago, supporting emulation of Plasmo's quad-serial board.
>
> The emulator can be downloaded as before from https://github.com/mtdev79/z280emu
>
> Merry Christmas!

I'm getting bad magic when trying to boot disk images, tried both CP/M 3 and RSX280 and following the instructions.

^P

Re: ANN: Z280 CPU and Z280RC system Emulator

<fabc9513-75ff-4c1e-a3f8-112182eddb72n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2971&group=comp.os.cpm#2971

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ad4:5bc9:: with SMTP id t9mr8558265qvt.70.1640430083757;
Sat, 25 Dec 2021 03:01:23 -0800 (PST)
X-Received: by 2002:a05:6808:1524:: with SMTP id u36mr4795817oiw.6.1640430083443;
Sat, 25 Dec 2021 03:01:23 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sat, 25 Dec 2021 03:01:23 -0800 (PST)
In-Reply-To: <79291658-d635-405f-89f7-21422799d31cn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=81.82.53.10; posting-account=7UAaIQoAAACUm4-IP9G1k1Kzjsn_2m2B
NNTP-Posting-Host: 81.82.53.10
References: <9180fdaf-b0c4-4677-a7c0-af5d8de44812n@googlegroups.com>
<66a2d409-e3d9-469c-bcb9-cc797618aeden@googlegroups.com> <79291658-d635-405f-89f7-21422799d31cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fabc9513-75ff-4c1e-a3f8-112182eddb72n@googlegroups.com>
Subject: Re: ANN: Z280 CPU and Z280RC system Emulator
From: hperaz...@gmail.com (Hector Peraza)
Injection-Date: Sat, 25 Dec 2021 11:01:23 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 34
 by: Hector Peraza - Sat, 25 Dec 2021 11:01 UTC

On Friday, December 24, 2021 at 11:48:47 PM UTC+1, peter.lju...@gmail.com wrote:
> I'm getting bad magic when trying to boot disk images, tried both CP/M 3 and RSX280 and following the instructions.
>
> ^P

Are you running the emulator under Linux or Windows? Did the 'makedisk' command succeeded?

You can also try the emulator-ready, full CF image from https://github.com/hperaza/RSX280/raw/master/DiskImages/cf128m-full.img.gz
Just download it with wget and rename it to cf00.dsk

I also just noticed that the z280rc.c file compiles with errors, the following patch fixes them:

--- z280rc.c~ 2021-12-23 19:10:22.000000000 +0100
+++ z280rc.c 2021-12-25 11:56:18.599227768 +0100
@@ -275,14 +275,14 @@
void do_timers() {
if (!--ins8250_clock) {
- ins8250_device_timer(quadser->m_chan0);
+ ins8250_device_timer(quadser->channel[0]);
if (enable_quadser > 1)
{
- ins8250_device_timer(quadser->m_chan1);
+ ins8250_device_timer(quadser->channel[1]);
if (enable_quadser == 4)
{
- ins8250_device_timer(quadser->m_chan2);
- ins8250_device_timer(quadser->m_chan3);
+ ins8250_device_timer(quadser->channel[2]);
+ ins8250_device_timer(quadser->channel[3]);
}
}
ins8250_clock = INS8250_DIVISOR;

I wrote Michal Tomek about the issue; he should be fixing the version on Github soon.

Re: ANN: Z280 CPU and Z280RC system Emulator

<00c85e88-5759-4c7f-9ce8-4b24cdcaf59cn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2972&group=comp.os.cpm#2972

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:620a:1477:: with SMTP id j23mr7295540qkl.152.1640434953219;
Sat, 25 Dec 2021 04:22:33 -0800 (PST)
X-Received: by 2002:a05:6808:f01:: with SMTP id m1mr8482524oiw.166.1640434953013;
Sat, 25 Dec 2021 04:22:33 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sat, 25 Dec 2021 04:22:32 -0800 (PST)
In-Reply-To: <fabc9513-75ff-4c1e-a3f8-112182eddb72n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=92.107.230.71; posting-account=xk1ivQoAAACYhVHe0AtVzlm252SdQzfx
NNTP-Posting-Host: 92.107.230.71
References: <9180fdaf-b0c4-4677-a7c0-af5d8de44812n@googlegroups.com>
<66a2d409-e3d9-469c-bcb9-cc797618aeden@googlegroups.com> <79291658-d635-405f-89f7-21422799d31cn@googlegroups.com>
<fabc9513-75ff-4c1e-a3f8-112182eddb72n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <00c85e88-5759-4c7f-9ce8-4b24cdcaf59cn@googlegroups.com>
Subject: Re: ANN: Z280 CPU and Z280RC system Emulator
From: peter.lj...@gmail.com (Peter Ljungberg)
Injection-Date: Sat, 25 Dec 2021 12:22:33 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 47
 by: Peter Ljungberg - Sat, 25 Dec 2021 12:22 UTC

On Saturday, December 25, 2021 at 12:01:24 PM UTC+1, hper...@gmail.com wrote:
> On Friday, December 24, 2021 at 11:48:47 PM UTC+1, peter.lju...@gmail.com wrote:
> > I'm getting bad magic when trying to boot disk images, tried both CP/M 3 and RSX280 and following the instructions.
> >
> > ^P
> Are you running the emulator under Linux or Windows? Did the 'makedisk' command succeeded?
>
> You can also try the emulator-ready, full CF image from https://github.com/hperaza/RSX280/raw/master/DiskImages/cf128m-full.img.gz
> Just download it with wget and rename it to cf00.dsk
>
> I also just noticed that the z280rc.c file compiles with errors, the following patch fixes them:
>
> --- z280rc.c~ 2021-12-23 19:10:22.000000000 +0100
> +++ z280rc.c 2021-12-25 11:56:18.599227768 +0100
> @@ -275,14 +275,14 @@
>
> void do_timers() {
> if (!--ins8250_clock) {
> - ins8250_device_timer(quadser->m_chan0);
> + ins8250_device_timer(quadser->channel[0]);
> if (enable_quadser > 1)
> {
> - ins8250_device_timer(quadser->m_chan1);
> + ins8250_device_timer(quadser->channel[1]);
> if (enable_quadser == 4)
> {
> - ins8250_device_timer(quadser->m_chan2);
> - ins8250_device_timer(quadser->m_chan3);
> + ins8250_device_timer(quadser->channel[2]);
> + ins8250_device_timer(quadser->channel[3]);
> }
> }
> ins8250_clock = INS8250_DIVISOR;
>
> I wrote Michal Tomek about the issue; he should be fixing the version on Github soon.

I tried on macOS (Monterey) and Linux Ubuntu (20.04) and had the same problem on both, the compiler errors and then I tried an older version (1.0) and got the "bad magic" when trying to start with disk images created, tried several times.

z280-master % cp cf128m-full.img cf00.dsk
z280emu-master % ./z280rc -d
z280emu v1.0 Z280RC
Serial port 0 listening on 10280
Serial port 0 connected
ide: IDE0: 0: bad magic
ide: IDE0: 0: not present
ide: IDE0: 0: not present

^P

Re: ANN: Z280 CPU and Z280RC system Emulator

<38f91fec-3eeb-43fa-b154-03d6cc005456n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2973&group=comp.os.cpm#2973

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:2d5:: with SMTP id a21mr8791774qtx.56.1640435942903;
Sat, 25 Dec 2021 04:39:02 -0800 (PST)
X-Received: by 2002:a05:6808:1283:: with SMTP id a3mr8174955oiw.29.1640435942617;
Sat, 25 Dec 2021 04:39:02 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sat, 25 Dec 2021 04:39:02 -0800 (PST)
In-Reply-To: <00c85e88-5759-4c7f-9ce8-4b24cdcaf59cn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=92.107.230.71; posting-account=xk1ivQoAAACYhVHe0AtVzlm252SdQzfx
NNTP-Posting-Host: 92.107.230.71
References: <9180fdaf-b0c4-4677-a7c0-af5d8de44812n@googlegroups.com>
<66a2d409-e3d9-469c-bcb9-cc797618aeden@googlegroups.com> <79291658-d635-405f-89f7-21422799d31cn@googlegroups.com>
<fabc9513-75ff-4c1e-a3f8-112182eddb72n@googlegroups.com> <00c85e88-5759-4c7f-9ce8-4b24cdcaf59cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <38f91fec-3eeb-43fa-b154-03d6cc005456n@googlegroups.com>
Subject: Re: ANN: Z280 CPU and Z280RC system Emulator
From: peter.lj...@gmail.com (Peter Ljungberg)
Injection-Date: Sat, 25 Dec 2021 12:39:02 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 73
 by: Peter Ljungberg - Sat, 25 Dec 2021 12:39 UTC

On Saturday, December 25, 2021 at 1:22:33 PM UTC+1, Peter Ljungberg wrote:
> On Saturday, December 25, 2021 at 12:01:24 PM UTC+1, hper...@gmail.com wrote:
> > On Friday, December 24, 2021 at 11:48:47 PM UTC+1, peter.lju...@gmail.com wrote:
> > > I'm getting bad magic when trying to boot disk images, tried both CP/M 3 and RSX280 and following the instructions.
> > >
> > > ^P
> > Are you running the emulator under Linux or Windows? Did the 'makedisk' command succeeded?
> >
> > You can also try the emulator-ready, full CF image from https://github.com/hperaza/RSX280/raw/master/DiskImages/cf128m-full.img.gz
> > Just download it with wget and rename it to cf00.dsk
> >
> > I also just noticed that the z280rc.c file compiles with errors, the following patch fixes them:
> >
> > --- z280rc.c~ 2021-12-23 19:10:22.000000000 +0100
> > +++ z280rc.c 2021-12-25 11:56:18.599227768 +0100
> > @@ -275,14 +275,14 @@
> >
> > void do_timers() {
> > if (!--ins8250_clock) {
> > - ins8250_device_timer(quadser->m_chan0);
> > + ins8250_device_timer(quadser->channel[0]);
> > if (enable_quadser > 1)
> > {
> > - ins8250_device_timer(quadser->m_chan1);
> > + ins8250_device_timer(quadser->channel[1]);
> > if (enable_quadser == 4)
> > {
> > - ins8250_device_timer(quadser->m_chan2);
> > - ins8250_device_timer(quadser->m_chan3);
> > + ins8250_device_timer(quadser->channel[2]);
> > + ins8250_device_timer(quadser->channel[3]);
> > }
> > }
> > ins8250_clock = INS8250_DIVISOR;
> >
> > I wrote Michal Tomek about the issue; he should be fixing the version on Github soon.
> I tried on macOS (Monterey) and Linux Ubuntu (20.04) and had the same problem on both, the compiler errors and then I tried an older version (1.0) and got the "bad magic" when trying to start with disk images created, tried several times.
>
> z280-master % cp cf128m-full.img cf00.dsk
> z280emu-master % ./z280rc -d
> z280emu v1.0 Z280RC
> Serial port 0 listening on 10280
> Serial port 0 connected
> ide: IDE0: 0: bad magic
> ide: IDE0: 0: not present
> ide: IDE0: 0: not present
>
> ^P

Following up:

Patched, compiled and trying the cf128m-full.img

z280emu-master-3 % ./z280rc -d
z280emu v1.0 Z280RC
Serial port 0 listening on 10280
Serial port 0 connected
No ROM found.
void z280uart_device_reset(struct z280uart_device *)
void z280uart_device_update_serial(struct z280uart_device *) "Z280UART" setting data frame 1+8O1
- Source clk rate = ext CTIN1 (1843200)
- BRG rate 115200
cpu_reset_z280
8250 [QUADSER.0] reset
8250 [QUADSER.0] set baud rate DL=0001, prescaler=4.000, baud=115200
8250 [QUADSER.1] reset
8250 [QUADSER.1] set baud rate DL=0001, prescaler=4.000, baud=115200
8250 [QUADSER.2] reset
8250 [QUADSER.2] set baud rate DL=0001, prescaler=4.000, baud=115200
8250 [QUADSER.3] reset
8250 [QUADSER.3] set baud rate DL=0001, prescaler=4.000, baud=115200
instrs:0, time:0

^P

Re: ANN: Z280 CPU and Z280RC system Emulator

<0b2ce6a8-6b8d-4fba-9c49-477a4fbbc230n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2974&group=comp.os.cpm#2974

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ac8:5ec1:: with SMTP id s1mr8734974qtx.584.1640436303035;
Sat, 25 Dec 2021 04:45:03 -0800 (PST)
X-Received: by 2002:aca:581:: with SMTP id 123mr7696320oif.13.1640436302698;
Sat, 25 Dec 2021 04:45:02 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sat, 25 Dec 2021 04:45:02 -0800 (PST)
In-Reply-To: <00c85e88-5759-4c7f-9ce8-4b24cdcaf59cn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=81.82.53.10; posting-account=7UAaIQoAAACUm4-IP9G1k1Kzjsn_2m2B
NNTP-Posting-Host: 81.82.53.10
References: <9180fdaf-b0c4-4677-a7c0-af5d8de44812n@googlegroups.com>
<66a2d409-e3d9-469c-bcb9-cc797618aeden@googlegroups.com> <79291658-d635-405f-89f7-21422799d31cn@googlegroups.com>
<fabc9513-75ff-4c1e-a3f8-112182eddb72n@googlegroups.com> <00c85e88-5759-4c7f-9ce8-4b24cdcaf59cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0b2ce6a8-6b8d-4fba-9c49-477a4fbbc230n@googlegroups.com>
Subject: Re: ANN: Z280 CPU and Z280RC system Emulator
From: hperaz...@gmail.com (Hector Peraza)
Injection-Date: Sat, 25 Dec 2021 12:45:03 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 71
 by: Hector Peraza - Sat, 25 Dec 2021 12:45 UTC

On Saturday, December 25, 2021 at 1:22:33 PM UTC+1, peter.lju...@gmail.com wrote:
> On Saturday, December 25, 2021 at 12:01:24 PM UTC+1, hper...@gmail.com wrote:
> > On Friday, December 24, 2021 at 11:48:47 PM UTC+1, peter.lju...@gmail.com wrote:
> > > I'm getting bad magic when trying to boot disk images, tried both CP/M 3 and RSX280 and following the instructions.
> > >
> > > ^P
> > Are you running the emulator under Linux or Windows? Did the 'makedisk' command succeeded?
> >
> > You can also try the emulator-ready, full CF image from https://github.com/hperaza/RSX280/raw/master/DiskImages/cf128m-full.img.gz
> > Just download it with wget and rename it to cf00.dsk
> >
> > I also just noticed that the z280rc.c file compiles with errors, the following patch fixes them:
> >
> > --- z280rc.c~ 2021-12-23 19:10:22.000000000 +0100
> > +++ z280rc.c 2021-12-25 11:56:18.599227768 +0100
> > @@ -275,14 +275,14 @@
> >
> > void do_timers() {
> > if (!--ins8250_clock) {
> > - ins8250_device_timer(quadser->m_chan0);
> > + ins8250_device_timer(quadser->channel[0]);
> > if (enable_quadser > 1)
> > {
> > - ins8250_device_timer(quadser->m_chan1);
> > + ins8250_device_timer(quadser->channel[1]);
> > if (enable_quadser == 4)
> > {
> > - ins8250_device_timer(quadser->m_chan2);
> > - ins8250_device_timer(quadser->m_chan3);
> > + ins8250_device_timer(quadser->channel[2]);
> > + ins8250_device_timer(quadser->channel[3]);
> > }
> > }
> > ins8250_clock = INS8250_DIVISOR;
> >
> > I wrote Michal Tomek about the issue; he should be fixing the version on Github soon.
> I tried on macOS (Monterey) and Linux Ubuntu (20.04) and had the same problem on both, the compiler errors and then I tried an older version (1.0) and got the "bad magic" when trying to start with disk images created, tried several times.
>
> z280-master % cp cf128m-full.img cf00.dsk
> z280emu-master % ./z280rc -d
> z280emu v1.0 Z280RC
> Serial port 0 listening on 10280
> Serial port 0 connected
> ide: IDE0: 0: bad magic
> ide: IDE0: 0: not present
> ide: IDE0: 0: not present
>
> ^P

That's strange, it looks like the disk image is corrupted. Are you sure the image is in the same directory you are executing the emulator from? From what you typed above it looks like you copied the image to a directory named 'z280-master', yet you are executing the emulator from 'z280emu-master'.

The 'bad magic' error happens only if the disk image does not start with the 8-char '1DED15C0' signature. You can use the 'od' command to check the image header, e.g.:

$ od -a -N 16 cf00.dsk
0000000 1 D E D 1 5 C 0 nul nul nul nul nul nul nul nul
0000020

Re: ANN: Z280 CPU and Z280RC system Emulator

<670a4e33-900d-4fb1-983f-d0344f099f8an@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2975&group=comp.os.cpm#2975

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ac8:4652:: with SMTP id f18mr8722892qto.381.1640436603586;
Sat, 25 Dec 2021 04:50:03 -0800 (PST)
X-Received: by 2002:a9d:6a56:: with SMTP id h22mr7217964otn.135.1640436603346;
Sat, 25 Dec 2021 04:50:03 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sat, 25 Dec 2021 04:50:03 -0800 (PST)
In-Reply-To: <38f91fec-3eeb-43fa-b154-03d6cc005456n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=81.82.53.10; posting-account=7UAaIQoAAACUm4-IP9G1k1Kzjsn_2m2B
NNTP-Posting-Host: 81.82.53.10
References: <9180fdaf-b0c4-4677-a7c0-af5d8de44812n@googlegroups.com>
<66a2d409-e3d9-469c-bcb9-cc797618aeden@googlegroups.com> <79291658-d635-405f-89f7-21422799d31cn@googlegroups.com>
<fabc9513-75ff-4c1e-a3f8-112182eddb72n@googlegroups.com> <00c85e88-5759-4c7f-9ce8-4b24cdcaf59cn@googlegroups.com>
<38f91fec-3eeb-43fa-b154-03d6cc005456n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <670a4e33-900d-4fb1-983f-d0344f099f8an@googlegroups.com>
Subject: Re: ANN: Z280 CPU and Z280RC system Emulator
From: hperaz...@gmail.com (Hector Peraza)
Injection-Date: Sat, 25 Dec 2021 12:50:03 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 27
 by: Hector Peraza - Sat, 25 Dec 2021 12:50 UTC

On Saturday, December 25, 2021 at 1:39:03 PM UTC+1, peter.lju...@gmail.com wrote:
> Following up:
>
> Patched, compiled and trying the cf128m-full.img
>
> z280emu-master-3 % ./z280rc -d
> z280emu v1.0 Z280RC
> Serial port 0 listening on 10280
> Serial port 0 connected
> No ROM found.
> void z280uart_device_reset(struct z280uart_device *)
> void z280uart_device_update_serial(struct z280uart_device *) "Z280UART" setting data frame 1+8O1
> - Source clk rate = ext CTIN1 (1843200)
> - BRG rate 115200
> cpu_reset_z280
> 8250 [QUADSER.0] reset
> 8250 [QUADSER.0] set baud rate DL=0001, prescaler=4.000, baud=115200
> 8250 [QUADSER.1] reset
> 8250 [QUADSER.1] set baud rate DL=0001, prescaler=4.000, baud=115200
> 8250 [QUADSER.2] reset
> 8250 [QUADSER.2] set baud rate DL=0001, prescaler=4.000, baud=115200
> 8250 [QUADSER.3] reset
> 8250 [QUADSER.3] set baud rate DL=0001, prescaler=4.000, baud=115200
> instrs:0, time:0
>
> ^P

"No ROM found" means you are missing the 'cfmonldr.bin' file.

Re: ANN: Z280 CPU and Z280RC system Emulator

<1db128e9-9c90-46db-80b3-493d7c0de443n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2976&group=comp.os.cpm#2976

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ac8:5ec1:: with SMTP id s1mr8846124qtx.584.1640438510282;
Sat, 25 Dec 2021 05:21:50 -0800 (PST)
X-Received: by 2002:a9d:ba8:: with SMTP id 37mr6705497oth.227.1640438510082;
Sat, 25 Dec 2021 05:21:50 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sat, 25 Dec 2021 05:21:49 -0800 (PST)
In-Reply-To: <670a4e33-900d-4fb1-983f-d0344f099f8an@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=92.107.230.71; posting-account=xk1ivQoAAACYhVHe0AtVzlm252SdQzfx
NNTP-Posting-Host: 92.107.230.71
References: <9180fdaf-b0c4-4677-a7c0-af5d8de44812n@googlegroups.com>
<66a2d409-e3d9-469c-bcb9-cc797618aeden@googlegroups.com> <79291658-d635-405f-89f7-21422799d31cn@googlegroups.com>
<fabc9513-75ff-4c1e-a3f8-112182eddb72n@googlegroups.com> <00c85e88-5759-4c7f-9ce8-4b24cdcaf59cn@googlegroups.com>
<38f91fec-3eeb-43fa-b154-03d6cc005456n@googlegroups.com> <670a4e33-900d-4fb1-983f-d0344f099f8an@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1db128e9-9c90-46db-80b3-493d7c0de443n@googlegroups.com>
Subject: Re: ANN: Z280 CPU and Z280RC system Emulator
From: peter.lj...@gmail.com (Peter Ljungberg)
Injection-Date: Sat, 25 Dec 2021 13:21:50 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 63
 by: Peter Ljungberg - Sat, 25 Dec 2021 13:21 UTC

On Saturday, December 25, 2021 at 1:50:04 PM UTC+1, hper...@gmail.com wrote:
> On Saturday, December 25, 2021 at 1:39:03 PM UTC+1, peter.lju...@gmail.com wrote:
> > Following up:
> >
> > Patched, compiled and trying the cf128m-full.img
> >
> > z280emu-master-3 % ./z280rc -d
> > z280emu v1.0 Z280RC
> > Serial port 0 listening on 10280
> > Serial port 0 connected
> > No ROM found.
> > void z280uart_device_reset(struct z280uart_device *)
> > void z280uart_device_update_serial(struct z280uart_device *) "Z280UART" setting data frame 1+8O1
> > - Source clk rate = ext CTIN1 (1843200)
> > - BRG rate 115200
> > cpu_reset_z280
> > 8250 [QUADSER.0] reset
> > 8250 [QUADSER.0] set baud rate DL=0001, prescaler=4.000, baud=115200
> > 8250 [QUADSER.1] reset
> > 8250 [QUADSER.1] set baud rate DL=0001, prescaler=4.000, baud=115200
> > 8250 [QUADSER.2] reset
> > 8250 [QUADSER.2] set baud rate DL=0001, prescaler=4.000, baud=115200
> > 8250 [QUADSER.3] reset
> > 8250 [QUADSER.3] set baud rate DL=0001, prescaler=4.000, baud=115200
> > instrs:0, time:0
> >
> > ^P
> "No ROM found" means you are missing the 'cfmonldr.bin' file.

Yeah, got it working:

TinyZZ Monitor v2.1 12-Mar-2021

>S
?

>Help
G <addr> CR
R <track> <sector>
D <start addr> <end addr>
Z CR
F CR
T CR
E <addr>
X <options> CR
B <options> CR
C <options> CR

>Boot
1 - User Apps
2 - CP/M 2.2
3 - CP/M 3
4 - RSX280
5 - UZI280
Select: 4 Press Return to confirm:

Z280RC 2048K RSX280 V6.26

>RED DU4:=LB:
>
>RED DU4:=SY:
>MOU DU4:
>@SY0:[SYSTEM]STARTUP.CMD
>* Please enter Time and Date (HR:MN DD-MMM-YYYY) [S]:

Re: ANN: Z280 CPU and Z280RC system Emulator

<2ed3a9be-092d-41fc-998c-4ea1b45554bdn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2977&group=comp.os.cpm#2977

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ac8:5a84:: with SMTP id c4mr8758431qtc.565.1640438604501;
Sat, 25 Dec 2021 05:23:24 -0800 (PST)
X-Received: by 2002:a9d:4d0e:: with SMTP id n14mr7073377otf.261.1640438604274;
Sat, 25 Dec 2021 05:23:24 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Sat, 25 Dec 2021 05:23:24 -0800 (PST)
In-Reply-To: <1db128e9-9c90-46db-80b3-493d7c0de443n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=81.82.53.10; posting-account=7UAaIQoAAACUm4-IP9G1k1Kzjsn_2m2B
NNTP-Posting-Host: 81.82.53.10
References: <9180fdaf-b0c4-4677-a7c0-af5d8de44812n@googlegroups.com>
<66a2d409-e3d9-469c-bcb9-cc797618aeden@googlegroups.com> <79291658-d635-405f-89f7-21422799d31cn@googlegroups.com>
<fabc9513-75ff-4c1e-a3f8-112182eddb72n@googlegroups.com> <00c85e88-5759-4c7f-9ce8-4b24cdcaf59cn@googlegroups.com>
<38f91fec-3eeb-43fa-b154-03d6cc005456n@googlegroups.com> <670a4e33-900d-4fb1-983f-d0344f099f8an@googlegroups.com>
<1db128e9-9c90-46db-80b3-493d7c0de443n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2ed3a9be-092d-41fc-998c-4ea1b45554bdn@googlegroups.com>
Subject: Re: ANN: Z280 CPU and Z280RC system Emulator
From: hperaz...@gmail.com (Hector Peraza)
Injection-Date: Sat, 25 Dec 2021 13:23:24 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 65
 by: Hector Peraza - Sat, 25 Dec 2021 13:23 UTC

On Saturday, December 25, 2021 at 2:21:50 PM UTC+1, peter.lju...@gmail.com wrote:
> On Saturday, December 25, 2021 at 1:50:04 PM UTC+1, hper...@gmail.com wrote:
> > On Saturday, December 25, 2021 at 1:39:03 PM UTC+1, peter.lju...@gmail.com wrote:
> > > Following up:
> > >
> > > Patched, compiled and trying the cf128m-full.img
> > >
> > > z280emu-master-3 % ./z280rc -d
> > > z280emu v1.0 Z280RC
> > > Serial port 0 listening on 10280
> > > Serial port 0 connected
> > > No ROM found.
> > > void z280uart_device_reset(struct z280uart_device *)
> > > void z280uart_device_update_serial(struct z280uart_device *) "Z280UART" setting data frame 1+8O1
> > > - Source clk rate = ext CTIN1 (1843200)
> > > - BRG rate 115200
> > > cpu_reset_z280
> > > 8250 [QUADSER.0] reset
> > > 8250 [QUADSER.0] set baud rate DL=0001, prescaler=4.000, baud=115200
> > > 8250 [QUADSER.1] reset
> > > 8250 [QUADSER.1] set baud rate DL=0001, prescaler=4.000, baud=115200
> > > 8250 [QUADSER.2] reset
> > > 8250 [QUADSER.2] set baud rate DL=0001, prescaler=4.000, baud=115200
> > > 8250 [QUADSER.3] reset
> > > 8250 [QUADSER.3] set baud rate DL=0001, prescaler=4.000, baud=115200
> > > instrs:0, time:0
> > >
> > > ^P
> > "No ROM found" means you are missing the 'cfmonldr.bin' file.
> Yeah, got it working:
>
> TinyZZ Monitor v2.1 12-Mar-2021
>
> >S
> ?
>
> >Help
> G <addr> CR
> R <track> <sector>
> D <start addr> <end addr>
> Z CR
> F CR
> T CR
> E <addr>
> X <options> CR
> B <options> CR
> C <options> CR
>
> >Boot
> 1 - User Apps
> 2 - CP/M 2.2
> 3 - CP/M 3
> 4 - RSX280
> 5 - UZI280
> Select: 4 Press Return to confirm:
>
> Z280RC 2048K RSX280 V6.26
>
> >RED DU4:=LB:
> >
> >RED DU4:=SY:
> >MOU DU4:
> >@SY0:[SYSTEM]STARTUP.CMD
> >* Please enter Time and Date (HR:MN DD-MMM-YYYY) [S]:

:-)

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor