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

RAW BINARY to PS-X EXE converter

psx-bin2x - RAW BINARY to PS-X EXE converter Daniel Balster/psxdev-tools
  • SYNOPSIS OF psx-bin2x
    --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
    --address=x,-a	set stack pointer (SP, default: 0x801ffff0)
    --stack=x,-s	set base address (default: 0x80010000)
    --pc=x,-P	set program counter (PC, default: address)
    --gp=x,-G	set global pointer (GP, default: 0)
    --title=x,-t	set a custom area code string
    
  • DESCRIPTION OF psx-bin2x
    psx-bin2x converts a raw binary file into a PSX executable binary. This comes in handy if you can produce code which is not in BFD readable format (lets say with an own or a third party assembler/linker). Additionally to the steps required with psx-bfd2x you also need to specify the program entry point address (--pc) and the loading address (--address). Instead of using psx-bfd2x you could also use a script which first uses psx-objcopy to flatten a BFD binary and then uses psx-bin2x to add the correct header to the binary.
  • EXAMPLES FOR psx-bin2x
    psx-bin2x --pc=0x80010000 --address=0x80010000 -o file.psx file.bin
    will create a PSX executable binary from a raw binary, which will be loaded to address 0x80010000 and with the program entry point 0x80010000.

back to index


Created with psxdev.pl
Copyright ©2000 by Daniel Balster