Created
September 19, 2018 20:26
-
-
Save greg76/5be76b8bd664950407f0a4234181db24 to your computer and use it in GitHub Desktop.
Build and run x86 asm files on MacOS with NASM and DosBox
This file contains hidden or 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
Show hidden characters
{ | |
"shell": true, | |
"env": { | |
"DOSBOX": "/Applications/DOSBox.app/Contents/MacOS/DOSBox" | |
}, | |
"cmd": ["nasm -f bin ${file} -o ${file_base_name}.com && \\$DOSBOX -c \"MOUNT C ${file_path}\" ${file_base_name}.com"], | |
"file_regex": "^(.+):([0-9]+)()?: error: (.*)$", | |
"working_dir": "${file_path}", | |
"selector": "source.assembly", | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment