RomWBW 3.2 XM.com problem

175 views
Skip to first unread message

Matthew Reeves-Hairs

unread,
Mar 26, 2023, 11:46:52 AM3/26/23
to retro-comp
I'm having problems with XM.COM after upgrading to RomWBW 3.2

I'm using Serial 2.0 on my mac.

When i run the XM.COM included as part of RomWBW v32. i get the following:

J>a:xm r te512.hex

XMODEM v12.5 - 07/13/86
RomWBW, 30-May-2020 [WBW], HBIOS FastPath on COM0

Receiving: J0:TE512.HEX
6528k available for uploads
File open - ready to receive
To cancel: Ctrl-X, pause, Ctrl-X
CKCKCK

++ Receive cancelled ++
++ Partial file deleted ++

but if I use the old version it works fine:

J>xm r te512.hex

XMODEM v12.5 - 07/13/86
RBC, 28-Aug-2019 [WBW], ASCI

Receiving: J0:TE512.HEX
6528k available for uploads
File open - ready to receive
To cancel: Ctrl-X, pause, Ctrl-X
CK
Thanks for the upload

Ive tried this several time with different files and get the same results, the 30-May-2020 fails but 28-Aug-2019 works fine.

Have I missed something?

Thanks
Matthew 

Matthew Reeves-Hairs

unread,
Mar 26, 2023, 12:01:04 PM3/26/23
to retro-comp
Forgot to post details of the Kit I'm using, it is as follows:
SC111 - Z180 CPU, SC119 - Z180 memory + a couple of homebrew cards (FabGL video card + RNG)

Thanks
Matthew 

Michael Dadswell

unread,
Mar 26, 2023, 12:31:57 PM3/26/23
to retro-comp
Hi Matthew,

I'm using an SC126,  RomWBW v3.2.0 and Serial Version 2.0.14 and I've successfully transferred TE512.HEX using XM v12.5.
The combination of SC111 and SC119 would seem to me to be very similar to an SC126. 

Here's a capture, it might be worth comparing with yours -

RomWBW HBIOS v3.2.0, 2023-03-22

Small Computer SC126 [SCZ180_sc126] 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

AY: MODE=RCZ180 IO=0x68 NOT PRESENT
ASCI0: IO=0xC0 ASCI W/BRG MODE=115200,8,N,1
ASCI1: IO=0xC1 ASCI W/BRG MODE=115200,8,N,1
DSRTC: MODE=STD IO=0x0C Sun 2023-03-26 16:27:55 CHARGE=OFF
MD: UNITS=2 ROMDISK=384KB RAMDISK=256KB
FD: MODE=RCWDC IO=0x50 NOT PRESENT
IDE: IO=0x10 MODE=RC
IDE0: 8-BIT LBA BLOCKS=0x001E8BE0 SIZE=977MB
IDE1: NO MEDIA
PPIDE: IO=0x20 PPI NOT PRESENT
SD: MODE=SC OPR=0x0C CNTR=0xCA TRDR=0xCB DEVICES=1
SD0: NO MEDIA

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      IDE0:       CompactFlash      977MB,LBA
Disk 3      IDE1:       Hard Disk         --
Disk 4      SD0:        SD Card           --


Small Computer SC126 [SCZ180_sc126] Boot Loader

Boot [H=Help]: C

Loading CP/M 2.2...

CBIOS v3.2.0 [WBW]

Configuring Drives...

        A:=MD0:0
        B:=MD1:0
        C:=IDE0:0
        D:=IDE0:1
        E:=IDE0:2
        F:=IDE0:3
        G:=IDE0:4
        H:=IDE0:5
        I:=IDE0:6
        J:=IDE0:7

        1513 Disk Buffer Bytes Free

CP/M-80 v2.2, 54.0K TPA

B>I:
I>XM R TE512.HEX


XMODEM v12.5 - 07/13/86
RomWBW, 30-May-2020 [WBW], HBIOS FastPath on COM0

Receiving: I0:TE512.HEX
8036k available for uploads

File open - ready to receive
To cancel: Ctrl-X, pause, Ctrl-X
CK
Thanks for the upload

I>


Cheers,
Mike

Matthew Reeves-Hairs

unread,
Mar 26, 2023, 12:54:00 PM3/26/23
to retro-comp
Cheers Mike, yes they do look very similar

RomWBW HBIOS v3.2.0, 2023-03-18

RCBus [RCZ180_nat] 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
DSRTC: MODE=STD IO=0x0C NOT PRESENT
INTRTC: Wed 2020-01-01 00:00:00

MD: UNITS=2 ROMDISK=384KB RAMDISK=256KB
FD: MODE=RCWDC IO=0x50 NOT PRESENT
IDE: IO=0x10 MODE=RC
IDE0: 8-BIT LBA BLOCKS=0x0003C200 SIZE=120MB

IDE1: NO MEDIA
PPIDE: IO=0x20
PPIDE0: NO MEDIA
PPIDE1: NO MEDIA


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      IDE0:       CompactFlash      120MB,LBA

Disk 3      IDE1:       Hard Disk         --
Disk 4      PPIDE0:     Hard Disk         --
Disk 5      PPIDE1:     Hard Disk         --


RCBus [RCZ180_nat] Boot Loader

Boot [H=Help]: c


Loading CP/M 2.2...

CBIOS v3.2.0 [WBW]

Configuring Drives...

        A:=MD0:0
        B:=MD1:0
        C:=IDE0:0
        D:=IDE0:1
        E:=IDE0:2
        F:=IDE0:3
        G:=IDE0:4
        H:=IDE0:5
        I:=IDE0:6
        J:=IDE0:7

        1513 Disk Buffer Bytes Free

CP/M-80 v2.2, 54.0K TPA


I'll give it a go on my SC126 and compare what I'm getting, wonder if it a problem with the Serial v2.0 software on my MAC

Thanks
Matthew 

Wayne Warthen

unread,
Mar 26, 2023, 4:03:52 PM3/26/23
to retro-comp
I think I can explain the problem.  The primary difference between the two versions you are using is that the newer version is now doing it's port I/O through the RomWBW HBIOS interface.  This was done so that interrupts and flow control could be used.  However, if there is something that is not handling flow control, then you are going to have a problem.  I bet that is what is happening here.

The first thing to pursue is to look for anything that would not have flow control enabled.  The SC111 is fine (assuming no construction problems).  The FTDI cable is usually fine especially if you used the one supplied by Stephen.  The only other piece of the puzzle is the software on your Mac -- Serial v2.0.  I am not familiar with it.  Can you look through the options to see if there is something to specifically enable RTS/CTS flow control?

If you need a workaround, then I suggest you try lowering the baud rate before running XM.COM.  RomWBW has the MODE command for this purpose.  I suggest you try 38400 baud.

Another option is to use the old version of XM.  The old version of the program is still built and provided in the distribution in the Binary/Apps directory and is called XMOLD.COM.  I do not actively test this, but I think it would work as well as it did for you previously.  It is not on the disk image for v3.2, so you will need to transfer it over to your system.  You can probably do this by lowering the baud rate of the port as described above.

Thanks,

Wayne

Matthew Reeves-Hairs

unread,
Mar 27, 2023, 3:18:09 AM3/27/23
to retro-comp
Hi Wayne,
Yep found the RTS/CTS settings in Serial2.0 and enabled it.

The new version of XM is now working fine.

Thanks
Matthew 

Wayne Warthen

unread,
Mar 27, 2023, 3:03:21 PM3/27/23
to retro-comp
Excellent.  Glad to hear that.

-Wayne

Jeff Greer

unread,
Mar 27, 2023, 8:06:01 PM3/27/23
to Wayne Warthen, retro-comp
Flow control did the trick! I didn't even think to change it since it worked so well without previously.

Great tip. Easy fix. WaHoo!

Thank you, Jeff

--
You received this message because you are subscribed to the Google Groups "retro-comp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to retro-comp+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/retro-comp/d22cb44d-6c68-4a2e-a78b-a614eb094ed3n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages