By desertfishExperimental file-based assembler.
Work in progress.
For now, it still assembles from disk but into memory, so make sure the output address is in free RAM for instance
* = $8000
See the example HELLO.ASM
Source code is here https://github.com/irmen/cx16assem
By StefanX16 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 texts 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 Tested with emulator version r38. Run with the following command:
x16emu -sdcard sdcard.img -prg X16EDIT-x.x.x.PRG -run where x.x.x is the program version.
You can also run the program with the "Try it now" button. There is, however, no attached disk in the online emulator, and consequently you cannot save or open files. Also, some of the Ctrl+key sequences are not working in the online emulator. To fully test the program you still need to download and run it locally.
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.
I was reading @gavinhaslehurst's post about implementing floating point numbers based on an article in COMPUTE! magazine. So, I headed over to archive.org and looked up that issue and read the article. Then I flipped through the rest of the issue. On page 16, there was this program, LED - A Line-Oriented Text Editor, written by Arnie Lee of Abacus Software, in BASIC, for the Commodore PET (also mentioned is an APPLE II version, but I didn't see that listing in there).
So, I typed it in and ran it under VICE. Works on the PET, works on the C-64, works on the C-128.... works on the X-16!
The only changes from the original is to comment out the 2 POKEs to disable/enable RUN/STOP and changed the line-endings from CHR$(255) to CHR$(10) so the files would have regular UNIX-style newlines ending the lines.
Is it useful? Debatable.
Is it retro? For sure.
Vol. 3, No. 2
By lamb-duhux16vt is a UTF-8 and somewhat ANSI compatible terminal emulator for
Currently the only useable "serial" port uses LOAD & SAVE to communicate between
the X16 emulator and a glue process that moves data in and out of a POSIX
In the emulator LOAD "UX16VT.PRG" & RUN. On the host, compile and run
## Unicode Support
ux16vt supports up to 4096 1-bit 8x16 pixel glyphs selected at compile time from
the Unicode Basic Multilingual Plane. Unknown characters are displayed as blank.
Currently 672 of these glyphs are used covering 862 different code points. The
following blocks are mapped:
- Basic Latin (00-7f)
- Latin-1 Supplement (80-ff)
- Greek & Coptic (370-3ff)
- Cyrillic (400-4ff)
- Box Drawing (2500-257f)
- Block Elements (2580-259f)
- no support for right-to-left text
- characters are represented internally as 16-bit values, making any characters
outside the basic multilingual plane complete inaccessible
- completely mono-spaced text. full-width glyphs are not available
## ANSI Support
Only sequences beginning with ^[[ are supported (Control Sequence Introducer).
Only numeric parameters are read. A control sequence with more than four
parameters will cause an unchecked buffer overflow.
The following functions are available:
A CUU Cursor Up
B CUD Cursor Down
C CUF Cursor Forward
D CUB Cursor Back
E CNL Cursor Next Line
F CPL Cursor Previous Line
G CHA Cursor Character Absolute [column]
H CUP Cursor Position
J ED Erase in Display
K EL Erase in Line
S SU Scroll Up
T SD Scroll Down
d VPA Vertical Position Absolute [row]
f HVP Horizontal Vertical Position
m SGR Select Graphics Rendition
The only available modes for SGR are 31 to set foreground colour to red and
30,32-39 set the foreground colour to black.
By TomXP411This is an unofficial concept program for a CX16 menu. Modify the DATA statements to add your submenus and commands.
This is currently just a demo to explore the look and and feel of a basic, BASIC menu.