Thank you for accepting me in the Group.
I have worked a lot with Z80 and CP/M 2.2 in the mid/late 1980s, but not recently. My old CP/M machine died long time ago and anyway the size and outlook of it confined it to the garage for the rest of its life, so I built an SC-126 Z180 based SBC from the Small Computer Central, along with CF-card interface.
I am running RomWBW 3.4.0 with it:
RomWBW HBIOS v3.4.0, 2023-12-31
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 Sat 2000-01-01 01:06:48 CHARGE=OFF
MD: UNITS=2 ROMDISK=384KB RAMDISK=352KB
FD: MODE=RCWDC IO=0x50 NOT PRESENT
IDE: IO=0x10 MODE=RC
IDE0: ATA 8-BIT LBA BLOCKS=0x007A7E40 SIZE=3919MB
IDE1: NO MEDIA
PPIDE: IO=0x20 PPI NOT PRESENT
SD: MODE=SC OPR=0x0C CNTR=0xCA TRDR=0xCB DEVICES=1
SD0: NO MEDIA
CH0: IO=0x3E NOT PRESENT
CH1: IO=0x3C NOT PRESENT
FP: IO=0x00 NOT PRESENT
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 IDE0: CompactFlash 3919MB,LBA
Disk 3 IDE1: Hard Disk --
Disk 4 SD0: SD Card --
I tried to set up the 4G CF card to have CP/M slices and have another partition with FAT to be able to move tools, sources, etc from my Windows machine.
It failed, when I initialised the FAT partition then it destroyed the CP/M slices. I discovered on Github, that the
FAT.COM included with 3.4.0 was not the right version, so I downloaded the one from 3.4.1.
Using that the result is better, but I still cannot read the content of the CF card in Windows. It shows up as an empty drive.
The partition table as follows: First and 512M partition for CP/Mm slices and then after a 1Mb gap a 384 Mb partition for FAT:
FDISK80 for RomWBW, UNA, Mini-M68k, KISS-68030, SBC-188 ----
Version 1.1-23 created 3-June-2023
(Running under RomWBW HBIOS)
HBIOS unit number [0..4]: 2
Capacity of disk 2: ( 4G) 8027712 Geom 7a7e1010
Nr ---Type- A -- Start End LBA start LBA count Size
1 RomWBW 2e 8:0:1 1023:15:16 2048 1048576 512M
2 FAT16 06 1023:0:1 1023:15:16 1052672 786432 384M
3 00 *** empty ***
4 00 *** empty ***
The
FAT.COM should be the right version 0.9.9:
CP/M FAT Utility v0.9.9 (beta), 12-AOct-2023 [RomWBW HBIOS]
Copyright (C) 2019-23, Wayne Warthen, GNU GPL v3
Formatted it as I understood from the manual:
C>fat format 2:
About to format FAT Filesystem on Disk Unit #2.
All existing FAT partition data will be destroyed!!!
Continue (y/n)?
Formatting... Done
Windows disk manager shows also that I have a primary partition of 512MB and a healthy primary partition of FAT type and of 384MB.
However if I write a file on this CF card in Windows, that is invisible on CP/M, and vice-versa...
I found it strange, that I created some directories on the FAT file system with FAT MD command, which shows up. Copied one or two files in there.
Then, when in desperation I tried again from scratch, partitioning the CF card, but this time leaving a 2 Mb gap between the RomWBW partition and the FAT partition, formatted the FAT partition again, but:
- after the format, i could see my old directories and files created --> that should be impossible, because the partition was moved up by one MB!!!
- but the FAT DEL command could delete those files/directories.
So it looks if FAT FORMAT acts somewhere on the CF card, but FAT DIR, FAT DEL, FAT COPY acts somewhere else..
Can someone help me what am I doing wrong?
Thanks a lot,
Zoltan