reloc65 - Man Page

relocator for o65 object files

Synopsis

reloc65 [OPTION]... FILE...

Description

reloc65 is a relocator for files in the o65 object format.

Options

-o filename

Set output filename. The default is a.o65.

-v

Verbose output.

-b? addr

Relocate segment ? to addr. ? should be t, d, b or z to represent the text, data, bss or zero segment respectively. See the xa(1) man page for an explanation.

-x?

Extract segment ? from the file instead of writing back the whole file. Valid arguments are t and d for the text or data segment respectively. Not valid for bss or zero.

-X

Extract text and data segment together from the file instead of writing back the whole file. Relocating data segment to the end of the text segment and bss segment to the end of the data segment (-xd and -xb options override the derived address) before extracting.

-C cputype

Define a new CPU type for the output file. Available values are:

6502 - documented 6502 opcodes only

NMOS6502 - 6502 plus undocumented opcodes

65SC02 - extends 6502 with CMOS opcodes, except for BBR/BBS/SMB and RMB

65C02 - extends 65SC02 with the BBR/BBS/SMB and RMB opcodes

65CE02 - extends 65C02 with additional CE-specific opcodes

65816 - 65816 in 6502 emulation mode; extends 65SC02

--help

Show summary of options.

--version

Show version of program.

See Also

file65(1), ldo65(1), uncpk(1), dxa(1), xa(1)

Author

This manual page was written by David Weinehall <tao@acc.umu.se> and Cameron Kaiser <ckaiser@floodgap.com>. Original xa package (C)1989-1997 Andre Fachat. Additional changes (C)1989-2024 Andre Fachat, Jolse Maginnis, David Weinehall and Cameron Kaiser. The current maintainer is Cameron Kaiser.

Website

http://www.floodgap.com/retrotech/xa/

Referenced By

file65(1), ldo65(1), printcbm(1), uncpk(1), xa(1).

5 March 2024