Giter Site home page Giter Site logo

cpm22's Introduction

cpm22 - source code for CP/M 2.2 CCP and BDOS

Hosted at the cpm22 Github repository.

Introduction

Introduced in 1974, CP/M by Digital Research was one of the first microcomputer operating systems that was not tied to a single computer vendor. It could be adapted to run on almost any 8080 or Z80 microcomputer that had at least 16KB of RAM starting at address 0000h.

Originally much of CP/M was written in the PL/M programming language. With the introduction of CP/M 2.0, the command processor (CCP) and kernel (BDOS) were rewritten in 8080 assembly language.

The Digital Research ASM80 assembler allowed code to be written with mulitple assembly language instructions per line, separated by an exclamation mark ("!"). Although a semicolon (";") was used to introduce a comment, an exclamation mark in a comment would start a new instruction. There are two problems with this syntax:

  • This syntax makes the source code rather difficult to read, when one is accustomed to normal assembler syntax.

  • Few if any assemblers other than DRI's ASM80 support this syntax.

This repository contains the CP/M 2.2 CCP adn BDOS source code, reformatted to cross-assemble with Macro Assembler AS:

http://john.ccac.rwth-aachen.de:8000/as/

The source code has been verified to assemble to the exact binary present on several actual CP/M 2.2 disks, with the exception of the six-byte serial numbers present in the CCP and BDOS.

It is likely that with only minor changes, the source code could be assembled using other assemblers (native or cross).

cpm22's People

Contributors

brouhaha avatar

Watchers

WooZoo avatar

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.