Close

Warm Boot

A project log for Z80 Computer

Yet another Z80 computer.

james-otsJames Ots 06/27/2017 at 20:590 Comments

These screenshots are starting to look a bit boring, aren't they? But they're exciting to me, as they show the progress I'm making with getting this computer to work. Today I did two things. First, I got CP/M to be able to read itself from the sd card so that it can warm boot.

Second, I added automatic wait states when you try to access the sd card and the SPI routines on the CPLD are busy. I'm not happy with the state of the VHDL code at the moment, but it works, and I think it works correctly because I actually wrote a test for it. It just looks horrible, and is probably using a lot more of the CPLD than it needs to.

So I pretty much have a working CP/M system. I'm now working on a programme which will download other programmes over the FTDI connection, so that I can actually start doing stuff on this computer, like running an editor and a assembler. Or a C computer, or a BASIC interpreter.

I also need to write some code which will boot CP/M off the disk initially. I'm not sure yet whether to automatically load the first couple of sectors into memory if there's an SD card loaded, or whether I should have a command in the monitor programme to do it.

Discussions