-
Notifications
You must be signed in to change notification settings - Fork 1
/
frmCompileDlg.dfm
346 lines (346 loc) · 8.08 KB
/
frmCompileDlg.dfm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
object CompileDlg: TCompileDlg
Left = 0
Top = 0
BorderIcons = [biSystemMenu]
BorderStyle = bsDialog
Caption = 'Compile Song'
ClientHeight = 361
ClientWidth = 366
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
Position = poMainFormCenter
ShowHint = True
OnShow = FormShow
DesignSize = (
366
361)
PixelsPerInch = 96
TextHeight = 13
object lblCompileAddress: TLabel
Left = 29
Top = 11
Width = 95
Height = 13
Hint = 'The memory address for the start of the compiled player routine'
Alignment = taRightJustify
Caption = 'Compile to address:'
end
object lblBorder: TLabel
Left = 54
Top = 38
Width = 70
Height = 13
Hint = 'The border colour of the Spectrum display during playback'
Alignment = taRightJustify
Caption = 'Border Colour:'
end
object Label1: TLabel
Left = 51
Top = 119
Width = 73
Height = 13
Alignment = taRightJustify
Caption = '&Beeper Engine:'
end
object Label3: TLabel
Left = 67
Top = 65
Width = 57
Height = 13
Alignment = taRightJustify
Caption = 'Output File:'
end
object lblTranspose: TLabel
Left = 70
Top = 92
Width = 54
Height = 13
Alignment = taRightJustify
Caption = 'Transpose:'
end
object pnlTMB: TPanel
Left = 0
Top = 218
Width = 369
Height = 101
Anchors = [akLeft, akTop, akRight]
BevelOuter = bvNone
TabOrder = 9
DesignSize = (
369
101)
object grpPlayerType: TGroupBox
Left = 8
Top = 5
Width = 350
Height = 87
Anchors = [akLeft, akTop, akRight]
Caption = 'Player Routine'
TabOrder = 0
object optTMBAlwaysReturn: TRadioButton
Left = 23
Top = 66
Width = 242
Height = 17
Hint =
'For in-game music, create a polling routine that can be called r' +
'epeatedly to play the next part of the song'
Caption = 'Exit after every note (for in-game music)'
TabOrder = 0
end
object optTMBReturnKeypress: TRadioButton
Left = 23
Top = 20
Width = 242
Height = 17
Hint =
'Create a routine that plays the song, but returns if any key is ' +
'pressed on the Spectrum keyboard'
Caption = 'Exit when a key is pressed'
TabOrder = 1
end
object optTMBContinuous: TRadioButton
Left = 23
Top = 43
Width = 250
Height = 17
Hint = 'Plays the song without interruption'
Caption = 'Play continuously (ignore keypresses)'
TabOrder = 2
end
end
end
object pnlSpecialFX: TPanel
Left = 0
Top = 223
Width = 365
Height = 101
Anchors = [akLeft, akTop, akRight]
BevelOuter = bvNone
TabOrder = 8
DesignSize = (
365
101)
object lblVectorTableLoc: TLabel
Left = 13
Top = 78
Width = 111
Height = 13
Alignment = taRightJustify
Caption = 'Interrupt Vector Table:'
end
object cboVectorTableLoc: TComboBox
Left = 130
Top = 75
Width = 105
Height = 21
Style = csDropDownList
ItemHeight = 13
TabOrder = 1
Items.Strings = (
'0xFE00 - Default'
'0x3900 - ROM')
end
object GroupBox1: TGroupBox
Left = 8
Top = 0
Width = 350
Height = 69
Anchors = [akLeft, akTop, akRight]
Caption = 'Player Routine'
TabOrder = 0
object optSFXReturnKeypress: TRadioButton
Left = 23
Top = 20
Width = 242
Height = 17
Hint =
'Create a routine that plays the song, but returns if any key is ' +
'pressed on the Spectrum keyboard'
Caption = 'Exit when a key is pressed'
TabOrder = 0
end
object optSFXContinuous: TRadioButton
Left = 23
Top = 43
Width = 250
Height = 17
Hint = 'Plays the song without interruption'
Caption = 'Play continuously (ignore keypresses)'
TabOrder = 1
end
end
end
object txtCompileAddress: TEdit
Left = 130
Top = 8
Width = 47
Height = 21
Hint = 'The memory address for the start of the compiled player routine'
TabOrder = 2
Text = '60000'
end
object cboBorder: TComboBox
Left = 130
Top = 35
Width = 73
Height = 21
Hint = 'The border colour of the Spectrum display during playback'
Style = csDropDownList
ItemHeight = 13
ItemIndex = 0
TabOrder = 3
Text = 'Black'
Items.Strings = (
'Black'
'Blue'
'Red'
'Magenta'
'Green'
'Cyan'
'Yellow'
'White')
end
object cmdOK: TButton
Left = 202
Top = 328
Width = 75
Height = 25
Anchors = [akRight, akBottom]
Caption = 'OK'
Default = True
TabOrder = 0
OnClick = cmdOKClick
end
object cmdCancel: TButton
Left = 283
Top = 329
Width = 75
Height = 25
Anchors = [akRight, akBottom]
Cancel = True
Caption = 'Cancel'
ModalResult = 2
TabOrder = 1
end
object cboEngine: TComboBox
Left = 130
Top = 116
Width = 135
Height = 21
Style = csDropDownList
ItemHeight = 13
ItemIndex = 0
TabOrder = 6
Text = 'Special FX (Fuzz Click)'
OnChange = cboEngineChange
Items.Strings = (
'Special FX (Fuzz Click)'
'The Music Box'
'The Music Studio'
'Phaser1, Digital Drums'
'Phaser1, Synth Drums'
'Savage'
'ROM Beep'
'Plip Plop'
'Stocker')
end
object cboOutputType: TComboBox
Left = 130
Top = 62
Width = 165
Height = 21
Style = csDropDownList
ItemHeight = 13
ItemIndex = 0
TabOrder = 4
Text = '*.tap file (with BASIC loader)'
Items.Strings = (
'*.tap file (with BASIC loader)'
'*.tap file (code block only)'
'Binary File (*.bin)'
'Assembly Listing (*.asm)'
'Song Data Only (*.tap)'
'Song Data Only (*.bin)'
'Song Data Only (*.asm)')
end
object cboTranspose: TComboBox
Left = 130
Top = 89
Width = 105
Height = 21
Style = csDropDownList
ItemHeight = 13
ItemIndex = 12
TabOrder = 5
Text = 'None'
Items.Strings = (
'-1 octave'
'-11 semitones'
'-10 semitones'
'-9 semitones'
'-8 semitones'
'-7 semitones'
'-6 semitones'
'-5 semitones'
'-4 semitones'
'-3 semitones'
'-2 semitones'
'-1 semitone'
'None'
'+1 semitone'
'+2 semitones'
'+3 semitones'
'+4 semitones'
'+5 semitones'
'+6 semitones'
'+7 semitones'
'+8 semitones'
'+9 semitones'
'+10 semitones'
'+11 semitones'
'+1 octave')
end
object grpSongEnd: TGroupBox
Left = 8
Top = 143
Width = 350
Height = 74
Anchors = [akLeft, akTop, akRight]
Caption = 'When the end of the song is reached'
TabOrder = 7
object optLoopAtEnd: TRadioButton
Left = 23
Top = 20
Width = 242
Height = 17
Hint =
'When the last pattern in the song finishes, loop back to the def' +
'ined loop start point'
Caption = 'Loop back to the defined LOOP START point'
TabOrder = 0
end
object optReturnAtEnd: TRadioButton
Left = 23
Top = 43
Width = 242
Height = 17
Hint =
'When the last pattern in the song finishes, exit from the player' +
' routine'
Caption = 'Exit'
TabOrder = 1
end
end
object dlgSave: TSaveDialog
Options = [ofOverwritePrompt, ofHideReadOnly, ofPathMustExist, ofEnableSizing]
Title = 'Compile Song'
Left = 158
Top = 326
end
end