A port of langton's ant to C
Find a file
Bjorn Einar Bjarntes e11bfceee9 forgot the program
2021-12-18 11:19:28 +01:00
.vscode a lot 2021-12-18 11:14:37 +01:00
src forgot the program 2021-12-18 11:19:28 +01:00
.gitignore forgot the program 2021-12-18 11:19:28 +01:00
.vimspector.json a lot 2021-12-18 11:14:37 +01:00
Makefile a lot 2021-12-18 11:14:37 +01:00
Makefile.options a lot 2021-12-18 11:14:37 +01:00
mk.bat a lot 2021-12-18 11:14:37 +01:00
mk.sh a lot 2021-12-18 11:14:37 +01:00
readme.md a lot 2021-12-18 11:14:37 +01:00

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.

choco install winvice

Install cc65 in WSL2

https://cc65.github.io/doc/intro.html

sudo apt-get install cc65

Open in VS Code and install recommended extension.

Probably need powershell... 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

cl65 hello.c -o hello.prg
x64.exe hello.prg 

to run hello world

Useful https://sta.c64.org/cbm64mem.html

Using template from https://github.com/empathicqubit/vscode-cc65-debugger/tree/master/src/tests/c-project-template