67 lines
2.0 KiB
JSON
67 lines
2.0 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "make Orion-128 BASIC (sjasmplus)",
|
|
"type": "shell",
|
|
"command": "sjasmplus",
|
|
"args": [
|
|
"--fullpath",
|
|
"--nofakes",
|
|
"--sld=bas-24.sld",
|
|
"basic.asm"
|
|
],
|
|
"problemMatcher": {
|
|
"owner": "sjasmplus",
|
|
"fileLocation": "autoDetect",
|
|
"pattern": {
|
|
"regexp": "^(.*)\\((\\d+)\\):\\s+(warning|error):\\s+(.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"severity": 3,
|
|
"message": 4
|
|
}
|
|
},
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
|
|
{
|
|
"label": "Optimize Orion-128 BASIC (MDL)",
|
|
"type": "shell",
|
|
"command": "/opt/java21/bin/java -jar ~/Soft/MDL/mdl.jar basic.asm -cpu z80 -po -dialect sjasmplus",
|
|
"problemMatcher": {
|
|
"applyTo": "allDocuments",
|
|
"fileLocation": [
|
|
"autoDetect",
|
|
"${workspaceFolder}"
|
|
],
|
|
"owner": "mdl",
|
|
"pattern": [
|
|
{
|
|
"regexp": "^(\\w+): (.+) in (.+)#([0-9]+): (.+)$",
|
|
"file": 3,
|
|
"line": 4,
|
|
"severity": 1,
|
|
"message": 5,
|
|
"code": 2
|
|
}
|
|
]
|
|
},
|
|
"presentation": {
|
|
"echo": false,
|
|
"focus": false,
|
|
"panel": "dedicated",
|
|
"showReuseMessage": false,
|
|
"clear": true,
|
|
"revealProblems": "onProblem"
|
|
},
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": false
|
|
}
|
|
}
|
|
]
|
|
} |