SC131 FUZIX boot

164 views
Skip to first unread message

Willy De la Court

unread,
Oct 14, 2024, 9:10:16 AM10/14/24
to RC2014-Z80
I'm at the end of trying to getting this to work.

the normal RomWBW and images work fine the moment I dd any of the fuzix images I'm unable to boot from them.

I tried the following images
https://www.fuzix.org/downloads/0.3/sc126-0.3.ide.gz with the first 1024 bytes stripped

I even tried to build my own but the master branch does not build 
The v0.4 tag branch build but does not boot either

It's always the same error

RomWBW HBIOS v3.5.0-dev.90, 2024-10-11

Small Computer SC131 [SCZ180_sc131_wdl] Z8S180-N @ 18.432MHz IO=0xC0
0 MEM W/S, 2 I/O W/S, INT MODE 2, Z180 MMU
512KB ROM, 512KB RAM, HEAP=0x4C6A
ROM VERIFY: 00 00 00 00 PASS

LCD: IO=0xAA NOT PRESENT
ASCI0: IO=0xC0 ASCI W/BRG MODE=115200,8,N,1
ASCI1: IO=0xC1 ASCI W/BRG MODE=115200,8,N,1
INTRTC: Wed 2020-01-01 00:00:00
MD: UNITS=2 ROMDISK=384KB RAMDISK=256KB
SD: MODE=SC OPR=0x0C CNTR=0xCA TRDR=0xCB DEVICES=1
SD0: SDHC NAME=00000 BLOCKS=0x03A3D000 SIZE=29818MB

Unit        Device      Type              Capacity/Mode
----------  ----------  ----------------  --------------------
Char 0      ASCI0:      RS-232            115200,8,N,1
Char 1      ASCI1:      RS-232            115200,8,N,1
Disk 0      MD0:        RAM Disk          256KB,LBA
Disk 1      MD1:        ROM Disk          384KB,LBA
Disk 2      SD0:        SD Card           29818MB,LBA


Small Computer SC131 [SCZ180_sc131_wdl] Boot Loader

Boot [H=Help]: 2.0

Booting Disk Unit 2, Slice 0, Sector 0x00000800..

*** No system image on disk

any help or insight would be appreciated

Willy

Willy De la Court

unread,
Oct 14, 2024, 12:39:14 PM10/14/24
to RC2014-Z80
Some extra info the above error message was when I changed the partition type to match the partition type used in the RomWBW image 2e the generated partition type is 7e not sure this is relevant with the 7e partition type for the first partition I get this error

*** Slice specified is illegal

so i suspect there is something that RomWBW does not like about the disk images and partition types changing the partition type changes the error message.

Wayne Warthen

unread,
Oct 14, 2024, 12:44:50 PM10/14/24
to RC2014-Z80
Hi Willy,

It looks like you are running a recent development snapshot of RomWBW.  There were some recent changes to the Boot Loader and I suspect that is the issue.  Please give me a day or two to look into this and get it resolved.

I'm sorry for the trouble.

Thanks, Wayne

Willy De la Court

unread,
Oct 14, 2024, 1:09:11 PM10/14/24
to RC2014-Z80
Wayne ok thanks for the reply I will try to flash an older version of the RomWBW and see if that helps

Willy De la Court

unread,
Oct 14, 2024, 1:21:50 PM10/14/24
to RC2014-Z80
Wayne you are correct it has to do with the 3.5 version I flashed the official sc131 firmware found here https://smallcomputercentral.com/firmware/firmware-romwbw-sc131/

and now the system boots
RomWBW HBIOS v3.4.0, 2023-12-31

Small Computer SC131 [SCZ180_sc131] Z8S180-N @ 18.432MHz IO=0xC0

0 MEM W/S, 2 I/O W/S, INT MODE 2, Z180 MMU
512KB ROM, 512KB RAM
ROM VERIFY: 00 00 00 00 PASS

ASCI0: IO=0xC0 ASCI W/BRG MODE=115200,8,N,1
ASCI1: IO=0xC1 ASCI W/BRG MODE=115200,8,N,1
INTRTC: Wed 2020-01-01 00:00:00
MD: UNITS=2 ROMDISK=384KB RAMDISK=352KB

SD: MODE=SC OPR=0x0C CNTR=0xCA TRDR=0xCB DEVICES=1
SD0: SDHC NAME=00000 BLOCKS=0x03A3D000 SIZE=29818MB

Unit        Device      Type              Capacity/Mode
----------  ----------  ----------------  --------------------
Char 0      ASCI0:      RS-232            115200,8,N,1
Char 1      ASCI1:      RS-232            115200,8,N,1
Disk 0      MD0:        RAM Disk          352KB,LBA

Disk 1      MD1:        ROM Disk          384KB,LBA
Disk 2      SD0:        SD Card           29818MB,LBA


Small Computer SC131 [SCZ180_sc131] Boot Loader

Boot [H=Help]: 2

Booting Disk Unit 2, Slice 0, Sector 0x00000000...

Volume "Fuzix 126 Loader" [0xF200-0xF400, entry @ 0xF200]...
FUZIX version 0.4
Copyright (c) 1988-2002 by H.F.Bower, D.Braun, S.Nitschke, H.Peraza
Copyright (c) 1997-2001 by Arcady Schekochikhin, Adriano C. R. da Cunha
Copyright (c) 2013-2015 Will Sowerbutts <wi...@sowerbutts.com>
Copyright (c) 2014-2023 Alan Cox <al...@etchedpixels.co.uk>
Devboot
512kB total RAM, 448kB available to processes (15 processes max)
Enabling interrupts ... ok.
0000 :  - no response
hda: hda1 hda2 (swap)
bootdev: hda1
Mounting root fs (root_dev=1, ro): OK
Starting /init
init version 0.9.1
Current date is Mon 2024-10-14
Enter new date: 2024-10-14
Current time is 12:54:18
Enter new time: 19:19:00
hd: I/O error
�������������������������������������������cdwrite:
panic: invalid dev
monitor: SP=04F2, PC=7FE4

it still crashes in the end but it's confirmation that the problem is related to the 3.5 RomWBW

I'm going to try to use one of the official versions of images because this one was my custom build

Wayne Warthen

unread,
Oct 14, 2024, 2:00:36 PM10/14/24
to RC2014-Z80
Thank you Willy.  It is helpful to know where the problem is.  I am looking at the regression now and should have a fix posted shortly.

Thanks, Wayne

Wayne Warthen

unread,
Oct 14, 2024, 4:49:10 PM10/14/24
to RC2014-Z80
Hi Willy,

I have just posted RomWBW Development Snapshot v3.5.0-dev.92 which corrects this problem.

Thanks, Wayne

Willy De la Court

unread,
Oct 14, 2024, 5:48:23 PM10/14/24
to RC2014-Z80
Wayne,

Thank you will test tomorrow 
I have another problem with effectively booting in FUZIX which could be hardware related is there a memory test program that test all the memory on an z180 that I could use?
Not sure if you know this but does FUZIX use the HBIOS at all?
The CP/M 3 is running fine on the SC131 but i'm not sure the sd card is ok is there a test program for sd cards that I could run?

I'm getting real weird errors that is why I think it's a hardware problem

Thanks again for the fast answer

Wayne Warthen

unread,
Oct 14, 2024, 5:56:28 PM10/14/24
to RC2014-Z80
Hi Willy,

On Monday, October 14, 2024 at 2:48:23 PM UTC-7 Willy De la Court wrote:
I have another problem with effectively booting in FUZIX which could be hardware related is there a memory test program that test all the memory on an z180 that I could use?

I don't know of anything offhand.
 
Not sure if you know this but does FUZIX use the HBIOS at all?

No.  It only uses HBIOS to initially load itself in memory, then abandons HBIOS completely.

 
The CP/M 3 is running fine on the SC131 but i'm not sure the sd card is ok is there a test program for sd cards that I could run?

Not exactly.  Most people just do a bunch of file copies to/from the SD Card to confirm it is reliable.

I'm getting real weird errors that is why I think it's a hardware problem

I can tell you that my SC126 is booting and running Fuzix jut fine, so you may indeed have a hardware issue.  I am using the pre-built v0.4 image.

Good luck!

Wayne

Willy De la Court

unread,
Oct 14, 2024, 6:09:54 PM10/14/24
to RC2014-Z80
Wayne,

Thank you for the answers.

I build the new version and flashed it and the boot loader works now so another bug fixed.

Still crashing in FUZIX though need to find some way to test the hardware especially the memory because I suspect there is a problem there if it's addressing or a bad chip I will need to investigate.

Willy
Reply all
Reply to author
Forward
0 new messages