Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andymccall/commander-x16-development
Coding examples in 6502 assembler and C for the Commander X16 neoretro computer
https://github.com/andymccall/commander-x16-development
6502 6502-assembly assembler c commander-x16 commanderx16 retrocomputing
Last synced: about 1 month ago
JSON representation
Coding examples in 6502 assembler and C for the Commander X16 neoretro computer
- Host: GitHub
- URL: https://github.com/andymccall/commander-x16-development
- Owner: andymccall
- Created: 2024-06-06T15:58:30.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-13T14:16:23.000Z (3 months ago)
- Last Synced: 2024-09-30T05:45:29.259Z (about 1 month ago)
- Topics: 6502, 6502-assembly, assembler, c, commander-x16, commanderx16, retrocomputing
- Language: Assembly
- Homepage: https://andymccall.co.uk/
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### VSCode Configuration
Ensure the Commander X16 headers are incldued in the includePath:
### Install VSCode
Install the following Extensions
https://marketplace.visualstudio.com/items?itemName=ms-vscode.makefile-tools
https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools-extension-pack
https://marketplace.visualstudio.com/items?itemName=SharpNinja.cc65### Install cc65
```
username@host:~$ cd ~
username@host:~$ mkdir development
username@host:~$ cd development
username@host:~$ git clone [email protected]:cc65/cc65.git
username@host:~$ make install PREFIX=~/development/tools/cc65
```Add cc65 bin to the path and add CC65_HOME environment variable:
```
username@host:~$ vi ~/.profile
```Add the following at the bottom of the file:
```
# set PATH so it includes cc65 if it exists
if [ -d "$HOME/development/tools/cc65/bin" ] ; then
PATH="$HOME/development/tools/cc65/bin:$PATH"
fi# Add CC65_HOME
if [ -d "$HOME/development/tools/cc65/share/cc65" ] ; then
CC65_HOME=$HOME/development/tools/cc65/share/cc65
fi
```Test:
```
username@host:~$ source ~/.profile
username@host:~$ cc65 --version
cc65 V2.19 - Git 0541b65aa
```### Install X16 Emulator
https://github.com/X16Community/x16-emulator/releases/
Download the latest release.
```
username@host:~$ unzip x16emu_linux-x86_64-r47.zip -d ~/development/tools/x16emu
```Add the emulator to path:
```
username@host:~$ vi ~/.profile
```Add the following at the bottom of the file:
```
# set PATH so it includes x16emu if it exists
if [ -d "$HOME/development/tools/x16emu" ] ; then
PATH="$HOME/development/tools/x16emu:$PATH"
fi
```Test:
```
username@host:~$ source ~/.profile
username@host:~$ x16emu
```