libraries
suborb edited this page May 10, 2017
·
1 revision
To import CP/M binary code in your application a bit of manuality is necessary.
First of all you need to extract the single object modules from the REL library:
rel2z80 `<library.REL>`
We suggest to launch it in a separate folder because it could create many '.O' files. Then you can put them all together in a single library with the command:
z80asm -d -ns -nm -Mo -xlibrary FILE.O FILE2.O FILE3.O ....
The current version of the converter might introduce errors, and there is not an easy way to know the parameter passing mechanism needed by the functions you are going to link.
- Overview
- Platform List
- Unsupported Platforms
- i8080/5 Support
- Homebrew hardware quickstart
- Retargetting
- Building the libraries
- Clang support
- Pragmas
- Adding to Classic
- Introduction
- Library Configuration
- CRT
- Header Files
- Assembly Language
- Library in Depth
- Embedded Platform
- Adding to NewLib
- Benchmarks
- Datatypes
- Debugging
- Decompression
- More than 64k
- Deficiencies
- Compiling Larger Applications
- Importing routines written in 8080 assembly mnemonics
- Using CP/M libraries in REL format with z88dk
- Writing optimal code
- Speeding up Compilation
- CMake usage