Ruud
2011-03-13 20:01:46 UTC
Hallo allemaal,
Quite some time has passed since my last post but I'm still alive :)
And I'm stil working on my Commodore-CP/M project: turn any Commodore
into a CP/M machine. The idea is based on the idea Elektor and Acorn
used: a Z80 system that exchanges data over an I/O interface with an
host. The host provides the screen, keyboard and external data
storage.
I use a Micro-Professor MPF-1b (http://en.wikipedia.org/wiki/Micro-
Professor_MPF-I) as base. The idea is to add a 512 KB SRAM, a Z80-PIO,
four NAND- and four NOR-gates to make it CP/M-3 compatible. See:
Loading Image...
The new PIO provides the four signals for A15..A18. The four OR-gates
make sure that always the same block of 32 KB of RAM is choosen when
accessing an addres > $7FFF, the common RAM block. The four NAND gates
enable switching between the orignal RAM/ROM and the new RAM plus
permanent access to the common RAM block.
The original PIO takes care of the communication with the host system.
Now I have some questions. I collected a lot of stuff in the form of
PDFs, text files, HTM(L)s etc. Maybe they contains the answers I need
but how to find them?
First question: is there a kind of "Build your own CP/M system for
dummies"? If not, I'll make one using my own experiences.
2: Can CP/M3 handle those 512 KB? And is there a limit?
I found a source named BIOS3.Z80 and it contains the lines:
?BOOT JP BOOT ; 0
?WBOOT JP WBOOT ; 1
JP CONST ; 2
JP CONIN ; 3
This looks familiar and it is the code that should be loaded from
$0000 on once the ROM has been swapped out (= CPM3.SYS ???).
But I also found a documented source of the Bondwell 14. And that one
confused me. I read "; load cpmldr.com at 100h", 35 sectors from track
0. Next: "; yes, now load ccp.com at 9000h" to be loaded from track 1.
A book about CP/M (2 ???)nmentions the FDOS which exists of two parts:
the BDOS and BIOS. It also mentions the CCP and that it is situated
under the FDOS but above the TPA in the RAM. A book about CP/M-3 (DR's
CP/M-Plus) places CCP above page Zero.
I am quite sure I can create a ROM for my system using the Bondwell's
one as base. I'm also sure I can create my own CPM3.SYS based on the
Bondwell ones but
3: what about CPMLDR.COM and CCP.COM?
4: So who can tell me in short what I still need?
5: In what order are the files loaded?
6: And where can I find documented sources that I could use as base
for my files? (P112 comes into my mind ???)
Many thanks for answering my questions and other help!
Groetjes, Ruud Baltissen
Quite some time has passed since my last post but I'm still alive :)
And I'm stil working on my Commodore-CP/M project: turn any Commodore
into a CP/M machine. The idea is based on the idea Elektor and Acorn
used: a Z80 system that exchanges data over an I/O interface with an
host. The host provides the screen, keyboard and external data
storage.
I use a Micro-Professor MPF-1b (http://en.wikipedia.org/wiki/Micro-
Professor_MPF-I) as base. The idea is to add a 512 KB SRAM, a Z80-PIO,
four NAND- and four NOR-gates to make it CP/M-3 compatible. See:
Loading Image...
The new PIO provides the four signals for A15..A18. The four OR-gates
make sure that always the same block of 32 KB of RAM is choosen when
accessing an addres > $7FFF, the common RAM block. The four NAND gates
enable switching between the orignal RAM/ROM and the new RAM plus
permanent access to the common RAM block.
The original PIO takes care of the communication with the host system.
Now I have some questions. I collected a lot of stuff in the form of
PDFs, text files, HTM(L)s etc. Maybe they contains the answers I need
but how to find them?
First question: is there a kind of "Build your own CP/M system for
dummies"? If not, I'll make one using my own experiences.
2: Can CP/M3 handle those 512 KB? And is there a limit?
I found a source named BIOS3.Z80 and it contains the lines:
?BOOT JP BOOT ; 0
?WBOOT JP WBOOT ; 1
JP CONST ; 2
JP CONIN ; 3
This looks familiar and it is the code that should be loaded from
$0000 on once the ROM has been swapped out (= CPM3.SYS ???).
But I also found a documented source of the Bondwell 14. And that one
confused me. I read "; load cpmldr.com at 100h", 35 sectors from track
0. Next: "; yes, now load ccp.com at 9000h" to be loaded from track 1.
A book about CP/M (2 ???)nmentions the FDOS which exists of two parts:
the BDOS and BIOS. It also mentions the CCP and that it is situated
under the FDOS but above the TPA in the RAM. A book about CP/M-3 (DR's
CP/M-Plus) places CCP above page Zero.
I am quite sure I can create a ROM for my system using the Bondwell's
one as base. I'm also sure I can create my own CPM3.SYS based on the
Bondwell ones but
3: what about CPMLDR.COM and CCP.COM?
4: So who can tell me in short what I still need?
5: In what order are the files loaded?
6: And where can I find documented sources that I could use as base
for my files? (P112 comes into my mind ???)
Many thanks for answering my questions and other help!
Groetjes, Ruud Baltissen