dtrg e9e9c8ac50 Configured distr system for the 6.0pre3 release. 17 anos atrás
..
include d6fc2d19f9 Added cpm platform. 17 anos atrás
libsys f4e3111f50 Fixed the trap code to write out the error message correctly. 17 anos atrás
.distr e9e9c8ac50 Configured distr system for the 6.0pre3 release. 17 anos atrás
README 65e8bffed3 Documented floating-point status. 17 anos atrás
boot.s 7e624e2f1d Added suppot for BSS clearing and command line parsing. 17 anos atrás
descr e9e9c8ac50 Configured distr system for the 6.0pre3 release. 17 anos atrás
pmfile d6fc2d19f9 Added cpm platform. 17 anos atrás

README

# $Source$
# $State$
# $Revision$


The cpm platform
=================

cpm is an i80-based BSP that generates CP/M executables that can be run on any
CP/M-compliant machine.

This port only implements a very limited set of syscalls --- and most of those
are stubs required to make the demo apps link. File descriptors 0, 1 and 2
represent the console. All reads block. There's enough TTY emulation to allow
\n conversion and local echo (but it can't be turned off).

There's a special, if rather minimilist, interface to give applications access
to CP/M. See include/cpm.h for details.

IEEE floating point is not available. Attempts to use floating-point numbers
will cause the program to terminate.


Example command line
====================

ack -mcpm -O -o cpm.com examples/paranoia.c

The file cpm.com can then be run.

(Although note that Paranoia is very big, and you'll need a CP/M machine with
lots of memory for it to fit. Which it does, just.)


David Given
dg@cowlark.com