Menu

Tree [ff986b] master /
 History

HTTPS access


File Date Author Commit
 builtins 2020-06-12 Paul Osmialowski Paul Osmialowski [cd825b] builtins: add builtin functions for -Os builds
 conio 2020-06-02 Paul Osmialowski Paul Osmialowski [6dcd3d] NFC: remove extra lines
 cpm 2020-06-22 Paul Osmialowski Paul Osmialowski [aec66d] compatibility: rewrite crt for GSX compatibilit...
 crt 2020-06-22 Paul Osmialowski Paul Osmialowski [6992c7] NFC: add missing 'end'
 ctype 2020-05-13 Paul Osmialowski Paul Osmialowski [fc23e8] ctype: fix macros as they were extremely danger...
 dirent 2020-06-15 Paul Osmialowski Paul Osmialowski [a64496] dirent: add _free_dirent_list, alphasort and sc...
 fcntl 2020-06-05 Paul Osmialowski Paul Osmialowski [91af73] fcntl, unistd, cpm: correct the interplay betwe...
 include 2021-06-02 Paul Osmialowski Paul Osmialowski [ff986b] NFC: unify struct definition style
 io 2020-06-14 Paul Osmialowski Paul Osmialowski [646748] io: simplify outs* functions
 libgen 2020-06-09 Paul Osmialowski Paul Osmialowski [7c7048] NFC: libgen: include stdlib.h only when safety ...
 malloc 2020-05-26 Paul Osmialowski Paul Osmialowski [14ef03] stdio: fix puts function to follow the standard...
 sched 2020-06-07 Paul Osmialowski Paul Osmialowski [02755f] time, sched, cpm, unistd: add leisure functions
 setjmp 2020-06-02 Paul Osmialowski Paul Osmialowski [9e4710] setjmp: add longjmp and setjmp functions
 stdio 2020-06-18 Paul Osmialowski Paul Osmialowski [242d6a] stdio: add fscanf, sscanf, vfscanf and vsscanf ...
 stdlib 2020-06-05 Paul Osmialowski Paul Osmialowski [01477d] stdlib: add abs and labs functions
 string 2020-06-10 Paul Osmialowski Paul Osmialowski [aaeeb7] string: add strcspn and strspn functions
 strings 2020-06-10 Paul Osmialowski Paul Osmialowski [e82ede] strings: add bzero function
 tests 2020-07-14 Paul Osmialowski Paul Osmialowski [dd3c09] tests: adjust to the new version of clang compi...
 time 2020-06-08 Paul Osmialowski Paul Osmialowski [36e9fe] time: add timezone and asctime, asctime_r, ctim...
 ulibc 2020-06-08 Paul Osmialowski Paul Osmialowski [36e9fe] time: add timezone and asctime, asctime_r, ctim...
 unistd 2020-06-22 Paul Osmialowski Paul Osmialowski [aec66d] compatibility: rewrite crt for GSX compatibilit...
 .gitignore 2020-06-12 Paul Osmialowski Paul Osmialowski [56f2ff] tests: uppercase RUNME.COM
 COPYING.txt 2020-05-09 Paul Osmialowski Paul Osmialowski [c5b9b6] legal: add COPYING.txt file
 Makefile 2020-06-15 Paul Osmialowski Paul Osmialowski [920bc5] dirent: add closedir, opendir, readdir, rewindd...
 README.md 2020-06-28 Paul Osmialowski Paul Osmialowski [8a8193] NFC: add build note into README.md
 compiler.def 2020-05-17 Paul Osmialowski Paul Osmialowski [bcadf9] build: there's no .bss section in a .COM file, ...
 emulator.def 2020-05-09 Paul Osmialowski Paul Osmialowski [f217d4] tests: first test cases added: hello, world

Read Me

CP/M ulibc

The aim of this project is to develop minimalistic C library for CP/M using
plain C and Z80 assembly language. It should compile with LLVM's Clang patched
for Z80 architecture support and GNU as from binutils package built with
--target=z80-none-elf flag passed to its configure script.

Before starting a build process of this library, the settings (paths mostly)
held in compiler.def and emulator.def files need to be adjusted.

The tests are started by invoking make test. In order to proceed, they require
Joseph Allen's CP/M emulator (see https://github.com/jhallen/cpm.git).