File convert tools for CP/M-8000 XOUT format to Z8k-COFF format. The XOUT format is linkable and executable format used in CP/M-8000. These tools were made for porting CP/M-8000 system on Linux and Windows. Converted COFF files by xout2coff can be linked by the Gnu ld linker.
This software is released under the MIT License, see LICENSE.
- xout2coff converts XOUT to Z8k-COFF.
- xarch extracts XOUT files from a libray.
- xoutdump shows information about file structure, relocations and symbols.
These commands take one filename, such as xout2coff xxx.rel
.
Down load or clone xoututils. Move src/ to a directory that GOPATH points. In the directory directory type go build xout2coff
, go build xarch
and go build xoutdump
.
You need to convert cpmsys.rel and libcpm.a to buid CP/M-8000. I confirmed it possible to convert these two files in the CP/M-8000 1.1 at The Unofficial CP/M Web site. http://www.cpm.z80.de/download/cpm8k11.zip
To conver libcpm.a, there is a simple script in the xarch directory. The script extracts xout files from a library, converts them to COFF files and makes a library file. This script makes a lot of *.rel and *.o files, so I recomend to do it in a working directory only for this. The generated library file has the same name as original xout library file, and original file is renamed to preserve.