Skip to main content

X16 Command Line Interface

X16 Command Line Interface is a tool for assembly projects. Features:

  • Downloading and building of compiler, emulator and rom
  • Default configuration should just work
  • Build and run with one command
  • Easy to read configuration file

Details

The first command you should use in your project folder is x16 init. X16Cli downloads the compilation tools in a hidden folder and creates a toml configuration file.

The hello world project does nothing. You are free to start from the main.asm file.

If you want to change the starting point you just have to edit the config file under compiler.source section.

Multiple Files

Every other .asm file (except the main) should be added to the config file in the modules list. The include files (.inc) shouldn't be added.

The modules compiled this way should export the right symbols (please look at cc65 documentation for that).

Requirements

X16Cli is actively developed and tested on Linux Ubuntu. If you are a Mac or Windows user you may consider to help me supporting these platforms too. Thank you.

Linux Ubuntu

  • Python >= 3.6
  • sudo apt install build-essential git

If something is missing here, please reach out to me.

Install

You should only need to do this in the right environment:

pip install x16cli

Or, something like that for user level:

pip3 install x16cli --user

You should have the pip3 user binary folder in your system PATH to have easy access to x16 script.

Getting Started

mkdir myprj-folder
cd myprj-folder
x16 init
x16 run

Metadata

Release files for x16cli 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for x16cli 0.1.1
File Size Uploaded
x16cli-0.1.1.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for x16cli 0.1.1
File Interpreter ABI Platform
x16cli-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 22.9 kB

Release files / x16cli-0.1.1.tar.gz

Download URL x16cli-0.1.1.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a6a65dff4848342c29df3d6a4d16b95e0e8e9a82c5c07bdba419fff1c2de4a05
BLAKE2b-256 checksum
How to use checksums
2c6a4ea46d6dc5587a805af62089bc8ce288a928c9870f8c2ac0c927fe49a63e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.9

Release files / x16cli-0.1.1-py3-none-any.whl

Download URL x16cli-0.1.1-py3-none-any.whl
Size 18.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad2805502a6357e7286e506239d322ff19074df602c6ee747dd7527906224804
BLAKE2b-256 checksum
How to use checksums
99bec1c41e3ab20797a1b1ee3758b85a83dd102f38444096fc099a5d02907e22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.9

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page