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.