Files posted by Stefan
X16 Edit is a text editor for the Commander X16 platform.
Use plain text files Store text buffer in banked RAM (512KB to 2 MB) Handle large text buffers efficiently Simple modeless user interface inspired by GNU Nano Implement basic editing functions well - refrain from making the program too feature-rich Support both ISO and PETSCII modes Emulator and Kernal requirements:
X16 Edit versions 0.0.1-0.3.6 are tested with the official R38 X16 Edit versions 0.4.0-0.4.5 are tested with an emulator and Kernal compiled from the Github master branch (Kernal commit 7bfa81a to f62e25a). X16 Edit version 0.5.0 is tested with the official R39 and R40 Run with the following command:
x16emu -sdcard sdcard.img -prg X16EDIT-x.x.x.PRG -run (rom version < R40) where x.x.x is the program version.
The above method doesn't work in ROM version R40. Instead you need to store the X16EDIT-.x.x.x.PRG file on the SD card. Start the emulator with x16emu -sdcard sdcard.img. In the emulator type LOAD"X16EDIT-x.x.x.PRG" to load the program, and then RUN to start it.
Please read the attached file romnotes.pdf if you want to try the ROM version.
Source files available at https://github.com/stefan-b-jakobsson/x16-edit
Released under GNU General Public License v 3 or later.
BASLOAD lets you write BASIC programs without line numbers in the editor of your choosing.
BASLOAD runs natively on the X16. As it's name implies, BASLOAD loads BASIC programs stored on the SD card into RAM. While loading a file, it's tokenized so that it can be run by the X16's built-in BASIC interpreter.
Source files are stored as plain text that can be edited in almost any editor on the X16 or on a modern computer. There are, however, special bindings for the text editor X16 Edit making the programming workflow more convenient.
Instructions on how to use BASLOAD and source code may be found here:
This is a template for ROM based assembly programs that you are free to use or continue upon.
It's made for the CA65 assembler.
Create your program code as normal. Of coarse, you need to place all variables in RAM and avoid any self modifying code. Include the file kernal.inc. This will: Create jump vectors for all "public" KERNAL function, and Set the IRQ vector in $fffe-ffff, so that the KERNAL interrupt handler is called. The file example.s is a small hello world test.
The project is built with build.sh.
The file example.cfg contains the memory segment settings needed by the assembler/linker.
The source code is also available on Github: