From 0fbab0d03e5f770d57991104859b58ef8e5fd885 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Le=20Calvar?= <tlc@kher.nl> Date: Fri, 18 Nov 2022 15:58:58 +0100 Subject: [PATCH] add debug (nographic) task --- .vscode/tasks.json | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 4a2d46d..929b1cb 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -127,6 +127,31 @@ "isDefault": true }, "problemMatcher": [] - } + }, + { + "label": "Debug Sextant (nographic)", + "type": "shell", + "windows": { + "command": "cd build/boot; c:\\sextant\\qemu\\qemu.exe -S -s -L \"c:\\sextant\\qemu\" -net nic,model=ne2k_isa -net user -tftp ./ -cdrom grub.iso", + "options": { + "env": { + "PATH": "C:\\sextant\\ccompil" + } + } + }, + "linux": { + "comments": "To quit Alt + 2 > quit", + "command": "cd build/boot; qemu-system-i386 -curses -S -s -net nic,model=ne2k_isa -net user,tftp=./ -cdrom grub.iso" + }, + "osx": { + "comments": "To quit Alt + 2 > quit", + "command": "cd build/boot; qemu-system-i386 -curses -S -s -net nic,model=ne2k_isa -net user,tftp=./ -cdrom grub.iso" + }, + "group": { + "kind": "build", + "isDefault": true + }, + "problemMatcher": [] + }, ] } -- GitLab