install instructions
This commit is contained in:
parent
aaf4dffe1a
commit
aeab8b6a25
2 changed files with 21 additions and 1 deletions
6
hello.c
Normal file
6
hello.c
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main(void) {
|
||||||
|
printf("Hello ant");
|
||||||
|
return 0;
|
||||||
|
}
|
14
readme.md
14
readme.md
|
@ -2,6 +2,11 @@ A port of https://github.com/bjartwolf/ant to the high level language c
|
||||||
|
|
||||||
# Getting started
|
# 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
|
Install cc65 in WSL2
|
||||||
|
|
||||||
https://cc65.github.io/doc/intro.html
|
https://cc65.github.io/doc/intro.html
|
||||||
|
@ -10,5 +15,14 @@ https://cc65.github.io/doc/intro.html
|
||||||
sudo apt-get install cc65
|
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
|
Loading…
Add table
Reference in a new issue