collapseos icon indicating copy to clipboard operation
collapseos copied to clipboard

cpuville

Open piranna opened this issue 4 years ago • 12 comments

http://cpuville.com/Kits/8-bit-processor-kit.html

This is an implementation of an 8-bit CPU build entirelly with TTL chips. Bus is compatible with Z80, although seems instructions not. Since full schematics and documentation is available, how much dificult could it be to adapt it to be Z80 compatible and run CollapseOS on it?

piranna avatar Mar 11 '20 18:03 piranna

It looks interesting, thanks for the link! With the current approach, it wouldn't be possible to run Collapse OS although it would of course be possible to add it as a zasm target arch.

However, I've been re-assessing the possibility of making Forth the core of Collapse OS (see #4) and I've been knee deep in Forth in the last few days. It's a very interesting language and although it seems counter intuitive, it could end up making Collapse OS self-host in a more compact way and give use multi-arch capabilities much more easily. Stay tuned.

hsoft avatar Mar 12 '20 11:03 hsoft

It looks interesting, thanks for the link!

Welcome :-)

With the current approach, it wouldn't be possible to run Collapse OS

I know, first thing would be to modify the CPU to be Z80 compatible, that would be a totally independent project, but maybe someone would like to start it... Definitely, the post on the other thread about a 14yo kid building a CPU from scratch and starting an OS with it, would be feasable with this :-D We have FPGAs implementation of the Z80, so it could be possible to port it to real chips :-)

although it would of course be possible to add it as a zasm target arch

Oh, that would be interesting :-)

However, I've been re-assessing the possibility of making Forth the core of Collapse OS (see #4) and I've been knee deep in Forth in the last few days. It's a very interesting language and although it seems counter intuitive, it could end up making Collapse OS self-host in a more compact way and give use multi-arch capabilities much more easily. Stay tuned.

Yes, I've seen it, and i find it a really cool aproach, would allow a lot more portability, somewhat similar to my suggestion of using WebAssembly :-) Maybe it would be a bit bloated over native assembly, but we are in 2020, we have 40 years of computers engineering to start doing things in a good and secure way :-D Kill C and assembly and praise Rust! ;-)

piranna avatar Mar 12 '20 12:03 piranna

Does anyone think it's possible to implement a Z80 in a reasonable amount of 74xx chips?

A fixable CPU would be interesting !

f4grx avatar Mar 12 '20 15:03 f4grx

Does anyone think it's possible to implement a Z80 in a reasonable amount of 74xx chips?

I think it's possible, that's why I've put the initial link :-) Also, there's actually a TTL based 6502 :-D

And related to this, a book about building your own Z80 computer :-)

piranna avatar Mar 12 '20 15:03 piranna

The monster is not TTL based but transistor based, which is why it's actually very slow and unpractically big, even if it's awesome. Standard TTL chips should be able to yield more acceptable performance.

Even if building a Z80 computer from existing chips is high in my todolist ( I have a working 68HC11 one), it's not the same as building a Z80 cpu from ttl chips.

I will read the document in your link, thank you. Ideally, do you have a version of this as a downloadable PDF file? I really dont like cloud sources that can disappear as fast as they appear.

f4grx avatar Mar 12 '20 15:03 f4grx

I will read the document in your link, thank you. Ideally, do you have a version of this as a downloadable PDF file? I really dont like cloud sources that can disappear as fast as they appear.

So easy as print > save as PDF :-)

piranna avatar Mar 12 '20 16:03 piranna

If you talk about CPUville, the doc is already in PDF format + big PNG images for schematics.

piranna avatar Mar 12 '20 16:03 piranna

I speak about the google book about building a z80 computer. And no, printing in firefox does not yield a pdf of this book :)

f4grx avatar Mar 12 '20 16:03 f4grx

I speak about the google book about building a z80 computer. And no, printing in firefox does not yield a pdf of this book :)

Sorry, my wrong, I though you were talking about web pages :-) About the book itself, just a matter to try to find it, but being just only about building a Z80 based computer, there are several projects on internet about this, so it's not so much essencial... besides having it in paper and hard-cover :-D

piranna avatar Mar 12 '20 16:03 piranna

Oh my sh*t, the book has an entry in Wikipedia and a copy on Archive.org O_O Then maybe it's an important one...

piranna avatar Mar 12 '20 16:03 piranna

Awesome find, thank you, and they have the precious PDF!

f4grx avatar Mar 12 '20 16:03 f4grx

Awesome find, thank you, and they have the precious PDF!

Yes :-D

piranna avatar Mar 12 '20 16:03 piranna