Giter VIP home page Giter VIP logo

superfabius / z80-mbc2 Goto Github PK

View Code? Open in Web Editor NEW
151.0 151.0 34.0 48 MB

The Z80-MBC2 is an easy to build Z80 SBC (Single Board Computer). It is the "evolution" of the Z80-MBC, with a SD as "disk emulator" and with a 128KB banked RAM for CP/M 3 (but it can run CP/M 2.2 and QP/M 2.71 too).

Home Page: https://hackaday.io/project/159973-z80-mbc2-4ics-homemade-z80-computer

License: GNU General Public License v3.0

C++ 91.92% Assembly 3.54% BASIC 4.54%

z80-mbc2's People

Contributors

superfabius avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

z80-mbc2's Issues

Suitable for automated benchmark execution?

Hello, I am looking for an SBC that can be easily programmed from a host system and interface with that host system via a serial connection. This should not require any mechanic interaction (i.e. no plugging / unplugging / EPROM insertion, etc).

Basically, I want to use it as one can use modern development boards for microcontrollers.

Will this work with the Z80-MBC2? If yes, is where can I find the relevant documentation?

Background: The SDCC compiler has various backends. To track code size and performance regressions, benchmarks are compiled with new SDCC revisions and executed on STM8 and MCS-51 boards (resulting in the graphs at https://sourceforge.net/p/sdcc/code/HEAD/tree/trunk/sdcc-extra/historygraphs/).

However, currently no z80-related port is tested that way (despite Z80/GameBoy/Z180 retrocomputing being an important use case for SDCC). So I'm looking for a well-documented SBC that uses a Z80 or related to close that gap.

No serial flow control

The z80-MBC2 does not implement flow control Neither in hardware - pins are o/c nor in software.

This causes a major problem attempting to send files to the MBC, dropped characters.

Using Putty normal terminal operation is on the whole ok (note Putty is very slow at sending characters and certainly does not fully feed the 115200 baud rate its character rate is more like 100 cps ie 1k baud)

Teraterm is much faster and totally overruns the Z80, If you want to get any sense out of it you need to include 250 mS (ie 4 cps) delays after each character.

This makes any attempt to paste files from PC to Z80 a non starter and seems to cause problems with Xmodem file transfer.

I have not looked further at the Mega implementation as yet but am not sure that it is going to cope.

Option to change baud rate with recompliing the Mega code would be appreciated.

mbasic.com 5.21 corrupt in sd

After building up a few of these, and also double-checking on the MBC2-V20 system, I have come to the conclusion that the version of mbasic.com is corrupt on the distribution disk. It would randomly cause crashes of the Z80 (and V20) systems, particularly running startrek.bas.

Running mbasic in DDT showed it outputting to various ports (including 0xf2) on init, so I suspect this was a "customized" version. The version on http://www.retroarchive.org/cpm/lang/lang.htm seems to be authoritative, and does not crash on any of my systems.

Installation of recent CollapseOS releases ; HOW ?

Hello,

I built a Z80-MBC2 board a few years ago, and I'm now trying to make something that works with CollapseOS.
The operating system works, and I also see that the version that is in the archive is several years old. In s220718-r240620_sd_v1 see the creation date of cos.bin : June 23, 2020.
I would like to upgrade to a recent version, so I also checked the Collapse website : www.collapseos.org
There I find a whole series of newer releases, but no clear explanation how to install them. The description I see on Github, namely : https://github.com/hsoft/collapseos/blob/master/doc/hw/z80/z80mbc2.txt
no longer seems complete.

The designer (Virgil Dupras) has informed me that CollapseOS is "self-hosting". But that still doesn't clarify the mthod that cos.bin was generated. Can you give me some insight on how you handled that?

Concrete questions :

  1. Which CollapseOS edition / revision is distributed for the Z80-MBC2 in the above archive file ?

  2. Is there a source file with Z80 code used to create cos.bin ? Where do I find it?

  3. Which compiler, and on what kind of development machine was used?

The Z80-MBC2 has unique hardware to perform character I/O to the terminal and access files on the SD card.
4) Have any adjustments been made specifically for the connection with IOS on the Z80-MBC2? If so, how?

  1. The CollapseOS POSIX scripts create a file called : blk.fs
    That is as I understood the disk contents for CollapseOS. How was this converted to DS4N00.DSK ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.