User`s manual
NCR Build Tools
4-4 Single Board Computers SCSI Software UserÕs Manual
4
n710p68k (n710p80k)
NAME
n710p68k (n710p80k) ÑPreprocessor for NCR SCSI SCRIPTS files
SYNOPSIS
extern unsigned relocation[];
extern unsigned script_ptr[];
n710p68k
file
DESCRIPTION
The n710p68k (n710p80k) is the NCR SCSI SCRIPTS preprocessor resident on an
MC68xxx (MC88100) host that preprocesses a single SCRIPTS file prior to
compilation by the SCRIPTS compiler. Execution of this utility is required for
any SCRIPTS file compiled for the Firmware environment to enable all
SCRIPTS data references to be made relocatable. This utility takes as input
either a file.n SCRIPTS source file or a file.i output from cpp and generates as
output file.i containing global declarations for a relocation integer array
relocation[] and SCRIPTS pointer integer array script_ptr[]. Source
modules referencing these global arrays MUST make the following declaration
using the EXACT same names and types:
extern unsigned relocation[];
extern unsigned script_ptr[];
The relocation[] array contains unsigned integer pairs consisting of a token
and associated integer value:
Token Token Value Token Use Associated Integer Value
SCRIPT_BASE 0x98080000 Script pointer token Pointer to SCRIPTS
MEM_SIZE 0x0F000001 Script byte size entry
token
Size in bytes of SCRIPTS
DATA_OFFSET 0x88080000 Data offset token Offset location from
SCRIPTS
CODE_OFFSET 0x80080000 Code offset token Offset location from
SCRIPTS
TABLE_END 0x60000040 End of relocation table
token
N/A