Close

Deblocking

A project log for Grant Searle's Z80 CP/M Design

I thought I would put this CP/M 2.2 Z80 project together. See what I can learn.

agpcooperagp.cooper 05/31/2021 at 02:370 Comments

Deblocking

I ran into this problem with my MyCP/M projects. The skeleton custom BIOS (cbios.asm) does not cover sector/block sizes other than 128 bytes. Unfortunately I did not read Chapter 12 (Sector Blocking and Deblocking) of the "CPM 2.2 Alteration Guide".  So I was caught out. This was the reason I built Grant Searle's CP/M machine. So I could look at a properly working CBIOS. I thought it would be a good platform to prototype my FRAM  "chip" disks (thus the expansion port on latest PCB).

This is still a good plan, I just have to learn Z80 assembler (MyCP/M is 8085 based).

Expansion Port

Here is the latest schematic:

And the expansion port:

Unfortunately I access disk hardware partly via I/O space (i.e. disk and page selection) and memory address space (i.e. page data R/W). Grant Searle's access is all I/O space.

Okay, I can adapt. I can use IO1 for data space, IO3/4/5 address space.

Expansion PCB

The expansion PCB then is fairly simple:

Here is a schematic two chip disk system:

Note: The W29C040 is a 512kx8 FRAM that uses a 256 bit page size.


TBC ...


AlanX

Discussions