BFD to PS-X EXE converter[top|sitemap|download|docs]

BFD to PS-X EXE converter

psx-bfd2x - BFD to PS-X EXE converter Daniel Balster/psxdev-tools
  • SYNOPSIS OF psx-bfd2x
    --quiet,-q 	be quiet
    --help,-h 	print this text
    --verbose,-v 	be verbose
    --version,-V 	print binary version
    --output=x,-o	set output file
    --SCEE,-E 	set area code for europe
    --SCEA,-A 	set area code for north america
    --SCEI,-I 	set area code for japan
    --stack=x,-s	set stack pointer (SP, default: 0x801ffff0)
    --use-gp,-g 	use global pointer of object file (GP, default: 0x00000000)
    --title=x,-t	set a custom area code string
    
  • DESCRIPTION OF psx-bfd2x
    psx-bfd2x will convert a BFD binary into a PSX executable binary. BFD binaries are produced by psx-ld. The BFD binary must be stripped, you should do a psx-strip before the conversion (conversion will fail if the binary isn't stripped). You can set the area code copyright or an own title. I'm not sure about the GP register value; it seems to be more required than I initially thought - so you always should use the -g option switch!
  • EXAMPLES FOR psx-bfd2x
    psx-strip file.bfd
    psx-bfd2x -o file.psx -g -t "my title" file.bfd
    
    This will strip debug and symbol informations from the GNU binary and convert it into a suitable PSX binary.
  • NOTES ON psx-bfd2x
    The kernel function LoadExec() fails on binaries which are not 2K padded. psx-bfd2x keeps track of that.

back to index


Created with psxdev.pl
Copyright ©2000 by Daniel Balster