Prepare workspace - prb28/vscode-amiga-assembly GitHub Wiki
The workspace
Create a fs-uae / winuae virtual disk drive.
This is only a directory that will host your program file and the startup script for the Amiga. It can be created by the build process by setting to true the options createStartupSequence and createExeFileParentDir.
Create directories:
- uae
- uae/dh0
- uae/dh0/s
Create a startup script
Create the file uae/dh0/s/startup-sequence and type :
sys:myprogram
Configure vlink linker in the build task to output the program in the destination directory
Edit the vlink setting:
{
"version": "2.0.0",
"tasks": [
{
"type": "amigaassembly",
"vasm": {
...
},
"vlink": {
"exefilename": "../uae/dh0/myprogram",
...
},
"label": "amigaassembly: build",
}
]
}
The directory is relative to the build dir
Build and verify
Now if you build your program, you will get your binary in uae/dh0/myprogram.