xoututils

module
v0.0.0-...-619a8dd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2021 License: MIT

README

Xoututils

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.

License

This software is released under the MIT License, see LICENSE.

Commands

  • 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.

How to Build

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.

To Build CP/M-8000 with GNU Binutils

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.

Directories

Path Synopsis
src

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL