all repos — xyw @ 3bc789df5b9584b48b5dcb5b1e17d90730eadd83

A minimal virtual machine and assembler for terminals.

examples/window.xyw

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
.include "devices.xyw"
; vm will skip the first 3 bytes
; and try to process metadata wrapped by ---
init JMPw
; metadata
.string "---" ; metadata marker
.string "Test Program" ; title
.string "Just a test program" ; description 
.string "by H3RALD" ; author
.string "2025-12-18" ; date
.byte $ff $20 ; preferred width and height
.string "---" ; metadata marker

.label init
; actual program starts here