Hi all,
I'm new to the community just having finished building my Small Computer Central sc792 build as my first every kit. I had expected to experience issues based on my pretty bad soldering skills but to my surprise the entire system works properly except one aspect of the SD card.
The cpu module for this machine has a dedicated serial uart for an SD card module it comes with. The smallest SD card I own is 8GB and I had read that RomWBW can only address up to 4GB of space on drives so I created a single 4GB FAT partition.
RomWBW does detect the SD card and even recognizes it as an 8GB card:
SD: MODE=SC OPR=0x0C CNTR=0xCA TRDR=0xCB DEVICES=1
SD0: SDHC NAME=00000 BLOCKS=0x00ED6000 SIZE=7596MB
And it shows up as a drive:
Disk 4 SD0: SD Card 7596MB,LBA
When booting into zsdos (zsystem) it configures the following drives:
C:=SD0:0
D:=SD0:1
E:=SD0:2
F:=SD0:3
G:=SD0:4
H:=SD0:5
I:=SD0:6
J:=SD0:7
I then CLRDIR drive c: which worked perfectly and it STAT shows it as an 8MB drive as expected.
However drives D through J results in: Invalid Drive Specification
And of course DIR the drive results in :
ZSDOS error on D: No Drive
Call: 17 File: ????????.???
I was under the impression that the listed drives by ZDOS were already assigned but just to be sure I ASSIGNED D:=SD0:1 and get:
D:=SD0:1
1859 Disk Buffer Bytes Free
I'm not sure where the 1859 number comes from but regardless this makes no difference to accessing that slice.
I have read the RomWBW chapters on drive configuration but there are several things not clear to me:
1. The documentation directs prepping drives with FDISK80. I would assume this creates a CP/M formatted slice which doesn't make sense to me on a partition that is FAT. In addition, why would this be needed for the further slices but no drive C: slice 0?
2. The documentation states that slices are not the same as partitions and the SCC documentation on prepping an SD card basically says create a FAT partition and you are good to go. I'm perfectly fine creating multiple smaller partitions if that's needed but again, I'm very confused on the correlation of a FAT partition to how RomWBW/ZSDOS interacts with that.
3. Finally I'm also unclear on how user spaces work in a given slice. Is the 8MB divided down into space for any user area that takes space or is more disk space assigned to each user area (i.e. each user area has 8MB? That doesn't seem likely)
I apologize for having to ask these questions. I did spend many hours trying to find an answer but it seems that most everyone uses either CF or IDE rather than SD cards. Is that a better option?
Also I have basically no experience with CP/M. I was loaned a dual 8" floppy drive CP/M system from my new employer in 1987 for a couple of months but obviously nothing stuck in my head :-D
I have no doubt that I'm just not doing things the right way. Any help would be appreciated.
Regards,
Larry