For developers
This manual is for users. If you want to write programs for Veranda, build it, or change it, start here.
Write programs
- VeraBASIC is the easiest way: a BASIC with Veranda's windows, menus and files. See the VeraBASIC manual and its tutorial.
- The SDK (C with cc65, or assembly): sdk/docs/README.md and the programming guide sdk/docs/GUIDE.md.
- The API: every call, variable and constant in docs/API.md, generated from
api/veranda.api. - The file and application format (
.cvtfiles, the info block, tiles, colour icons, overlays): docs/APPFORMAT.md. - The network for programs (
vrnet: TCP through the Wi-Fi modem): docs/NET.md. - AI help on a program's text (ask Veranda Ask to rewrite, shorten, correct, translate or summarise a text, or answer a question about it, with the user's own sign-in): the request files in docs/AIREQ.md.
Programs in Prog8
Veranda programs can also be written in Prog8, with the kit Prog8 for Veranda: github.com/veranda-x16/veranda-prog8. It holds a Prog8 compilation target for Veranda, Veranda's API as a Prog8 library, the window and theme helpers, VIDKIT's wrapper (video and audio) and a template.
- You need Prog8 12.3.5 (or its jar with Java 17 or later), 64tass, Python 3 and Veranda's SDK (
make sdkin a Veranda checkout). - Start from its
template/folder (a window, a menu bar, About and Quit):make VSDK=<the SDK>there buildsProg8 Template.cvt. Copy it to the SD card and open it from the desktop. - Its README explains how a Veranda program runs in Prog8, the tables and the API calls.
VIDKIT Player is the example: its source is at github.com/veranda-x16/vidkit-player.
Build Veranda
You need cc65 and Python 3. The emulator tests need x16emu and the X16 ROM. See the repository's README.
makebuilds the kernel and the tools.tools/mkdist.sh <folder>builds the whole package for an SD card, with the programs from their sibling repositories when they are there. It also puts this manual in text form intoVERANDA/HELP(tools/mkhelp.py).
The gates
Every feature has an automatic test in the emulator, a gate: tools/gate_*.sh (for example tools/gate_shell.sh, tools/gate_edit.sh, tools/gate_gemini.sh). make gates runs the kernel's first gates. The screenshots in this manual come from the gates (build/gate/*/) and from tools/look3_shots.sh.
Why things are as they are
The interface is described in docs/API.md and the program file format in docs/APPFORMAT.md; each program's README in apps/ and the comments in the source explain the details. The plan of the work is docs/PLAN.md.
This manual
The manual's source is docs/manual/ (GitHub Markdown, one page per topic).
tools/mkhelp.py <folder>writes it as plain text files for the X16 (Veranda manual*.txt). The desktop's Veranda > Help opens them in View.tools/mkwiki.sh <wiki-clone>copies it into a clone of the GitHub wiki repository (<repo>.wiki.git), with the links and the image paths fixed for the wiki, and prints the git commands to publish it.
This page is also in the wiki, and on the X16 (the desktop's Veranda > Help).