Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
RELOC65(1)		     General Commands Manual		      RELOC65(1)

NAME
     reloc65 - 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 re-
	    spectively. 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/

				  5 March 2024			      RELOC65(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=reloc65&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help