Specifications
3-8 Programmer’s Guide Sega
Psy-Q Development System
Special Functions
filesize("filename")
Returns the length of a specified file, or -1 if it does not exist.
groupsize(X) Returns the current (not final) size of group X.
grouporg(X) returns the ORG address of group X or the group in which X is defined if X is a
symbol or section name.
groupend(X) Returns the end address of group X.
sectend(X) Returns the end address of section X.
sectsize(X) Returns the current (not final) size of section X.
alignment(X) Gives the alignment of previously defined symbol X. This value depends upon the
base alignment of the section in which X is defined, as follows:
Word aligned - value in range 0 -3
Halford aligned- value in range 0 -1
Byte aligned - value always 0