Specifications

12-2 Programmer’s Guide Sega
Psy-Q Development System
PSYLINK Command Line
Description The PSYLINK link process is controlled by a series of parameters on the command
line, and by the contents of a Linker command file. The syntax for the command line
is as follows:
Syntax PSYLINK [switches] objectfile(s),output,symbolfile,mapfile,libraries
If a parameter is omitted, the separating comma must still appear unless it is the last
parameter of the line.
Switches Switches are preceded by a forward slash (/), and are as follows:
/b Specifies that the linker should run in 'big' mode. This allows
the linker to link larger programs but with a link-time penalty.
/c Tells the linker to link case sensitive; if it is omitted, all names
are converted to upper case.
/d Debug Mode - perform link only.
/e symb=value Assigns value to symbol.
/i Invokes a window containing Link details.
/m Output all external symbols to the map file.
/n maximum Set the maximum number of object files, or library modules,
that can be linked, 1 to 32768; default = 256
Higher values require larger amounts of memory.
/o address Set an address for an ORG statement.
/o ? address Request to Target to assign memory for ORG.
/p Output padded pure binary object code; ORGed sections of
code are separated with random data. (equivalent of /pb
switch on assembler)
/ps Output ASCII representation of binary file in Motorola
s-record format.