-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
1015 lines (1015 loc) · 28.4 KB
/
package.json
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
{
"name": "amiga-assembly",
"displayName": "Amiga Assembly",
"description": "Amiga Assembly Support for Visual Studio Code",
"license": "GNU General Public License v3.0",
"homepage": "https://github.com/prb28/vscode-amiga-assembly",
"bugs": {
"url": "https://github.com/prb28/vscode-amiga-assembly/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/prb28/vscode-amiga-assembly"
},
"version": "1.8.12",
"publisher": "prb28",
"engines": {
"vscode": "^1.95.0"
},
"categories": [
"Formatters",
"Programming Languages",
"Debuggers"
],
"icon": "images/icon.png",
"galleryBanner": {
"color": "#000000",
"theme": "dark"
},
"activationEvents": [
"onDebug",
"onLanguage:c",
"onLanguage:amiga-assembly-debug.disassembly",
"onWebviewPanel:iffView",
"workspaceContains:**/*.{s,S,asm,ASM}"
],
"main": "./dist/extension.js",
"contributes": {
"languages": [
{
"id": "m68k",
"aliases": [
"Amiga-Assembly",
"M68k-Assembly",
"m68k"
],
"extensions": [
".s",
".i",
".asm"
],
"configuration": "./language-configuration.json"
},
{
"id": "amiga-assembly-debug.disassembly",
"aliases": [
"Amiga Assembly Debug Disassembly"
],
"extensions": [
".dbgasm"
]
}
],
"grammars": [
{
"language": "m68k",
"scopeName": "source.asm.m68k",
"path": "./syntaxes/M68k-Assembly.tmLanguage.json"
},
{
"language": "amiga-assembly-debug.disassembly",
"scopeName": "source.asm.dbgasm",
"path": "./syntaxes/Dbg-Assembly.tmLanguage.json"
}
],
"capabilities": {
"definitionProvider": "true",
"referencesProvider": "true",
"codeLensProvider": {
"resolveProvider": "true"
}
},
"configuration": {
"title": "Amiga Assembly",
"properties": {
"amiga-assembly.binDir": {
"type": "string",
"scope": "resource",
"default": "${extensionResourcesFolder}/bin/${platformName}",
"description": "Directory containing the binaries."
},
"amiga-assembly.logLevel": {
"type": "string",
"scope": "resource",
"default": "info",
"description": "Specifies the level of the logs."
},
"amiga-assembly.format.labelToInstructionDistance": {
"type": "integer",
"scope": "resource",
"default": 2,
"description": "Specifies the distance between a label and an instruction."
},
"amiga-assembly.format.instructionToDataDistance": {
"type": "integer",
"scope": "resource",
"default": 4,
"description": "Specifies the distance between an instruction and the data."
},
"amiga-assembly.format.dataToCommentsDistance": {
"type": "integer",
"scope": "resource",
"default": 4,
"description": "Specifies the distance between the data and the comment."
},
"amiga-assembly.format.variableToOperatorDistance": {
"type": "integer",
"scope": "resource",
"default": 1,
"description": "Specifies the distance between the variable and the assignment operator."
},
"amiga-assembly.format.operatorToValueDistance": {
"type": "integer",
"scope": "resource",
"default": 1,
"description": "Specifies the distance between the assignment operator and the value."
},
"amiga-assembly.format.preferredInstructionPosition": {
"type": "integer",
"scope": "resource",
"default": 0,
"description": "Specifies the preferred instruction position (if the label size is small enough)"
},
"amiga-assembly.format.preferredCommentPosition": {
"type": "integer",
"scope": "resource",
"default": 0,
"description": "Specifies the preferred comment position for a line with instruction (if the size is small enough)"
},
"amiga-assembly.format.useTabs": {
"type": "boolean",
"scope": "resource",
"default": false,
"description": "Format document with tabs and not with spaces"
},
"amiga-assembly.hover.numberDisplayFormat": {
"type": "string",
"scope": "resource",
"default": "#`@dec@` - $`@hex@` - %`@bin@` @ascii@",
"description": "Format of the detailed number display use @dec@, @hex@, @bin@, @oct@ and @ascii@ as values replacements"
},
"amiga-assembly.display.memoryFormat.hover": {
"type": "string",
"scope": "resource",
"default": "m ${symbol},24,2,4",
"description": "Default format for a memory dump in hover ('symbol' is replaced)"
},
"amiga-assembly.display.memoryFormat.watch": {
"type": "string",
"scope": "resource",
"default": "m ${symbol},104,2,4",
"description": "Default format for a memory dump in watch ('symbol' is replaced)"
},
"amiga-assembly.buildDir": {
"type": "string",
"scope": "window",
"default": "build",
"description": "Specifies the path to the build directory."
},
"amiga-assembly.tmpDir": {
"type": "string",
"scope": "window",
"default": "build",
"description": "Specifies the path to the temporary build directory."
},
"amiga-assembly.ASMOneCompatibilityEnabled": {
"type": "boolean",
"scope": "window",
"default": false,
"description": "Enables the ASMOne source compatibility commands."
},
"amiga-assembly.checkErrorOnSave": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "Compiles the current assembler file on save to show errors."
}
},
"completionProvider": {
"resolveProvider": "true"
}
},
"commands": [
{
"command": "amiga-assembly.bltcon-helper",
"title": "Amiga Assembly: BLTCON Helper",
"description": "Calculate values for Blitter custom registers"
},
{
"command": "amiga-assembly.calculator",
"title": "Amiga Assembly: Calculator",
"description": "Simple calculator in decimal, hexadecimal and binary"
},
{
"command": "amiga-assembly.evaluate-selection",
"title": "Amiga Assembly: Evaluate selection",
"description": "Evaluates the selection and shows the result"
},
{
"command": "amiga-assembly.evaluate-selection-replace",
"title": "Amiga Assembly: Evaluate selection and replace",
"description": "Evaluates the selection and replaces it by the result"
},
{
"command": "amiga-assembly.apply-formula",
"title": "Amiga Assembly: Apply formula to selected numerical values",
"description": "Applies a formula to to selected numerical values"
},
{
"command": "amiga-assembly.clean-vasm-workspace",
"title": "Amiga Assembly: Clean workspace",
"description": "Clean all the generated compilation objects"
},
{
"command": "amiga-assembly.disassemble-file",
"title": "Amiga Assembly: Disassemble file",
"description": "Disassembles an Amiga executable file"
},
{
"command": "amiga-assembly.disassemble-copper",
"title": "Amiga Assembly: Disassemble copper memory",
"description": "Disassembles memory address with copper instructions"
},
{
"command": "amiga-assembly.disassemble-memory",
"title": "Amiga Assembly: Disassemble memory",
"description": "Disassembles memory address"
},
{
"command": "amiga-assembly.list-used-registers",
"title": "Amiga Assembly: List used registers in selection",
"description": "Lists all the registers (a0-a7 / d0-d7) used in the selected code"
},
{
"command": "amiga-assembly.generate-data",
"title": "Amiga Assembly: Generate data from expression",
"description": "Generate numerical values from a mathematical expression"
},
{
"command": "amiga-assembly.view-iff",
"title": "Amiga Assembly: View IFF image",
"description": "Display an IFF/ILBM image"
},
{
"command": "amiga-assembly.showVariableAsDec",
"title": "View as Decimal"
},
{
"command": "amiga-assembly.showVariableAsHex",
"title": "View as Hex"
},
{
"command": "amiga-assembly.showVariableAsBin",
"title": "View as Binary"
},
{
"command": "amiga-assembly.showdoc-toc",
"title": "Amiga Assembly: Show documentation",
"description": "Display the documentation table of contents"
},
{
"command": "disassembledMemory.setDisassembledMemory",
"title": "Set disassembled memory"
},
{
"command": "amiga-assembly.create-example-workspace",
"title": "Amiga Assembly: Create example workspace"
},
{
"command": "amiga-assembly.clear-data-breakpoints-storage",
"title": "Amiga Assembly: Clear storage of data breakpoints"
}
],
"breakpoints": [
{
"language": "m68k"
},
{
"language": "amiga-assembly-debug.disassembly"
},
{
"language": "c"
},
{
"language": "cpp"
}
],
"debuggers": [
{
"type": "amiga-assembly",
"label": "Amiga-Assembly: Debug",
"program": "./out/debugAdapter.js",
"runtime": "node",
"configurationAttributes": {
"launch": {
"required": [
"program"
],
"properties": {
"program": {
"type": "string",
"description": "Local path of target Amiga binary",
"default": "^\"\\${workspaceFolder\\}/uae/dh0/myprogram\""
},
"remoteProgram": {
"type": "string",
"description": "Remote path of target Amiga binary (default: SYS:{basename of program})"
},
"stopOnEntry": {
"type": "boolean",
"description": "Automatically stop target after launch",
"default": false
},
"noDebug": {
"type": "boolean",
"description": "Just launch emulator without debugging",
"default": false
},
"trace": {
"type": "boolean",
"description": "Enable verbose logging",
"default": false
},
"serverName": {
"type": "string",
"description": "Host name of the debug server",
"default": "localhost"
},
"serverPort": {
"type": "number",
"description": "Port number of the debug server",
"default": 2345
},
"exceptionMask": {
"type": "number",
"description": "Mask used to catch the exceptions",
"default": 60
},
"emulatorType": {
"type": "string",
"enum": [
"fs-uae",
"winuae"
],
"description": "Emulator program type",
"default": "fs-uae"
},
"emulatorBin": {
"type": "string",
"description": "Path of emulator executable (default: use bundled version)"
},
"emulatorArgs": {
"type": "array",
"items": {
"type": "string",
"title": "Emulator option"
},
"default": [],
"description": "Additional CLI args to pass to emulator program. Remote debugger args are added automatically"
}
}
},
"attach": {
"required": [
"program"
],
"properties": {
"program": {
"type": "string",
"description": "Local path of target Amiga binary",
"default": "^\"\\${workspaceFolder\\}/uae/dh0/myprogram\""
},
"stopOnEntry": {
"type": "boolean",
"description": "Automatically stop target after launch",
"default": false
},
"trace": {
"type": "boolean",
"description": "Enable verbose logging",
"default": false
},
"serverName": {
"type": "string",
"description": "Host name of the debug server",
"default": "localhost"
},
"serverPort": {
"type": "number",
"description": "Port number of the debug server",
"default": 2345
},
"exceptionMask": {
"type": "number",
"description": "Mask used to catch the exceptions",
"default": 60
}
}
}
},
"initialConfigurations": [
{
"type": "amiga-assembly",
"request": "launch",
"name": "FS-UAE Debug",
"stopOnEntry": false,
"program": "${workspaceFolder}/uae/dh0/myprogram",
"remoteProgram": "SYS:myprogram",
"emulatorType": "fs-uae",
"emulatorArgs": [
"--hard_drive_0=${workspaceFolder}/uae/dh0",
"--automatic_input_grab=0"
],
"preLaunchTask": "amigaassembly: build"
},
{
"type": "amiga-assembly",
"request": "launch",
"name": "FS-UAE Launch",
"noDebug": true,
"program": "${workspaceFolder}/uae/dh0/myprogram",
"remoteProgram": "SYS:myprogram",
"emulatorType": "fs-uae",
"emulatorArgs": [
"--hard_drive_0=${workspaceFolder}/uae/dh0",
"--automatic_input_grab=0"
],
"preLaunchTask": "amigaassembly: build"
},
{
"type": "amiga-assembly",
"request": "launch",
"name": "WinUAE Debug",
"stopOnEntry": false,
"program": "${workspaceFolder}/uae/dh0/myprogram",
"remoteProgram": "SYS:myprogram",
"emulatorType": "winuae",
"emulatorArgs": [
"-s",
"filesystem=rw,dh0:${workspaceFolder}/uae/dh0"
],
"preLaunchTask": "amigaassembly: build"
},
{
"type": "amiga-assembly",
"request": "launch",
"name": "WinUAE Launch",
"noDebug": true,
"program": "${workspaceFolder}/uae/dh0/myprogram",
"remoteProgram": "SYS:myprogram",
"emulatorType": "winuae",
"emulatorArgs": [
"-s",
"filesystem=rw,dh0:${workspaceFolder}/uae/dh0"
],
"preLaunchTask": "amigaassembly: build"
}
],
"configurationSnippets": [
{
"label": "Amiga-Assembly: FS-UAE Debug",
"description": "A new configuration for debugging a program in FS-UAE.",
"body": {
"type": "amiga-assembly",
"request": "launch",
"name": "FS-UAE Debug",
"stopOnEntry": false,
"program": "^\"\\${workspaceFolder\\}/uae/dh0/myprogram\"",
"remoteProgram": "SYS:myprogram",
"emulatorType": "fs-uae",
"emulatorArgs": [
"^\"--hard_drive_0=\\${workspaceFolder\\}/uae/dh0\"",
"--automatic_input_grab=0"
],
"preLaunchTask": "amigaassembly: build"
}
},
{
"label": "Amiga-Assembly: FS-UAE Run",
"description": "A new configuration to launch a program in FS-UAE.",
"body": {
"type": "amiga-assembly",
"request": "launch",
"name": "FS-UAE Launch",
"noDebug": true,
"program": "^\"\\${workspaceFolder\\}/uae/dh0/myprogram\"",
"remoteProgram": "SYS:myprogram",
"emulatorType": "fs-uae",
"emulatorArgs": [
"^\"--hard_drive_0=\\${workspaceFolder\\}/uae/dh0\"",
"--automatic_input_grab=0"
],
"preLaunchTask": "amigaassembly: build"
}
},
{
"label": "Amiga-Assembly: WinUAE Debug",
"description": "A new configuration for debugging a program in WinUAE.",
"body": {
"type": "amiga-assembly",
"request": "launch",
"name": "WinUAE Debug",
"stopOnEntry": false,
"program": "^\"\\${workspaceFolder\\}/uae/dh0/myprogram\"",
"remoteProgram": "SYS:myprogram",
"emulatorType": "winuae",
"emulatorArgs": [
"-s",
"^\"filesystem=rw,dh0:\\${workspaceFolder\\}/uae/dh0\""
],
"preLaunchTask": "amigaassembly: build"
}
},
{
"label": "Amiga-Assembly: WinUAE Run",
"description": "A new configuration to launch a program in WinUAE.",
"body": {
"type": "amiga-assembly",
"request": "launch",
"name": "WinUAE Launch",
"noDebug": true,
"program": "^\"\\${workspaceFolder\\}/uae/dh0/myprogram\"",
"remoteProgram": "SYS:myprogram",
"emulatorType": "winuae",
"emulatorArgs": [
"-s",
"^\"filesystem=rw,dh0:\\${workspaceFolder\\}/uae/dh0\""
],
"preLaunchTask": "amigaassembly: build"
}
}
]
},
{
"type": "fs-uae",
"label": "Amiga-Assembly: FS-UAE Debug (Deprecated)",
"program": "./out/debugAdapter.js",
"runtime": "node",
"configurationAttributes": {
"launch": {
"required": [
"program"
],
"properties": {
"program": {
"type": "string",
"description": "Path to an amiga program.",
"default": "^\"\\${workspaceFolder\\}/uae/dh0/myprogram\""
},
"startEmulator": {
"type": "boolean",
"description": "If true the emulator will be started before debugging.",
"default": "true"
},
"emulator": {
"type": "string",
"description": "Path to the fs-uae emulator.",
"default": "^\"\\${config:amiga-assembly.binDir\\}/fs-uae\""
},
"emulatorWorkingDir": {
"type": "string",
"description": "Path to the working directory of the emulator.",
"default": "^\"\\${config:amiga-assembly.binDir\\}\""
},
"stopOnEntry": {
"type": "boolean",
"description": "Automatically stop after launch.",
"default": true
},
"trace": {
"type": "boolean",
"description": "Enable logging of the Debug Adapter Protocol.",
"default": false
},
"serverName": {
"type": "string",
"description": "Host running fs-uae",
"default": "localhost"
},
"serverPort": {
"type": "number",
"description": "Socket port to connect to FS-UAE",
"default": 6860
},
"exceptionMask": {
"type": "number",
"description": "Mask used to catch the exceptions",
"default": 60
},
"emulatorStartDelay": {
"type": "number",
"description": "Mask used to catch the exceptions",
"default": 100
},
"sourceFileMap": {
"type": "object",
"description": "Optional source file mappings passed to the debug engine. Example: '{ \"/original/source/path\":\"/current/source/path\" }'",
"default": {
"<source-path>": "<target-path>"
}
},
"rootSourceFileMap": {
"type": "array",
"description": "Root paths to seek for sources",
"items": {
"type": "string",
"title": "Root source path"
},
"default": []
},
"options": {
"type": "array",
"items": {
"type": "string",
"title": "Emulator option"
},
"default": [],
"description": "Emulator options"
}
}
}
}
},
{
"type": "uae-run",
"label": "Amiga-Assembly: Run (Deprecated)",
"program": "./out/debugAdapter.js",
"runtime": "node",
"configurationAttributes": {
"launch": {
"required": [
"emulator"
],
"properties": {
"emulator": {
"type": "string",
"description": "Path to the uae emulator.",
"default": "Path to uae executable"
},
"emulatorWorkingDir": {
"type": "string",
"description": "Path to the working directory of the emulator.",
"default": "."
},
"trace": {
"type": "boolean",
"description": "Enable logging of the Debug Adapter Protocol.",
"default": true
},
"options": {
"type": "array",
"items": {
"type": "string",
"title": "Emulator option"
},
"default": [],
"description": "Emulator options"
}
}
}
}
},
{
"type": "winuae",
"label": "Amiga-Assembly: WinUAE Debug (Deprecated)",
"program": "./out/debugAdapter.js",
"runtime": "node",
"configurationAttributes": {
"launch": {
"required": [
"program"
],
"properties": {
"program": {
"type": "string",
"description": "Path to an amiga program.",
"default": "${workspaceFolder}/myprogram"
},
"startEmulator": {
"type": "boolean",
"description": "If true the emulator will be started before debugging.",
"default": "true"
},
"emulator": {
"type": "string",
"description": "Path to the WinUAE emulator.",
"default": "Path to WinUAE executable"
},
"emulatorWorkingDir": {
"type": "string",
"description": "Path to the working directory of the emulator.",
"default": "."
},
"stopOnEntry": {
"type": "boolean",
"description": "Automatically stop after launch.",
"default": true
},
"trace": {
"type": "boolean",
"description": "Enable logging of the Debug Adapter Protocol.",
"default": true
},
"serverName": {
"type": "string",
"description": "Host running WinUAE",
"default": "localhost"
},
"serverPort": {
"type": "number",
"description": "Socket port to connect to WinUAE",
"default": 6860
},
"exceptionMask": {
"type": "number",
"description": "Mask used to catch the exceptions",
"default": 60
},
"emulatorStartDelay": {
"type": "number",
"description": "Mask used to catch the exceptions",
"default": 100
},
"sourceFileMap": {
"type": "object",
"description": "Optional source file mappings passed to the debug engine. Example: '{ \"/original/source/path\":\"/current/source/path\" }'",
"default": {
"<source-path>": "<target-path>"
}
},
"rootSourceFileMap": {
"type": "array",
"description": "Root paths to seek for sources",
"items": {
"type": "string",
"title": "Root source path"
},
"default": []
},
"options": {
"type": "array",
"items": {
"type": "string",
"title": "Emulator option"
},
"default": [],
"description": "Emulator options"
}
}
}
}
}
],
"snippets": [
{
"language": "m68k",
"path": "./snippets/m68k.json"
}
],
"menus": {
"explorer/context": [
{
"when": "resourceExtname =~ /\\.iff/i",
"command": "amiga-assembly.view-iff",
"group": "3_preview"
}
],
"debug/variables/context": [
{
"command": "amiga-assembly.showVariableAsDec",
"when": "debugType == 'winuae' || debugType == 'fs-uae'",
"group": "1_view"
},
{
"command": "amiga-assembly.showVariableAsHex",
"when": "debugType == 'winuae' || debugType == 'fs-uae'",
"group": "1_view"
},
{
"command": "amiga-assembly.showVariableAsBin",
"when": "debugType == 'winuae' || debugType == 'fs-uae'",
"group": "1_view"
}
]
},
"views": {
"debug": [
{
"id": "disassembledMemory",
"name": "DISASSEMBLED MEMORY"
}
]
},
"taskDefinitions": [
{
"type": "amigaassembly",
"required": [],
"properties": {
"vasm": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "If true the VASM compiler is enabled"
},
"command": {
"type": "string",
"description": "File with absolute path to the VASM compiler"
},
"args": {
"type": "array",
"items": {
"type": "string",
"title": "compiler option"
},
"default": [],
"description": "Compiler options"
},
"leaveWarnings": {
"type": "boolean",
"description": "If false the warnings will stop the build"
}
},
"default": {
"enabled": true,
"command": "${config:amiga-assembly.binDir}/vasmm68k_mot",
"args": [
"-m68000",
"-Fhunk",
"-linedebug"
],
"leaveWarnings": false
},
"description": "VASM compiler configuration"
},
"vlink": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "If true the VLINK linker is enabled"
},
"command": {
"type": "string",
"description": "File with absolute path to the VLINK linker"
},
"includes": {
"type": "string",
"description": "GlobPattern to select the source files to link"
},
"excludes": {
"type": "string",
"description": "GlobPattern to select the source files to exclude from the link"
},
"entrypoint": {
"type": "string",
"description": "Name of the object file containing the entrypoint"
},
"createStartupSequence": {
"type": "boolean",
"description": "If true a startup-sequence file will be created if not present"
},
"createExeFileParentDir": {
"type": "boolean",
"description": "If true the parent dir of the exe file will be created"
},
"exefilename": {
"type": "string",
"description": "Name of the executable file relative to the build dir"
},
"args": {
"type": "array",
"items": {
"type": "string",
"title": "linker option"
},
"default": [],
"description": "linker options"
}
},
"default": {
"enabled": true,
"command": "${config:amiga-assembly.binDir}/vlink",
"includes": "*.{s,S,asm,ASM}",
"excludes": "",
"createStartupSequence": true,
"createExeFileParentDir": true,
"exefilename": "../uae/dh0/myprogram",
"args": [
"-bamigahunk",
"-Bstatic"
]
},
"description": "VLINK linker configuration"
},
"adfgenerator": {
"type": "object",
"scope": "window",
"properties": {
"ADFToolsParentDir": {
"type": "string",
"description": "Path to the parent dir of the adftools binaries"
},
"outputADFFile": {
"type": "string",
"description": "File with absolute path to new ADF disk file"
},
"sourceRootDir": {
"type": "string",
"description": "Path to the root dir of the files to copy"
},
"includes": {
"type": "string",
"description": "GlobPattern to select the files to include in the ADF disk"
},
"excludes": {
"type": "string",
"description": "GlobPattern to select the files to exclude in the ADF disk"
},
"adfCreateOptions": {
"type": "array",
"items": {
"type": "string",
"title": "adfCreate option"
},
"default": [],
"description": "adfCreate options"
},
"bootBlockSourceFile": {
"type": "string",
"description": "Source file containing the code of the bootblock"
}
},
"default": {
"ADFToolsParentDir": "${config:amiga-assembly.binDir}",
"sourceRootDir": "uae/dh0",
"outputADFFile": "./build/disk.adf",
"includes": "**/*",
"excludes": "**/.*",
"adfCreateOptions": [
"--label=MYDISK"
]
},
"description": "ADFFile generation from the destination build dir"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "webpack --mode production",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"test-compile": "tsc -p ./ && npm run webpack",
"lint": "eslint -f json src --ext ts > lint-report.json",
"test": "node ./out/test/runTest.js",
"package": "vsce package",
"publish": "vsce publish"
},
"devDependencies": {
"@johanblumenberg/ts-mockito": "^1.0.45",
"@types/chai": "^4.3.10",
"@types/chai-as-promised": "^7.1.8",
"@types/mocha": "^10.0.10",
"@types/node": "^20",
"@types/temp": "^0.9.4",
"@types/unzipper": "^0.10.10",
"@types/uuid": "^10.0.0",
"@types/vscode": "^1.95.0",
"@typescript-eslint/eslint-plugin": "^8.17.0",
"@typescript-eslint/parser": "^8.17.0",
"@vscode/debugadapter-testsupport": "^1.68.0",
"@vscode/test-electron": "^2.4.1",
"chai": "^4.3.10",
"chai-as-promised": "^7.1.1",
"copy-webpack-plugin": "^12.0.2",
"decache": "^4.6.2",
"del": "^8.0.0",
"eslint": "^8.56.0",
"eslint-plugin-mocha-no-only": "^1.1.1",
"mocha": "^10.2.0",
"mocha-junit-reporter": "^2.2.1",
"mocha-multi-reporters": "^1.5.1",
"temp": "^0.9.4",
"ts-loader": "^9.5.1",
"tty": "^1.0.1",
"typescript": "^5.7.2",
"webpack": "^5.97.1",
"webpack-cli": "^5.1.4"
},
"dependencies": {