install instructions

This commit is contained in:
Bjorn Einar Bjarntes 2021-12-17 21:22:15 +01:00
parent aaf4dffe1a
commit aeab8b6a25
2 changed files with 21 additions and 1 deletions

6
hello.c Normal file
View file

@ -0,0 +1,6 @@
#include <stdio.h>
int main(void) {
printf("Hello ant");
return 0;
}

View file

@ -2,6 +2,11 @@ A port of https://github.com/bjartwolf/ant to the high level language c
# Getting started
Install Vice emulator
In PowerShell on Windows, as... The GUI does not work in WSL2 yet.
```powershell
choco install winvice
```
Install cc65 in WSL2
https://cc65.github.io/doc/intro.html
@ -10,5 +15,14 @@ https://cc65.github.io/doc/intro.html
sudo apt-get install cc65
```
Open in VS Code and install recommended extension.
Not sure if I had a typo in my header or I have to import sudo apt-get install clang
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
```
cl65 hello.c -o hello.prg
x64.exe hello.prg
```
to run hello world