all repos — xyw @ 0c3b364afa49ad62c84c01327c8b7e840079bb28

A minimal virtual machine and assembler for terminals.

Fixes.
h3rald h3rald@h3rald.com
Fri, 13 Feb 2026 07:38:14 +0100
commit

0c3b364afa49ad62c84c01327c8b7e840079bb28

parent

c96add80119b624d5377eafe543c88140559f7af

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M xywrun.cxywrun.c

@@ -89,7 +89,8 @@

//// Helpers to retrieve device number and address within the device static inline int get_device(xyw_word addr) { - if (addr < DEVICE_AREA_START) return -1; + if (addr < DEVICE_AREA_START) + return -1; return (addr - DEVICE_AREA_START) / 16; }