-
Notifications
You must be signed in to change notification settings - Fork 0
/
launch.json
86 lines (85 loc) · 2.81 KB
/
launch.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
{
"version": "0.2.0",
"configurations": [
{
"type": "dezog",
"request": "launch",
"name": "Internal Simulator",
"remoteType": "zsim",
"zsim": {
"visualMemory": true,
"memoryModel": "CUSTOM",
"customMemory": [
// 0-3FFF: 8kB ROM mirrored two times
// 4000-6000: RAM: smaller slot of 8192
// 6000-8000: None
// 8000-FFFF: paged, 16 banks of 32K
{ "range": [0, "3FFFh"], "rom": "${workspaceFolder}/reng/PLU10.HEX", "romOffset": "4000h", "name": "ROM" },
{ "range": ["4000h", "5FFFh"], "name": "Common" },
{ "range": ["8000h", "FFFFh"], "banked": {
"count": 16,
"ioMmu": {
"port": { "mask": "FFh", "match": "80h" },
"dataBits": [0, 1, 2, 3]
}
} }
]
},
"history": {
"reverseDebugInstructionCount": 1000000,
"spotCount": 10,
"codeCoverageEnabled": true
},
// "z88dk": [
// {
// "path": "${workspaceFolder}/main.lis",
// "mainFile": "${workspaceFolder}/main.asm",
// "mapFile": "${workspaceFolder}/main.map",
// "srcDirs": [
// ""
// ]
// }
// ],
"startAutomatically": false,
"commandsAfterLaunch": [
"-logpoint enable",
"-assertion enable",
"-wpmem enable"
],
"disassemblerArgs": {
"esxdosRst": true
},
"rootFolder": "${workspaceFolder}",
"smallValuesMaximum": 513,
"tmpDir": ".tmp"
},
{
"type": "dezog",
"request": "launch",
"name": "Unit Tests - Simulator",
"unitTests": true,
"presentation": {
"hidden": true
},
"remoteType": "zsim",
"zsim": {
"Z80N": true,
"visualMemory": true,
"memoryModel": "RAM"
},
"sjasmplus": [
{
"path": "z80-sample-program.sld"
}
],
"commandsAfterLaunch": [
"-logpoint enable",
"-assertion enable",
"-wpmem enable"
],
"startAutomatically": true,
"rootFolder": "${workspaceFolder}",
"load": "z80-sample-program.nex"
}
]
}