Created
December 10, 2022 11:46
-
-
Save h1romas4/3ba3dc47bb48adb062587c8b1ab62700 to your computer and use it in GitHub Desktop.
Project in DeZog/MAME
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// IntelliSense を使用して利用可能な属性を学べます。 | |
// 既存の属性の説明をホバーして表示します。 | |
// 詳細情報は次を確認してください: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "dezog", | |
"request": "launch", | |
"name": "DeZog", | |
"remoteType": "mame", | |
"mame": { | |
"port": 23946 | |
}, | |
"z88dkv2": [ // Z88DK 2.2 and DeZog 3.0 or higher | |
{ | |
"path": "src/msx/main.asm.lis", | |
"mapFile": "dist/c-runner.map", | |
"srcDirs": [""] // Sources mode | |
}, | |
{ | |
"path": "src/msx/psgdriver.asm.lis", | |
"mapFile": "dist/c-runner.map", | |
"srcDirs": [""] // Sources mode | |
} | |
], | |
"rootFolder": "${workspaceFolder}", | |
"commandsAfterLaunch": [ | |
"-rmv", | |
// "-mv 0xc000 0x100" | |
], | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd msx-CorridorRunner | |
# add .gitinogre | |
echo "mics/" >> .gitignore | |
# project in MAME & C-BIOS | |
wget https://maple4estry.netlify.app/files/mame-cbios-rev250.tar.gz | |
tar zxvf mame-cbios-rev250.tar.gz | |
rm mame-cbios-rev250.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "CMake Clean directory", | |
"type": "shell", | |
"linux": { | |
"command": "rm -Rf ${workspaceFolder}/build && mkdir ${workspaceFolder}/build" | |
} | |
}, | |
{ | |
"label": "CMake Run", | |
"type": "shell", | |
"dependsOn": "Clean CMake directory", | |
"linux": { | |
"command": "(cd ${workspaceFolder}/build && cmake -DCMAKE_TOOLCHAIN_FILE=${workspaceFolder}/cmake/z88dk.cmake ..)" | |
} | |
}, | |
{ | |
"label": "Make Compile", | |
"type": "shell", | |
"linux": { | |
"command": "(cd ${workspaceFolder}/build && make)" | |
} | |
}, | |
{ | |
"label": "MAME Launch", | |
"type": "shell", | |
"dependsOn":[ | |
"Deploy for MAME" | |
], | |
"linux": { | |
"command": "(cd ${workspaceFolder}/mics/mame && ./mame cbiosm1jp crunner)" | |
} | |
}, | |
{ | |
"label": "MAME Launch with debugger", | |
"type": "shell", | |
"dependsOn":[ | |
"Deploy for MAME" | |
], | |
"linux": { | |
"command": "(cd ${workspaceFolder}/mics/mame && ./mame cbiosm1jp crunner -debugger gdbstub -debug)" | |
} | |
}, | |
{ | |
"label": "Deploy for MAME", | |
"type": "shell", | |
"linux": { | |
"command": "(cd dist/ && rm -f ${workspaceFolder}/mics/mame/roms/msx1_cart/crunner.zip && zip -j ${workspaceFolder}/mics/mame/roms/msx1_cart/crunner.zip c-runner.rom)" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment