Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MiguelVis/mescc
Mike's Enhanced Small C Compiler for Z80 and CP/M.
https://github.com/MiguelVis/mescc
c-compiler c-language cp-m cpm mescc small-c z80 z80-assembler
Last synced: 2 months ago
JSON representation
Mike's Enhanced Small C Compiler for Z80 and CP/M.
- Host: GitHub
- URL: https://github.com/MiguelVis/mescc
- Owner: MiguelVis
- License: gpl-2.0
- Created: 2020-03-06T20:58:37.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-11-25T21:25:01.000Z (about 3 years ago)
- Last Synced: 2024-11-14T01:02:16.112Z (2 months ago)
- Topics: c-compiler, c-language, cp-m, cpm, mescc, small-c, z80, z80-assembler
- Language: C
- Size: 371 KB
- Stars: 46
- Watchers: 6
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.MD
- License: copying.txt
Awesome Lists containing this project
- awesome-rc2014 - mescc
README
MESCC / Mike's Enhanced Small C Compiler
========================================MESCC v1.24 - 14 Sep 2021
Mike's Enhanced Small C Compiler for Z80 and CP/M
Copyright (c) 1999-2021 Miguel García / FloppySoftware
**MESCC** is my project of a **C compiler** for the [CP/M operating system](https://en.wikipedia.org/wiki/CP/M) and the Z80 cpu.
[http://www.floppysoftware.es](http://www.floppysoftware.es)
**NOTE**: This project has been extracted from my [RetroProjects](https://github.com/MiguelVis/RetroProjects) repository.
Overview
--------As it is written in MESCC, it can compile itself.
It is based on the version 1.7 (Oct. 1985) of [Small C](https://en.wikipedia.org/wiki/Small-C) by Ron Cain, Mike Bernson's and John Hill.
MESCC outputs **Z80 assembler** code that can be assembled with **ZSM/Z80ASMUK** (supplied with MESCC), in order to build an HEX file.
The HEX file can be converted to an executable COM file with LOAD (supplied with CP/M 2), HEXCOM (supplied with CP/M 3) or **HEXTOCOM** (supplied with MESCC).
Also is supplied **CCOPT**, a peephole optimizer.
I use MESCC for nearly all my software projects.
![MESCC image](http://www.floppysoftware.es/images/cpm-mescc.jpg "MESCC image")
License
-------This program is freeware, and it's licensed under the GNU GPL license.
See the file `copying.txt` for more details.
About this file
---------------This file is only an introduction to MESCC.
Please, read [MESCC.TXT](mescc.txt) for more information.