logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

reloc65 - relocator for o65 object files

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.

Description

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

Name

       reloc65 - relocator for o65 object files

Options

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

       -Ccputype
              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 RMB65C02 - 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)

Synopsis

reloc65 [OPTION]... FILE...

Website

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

                                                  5 March 2024                                        RELOC65(1)

See Also