Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
playground:wwarthen:start [2018/01/31 15:28]
wwarthen
playground:wwarthen:start [2023/03/16 19:44] (current)
wwarthen
Line 1: Line 1:
-====== RomWBW ====== 
  
-=== Z80/Z180 System Software ===+**RomWBW ReadMe**\\ 
 +Version 3.2\\ 
 +Wayne Warthen  <wwarthen@gmail.com>\\ 
 +16 Mar 2023\\
  
-Version 2.8.1, 2017-07-05+====== Overview ======
  
-Wayne Warthen\\ +RomWBW software provides a complete, commercial quality implementation of CP/M (and workalike) operating systems and applications for modern Z80/180/280 retro-computing hardware systemsA wide variety of platforms are supported including those produced by these developer communities:
-[[mailto:wwarthen@gmail.com|mailto:wwarthen@gmail.com]]+
  
-__Download:__+  * [[https://www.retrobrewcomputers.org|RetroBrew Computers]] 
 +  * [[https://rc2014.co.uk|RC2014]], [[https://groups.google.com/g/rc2014-z80|RC2014-Z80]] 
 +  * [[https://groups.google.com/forum/#!forum/retro-comp|retro-comp]] 
 +  * [[https://smallcomputercentral.com/|Small Computer Central]]
  
-   * {{:software:firmwareos:romwbw:romwbw_v2.7.1.zip|RomWBW v2.8.1 Distribution Package}} +General features include:
-   * {{:software:firmwareos:romwbw:romwbw_architecture.pdf|RomWBW Architecture Document}}+
  
-__Related pages:__+  * Banked memory services for several banking designs 
 +  * Disk drivers for RAM, ROM, Floppy, IDE, CF, and SD 
 +  * Serial drivers including UART (16550-like), ASCI, ACIA, SIO 
 +  * Video drivers including TMS9918, SY6545, MOS8563, HD6445 
 +  * Keyboard (PS/2) drivers via VT8242 or PPI interfaces 
 +  * Real time clock drivers including DS1302, BQ4845 
 +  * OSesCP/M 2.2, ZSDOS, CP/M 3, NZ-COM, ZPM3, QPM, p-System, and FreeRTOS 
 +  * Built-in VT-100 terminal emulation support
  
-  * [[:software:firmwareos:romwbw:errata|Errata]] +RomWBW is distributed as both source code and pre-built ROM and disk images. Some of the provided software can be launched directly from the ROM firmware itself:
-  * [[:software:firmwareos:romwbw:apps|RomWBW Applications]] +
-  * [[:software:firmwareos:romwbw:diskimages|Disk Images]] +
-  * [[:software:firmwareos:romwbw:zsystem|Z-System Notes]]+
  
-===== Summary =====+  * System Monitor 
 +  * Operating Systems (CP/M 2.2, ZSDOS) 
 +  * ROM BASIC (Nascom BASIC and Tasty BASIC) 
 +  * ROM Forth
  
-RomWBW provides a complete software system for all Z80/Z180 CPU-based systems produced by the RetroBrew Computers Community including the SBC 1/2, Zeta 1/2, N8, and Mark IVVirtually all RetroBrew hardware is supported including floppyhard disk (IDE, CF Card, SD Card), Video, and keyboardVT-100 terminal emulation is built-in for all video adapters.+A dynamic disk drive letter assignment mechanism allows mapping operating system drive letters to any available disk mediaAdditionallymass storage devices (IDE Disk, CF Card, SD Card) support the use of multiple slices (up to 256 per device). Each slice contains a complete CP/M filesystem and can be mapped independently to any drive letterThis overcomes the inherent size limitations in legacy OSes and allows up to 2GB of accessible storage on a single device.
  
-In addition to a simple system monitor, RomWBW includes robust adaptations of both CP/M-80 2.and Z-System (ZCPR + ZSDOS). Either operating system can be loaded directly from ROM or installed and loaded from disk storageA selection of standard/useful applications is provided via a built-in ROM diskA RAM disk is also provided for fast/temporary file storage.+The pre-built ROM firmware images are generally suitable for most usersHowever, it is also very easy to modify and build custom ROM images that fully tailor the firmware to your specific preferencesAll tools required to build custom ROM firmware under Windows are included – no need to install assemblers, etcThe firmware can also be built using Linux or MacOS after confirming a few standard tools have been installed.
  
-A pre-built ROM image is included for each platform. If desired, system customization is achieved by making simple modifications to a configuration file and running a build script to generate a custom ROM image. All source and build tools are included in the distribution. The build scripts run under any modern 32 or 64 bit version of Microsoft Windows.+Multiple disk images are provided in the distribution. Most disk images contain a complete, bootable, ready-to-run implementation of a specific operating system. A “combo” disk image contains multiple slices, each with a full operating system implementation. If you use this disk imageyou can easily pick whichever operating system you want to boot without changing media.
  
-John Coffman's UNA hardware BIOS is fully supported by RomWBW. See the section below for more information on running RomWBW on top of UNA.+By design, RomWBW isolates all of the hardware specific functions in the ROM chip itselfThe ROM provides a hardware abstraction layer such that all of the operating systems and applications on a disk will run on any RomWBW-based system. To put it simply, you can take a disk (or CF/SD Card) and move it between systems transparently.
  
-===== Installation =====+A tool is provided that allows you to access a FAT-12/16/32 filesystem. The FAT filesystem may be coresident on the same disk media as RomWBW slices or on stand-alone media. This makes exchanging files with modern OSes such as Windows, MacOS, and Linux very easy.
  
-In general, you will just program your system's ROM with the appropriate ROM image from the RomWBW distribution. This can be done with a ROM programmer. Alternatively, if your system supports in-situ ROM programming, you can use Will Sowerbutts' FLASH application which has been included in recent RomWBW distributions.+====== Acquiring RomWBW ======
  
-The pre-built ROM images will detect and support reasonable range of devices including serial portsvideo adapters, on-board disk interfaces, and PropIO/ParPortProp boards without building a custom ROM.+The [[https://github.com/wwarthen/RomWBW|RomWBW Repository]] on GitHub is the official distribution location for all project source and documentation. The fully-built distribution releases are available on the [[https://github.com/wwarthen/RomWBW/releases|RomWBW Releases Page]] of the repository. On this page, you will normally see Development Snapshot as well as recent stable releases. Unless you have a specific reasonI suggest you stick to the most recent stable release. Expand the “Assets” drop-down for the release you want to downloadthen select the asset named RomWBW-vX.X.X-Package.zip. The Package asset includes all pre-built ROM and Disk images as well as full source code. The other assets contain only source code and do not have the pre-built ROM or disk images.
  
-RomWBW is distributed as a package (zip archive) containing the pre-built ROM images, source codeand all required build toolsTo use a pre-built ROM image, download the distribution package to a modern computer (Windows, Mac, Linux, etc.). Unzip the archive using any of the common zip management applications. You will see that the distribution is broken up into a few sub-directories. The Binary directory contains the pre-built ROM images. Based on the table below, pick the appropriate ROM image:+All source code and distributions are maintained on GitHubCode contributions are very welcome.
  
-^Platform^ROM Image File^Built-in Device Support| +====== Installation & Operation ======
-|SBC V1/V2|SBC_std.rom|Supports onboard PPIDE disk, VGA3/CVDU video/kbd, PropIO (video, kbd, SD Card)| +
-|Zeta V1|ZETA_std.rom|Supports ParPortProp (video, kbd, SD Card)| +
-|Zeta V2|ZETA2_std.rom|Supports ParPortProp (video, kbd, SD Card)| +
-|N8|N8_std.rom|Supports onboard SD Card, video, keyboard; production board assumed (date code >2312)| +
-|Mark IV|MK4_std.rom|Supports onboard SD Card, IDE Disk, VGA3/CVDU video/kbd, PropIO (video, kbd, SD Card)|+
  
-Your system does **not**  need to have the devices listed above to use the pre-built ROM. The devices will be detected and used only if present. All you need to have is the CPU board with ROM/RAM and a serial port. All pre-built ROM images are simple 512KB binary images. If your system utilizes a 1MB ROMyou can just program the image into the first 512KB of the ROMThe ReadMe.txt file in the Binary directory has more detailed information on the pre-built ROM images.+In general, installation of RomWBW on your platform is very simple. You just need to program your ROM with the correct ROM image from the RomWBW distributionSubsequently, you can write disk images on your disk drives (IDE disk, CF CardSD Card, etc.) which then provides even more functionality.
  
-Connect a serial terminal or computer with terminal emulation software to the primary RS-232 port of your CPU boardA null-modem connection will generally be required. Set the line characteristics to 38400 baud, 8 data bits, 1 stop bit, no parity, and no flow controlSelect VT-100 terminal emulation.+Complete instructions for installation and operation of RomWBW are found in the [[https://github.com/wwarthen/RomWBW/raw/dev/Doc/RomWBW%20User%20Guide.pdf|RomWBW User Guide]].
  
-Upon power-up, your terminal should display a sign-on banner within 2 seconds followed by hardware inventory and discovery information. When hardware initialization is completed, a boot loader prompt allows you to choose a ROM-based operating system, system monitor, or boot from a disk device.+===== Documentation =====
  
-===== CPU Speed =====+Documentation for RomWBW includes:
  
-RomWBW ROM images support virtually any CPU speed your system is runningHowever, there are some hardware-oriented caveats to be aware of.+  * [[https://github.com/wwarthen/RomWBW/raw/dev/Doc/RomWBW%20User%20Guide.pdf|RomWBW User Guide]] 
 +  * [[https://github.com/wwarthen/RomWBW/raw/dev/Doc/RomWBW%20System%20Guide.pdf|RomWBW System Guide]] 
 +  * [[https://github.com/wwarthen/RomWBW/raw/dev/Doc/RomWBW%20Applications.pdf|RomWBW Applications]] 
 +  * [[https://github.com/wwarthen/RomWBW/raw/dev/Doc/RomWBW%20ROM%20Applications.pdf|RomWBW ROM Applications]] 
 +  * [[https://github.com/wwarthen/RomWBW/raw/dev/Doc/RomWBW%20Errata.pdf|RomWBW Errata]]
  
-The use of high density floppy disks requires a CPU speed of 8 MHz or greater.+====== Acknowledgments ======
  
-The latest X-Modem file transfer programs (XM.COM, XM-A0.COM, and XM-A1.COM) require CPU speed of 6 MHz or greater to support the default RomWBW serial port speed of 38400 baudOlder variants of the X-Modem programs are included (XM5.COM, XM5-A0, and XM5-A1) which will handle 38400 baud on system running down to 4 MHz.+I want to acknowledge that great deal of the code and inspiration for RomWBW has been provided by or derived from the work of others in the RetroBrew Computers CommunityI sincerely appreciate all of their contributionsThe list below is probably missing many names – please let me know if I missed you!
  
-===== Upgrading from Previous Versions =====+  * Andrew Lynch started it all when he created the N8VEM Z80 SBC which became the first platform RomWBW supported. Some of his code can still be found in RomWBW. 
 +  * Dan Werner wrote much of the code from which RomWBW was originally derived and he has always been a great source of knowledge and advice. 
 +  * Douglas Goodall contributed code, time, testing, and advice in “the early days”. He created an entire suite of application programs to enhance the use of RomWBW. Unfortunately, they have become unusable due to internal changes within RomWBW. As of RomWBW 2.6, these applications are no longer provided. 
 +  * David Giles created support for the Z180 CSIO which is now included SD Card driver. 
 +  * Ed Brindley contributed some of the code that supports the RCBus platform. 
 +  * Phil Summers contributed the Forth and BASIC adaptations in ROM, the AY-3-8910 sound driver, DMA support, and a long list of general code enhancements. 
 +  * Spencer Owen created the RC2014 series of hobbyist kit computers which has exponentially increased RomWBW usage. Some of his kits include RomWBW. 
 +  * Stephen Cousins has likewise created a series of hobbyist kit computers at Small Computer Central and is distributing RomWBW with many of them. 
 +  * The CP/NET client files were developed by Douglas Miller. 
 +  * Phillip Stevens contributed support for FreeRTOS. 
 +  * Curt Mayer contributed the original Linux / MacOS build process. 
 +  * UNA BIOS and FDISK80 are the products of John Coffman. 
 +  * FLASH4 is a product of Will Sowerbutts. 
 +  * CLRDIR is a product of Max Scane. 
 +  * Tasty Basic is a product of Dimitri Theulings. 
 +  * Dean Netherton contributed the sound driver interface and the SN76489 sound driver. 
 +  * The RomWBW Disk Catalog document was produced by Mykl Orders.
  
-Program a new ROM chip from an image in the new distribution. Install the new ROM chip and boot your system. At the boot loader "Boot:" prompt, select either CP/M or Z-System to load the OS from ROM.+Contributions of all kinds to RomWBW are very welcome.
  
-If you have spare ROM chips for your system, it is always safest to keep your existing, working ROM chip and program a new. If the new one fails to boot, you can easily return to the known working ROM. +====== Licensing ======
- +
-If you use a customized ROM image, it is recommended that you first try a pre-built ROM image first and then move on to generating a custom image. +
- +
-It is entirely possible to reprogram your system ROM using the FLASH utility from Will Sowerbutts on your ROM drive (B:). In this case, you would need to transfer the new ROM image to your system using XModem. Obviously, there is some risk to this approach since any issues with the programming or ROM image could result in a non-functional system. +
- +
-Once you have successfully booted your system with the new ROM, you should update the system software from previous releases that you may have copied to disk drives. This is described below. +
- +
-If your system has any bootable drives, then update the OS image on each drive using SYSCOPY. For example, if C: is a bootable drive with the Z-System OS, you would update the OS image on this drive with the command: +
- +
-<code> +
-  B>SYSCOPY C:=B:ZSYS.SYS +
-</code> +
- +
-If you have copies of any of the system utilities on drives other than the ROM disk drive, you need to copy the latest version of the programs from the ROM drive (B:) to any drives containing these programs. For example, if you have a copy of the ASSIGN.COM program on C:, you would update it from the new ROM using the COPY command: +
- +
-<code> +
-  B>COPY B:ASSIGN.COM C: +
-</code> +
- +
-The following programs are maintained with the ROM images and all copies of these programs should be updated when upgrading to a new ROM version: +
- +
-  * ASSIGN.COM +
-  * FORMAT.COM +
-  * OSLDR.COM +
-  * SYSCOPY.COM +
-  * TALK.COM +
-  * FD.COM (previously FDTST.COM) +
-  * XM*.COM +
- +
-===== Usage Instructions ===== +
- +
-A typical set of CP/M-80 2.2 and Z-System applications are included on the ROM file system. The Doc directory of the distribution contains the CP/M, ZSDOS, and ZCPR user manuals which provide the primary usage information. Note that the Z-System applications will generally not run under CP/M. +
- +
-The following custom applications are included on the ROM disk to enhance the operation of RomWBW: +
- +
-^Appplication^Description| +
-|ASSIGN.COM|Add, change, and delete drive letter assignments. Use ASSIGN /? for usage instructions.| +
-|SYSCOPY.COM|Copy system image to a device to make it bootable. Use SYSCOPY with no parms for usage instructions.| +
-|FD.COM|Format and test floppy disks. Menu driven interface.| +
-|OSLDR.COM|Load a new OS on the fly. For example, you can switch to Z-System when running CP/M. Use OSLDR with no parms for usage instructions.| +
-|FORMAT.COM|Will someday be a command line tool to format floppy disks. Currently does nothing!| +
-|XM.COM|XModem file transfer program adapted to hardware. Note that N8 and Mark IV have XM-A0 and XM-A1 corresponding to the two serial ports on those systems.| +
-|FLASH.COM|Will Sowerbutts' in-situ ROM programming utility.| +
- +
-===== UNA Hardware BIOS ===== +
- +
-John Coffman has produced a new generation of hardware BIOS called UNA. In addition to the classic ROM images described above, RomWBW comes with a UNA-based image that combines the UNA BIOS with the RomWBW OS implementations and applications. +
- +
-UNA is customized dynamically using a ROM based setup routine and the setup is persisted in the system NVRAM of the RTC chip. This means that a single UNA-based ROM image can be used on most of the RetroBrew platforms and is easily customized. UNA also supports FAT file system access that can be used for in-situ ROM programming and loading system images. +
- +
-While John is likely to enhance UNA over time, there are currently a few things that UNA does not support: +
- +
-  * Floppy Drives +
-  * Video/Keyboard/Terminal Emulation +
-  * Zeta 1 and N8 Systems +
-  * Some older support boards +
- +
-If you wish to try the UNA variant of RomWBW, then just program your ROM with the ROM image called "UNA_std.rom" in the Binary directory. This one image is suitable on all of the platforms and hardware UNA supports. +
- +
-Please refer to the [[:software:firmwareos:una:start|UNA BIOS Firmware Page]] for more information on UNA. +
- +
-===== CP/M vs. Z-System ===== +
- +
-There are two OS variants included in this distribution and you may choose which one you prefer to use. Both variants are now included in the pre-built ROM images. You will be given the choice to boot either CP/M or Z-System at startup. +
- +
-The traditional Digital Research (DRI) CP/M OS is the first choice. The Doc directory contains a manual for CP/M usage ("CPM Manual.pdf"). If you are new to the RetroBrew Computer systems, I would currently recommend using the CP/M variant to start with simply because it has gone through more testing and you are less likely to encounter problems. +
- +
-The other choice is to use the most popular non-DRI CP/M "clone" which is generally referred to as Z-System. Z-System is intended to be an enhanced version of CP/M and should run all CP/M 2.2 applications. It is optimized for the Z80 CPU (as opposed to 8080 for CP/M) and has some significant improvements such as date/time stamping of files. For further information on the RomWBW implementation of Z-System, see the wiki page [[:playground:wwarthen:zsystem|Z-System Notes]]. Additionally, the official documentation for Z-System is included in the RomWBW distribution Doc directory ("ZSDOS Manual.pdf" and "ZCPR Manual.pdf"). +
- +
-===== ROM Customization ===== +
- +
-The pre-built ROM images are configured for the basic capabilities of each platform. If you add board(s) to your system, you will need to customize your ROM image to include support for the added board(s). +
- +
-Essentially, the creation of a custom ROM is accomplished by updating a small configuration file, then running a script to compile the software and generate the custom ROM image. At this time, the build process runs on Windows 32 or 64 bit versions. All tools (compilers, assemblers, etc.) are included in the distribution, so it is not necessary to setup a build environment on your computer. +
- +
-For those who are interested in more than basic system customization, note that all source code is included (including the operating systems). +
- +
-Note that the ROM customization process does not apply to UNA. All UNA customization is performed within the ROM setup script. +
- +
-Complete documentation of the customization process is found in the ReadMe.txt file in the Source directory. +
- +
-===== Source Code Respository ===== +
- +
-All source code and distributions are maintained on GitHub. Code contributions are very welcome.+
  
-[[https://github.com/wwarthen/RomWBW|https://github.com/wwarthen/RomWBW]]+RomWBW is free softwareyou can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
  
-===== Distribution Directory Layout =====+RomWBW is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  
-The RomWBW distribution is a compressed zip archive file organized in set of directories. Each of these directories has it's own ReadMe.txt file describing the contents in detailIn summarythese directories are:+You should have received copy of the GNU General Public License along with RomWBWIf notsee https://www.gnu.org/licenses/.
  
-^Directory^Description| +Portions of RomWBW were created bycontributed byor derived from the work of othersIt is believed that these works are being used in accordance with the intentions and/or licensing of their creators.
-|Binary|The final output files of the build process are placed here. Most importantlyare the ROM images with the file names ending in ".rom".| +
-|Doc|Contains various detailed documentation including the operating systemsRomWBW architecture, etc.| +
-|Source|Contains the source code files used to build the software and ROM images.+
-|Tools|Contains the MS Windows programs that are used by the build process or that may be useful in setting up your system.|+
  
-===== Acknowledgements =====+If anyone feels their work is being used outside of it’s intended licensing, please notify:
  
-While I have heavily modified much of the code, I want to acknowledge that much of the work is derived or copied from the work of others in the RetroBrew Computers Community including Andrew Lynch, Dan Werner, Max Scane, David Giles, John Coffman, and probably many others I am not clearly aware of (let me know if I omitted someone!).+> Wayne Warthen\\ 
 +> <wwarthen@gmail.com>
  
-I especially want to credit Douglas Goodall for contributing code, time, testing, and adviceHe created an entire suite of application programs to enhance the use of RomWBWHowever, he is looking for someone to continue the maintenance of these applications and they have become unusable due to changes within RomWBW. As of RomWBW 2.6, these applications are no longer provided.+RomWBW is an aggregate workIt is composed of many individual, standalone programs that are distributed as a whole to function as a cohesive systemEach program may have it’s own licensing which may be different from other programs within the aggregate.
  
-David Giles has contributed support for the CSIO support in the SD Card driver.+In some cases, a single program (e.g., CP/M Operating System) is composed of multiple components with different licenses. It is believed that in all such cases the licenses are compatible with GPL version 3.
  
-UNA BIOS is a product of John Coffman.+RomWBW encourages code contributions from others. Contributors may assert their own copyright in their contributions by annotating the contributed source code appropriately. Contributors are further encouraged to submit their contributions via the RomWBW source code control system to ensure their contributions are clearly documented.
  
-===== Getting Assistance =====+All contributions to RomWBW are subject to this license.
  
-The best way to get assistance with RomWBW or any aspect of the RetroBrew Computers projects is via the community forum.+====== Getting Assistance ======
  
-[[https://www.retrobrewcomputers.org/forum/|https://www.retrobrewcomputers.org/forum/]]+The best way to get assistance with RomWBW or any aspect of the RetroBrew Computers projects is via one of the community forums:
  
-Also feel free to email Wayne Warthen at [[wwarthen@gmail.com|]].+  * [[https://www.retrobrewcomputers.org/forum/|RetroBrew Computers Forum]] 
 +  * [[https://groups.google.com/forum/#!forum/rc2014-z80|RC2014 Google Group]] 
 +  * [[https://groups.google.com/forum/#!forum/retro-comp|retro-comp Google Group]]
  
-\\+Submission of issues and bugs are welcome at the [[https://github.com/wwarthen/RomWBW|RomWBW GitHub Repository]].
  
 +Also feel free to email Wayne Warthen at <wwarthen@gmail.com>.
  
playground/wwarthen/start.1517430533.txt.gz · Last modified: 2018/01/31 15:28 by wwarthen
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0