/* Imported from Wayback Machine Original URL : https://retrobrewcomputers.org/doku.php?id=builderpages:plasmo:z80mb64 Snapshot date: 2025-02-09 Generator : wayback-archiver */ ==== Table of Contents ==== [[#z80mb64_a_z80-based_hobbyist-friendly_rc2014-compatible_motherboard|Z80MB64, A Z80-based, Hobbyist-friendly, RC2014-compatible Motherboard]] [[#introduction|Introduction]] [[#features|Features]] [[#functions|Functions]] [[#design_information|Design information]] [[#software|Software]] [[#instruction_and_manuals|Instruction and Manuals]] ====== Z80MB64, A Z80-based, Hobbyist-friendly, RC2014-compatible Motherboard ====== ===== Introduction ===== Z80MB64 is based on [[builderpages:plasmo:z80sbc64|Z80SBC64]] with 3 RC2014 expansion connectors. All the software that runs on Z80SBC64 will also run on Z80MB64. [[https://www.retrobrewcomputers.org/lib/exe/fetch.php?tok=b89299&media=https://www.retrobrewcomputers.org/lib/plugins/ckgedit/fckeditor/userfiles/image/builderpages/plasmo/z80mb64/dsc_41900125.jpg|{{https://retrobrewcomputers.org/lib/exe/fetch.php?w=600&h=583&tok=3e4633&media=https%3A%2F%2Fwww.retrobrewcomputers.org%2Flib%2Fplugins%2Fckgedit%2Ffckeditor%2Fuserfiles%2Fimage%2Fbuilderpages%2Fplasmo%2Fz80mb64%2Fdsc_41900125.jpg?600x583|www.retrobrewcomputers.org_lib_plugins_ckgedit_fckeditor_userfiles_image_builderpages_plasmo_z80mb64_dsc_41900125.jpg}}]] [[https://www.retrobrewcomputers.org/lib/exe/fetch.php?tok=40e342&media=https://www.retrobrewcomputers.org/lib/plugins/ckgedit/fckeditor/userfiles/image/builderpages/plasmo/z80mb64/dsc_41950125.jpg|{{https://retrobrewcomputers.org/lib/exe/fetch.php?w=600&h=451&tok=97363e&media=https%3A%2F%2Fwww.retrobrewcomputers.org%2Flib%2Fplugins%2Fckgedit%2Ffckeditor%2Fuserfiles%2Fimage%2Fbuilderpages%2Fplasmo%2Fz80mb64%2Fdsc_41950125.jpg?600x451|www.retrobrewcomputers.org_lib_plugins_ckgedit_fckeditor_userfiles_image_builderpages_plasmo_z80mb64_dsc_41950125.jpg}}]] ===== Features ===== Z80 running at 22MHz Battery-backed 128K RAM in four 32-K banks. No boot ROM, use serial port to load bootstrap software initially Serial port operates at 115200-N-8-1 Compact flash interface CP/M 2.2 ready Three RC2014 expansion connectors 102mm x 102mm pc board ===== Functions ===== The heart of Z80MB64 is a 5V CPLD, Altera EPM7064S, that implements the serial port receive function, generates baud clock, interfaces to compact flash, and divides memory into 4 banks of 32KB. The design has no ROM. The traditional ROM software are stored in battery-backed RAM. The serial bootstrap function loads the ROM-equivalent software into RAM when the board is powered up the first time; the system boots off the software in RAM for subsequent power cycles or resets. The ROM-equivalent software are protected by switching to banks inaccessible to normal software. Instead of the EPM7128S, a smaller EPM7064S is used because it is available in PLCC44 package that can be socketed in a 44-pin PLCC through-hole socket. This is the design compromise to enable a hobbyist-friendly board with through-hole components and an easy-to-solder surface mount connector. Because of the limited resources on EPM7064S, the memory supported is 128KB with 4 banks of 32KB. Furthermore, the serial port transmit function is emulate in software (bit banging). [[https://www.retrobrewcomputers.org/lib/exe/fetch.php?tok=85ac99&media=https://www.retrobrewcomputers.org/lib/plugins/ckgedit/fckeditor/userfiles/image/builderpages/plasmo/z80mb64/z80mb64_connectors.jpg|{{https://retrobrewcomputers.org/lib/exe/fetch.php?w=500&h=435&tok=6e5c95&media=https%3A%2F%2Fwww.retrobrewcomputers.org%2Flib%2Fplugins%2Fckgedit%2Ffckeditor%2Fuserfiles%2Fimage%2Fbuilderpages%2Fplasmo%2Fz80mb64%2Fz80mb64_connectors.jpg?500x435|www.retrobrewcomputers.org_lib_plugins_ckgedit_fckeditor_userfiles_image_builderpages_plasmo_z80mb64_z80mb64_connectors.jpg}}]] ===== Design information ===== [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:z80mb64:z80mb64_scm.pdf|Schematic]] of Z80MB64 Gerber [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:z80mb64:z80mb64_r0.zip|photoplots]]. The pc board was manufactured by JLCPCB Altera EPM7064SLC44 [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:z80sbc64:z80sbc64_epm7064.zip|design file.]] The design are created as schematic in Quartus 8.1. This is a PDF file of the [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:z80sbc64:z80sbc64_cpld_scm.pdf|schematic]] [[builderpages:plasmo:z80mb64:memmap|Memory and I/O map]] [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:z80mb64:bill_of_materials_for_z80mb64.pdf|Bill of Materials]] ==== Software ==== [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:z80sbc64:z80sbcld.zip|Z80SBCLD]] is the bootstrap loader. Configure Z80MB64 to Serial Bootstrap mode and send Z80SBCLD.BIN as binary file to Z80MB64 immediately after reset. Z80MB64 will respond with “**Z80SBC64 Loader v0.3**” sign on message and ready to receive ZMon64 load file. Once ZMon64 is loaded, it will start program execution at 0xB400 which is the entry point of ZMon64. [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:z80sbc64:zmon64_r0_7.zip|ZMon64 rev 0.7]], (updated 1/10/20, minor revision) improve the 'R' command, add 'c1' command to store SCMonitor in RAM and 'b1' command to execute the stored SCMonitor. Add 'c3' command to store CP/M 3 and 'b3' command to execute CP/M 3. [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:z80sbc64:scmonitor.hex|SCMonitor]] is a sophisticated monitor developed by [[https://smallcomputercentral.com/|Steve Cousins]]. It has many features, among them a version of MS BASIC that runs well on Z80MB64. After loading the hex file, type 'g0000' to start up SCMonitor. [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:z80sbc64:scmonitor_startrek.hex|SCMonitor+StarTrek]] This version of SCMonitor already have the StarTrek program loaded in BASIC. Type 'WBASIC' in SCMonitor prompt and then 'RUN'. [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:z80sbc64:cpm22all_z80sbc64.zip|cpm22all]] is CP/M2.2 BDOS/CCP/BIOS for Z80MB64. Use '**c2**' command to store it in CF disk and use '**b2**' command to boot into CP/M2.2. The software is assembled using Zilog ZDS v3.68. [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:z80sbc64:xmodem.hex|XMODEM]] is the file transfer program to bring in all CP/M programs from PC to Z80MB64. While in monitor, send XMODEM.HEX as Intel Hex file, type 'b2' to boot into CP/M2.2, then type 'save 17 xmodem.com'. XMODEM.COM will be created as the first file on the CP/M disk. To invoke XMODEM to receive files, type 'xmodem filename /r/c/z1' and go to the terminal program to send file via xmodem. [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:zz80cf:cpm22dri.zip|CPM22DRI]] is system files for CP/M2.2. Unzip the file to CPM22DRI.ARJ then use XMODEM to transfer it to CP/M. Once transferred, use unarj.com to decompress the files. CPM22DRI image is created using cpmtools. [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:z80sbc64:cpm3ldr.hex|CPM3LDR]] is CP/M 3 loader program. Upload CPM3LDR.hex and type '**c3**' to install it in the reserved sectors in CF drive. type '**b3**' to boot CP/M 3 [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:z80sbc64:z80sbc64_cpm3.zip|CPM3 BIOS]] for Z80MB64 and Z80SBC64. They are assembled with ZMAC. [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:z80sbc64:cpm3all.zip|CPM3ALL]] is CP/M 3 distribution files. Unzip to CPM3ALL.ARJ, then xmodem to Z80MB64 and use unarj.com to decompress into drive A: [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:zz80cf:unarj.zip|unarj.com]] is the CP/M program that decompresses CPM3ALL.ARJ and CPM22DRI.ARJ above. The command is “**unarj e filename**” [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:z80mb64:zorkall.zip|Zorkall]] is Zork1, Zork2, and Zork3 compressed with arj. Use unarj.com above to decompress. [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=builderpages:plasmo:z80mb64:htc309.zip|HTC309]] is version 3.09 of HiTech C that has been released into publica domain. It is compressed with arj, use unarj.com above to decompress ===== Instruction and Manuals ===== [[builderpages:plasmo:z80mb64:z80mb64_getting_started|Getting started]] guide [[builderpages:plasmo:z80mb64:zmon64_manual|ZMon64]] manual Pictorial [[builderpages:plasmo:z80mb64:assembly|assembly guide]] [[builderpages:plasmo:z80mb64:newcfmacro|Creating new CF disk]] for Z80SBC64 and Z80MB64 with a TeraTerm Macro