all repos — xyw @ 7a7f5e080b37a860387bf893746a37aa83e72a5f

A minimal virtual machine and assembler for terminals.

Added make test, minor improvements.
h3rald h3rald@h3rald.com
Fri, 27 Feb 2026 18:09:44 +0100
commit

7a7f5e080b37a860387bf893746a37aa83e72a5f

parent

523f6dd495365a28d5d74a0b57a225170ce7dd4c

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

jump to
M MakefileMakefile

@@ -15,7 +15,7 @@ # Windows (via MinGW/MSYS)

LDFLAGS += -lole32 endif -.PHONY: clean +.PHONY: clean test xyw: $(OBJS) $(CC) $(CFLAGS) $(OBJS) -o xyw $(LDFLAGS)

@@ -43,6 +43,9 @@ $(CC) $(CFLAGS) -c devices/file.c -o devices/file.o

devices/beeper.o: devices/beeper.c devices/miniaudio.h xyw.h $(CC) $(CFLAGS) -c devices/beeper.c -o devices/beeper.o + +test: + ./test.sh clean: rm -f xyw xyw.exe $(OBJS)
M examples/fileops.xywexamples/fileops.xyw

@@ -18,7 +18,7 @@ ; Delete test.txt

file.op.delete file.operation STB ; Exit -$00 system.state STB +HLT .include "lib/puts.xyw"