Browse Source

Merge branch 'vscode' of midwan/zz9000-sdk into master

master
Lukas F. Hartmann 6 months ago
parent
commit
1e5363d7a4
3 changed files with 66 additions and 0 deletions
  1. 19
    0
      zz9k-loader/.vscode/c_cpp_properties.json
  2. 37
    0
      zz9k-loader/.vscode/tasks.json
  3. 10
    0
      zz9k-loader/build.cmd

+ 19
- 0
zz9k-loader/.vscode/c_cpp_properties.json View File

@@ -0,0 +1,19 @@
{
"configurations": [
{
"name": "AmigaOS3",
"includePath": [
"${workspaceFolder}/**",
"${VBCC}/targets/m68k-amigaos/include",
"${VBCC}/ndk39/include/include_h",
"${VBCC}/cybergraphics/include"
],
"defines": [],
"compilerPath": "${VBCC}/bin/vc",
"cStandard": "c99",
"cppStandard": "c++98",
"intelliSenseMode": "${default}"
}
],
"version": 4
}

+ 37
- 0
zz9k-loader/.vscode/tasks.json View File

@@ -0,0 +1,37 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Build",
"type": "shell",
"windows": {
"command": "vc +aos68k -ID:/vbcc/cybergraphics/include -c99 -O2 -o ./zz9k ./zz9k.c -lamiga -lauto"
},
"osx": {
"command": "vc +aos68k -I/opt/vbcc/cybergraphics/include -c99 -O2 -o ./zz9k ./zz9k.c -lamiga -lauto"
},
"linux": {
"command": "vc +aos68k -I/opt/vbcc/cybergraphics/include -c99 -O2 -o ./zz9k ./zz9k.c -lamiga -lauto"
},
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Clean",
"type": "shell",
"windows": {
"command": "del ./zz9k"
},
"osx": {
"command": "rm ./zz9k"
},
"linux": {
"command": "rm ./zz9k"
}
}
]
}

+ 10
- 0
zz9k-loader/build.cmd View File

@@ -0,0 +1,10 @@
@ECHO OFF
REM Windows specific vbcc build script
REM This implies that you have the following:
REM 1) vbcc already installed and in your path (check https://blitterstudio.com/) in D:\vbcc
REM 2) The NDK 3.9 included in your "aos68k" config
REM 3) The CyberGraphX DevKit extracted in D:\vbcc\cybergraphics
REM
REM Please adapt the script accordingly if your environment is different
REM
vc +aos68k -I"D:\vbcc\cybergraphics\include" -c99 -O2 -o .\zz9k .\zz9k.c -lamiga -lauto

Loading…
Cancel
Save