-
Notifications
You must be signed in to change notification settings - Fork 23
/
IT_OBJ1.ASM
8902 lines (7621 loc) · 370 KB
/
IT_OBJ1.ASM
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
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Jumps
include switch.inc
Extrn D_SaveInstrument:Far
Extrn D_LSCheckLoopValues:Far
Extrn D_LSCheckSusLoopValues:Far
Extrn D_PreLoadSampleWindow:Far
Extrn D_DrawLoadSampleWindow:Far
Extrn D_PostLoadSampleWindow:Far
Extrn D_LSDrawDriveWindow:Far
Extrn D_LSPreDriveWindow:Far
Extrn D_LSPostDriveWindow:Far
Extrn D_LIDrawDriveWindow:Far
Extrn D_LIPreDriveWindow:Far
Extrn D_LIPostDriveWindow:Far
Extrn D_SaveSample:Far
Extrn D_SaveRawSample:Far
Extrn D_SaveST3Sample:Far
Extrn D_GetFormatType:Far
Extrn D_SlowSampleSort:Far
Extrn D_SlowInstrumentSort:Far
Extrn D_SaveDirectoryConfiguration:Far
Extrn D_LoadSampleNames:Far
Extrn D_LoadSongNames:Far
Extrn D_DrawFileWindow:Far
Extrn D_DrawDirectoryWindow:Far
Extrn D_DrawDriveWindow:Far
Extrn D_PreFileWindow:Far
Extrn D_SaveModule:Far
Extrn D_PostFileLoadWindow:Far
Extrn D_PostFileSaveWindow:Far
Extrn D_PreDirectoryWindow:Far
Extrn D_PostDirectoryWindow:Far
Extrn D_PostViewSampleLibrary:Far
Extrn D_PreDriveWindow:Far
Extrn D_PostDriveWindow:Far
Extrn D_PostSaveDriveWindow:Far
Extrn D_NewDirectory:Far
Extrn D_NewSpecifier:Far
IF TUTORIAL
ELSE
Extrn D_LoadXM:Far
Extrn D_LoadS3M:Far
Extrn D_LoadMOD:Far
Extrn D_LoadIT:Far
Extrn D_LoadMTM:Far
Extrn D_Load669:Far
ENDIF
Extrn D_DrawHeader:Far
Extrn D_SaveIT:Far
Extrn D_SaveS3M:Far
Extrn D_SaveSong:Far
Extrn Quit:Far
Extrn D_DrawLoadInstrument:Far
Extrn D_PreLoadInstrument:Far
Extrn D_PostLoadInstrument:Far
Extrn D_LoadInstrumentNames:Far
Extrn D_ViewInstrument:Far
IF EMSDEBUG
Extrn E_DumpEMSMemory:Far
ENDIF
Extrn LSWindow_Up:Far
Extrn LSWindow_Down:Far
Extrn SongDirectory:Byte
Extrn FileSpecifier:Byte
Extrn F_InstrumentButtonHandler:Far
Extrn F_DrawHeader:Far
Extrn F_Return0:Far
Extrn F_Return1:Far
Extrn F_ShowChannels:Far
Extrn F_RedrawScreen:Far
Extrn F_GotoEmptyList:Far
Extrn F_DrawSMCChannels:Far
Extrn F_Nothing:Far
Extrn F_CalculateLength:Far
Extrn F_MainMenu:Far
Extrn F_Help:Far ; Menu functions
Extrn F_ViewVariables:Far
Extrn F_ViewOrderPan:Far
Extrn F_ViewPattern:Far
Extrn F_FileMenu:Far
Extrn F_FileLoad:Far
Extrn F_FileNew:Far
Extrn F_FileSaveCurrent:Far
Extrn F_FileSaveAs:Far
Extrn F_FileDOSShell:Far
Extrn F_FileQuit:Far
Extrn F_PlaybackMenu:Far
Extrn F_InfoPage:Far
Extrn F_PlaySong:Far
Extrn F_PlayPattern:Far
Extrn F_PlayOrder:Far
Extrn F_PlayMark:Far
Extrn F_Stop:Far
Extrn F_ReinitSoundCard:Far
Extrn F_DriverScreen:Far
Extrn F_CalculateLength:Far
Extrn F_MessageEditor:Far
Extrn F_SampleMenu:Far
Extrn F_SampleList:Far
Extrn F_SampleLibrary:Far
Extrn F_ReloadGravis:Far
Extrn F_Return64:Far
Extrn F_Return192:Far
Extrn F_InstrumentMenu:Far
Extrn F_InstrumentList:Far
Extrn F_InstrumentLibrary:Far
Extrn F_ShowMIDIZxxInput:Far
Extrn F_MIDI_Up:Far, F_MIDI_Down:Far
Extrn F_MIDI_PgUp:Far, F_MIDI_PgDn:Far
IF SPECTRUMANALYSER
Extrn Fourier_Start:Far
Extrn Fourier_PreDrawScreen:Far
Extrn Fourier_DrawScreen:Far
Extrn Fourier_PostFunction:Far
Extrn Fourier_IdleList:Far
Extrn Fourier_ChangePalette:Far
ENDIF
Extrn K_DrawTables:Far
Extrn K_ResetKeyboardTables:Far
Extrn K_ShowMIDIInput:Far
Extrn PEFunction_IncreaseOctave:Far
Extrn PEFunction_DecreaseOctave:Far
Extrn Glbl_DriverScreen:Far
Extrn Glbl_Ctrl_F1:Far
Extrn Glbl_Ctrl_F3:Far
Extrn Glbl_Ctrl_F4:Far
Extrn Glbl_Ctrl_F5:Far
Extrn Glbl_Ctrl_F12:Far
Extrn Glbl_F8:Far
Extrn Glbl_F9:Far
Extrn Glbl_F10:Far
Extrn Glbl_F11:Far
Extrn Glbl_F12:Far
Extrn Glbl_F2:Far
Extrn Glbl_F3:Far
Extrn Glbl_F4:Far
Extrn Glbl_F5:Far
Extrn Glbl_F6:Far
Extrn PE_F7:Far ; Global...
Extrn Glbl_Shift_F1:Far
Extrn Glbl_Shift_F6:Far
Extrn Glbl_Shift_F9:Far
Extrn Glbl_Alt_F1:Far
Extrn Glbl_Alt_F2:Far
Extrn Glbl_Alt_F3:Far
Extrn Glbl_Alt_F4:Far
Extrn Glbl_Alt_F5:Far
Extrn Glbl_Alt_F6:Far
Extrn Glbl_Alt_F7:Far
Extrn Glbl_Alt_F8:Far
Extrn Glbl_LoadSample:Far
Extrn Glbl_LoadInstrument:Far
Extrn Glbl_LeftBrace:Far
Extrn Glbl_RightBrace:Far
Extrn Glbl_LeftSquareBracket:Far
Extrn Glbl_RightSquareBracket:Far
IF NETWORKENABLED
Extrn Network_DriverScreen:Far
Extrn Network_DrawDriverScreen:Far
Extrn Network_PreDriverScreen:Far
Extrn Network_PostDriverScreen:Far
Public O1_LoadNetworkDriver
ENDIF
IF TIMERSCREEN
Extrn Glbl_TimerScreen:Far
Extrn D_DrawTimer:Far, D_PostTimerList:Far
ENDIF
Extrn H_HelpESC:Far
Extrn H_Help:Far
Extrn H_DrawHelp:Far
Extrn H_HelpUp:Far
Extrn H_HelpDown:Far
Extrn H_HelpPgUp:Far
Extrn H_HelpPgDn:Far
Extrn I_SelectScreen:Far
Extrn I_InstrumentListSpace:Far
Extrn I_InstrumentListNoteOff:Far
Extrn I_AmplifySample:Far
Extrn I_GetInstrumentScreen:Far
Extrn I_SampleButtonHandler:Far
Extrn I_CalculateC5Speed:Far
Extrn I_PrintC5Frequency:Far
Extrn I_DoubleSampleSpeed:Far
Extrn I_HalveSampleSpeed:Far
Extrn I_SampleSpeedSemiUp:Far
Extrn I_SampleSpeedSemiDown:Far
Extrn I_PlaySample:Far
Extrn I_PlayNote:Far
Extrn I_DrawPitchPanCenter:Far
Extrn I_PrePitchPanCenter:Far
Extrn I_PostPitchPanCenter:Far
Extrn I_IncreasePlayChannel:Far
Extrn I_DecreasePlayChannel:Far
Extrn I_DeleteInstrument:Far
Extrn I_ReverseSample:Far
Extrn I_InvertSample:Far
Extrn I_CutSampleBeforeLoop:Far
Extrn I_ConvertSample:Far
Extrn I_DeleteSample:Far
Extrn I_CutSample:Far
Extrn I_ExchangeSamples:Far
Extrn I_SwapSamples:Far
Extrn I_ReplaceSample:Far
Extrn I_ReplaceInstrument:Far
Extrn I_SwapInstruments:Far
Extrn I_ResizeSample:Far
Extrn I_ResizeSampleNoInt:Far
Extrn I_UpdateInstrument:Far
Extrn I_ToggleSampleQuality:Far
Extrn I_CopyInstrument:Far
Extrn I_CenterSample:Far
Extrn I_ScaleInstrumentVolumes:Far
Extrn I_ScaleSampleVolumes:Far
Extrn I_DrawInstrumentWindow:Far
Extrn I_PreInstrumentWindow:Far
Extrn I_PostInstrumentWindow:Far
Extrn I_ToggleMultiChannel:Far
Extrn I_DrawNoteWindow:Far
Extrn I_PreNoteWindow:Far
Extrn I_PostNoteWindow:Far
Extrn I_DrawEnvelope:Far
Extrn I_PreEnvelope:Far
Extrn I_PostEnvelope:Far
Extrn I_ShowSampleInfo:Far
Extrn I_SampleUp:Far
Extrn I_SampleDown:Far
Extrn I_CheckLoopValues:Far
Extrn I_CheckSusLoopValues:Far
Extrn I_DrawSampleList:Far
Extrn I_PreSampleList:Far
Extrn I_PostSampleList:Far
Extrn I_IdleUpdateEnvelope:Far
Extrn Msg_DrawMessage:Far
Extrn Msg_PreMessage:Far
Extrn Msg_PostMessage:Far
Extrn Music_SoundCardLoadAllSamples:Far
Extrn Music_ReinitSoundCard:Far
Extrn Music_SaveMIDIConfig:Far
Extrn Music_ShowAutodetectSoundcard:Far
Extrn Music_ToggleOrderUpdate:Far
Extrn PE_FillHeader:Far
Extrn PE_SetCommandCursor:Far
Extrn PE_DrawPatternEdit:Far
Extrn PE_PrePatternEdit:Far
Extrn PE_PostPatternEdit:Far
Extrn PEFunction_DrawUndo:Far
Extrn PEFunction_PreUndo:Far
Extrn PEFunction_PostUndo:Far
Extrn S_UpdateScreen:Far
Extrn S_RestoreScreen:Far
Extrn DrawDisplayData:Far
Extrn PostDisplayData:Far
Extrn DisplayUpdateScreen:Far
Extrn BaseOctave
Extrn SkipValue
Extrn RowHiLight1
Extrn RowHiLight2
Extrn NumberOfRows:Word
Extrn Amplification
Extrn InstrumentAmplification
Extrn FastVolumeAmplification
Extrn SampleAmplification
Extrn CommandToValue
Extrn MultiChannelInfo
Extrn SampleNumberInput:Byte
Extrn SongDirectory:Byte
Extrn SampleDirectory:Byte
Extrn InstrumentDirectory:Byte
Extrn IdleUpdateInfoLine:Far
Extrn DOSShell:Far
Extrn I_ExchangeInstruments:Far
Extrn F_ConfigButtonSetup:Far
Extrn F_SetControlInstrument:Far
Extrn F_SetControlSample:Far
Extrn F_SetMono:Far
Extrn F_SetStereo:Far
Extrn F_SetAmiga:Far
Extrn F_SetLinear:Far
Extrn F_NewSong:Far
Extrn AddressInput:Byte
Extrn NewSampleSize:Word
Extrn ThumbStringEnter:Byte
Extrn SampleName:Byte
If MEMORYDEBUG
Extrn F_PostDebug:Far
Extrn Glbl_Debug:Far
Extrn F_DrawDebug:Far
Extrn F_DebugUp:Far
Extrn F_DebugDown:Far
Extrn F_DebugPgUp:Far
Extrn F_DebugPgDn:Far
Extrn F_DebugStringInput:Far
Global O1_DebugList
ENDIF
Extrn PaletteDefs:Byte
Extrn S_UsePresetPalette:Far
Extrn DisplayMinus:Far
Extrn DisplayPlus:Far
Extrn PatternSetLength, PatternLengthStart, PatternLengthEnd
Extrn MouseToggle:Far
Extrn Refresh:Far
Extrn MIDI_SetInstrument:Far, CentraliseCursor
Extrn MIDI_PlayNote:Far, MIDI_NoteOff:Far, MIDI_PlaySample:Far
Extrn MIDICentralNote, MIDIAmplification
Extrn Music_TimeSong:Far, Music_ShowTime:Far
Extrn Flags
Extrn Music_ToggleSoloInstrument:Far
Extrn Music_ToggleSoloSample:Far
;ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
Global O1_MIDIScreen
Global O1_LongMessageList
Global O1_MessageList
Global O1_ConfirmNoSave
Global O1_MainMenu
Global O1_PlayBackMenu
Global O1_SampleMenu
Global O1_FileMenu
Global O1_InstrumentMenu
Global O1_EditSampleName
Global O1_AutoDetectList
Global O1_ShowTime
Global O1_SampleCenterList
Global O1_ConfirmClearMessage
Global O1_SampleAmplificationList
Global O1_EnableInstrumentMode
Global O1_OutOfSoundCardMemoryList
Global O1_OutOfSamplesList
Global O1_NewSongList
Global O1_InitInstrument
Global O1_ThumbStringList
Global O1_ConfigureITList
Global O1_OrderVolumeList
Global O1_HelpList
Global O1_OrderPanningList
Global O1_PatternEditList
Global O1_PEConfigList
Global O1_OutOfMemoryList
Global O1_OutOfSoundCardMemoryList
Global O1_SwapOutOfRangeList
Global O1_OverlapBlockList
Global O1_NoBlockMarkedList
Global O1_NoBlockDataList
Global O1_GetAmpList
Global O1_GetInstrumentAmpList
Global O1_GetFastAmpList
IF SHOWPATTERNLENGTH
Global O1_ShowPatternLengthList
ENDIF
Global O1_C5FrequencyList
IF SPECTRUMANALYSER
Global O1_FourierDisplay
ENDIF
Global O1_EMSWarningMessage
IF NETWORKENABLED
Global O1_NetworkErrorList
ENDIF
Global O1_TemplateErrorList
Global O1_PatternTooLongList
Global O1_SampleList
Global O1_LoadModuleList
Global O1_SaveModuleList
Global O1_SaveS3MList
Global O1_LoadS3MList
Global O1_LoadXMList
Global O1_LoadMODList
Global O1_Load669List
Global O1_LoadMTMList
Global O1_LoadITList
Global O1_SaveITList
Global O1_EmptyList
Global O1_ConfirmOverWriteList
Global O1_UnableToSaveList
Global O1_ConfirmQuit
Global O1_SelectMultiChannel
Global O1_ConfirmDelete
Global O1_ConfirmDelete2
Global O1_ConfirmDelete3
Global O1_ConfirmDeleteSample
Global O1_ConfirmDeleteInstrument
Global O1_ConfirmCutSample
Global O1_ConfirmConvertList
Global O1_ConfirmConvert2List
Global O1_ExchangeSampleList
Global O1_ExchangeInstrumentList
Global O1_ReplaceSampleList
Global O1_ReplaceInstrumentList
Global O1_LoadSampleList
Global O1_ConfirmSaveRenameList
Global O1_ConfirmResaveList
Global O1_ConfirmDiscardList
Global O1_InitialiseInstrumentList
Global O1_SwapSampleList
Global O1_SwapInstrumentList
Global O1_ResizeSampleList
Global O1_KeyboardList
Global O1_DisplayList
Global O1_FullDisplayList
Global O1_ViewSampleLibrary
Global O1_ConfigurePaletteList
Global O1_LoadInstrumentList
Global O1_ViewInstrumentLibrary
Global O1_ConfirmDeleteInstrument
Global O1_CopyInstrumentList
Global O1_CrashRecovery
Global O1_UndoList
Global O1_InstrumentListGeneral
Global O1_InstrumentListVolume
Global O1_InstrumentListPanning
Global O1_InstrumentListPitch
Global O1_SetPatternLength
Global O1_StereoSampleList
Global O1_PatternSizeMismatchList
Global PatternLength
Global HelpKeyValue, OrderKeyValue
Global GlobalKeyList:Byte
Global LogoCharacter:Word
Global EMSErrorValue, EMSErrorValue2
Global EMSErrorValue3, EMSErrorValue4
Global EMSErrorValue5, EMSErrorValue6
Global EMSErrorValue7, EMSErrorValue8
IF TIMERSCREEN
Public O1_TimerList
ENDIF
;ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
Segment Object1 BYTE Public 'Data'
O1_AutoDetectList DW 6
DW 0
DW Near Ptr ESCContinueList
DW Near Ptr AboutBox
DW Near Ptr ImpulseLogo
DW Near Ptr AutoMiniBox
DW Near Ptr AboutText
DW Near Ptr AutoDetectText
DW Near Ptr CallAutoDetect
DW Near Ptr AutoContinueButton
DW 0
ESCContinueList DB 0 ; ESC
DW 101h
DD Glbl_F2
DB 0FFh
O1_OrderPanningList DW 10
DW Near Ptr IdleFunctionList
DW Near Ptr GlobalKeyList
DW Near Ptr FullScreenBox ; 0
DW Near Ptr ScreenHeader ; 1
DW Near Ptr FillHeader ; 2
DW Near Ptr OrderandPanningMsg ; 3
DW Near Ptr OrderBox ; 4
DW Near Ptr PanBox1 ; 5
DW Near Ptr PanBox2 ; 6
DW Near Ptr ShowChannelMsgs ; 7
DW Near Ptr PanText1 ; 8
DW Near Ptr PanText2 ; 9
DW Near Ptr OrderList ; 10
DW Near Ptr Channel1 ; 11
DW Near Ptr Channel2 ; 12
DW Near Ptr Channel3 ; 13
DW Near Ptr Channel4 ; 14
DW Near Ptr Channel5 ; 15
DW Near Ptr Channel6 ; 16
DW Near Ptr Channel7 ; 17
DW Near Ptr Channel8 ; 18
DW Near Ptr Channel9 ; 19
DW Near Ptr Channel10 ; 20
DW Near Ptr Channel11 ; 21
DW Near Ptr Channel12 ; 22
DW Near Ptr Channel13 ; 23
DW Near Ptr Channel14 ; 24
DW Near Ptr Channel15 ; 25
DW Near Ptr Channel16 ; 26
DW Near Ptr Channel17
DW Near Ptr Channel18
DW Near Ptr Channel19
DW Near Ptr Channel20
DW Near Ptr Channel21
DW Near Ptr Channel22
DW Near Ptr Channel23
DW Near Ptr Channel24
DW Near Ptr Channel25
DW Near Ptr Channel26
DW Near Ptr Channel27
DW Near Ptr Channel28
DW Near Ptr Channel29
DW Near Ptr Channel30
DW Near Ptr Channel31
DW Near Ptr Channel32
DW Near Ptr Channel33
DW Near Ptr Channel34
DW Near Ptr Channel35
DW Near Ptr Channel36
DW Near Ptr Channel37
DW Near Ptr Channel38
DW Near Ptr Channel39
DW Near Ptr Channel40
DW Near Ptr Channel41
DW Near Ptr Channel42
DW Near Ptr Channel43
DW Near Ptr Channel44
DW Near Ptr Channel45
DW Near Ptr Channel46
DW Near Ptr Channel47
DW Near Ptr Channel48
DW Near Ptr Channel49
DW Near Ptr Channel50
DW Near Ptr Channel51
DW Near Ptr Channel52
DW Near Ptr Channel53
DW Near Ptr Channel54
DW Near Ptr Channel55
DW Near Ptr Channel56
DW Near Ptr Channel57
DW Near Ptr Channel58
DW Near Ptr Channel59
DW Near Ptr Channel60
DW Near Ptr Channel61
DW Near Ptr Channel62
DW Near Ptr Channel63
DW Near Ptr Channel64
DW Near Ptr SetHelpContext0
DW 0
O1_HelpList DW 6
DW Near Ptr IdleFunctionList
DW Near Ptr HelpKeyList
DW Near Ptr FullScreenBox ; 0
DW Near Ptr ScreenHeader ; 1
DW Near Ptr FillHeader ; 2
DW Near Ptr HelpMsg ; 3
DW Near Ptr HelpBox ; 4
DW Near Ptr ShowHelp ; 5
DW Near Ptr HelpDoneButton ; 6
DW 0
O1_PatternEditList DW 3
DW Near Ptr InfoPageIdleList
DW Near Ptr GlobalKeyList
DW Near Ptr FullScreenBox ; 0
DW Near Ptr ScreenHeader ; 1
DW Near Ptr PatternEditMsg ; 2
DW Near Ptr PatternEdit ; 3
DW Near Ptr FillHeader ; 4
DW Near Ptr SetHelpContext1 ; 5
DW 0
O1_PEConfigList DW 14
DW Near Ptr IdleFunctionList
DW Near Ptr ESCF2&ReturnList
DW Near Ptr PEConfigBox ; 0
DW Near Ptr PEConfigText ; 1
DW Near Ptr PEConfigBsOctText ; 2
DW Near Ptr PEConfigSkipValueText ; 3
DW Near Ptr PEConfigRHLMinorText ; 4
DW Near Ptr PEConfigRHLMajorText ;5
DW Near Ptr PEConfigMaxRowsText ; 6
DW Near Ptr PEConfigCommandCursor ; 7
DW Near Ptr PECBox1
DW Near Ptr PECBox2
DW Near Ptr PECBox3
DW Near Ptr PECBox4
DW Near Ptr PECBox5
DW Near Ptr PEConfigDoneButton ; 13
DW Near Ptr PETBBaseOctave ; 14
DW Near Ptr PETBSkipValue ; 15
DW Near Ptr PETBRHLMinor ; 16
DW Near Ptr PETBRHLMajor ; 17
DW Near Ptr PETBMaxRow ; 18
DW Near Ptr PECLinkButton ; 19
DW Near Ptr PECSplitButton ; 20
DW Near Ptr FillHeader
DW 0
O1_SetPatternLength DW 4
DW Near Ptr IdleFunctionList
DW Near Ptr ESC&ReturnList
DW Near Ptr SetPatternLengthBox ; 0
DW Near Ptr SetPatternLengthHeader
DW Near Ptr SetPatternLengthThumbBox1
DW Near Ptr SetPatternLengthThumbBox2
DW Near Ptr SetPatternLengthThumbBar ; 4
DW Near Ptr SetPatternLengthStart ; 5
DW Near Ptr SetPatternLengthEnd ; 6
DW Near Ptr SetPatternLengthOKButton ; 7
DW Near Ptr SetPatternLengthText
DW 0
SetPatternLengthBox DW 0
DB 15, 19, 65, 33
DB 3
SetPatternLengthHeader DW 1
DB 31, 21
DB 20h
DB "Set Pattern Length", 0
SetPatternLengthText DW 1
DB 19, 24
DB 20h
DB "Pattern Length", 13
DB 13
DB 13
DB " Start Pattern", 13
DB " End Pattern", 0
SetPatternLengthThumbBox1 DW 0
DB 33, 23, 56, 25
DB 25
SetPatternLengthThumbBox2 DW 0
DB 33, 26, 60, 29
DB 25
SetPatternLengthThumbBar DW 9
DB 34, 24
DW 32, 200
DW 1, Offset PatternSetLength
DW 0FFFFh, 5, 0FFFFh, 0FFFFh
DW 0FFFFh, 0FFFFh
SetPatternLengthStart DW 9
DB 34, 27
DW 0, 199
DW 1, Offset PatternLengthStart
DW 4, 6, 0FFFFh, 0FFFFh
DW 0FFFFh, 0FFFFh
SetPatternLengthEnd DW 9
DB 34, 28
DW 0, 199
DW 1, Offset PatternLengthEnd
DW 5, 7, 0FFFFh, 0FFFFh
DW 0FFFFh, 0FFFFh
SetPatternLengthOKButton DW 2
DW 6, 0FFFFh, 0FFFFh, 0FFFFh
DW 0
DW 0, 0
DW 0
DW 1 ; Returns 1
DW 0, 0, 0, 0
DB 35, 30, 44, 32
DB 8
DB 0
DB " OK", 0
OKCancelList DB 8 ; 'O'
DW 'O'
DD DWord Ptr F_Return1
DB 8 ; 'C'
DW 'C'
DD DWord Ptr F_Return0
DB 8 ; 'Y'
DW 'Y'
DD DWord Ptr F_Return1
DB 8 ; 'N'
DW 'N'
DD DWord Ptr F_Return0
ESCReturnList DB 0
DW 101h
DD DWord Ptr F_Return0
DB 5
DW Near Ptr ChainMIDICommands
O1_NoBlockMarkedList DW 2
DW Near Ptr IdleFunctionList
DW Near Ptr ESCReturnList
DW Near Ptr NBMBox
DW Near Ptr NBMText
DW Near Ptr OKButton
DW Near Ptr FillHeader
DW 0
O1_OutOfSoundCardMemoryList DW 2
DW 0
DW Near Ptr ESCReturnList
DW Near Ptr NBMBox
DW Near Ptr OOSoundCardMemoryText
DW Near Ptr OKButton
DW Near Ptr FillHeader
DW 0
O1_OutOfMemoryList DW 2
DW 0
DW Near Ptr ESCReturnList
DW Near Ptr NBMBox
DW Near Ptr OOMText
DW Near Ptr OKButton
DW Near Ptr FillHeader
DW 0
O1_PatternSizeMismatchList DW 2
DW 0
DW Near Ptr ESCReturnList
DW Near Ptr NBMBox
DW Near Ptr PSMText
DW Near Ptr OKButton
DW Near Ptr FillHeader
DW 0
O1_LongMessageList DW 2
DW 0
DW Near Ptr ESCReturnList
DW Near Ptr NBMBox
DW Near Ptr LongMsgText
DW Near Ptr OKButton
DW Near Ptr FillHeader
DW 0
O1_OutOfSamplesList DW 2
DW 0
DW Near Ptr ESCReturnList
DW Near Ptr NBMBox
DW Near Ptr OOSText
DW Near Ptr OKButton
DW Near Ptr FillHeader
DW 0
O1_OverlapBlockList DW 2
DW Near Ptr IdleFunctionList
DW Near Ptr ESCReturnList
DW Near Ptr NBMBox
DW Near Ptr OLBText
DW Near Ptr OKButton
DW Near Ptr FillHeader
DW 0
O1_SwapOutOfRangeList DW 2
DW Near Ptr IdleFunctionList
DW Near Ptr ESCReturnList
DW Near Ptr NBMBox
DW Near Ptr SOORText
DW Near Ptr OKButton
DW Near Ptr FillHeader
DW 0
O1_NoBlockDataList DW 2
DW Near Ptr IdleFunctionList
DW Near Ptr ESCReturnList
DW Near Ptr NBMBox
DW Near Ptr NBDText
DW Near Ptr OKButton
DW Near Ptr FillHeader
DW 0
O1_PatternTooLongList DW 2
DW Near Ptr IdleFunctionList
DW Near Ptr ESCReturnList
DW Near Ptr NBMBox
DW Near Ptr PatternTooLongText
DW Near Ptr OKButton
DW Near Ptr FillHeader
DW 0
O1_GetAmpList DW 3
DW Near Ptr IdleFunctionList
DW Near Ptr AmpExtraKeyList
DW Near Ptr AmpBox ; 0
DW Near Ptr AmpText ; 1
DW Near Ptr AmpTBBox ; 2
DW Near Ptr AmpTB ; 3
DW Near Ptr ConfirmOKButton ; 4
DW Near Ptr ConfirmCancelButton ; 5
DW Near Ptr FillHeader
DW 0
O1_GetInstrumentAmpList DW 3
DW Near Ptr IdleFunctionList
DW Near Ptr AmpExtraKeyList
DW Near Ptr AmpBox ; 0
DW Near Ptr AmpText ; 1
DW Near Ptr AmpTBBox ; 2
DW Near Ptr InstrumentAmpTB ; 3
DW Near Ptr ConfirmOKButton ; 4
DW Near Ptr ConfirmCancelButton ; 5
DW Near Ptr FillHeader
DW 0
O1_GetFastAmpList DW 3
DW Near Ptr IdleFunctionList
DW Near Ptr AmpExtraKeyList
DW Near Ptr AmpBox ; 0
DW Near Ptr AmpText ; 1
DW Near Ptr FastAmpTBBox ; 2
DW Near Ptr FastAmpTB ; 3
DW Near Ptr ConfirmOKButton ; 4
DW Near Ptr ConfirmCancelButton ; 5
DW Near Ptr FillHeader
DW 0
O1_SampleAmplificationList DW 3
DW Near Ptr IdleFunctionList
DW Near Ptr ESC&ReturnList
DW Near Ptr SampleAmpBox
DW Near Ptr SampleAmpText ; 1
DW Near Ptr SampleAmpTBBox ; 2
DW Near Ptr SampleAmpTB ; 3
DW Near Ptr ConfirmOKButton ; 4
DW Near Ptr ConfirmCancelButton ; 5
DW Near Ptr FillHeader
DW 0
IF SHOWPATTERNLENGTH
O1_ShowPatternLengthList DW 2
DW Near Ptr IdleFunctionList
DW Near Ptr ESCReturnList
DW Near Ptr NBMBox
DW Near Ptr PatternLengthText
DW Near Ptr OKButton
DW Near Ptr FillHeader
DW 0
ENDIF
O1_C5FrequencyList DW 2
DW Near Ptr IdleFunctionList
DW Near Ptr ESCReturnList
DW Near Ptr NBMBox
DW Near Ptr C5FrequencyText
DW Near Ptr OKButton
DW Near Ptr FillHeader
DW 0
O1_EMSWarningMessage DW 2
DW 0
DW Near Ptr ESCReturnList
DW Near Ptr EMSErrorBox
DW Near Ptr EMSErrorText
DW Near Ptr OKButton
DW Near Ptr FillHeader
DW 0
IF NETWORKENABLED
O1_NetworkErrorList DW 2
DW Near Ptr IdleFunctionList
DW Near Ptr ESCReturnList
DW Near Ptr TemplateErrorBox
DW Near Ptr NetworkErrorText
DW Near Ptr TemplateOKButton
DW Near Ptr FillHeader
DW 0
ENDIF
O1_TemplateErrorList DW 2
DW Near Ptr IdleFunctionList
DW Near Ptr ESCReturnList
DW Near Ptr TemplateErrorBox
DW Near Ptr TemplateErrorText
DW Near Ptr TemplateOKButton
DW Near Ptr FillHeader
DW 0
O1_CrashRecovery DW 2
DW 0
DW Near Ptr ESCReturnList
DW Near Ptr CrashRecoveryBox
DW Near Ptr CrashRecoveryText
DW Near Ptr CrashRecoveryOKButton
DW 0
O1_LoadSampleList DW 15
DW Near Ptr SampleNameLoader
DW Near Ptr LoadSampleKeyList
DW Near Ptr FullScreenBox ; 0
DW Near Ptr ScreenHeader ; 1
DW Near Ptr LoadSampleHeader ; 2
DW Near Ptr FillHeader ; 3
DW Near Ptr LoadSampleBox
DW Near Ptr DriveSampleBox
DW Near Ptr LSInfoBox
DW Near Ptr LSInfoText
DW Near Ptr LSWaveFormBox
DW Near Ptr LSParametersBox
DW Near Ptr LSParametersText ; 10
DW Near Ptr LSParametersVolBox ; 11
DW Near Ptr LSParametersVibBox
DW Near Ptr LSFileInfoBox
DW Near Ptr LSFileInfoText
DW Near Ptr LoadSampleWindow ; 15
DW Near Ptr LSDriveWindow ; 16
DW Near Ptr LSFileNameInput ; 17
DW Near Ptr LSSpeedInput
DW Near Ptr LSLoopToggle ; 19
DW Near Ptr LSLoopBeginInput
DW Near Ptr LSLoopEndInput
DW Near Ptr LSSusLoopToggle ; 22
DW Near Ptr LSSusLoopBeginInput
DW Near Ptr LSSusLoopEndInput
DW Near Ptr LSDefaultVolumeInput ; 25
DW Near Ptr LSGlobalVolumeInput ; 26
DW Near Ptr LSVibratoSpeedInput ; 27
DW Near Ptr LSVibratoDepthInput ; 28
DW Near Ptr LSVibratoRateInput ; 29
DW Near Ptr SetHelpContext6
DW 0
O1_ViewSampleLibrary DW 15
DW Near Ptr SampleNameLoader
DW Near Ptr LoadSampleKeyList
DW Near Ptr FullScreenBox ; 0
DW Near Ptr ScreenHeader ; 1
DW Near Ptr ViewSampleHeader ; 2
DW Near Ptr FillHeader ; 3
DW Near Ptr LoadSampleBox
DW Near Ptr DriveSampleBox
DW Near Ptr LSInfoBox
DW Near Ptr LSInfoText
DW Near Ptr LSWaveFormBox
DW Near Ptr LSParametersBox