diff --git a/readme.md b/readme.md index 1d9a468..f946116 100644 --- a/readme.md +++ b/readme.md @@ -2,14 +2,17 @@ A port of https://github.com/bjartwolf/ant to the high level language c # Getting started +I have set this up with WSL2 and then running latest nightly Vice in Windows. +I build and run with build tasks, gave up on make files. + Install Vice emulator -In PowerShell on Windows, as... The GUI does not work in WSL2 yet. ```powershell choco install winvice choco install --version 3.5.2021010401 winvice-nightly ``` -Install cc65 in WSL2 + +#Install cc65 in WSL2 https://cc65.github.io/doc/intro.html ``` @@ -18,17 +21,19 @@ sudo apt-get install cc65 Open in VS Code and install recommended extension. -Probably need powershell... +Maybe need powershell... I installed in WSL2. https://docs.microsoft.com/en-us/powershell/scripting/install/install-ubuntu?view=powershell-7.2 Not sure if I had a typo in my header or I have to import sudo apt-get install clang -I added "C:\ProgramData\chocolatey\lib\winvice\tools\WinVICE-3.1-x64" to the path on windows, then I could run +I added "C:\ProgramData\chocolatey\lib\winvice-nightly\tools\GTK3VICE-3.5-win64\bin" to the path on windows, then I could run ``` cl65 hello.c -o hello.prg -x64.exe hello.prg +x64sc.exe hello.prg ``` -to run hello world +to run hello world. + +In this project I use Run task (Ctrl+Shift+P) and the task called build and run. Useful https://sta.c64.org/cbm64mem.html