forked from BartmanAbyss/vscode-amiga-debug
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
640 lines (640 loc) · 15.1 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
{
"name": "amiga-debug-job",
"displayName": "Amiga C/C++ Compile, Debug & Profile (fork with libs support)",
"publisher": "JOB",
"description": "One-stop VS Code Extension to compile, debug and profile Amiga C/C++ programs compiled by the bundled gcc 13.2 with the bundled WinUAE/FS-UAE and GDB. This fork provides support for libraries",
"repository": {
"url": "https://github.com/jyoberle/vscode-amiga-debug"
},
"version": "1.7.7",
"license": "GPL-3.0-or-later",
"engines": {
"vscode": "^1.46.0"
},
"categories": [
"Debuggers"
],
"icon": "icon.png",
"activationEvents": [
"onDebug",
"onCommand:amiga.bin-path",
"onCommand:amiga.initProject",
"onCommand:amiga.terminal",
"onCommand:amiga.profileSize",
"onCommand:amiga.shrinkler",
"onCommand:amiga.disassembleElf",
"onCommand:amiga.exe2adf",
"onCommand:amiga.cleanTemp",
"onCommand:amiga.externalResources.gradientMaster",
"onCommand:amiga.externalResources.imageTool",
"onCommand:amiga.externalResources.colorReducer",
"onCommand:amiga.externalResources.bltconCheatSheet",
"onCommand:amiga.externalResources.amigaHRM",
"onCustomEditor:amiga.profile",
"onCustomEditor:amiga.objdump",
"onCustomEditor:amiga.savestate",
"onLanguage:amiga.assembly",
"onLanguage:m68k",
"workspaceContains:.vscode/amiga.json"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "amiga.registers.selectedNode",
"title": "Selected"
},
{
"command": "amiga.registers.copyValue",
"title": "Copy Value"
},
{
"command": "amiga.registers.setFormat",
"title": "Set Value Format"
},
{
"category": "Amiga",
"command": "amiga.examineMemory",
"title": "View Memory"
},
{
"category": "Amiga",
"command": "amiga.examineMemoryVariable",
"title": "View Memory"
},
{
"category": "Amiga",
"command": "amiga.examineMemoryVariableIndirect",
"title": "View Memory (pointer)"
},
{
"category": "Amiga",
"command": "amiga.viewDisassembly",
"title": "View Disassembly (Function)"
},
{
"category": "Amiga",
"command": "amiga.setForceDisassembly",
"title": "Set Force Disassembly"
},
{
"category": "Amiga",
"command": "amiga.setDisassembledMemory",
"title": "Set Disassembled Memory"
},
{
"category": "Amiga",
"command": "amiga.initProject",
"title": "Init Project"
},
{
"category": "Amiga",
"command": "amiga.initProjectWithLibs",
"title": "Init Project With Libs"
},
{
"category": "Amiga",
"command": "amiga.cleanTemp",
"title": "Clean Temp Files"
},
{
"category": "Amiga",
"command": "amiga.startProfile",
"title": "Profile",
"icon": "$(graph)"
},
{
"category": "Amiga",
"command": "amiga.startProfileMulti",
"title": "Profile (Multi)",
"icon": "$(settings)"
},
{
"category": "Amiga",
"command": "amiga.profileSize",
"title": "Amiga: Profile File Size"
},
{
"category": "Amiga",
"command": "amiga.disassembleElf",
"title": "Amiga: Disassemble ELF File"
},
{
"category": "Amiga",
"command": "amiga.shrinkler",
"title": "Amiga: Shrinkle File"
},
{
"category": "Amiga",
"command": "amiga.externalResources.gradientMaster",
"title": "Open Gradient Master"
},
{
"category": "Amiga",
"command": "amiga.externalResources.imageTool",
"title": "Open Image Tool"
},
{
"category": "Amiga",
"command": "amiga.externalResources.colorReducer",
"title": "Open Color Reducer"
},
{
"category": "Amiga",
"command": "amiga.externalResources.bltconCheatSheet",
"title": "Open BLTCON Cheat Sheet"
},
{
"category": "Amiga",
"command": "amiga.externalResources.amigaHRM",
"title": "Open Amiga Hardware Reference Manual"
},
{
"category": "Amiga",
"command": "amiga.terminal",
"title": "Open Terminal"
},
{
"category": "Amiga",
"command": "amiga.exe2adf",
"title": "Amiga: Convert EXE to ADF"
},
{
"category": "Amiga",
"command": "amiga.toggleCounts",
"title": "Toggle Cycle Counts"
}
],
"languages": [
{
"id": "amiga.disassembly",
"aliases": [
"Amiga Disassembly"
],
"extensions": [
".amigaasm"
],
"configuration": "./amiga.disassembly-language-configuration.json"
},
{
"id": "amiga.assembly",
"aliases": [
"Amiga Assembly (GAS)"
],
"extensions": [
".s"
],
"configuration": "./amiga.assembly-language-configuration.json"
},
{
"id": "amiga.savestate",
"extensions": [
".uss"
],
"icon": {
"light": "icon.png",
"dark": "icon.png"
}
},
{
"id": "amiga.profile",
"extensions": [
".amigaprofile",
".shrinklerstats"
],
"icon": {
"light": "icon.png",
"dark": "icon.png"
}
},
{
"id": "amiga.objdump",
"extensions": [
".objdump"
],
"icon": {
"light": "icon.png",
"dark": "icon.png"
}
}
],
"grammars": [
{
"language": "amiga.disassembly",
"scopeName": "source.amiga-disassembly",
"path": "./syntaxes/amiga-disassembly.json"
},
{
"language": "amiga.assembly",
"scopeName": "source.amiga-assembly",
"path": "./syntaxes/amiga-assembly.json"
}
],
"customEditors": [
{
"viewType": "amiga.profile",
"displayName": "Amiga Profile Visualizer",
"priority": "default",
"selector": [
{
"filenamePattern": "*.amigaprofile"
},
{
"filenamePattern": "*.shrinklerstats"
}
]
},
{
"viewType": "amiga.objdump",
"displayName": "Amiga ELF Disassembly",
"priority": "default",
"selector": [
{
"filenamePattern": "*.objdump"
}
]
},
{
"viewType": "amiga.savestate",
"displayName": "Amiga WinUAE Savestate",
"priority": "default",
"selector": [
{
"filenamePattern": "*.uss"
}
]
}
],
"breakpoints": [
{
"language": "c"
},
{
"language": "cpp"
},
{
"language": "amiga.assembly"
},
{
"language": "amiga.disassembly"
},
{
"language": "m68k"
}
],
"debuggers": [
{
"type": "amiga",
"label": "Amiga Debug",
"program": "./dist/debugAdapter.js",
"runtime": "node",
"configurationAttributes": {
"launch": {
"required": [
"program"
],
"properties": {
"config": {
"type": "string",
"description": "Amiga model (A500, A1200, A4000)",
"default": "A500",
"enum": [
"A500",
"A1200",
"A1200-FAST",
"A1200-030",
"A3000",
"A4000"
]
},
"program": {
"type": "string",
"description": "Absolute path to a executable file.",
"default": ""
},
"endcli": {
"type": "boolean",
"description": "Run with EndCLI so you can call CloseWorkBench()",
"default": false
},
"stack": {
"type": "string",
"description": "Override stack size (in bytes)",
"default": ""
},
"uaelog": {
"type": "boolean",
"description": "Show WinUAE log output in debug console",
"default": true
},
"kickstart": {
"type": "string",
"description": "Absolute path to a Kickstart ROM",
"default": ""
},
"cpuboard": {
"type": "string",
"description": "Absolute path to a CPU Board Extension ROM",
"default": ""
},
"chipmem": {
"type": "string",
"description": "Override CHIP memory size. Set to empty string for configuration defaults.",
"default": "",
"enum": [
"",
"256k",
"512k",
"1m",
"1.5m",
"2m"
]
},
"fastmem": {
"type": "string",
"description": "Override FAST memory size. Set to empty string for configuration defaults.",
"default": "",
"enum": [
"",
"0",
"64k",
"128k",
"256k",
"512k",
"1M",
"2M",
"4M",
"8M"
]
},
"slowmem": {
"type": "string",
"description": "Override SLOW memory size. Set to empty string for configuration defaults.",
"default": "",
"enum": [
"",
"0",
"512k",
"1M",
"1.8M"
]
},
"ntsc": {
"type": "boolean",
"description": "NTSC mode",
"default": false
},
"emuargs": {
"type": "array",
"items": {
"type": "string",
"title": "argument"
},
"description": "Addtional CLI arguments for emulator",
"default": []
},
"workbench": {
"type": "string",
"description": "Absolute path to a Workbench floppy (.adf), hard disk (.vhd) or directory virtual hard disk.",
"default": ""
},
"assigns": {
"type": "string",
"description": "List of assigns for libs, e.g. LIBS: dh2:LIBS DH2:MUI/Libs.",
"default": ""
},
"bsdSocket": {
"type": "boolean",
"description": "Ask UAE to make bsdsocket lib available.",
"default": false
},
"cmdList": {
"type": "string",
"description": "List of additional commands (separated by commas) to be added at the end of the startup-sequence, e.g. df0:System/rexxmast.",
"default": ""
}
}
}
},
"initialConfigurations": [
{
"type": "amiga",
"request": "launch",
"name": "Ask for file name",
"config": "A500",
"program": "",
"kickstart": "<Enter path to KICKSTART 1.3 ROM here>"
}
],
"configurationSnippets": [
{
"label": "Amiga Debug: Launch",
"description": "A new configuration for debugging Amiga projects.",
"body": {
"type": "amiga",
"request": "launch",
"name": "Ask for file name",
"config": "A500",
"program": "",
"kickstart": "<Enter path to KICKSTART 1.3 ROM here>"
}
}
]
}
],
"menus": {
"commandPalette": [
{
"command": "amiga.registers.copyValue",
"when": "false"
},
{
"command": "amiga.examineMemory",
"when": "debugType == amiga"
},
{
"command": "amiga.viewDisassembly",
"when": "debugType == amiga"
},
{
"command": "amiga.setForceDisassembly",
"when": "debugType == amiga"
}
],
"view/item/context": [
{
"command": "amiga.registers.copyValue",
"when": "view == amiga.registers && viewItem == register"
},
{
"command": "amiga.registers.copyValue",
"when": "view == amiga.customRegisters && viewItem == register"
},
{
"command": "amiga.registers.copyValue",
"when": "view == amiga.registers && viewItem == field"
},
{
"command": "amiga.registers.setFormat",
"when": "view == amiga.registers || view == amiga.customRegisters"
}
],
"debug/toolBar": [
{
"command": "amiga.startProfileMulti",
"when": "debugType == amiga"
},
{
"command": "amiga.startProfile",
"when": "debugType == amiga"
}
],
"debug/variables/context": [
{
"command": "amiga.examineMemoryVariable",
"when": "debugType == amiga"
},
{
"command": "amiga.examineMemoryVariableIndirect",
"when": "debugType == amiga"
}
],
"view/title": [],
"explorer/context": [
{
"command": "amiga.profileSize",
"group": "1_amiga",
"when": "resourceExtname == '.elf'"
},
{
"command": "amiga.disassembleElf",
"group": "1_amiga",
"when": "resourceExtname == '.elf'"
},
{
"command": "amiga.shrinkler",
"group": "1_amiga",
"when": "resourceExtname == '.exe'"
},
{
"command": "amiga.exe2adf",
"group": "1_amiga",
"when": "resourceExtname == '.exe'"
}
]
},
"views": {
"debug": [
{
"id": "amiga.disassembledMemory",
"name": "Disassembled Memory",
"when": "debugType == amiga"
},
{
"id": "amiga.registers",
"name": "CPU Registers",
"when": "debugType == amiga"
},
{
"id": "amiga.customRegisters",
"name": "Custom Registers",
"when": "debugType == amiga"
}
]
},
"configuration": [
{
"title": "Amiga C/C++ Compile, Debug & Profile",
"properties": {
"amiga.program": {
"type": "string",
"default": "out/a",
"description": "Path to the output program (without extension), relative to the workspace."
},
"amiga.rom-paths.A500": {
"type": "string",
"default": "c:/amiga/KICK13.rom",
"description": "Path to the Kickstart ROM for A500 models."
},
"amiga.rom-paths.A1200": {
"type": "string",
"default": "c:/amiga/KICK31.rom",
"description": "Path to the Kickstart ROM for A1200 models."
},
"amiga.rom-paths.A4000": {
"type": "string",
"default": "c:/amiga/KICK31.rom",
"description": "Path to the Kickstart ROM for A4000 models."
},
"amiga.workbench-path": {
"type": "string",
"default": "c:/amiga/WorkBench3.1.adf",
"description": "Path to the workbench floppy or hard disk."
}
}
}
]
},
"scripts": {
"vscode:prepublish": "webpack --mode=production",
"compile": "webpack --mode=development",
"watch": "webpack --watch --mode=development",
"lint": "eslint -c .eslintrc.js --ext .ts,.tsx src"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.16",
"@types/pubsub-js": "^1.8.6",
"@types/react-highlight-words": "^0.16.7",
"@types/react-tabs": "^2.3.4",
"@types/vscode": "^1.46",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"base64-encoding": "^0.15.0-alpha.0",
"clean-webpack-plugin": "^4.0.0",
"css-loader": "^6.10.0",
"devtools-protocol": "^0.0.1255431",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^48.0.6",
"eslint-plugin-prefer-arrow": "^1.2.3",
"fork-ts-checker-webpack-plugin": "^9.0.2",
"glob": "^8.1.0",
"markdown-to-jsx": "^7.4.1",
"mocha": "^10.2.0",
"preact": "^10.19.3",
"preact-virtual-list": "^0.3.1",
"pubsub-js": "^1.9.4",
"raw-loader": "^4.0.2",
"react": "npm:@preact/compat@^17.1.2",
"react-dom": "npm:@preact/compat@^17.1.2",
"react-highlight-words": "^0.20.0",
"react-split": "^2.0.14",
"react-tabs": "^4.3.0",
"source-map-loader": "^5.0.0",
"style-loader": "^3.3.4",
"svg-inline-loader": "^0.8.2",
"terser-webpack-plugin": "^5.3.10",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"vscode-debugadapter-testsupport": "^1.51.0",
"vscode-test": "^1.6.1",
"webpack": "^5.90.1",
"webpack-cli": "^5.1.4",
"zustand": "^4.5.0"
},
"dependencies": {
"m68kdecode": "^1.1.4",
"vscode-cpptools": "^6.1.0",
"vscode-debugadapter": "^1.51.0",
"vscode-debugprotocol": "^1.51.0",
"vscode-jsonrpc": "^8.2.0"
},
"vsce": {
"dependencies": false,
"useYarn": false
}
}