When using this document, keep the following in mind:nti
alGeneral Notice

1. This document is confidential. By accepting this document you acknowledge that you are boundby the terms set forth in the non-disclosure and confidentiality agreement signed separately and /inthe possession of SEGA. If you have not signed such a non-disclosure agreement, please contact
SEGA immediately and return this document to SEGA.

de2. This document may include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes will be incorporated in new versions of thedocument. SEGA may make improvements and/or changes in the product(s) and/or theprogram(s) described in this document at any time.

nfi

3. No one is permitted to reproduce or duplicate, in any form, the whole or part of this document
without SEGA’S written permission. Request for copies of this document and for technicalinformation about SEGA products must be made to your authorized SEGA Technical Services
representative.

Co

4. No license is granted by implication or otherwise under any patents, copyrights, trademarks, orother intellectual property rights of SEGA Enterprises, Ltd., SEGA of America, Inc., or any thirdparty.
5. Software, circuitry, and other examples described herein are meant merely to indicate the characteristics and performance of SEGA’s products. SEGA assumes no responsibility for any intellectual
property claims or other problems that may result from applications based on the examples
describe herein.

GA

6. It is possible that this document may contain reference to, or information about, SEGA products(development hardware/software) or services that are not provided in countries other than Japan.
Such references/information must not be construed to mean that SEGA intends to provide such
SEGA products or services in countries other than Japan. Any reference of a SEGA licensed product/program in this document is not intended to state or simply that you can use only SEGA’slicensed products/programs. Any functionally equivalent hardware/software can be used instead.
7. SEGA will not be held responsible for any damage to the user that may result from accidents or any
other reasons during operation of the user’s equipment, or programs according to this document.

SENOTE: A reader's comment/correction form is provided with thisdocument. Please address comments to :(6/27/95- 002)

SEGA of America, Inc., Developer Technical Support (att. Evelyn Merritt)
150 Shoreline Drive, Redwood City, CA 94065
SEGA may use or distribute whatever information you supply in any way
it believes appropriate without incurring any obligation to you.

SEGA

Co

nfi

denti
al

TM

Parameter Editor
User's ManualDoc. # ST-227-R1-030595© 1995 SEGA. All Rights Reserved.

ntialREADER CORRECTION/COMMENT SHEETKeep us updated!
If you should come across any incorrect or outdated information while reading through the attacheddocument, or come up with any questions or comments, please let us know so that we can make therequired changes in subsequent revisions. Simply fill out all information below and return this form to
the Developer Technical Support Manager at the address below. Please make more copies of this form if
more space is needed. Thank you.
General Information:

Phone

Document number

ST-227-R1-030595

Document nameParameter Editor User's Manual

Date

Corrections:
Correction

nfipg. #GACoChpt.

deYour NameSE

Questions/comments:

Fax:

Where to send your corrections:(415) 802-1717
Attn: Evelyn Merritt,
Developer Technical Support

Mail:

SEGA OF AMERICA
Attn: Evelyn Merritt,
Developer Technical Support
150 Shoreline Dr.
Redwood City, CA 94065

nti
alParameter Editor User’s Manual

SEGA

Confi

deST-227-R1-030595

Parameter Editor User's Manual1nti
alTABLE OF CONTENTSSEGAConfi

deIntroduction .................................................................... 3pEdit Functions .............................................................. 4
Menu Structure ............................................................... 5File Menu ................................................................. 5Edit Menu ................................................................. 5Window Menu .......................................................... 5Using pEdit.................................................................... 6
Editable Data ........................................................... 6
Procedure ................................................................ 6
Parameter Edit Window ..................................................7Find Function.................................................................. 82

nti
al

Parameter Editor User’s Manual

IntroductionSEGAConfideThis manual describes how to use the SCSP/DSP parameter editor called pEdit.

Parameter Editor User's Manual3

pEdit Functions

ntialpEdit provides functions for editing coefficient data and address constant data
included in DSP programs that are downloaded to the SCSP/DSP hardware.

SEGAConfi

de

The SCSP/DSP assembler dAsms can specify several notational modes, such asintegers and fractions, in the coefficient/address constant definition section of thedAsms source code. However, pEdit can display and input coefficient/address
constant data with the same notational modes used in the dAsms source code because it reads the specified notational mode information from the executable format
file.

4Menu Structure

ntialFile Menu
Open...

Selects an assembled (executable format) DSP program from the standard file dialog
and downloads the program to the SCSP. pEdit can handle only DSP program
executable-format files (extension .EXC) that have been created by the SCSP/DSP
assembler dAsms.
Save

de

Saves the DSP program that was modified by pEdit in executable format withoutchanging the file name.
Save As...

Saves the DSP program that was modified by pEdit in executable format under a
new file name that was specified from the standard file dialog.
Revert To Saved

nfi

Returns the parameters being edited to the condition before the parameters wereedited (when the parameters were last saved).
Close

Quit

Terminates pEdit.
Edit Menu
Find

Co

Terminates editing of the currently open DSP program. If the program has not beensaved after parameter modification, this function confirms whether the modifications should be saved. At Close execution, the internal data in pEdit is erased, butthe data for the program in the DSP hardware is not cleared.

GASearches for symbol names of coefficients and addresses defined in the DSP program. The Find function is described later in this manual.
Window Menu
Address

Opens the Address (address constant editing) window, which the DSP uses to accessexternal memory.
CoefSE

Opens the Coefficient (coefficient editing) window, which the DSP uses for operations.

Parameter Editor User's Manual5Using pEdit

ntialExecutable DatapEdit can be used to edit the contents of the coefficient (COEF) RAM and address
constant (ADRS) RAM in the SCSP/DSP hardware.
Procedurede1. Loading executable-format DSP programs
Execute Open from the File Menu to select the executable-format file to be edited.
When a file is selected, the DSP program is downloaded to the SCSP/DSP. Inaddition, two parameter editing windows, the Coefficient window for editing
coefficients and the Address window for editing address constants, are openedon the screen. (The parameter editing windows are described later in thismanual.)nfi

2. Editing parameters
Parameters can be edited in the parameter editing windows (described later) intwo ways:a) Enter a value directly in the text box in which the parameter value isdisplayed.

Cob) Operate the scroll bar with the mouse.

SEGA

3. Saving executable-format DSP programs
To save edited parameters, execute Save or SaveAs... from the File Menu. The
editing results are saved as an executable-format file (extension .EXC).

6

Parameter Edit Window

Confi

denti
alpEdit provides two parameter editing windows: the Coefficient window for editing
coefficient data and the Address window for editing address constant data. Thissection explains the Coefficient window according to the example shown in thefigure below.

• DSP internal RAM address
Displays the DSP hardware internal RAM address at which the data corresponding to the symbol name of the coefficient (COEF) or address constant (ADRS) isstored.

GA• Symbol name
Displays the name used in the coefficient/address constant definition section in
the SCSP/DSP assembler (dAsms) source code.
• Parameter value text box
Displays and inputs parameter values in the SCSP/DSP assembler (dAsms)
source code. The values can be displayed and input according to the notationalmode specified for each data in the coefficient/address constant definition section.

SE• Notational mode display
Displays the notational mode that was specified for the data in the coefficient/address constant definition section of the SCSP/DSP assembler (dAsms) sourcecode.
• Scroll bar
Changes the data when operated with the mouse.

Parameter Editor User's Manual7

Find Function

nfi

denti
al

If the symbol name of the parameter to be edited cannot be immediately located in
the parameter edit windows, use the Find command in the Edit Menu to retrieve thesymbol name of the coefficient or address constant.

SEGA

Co

When the Find command is executed, the window shown above appears. To execute the search, enter the symbol name to be retrieved in the text box, select theAddress or Coefficient button, then click the Find button.

8