all repos — xyw @ 6d18bea4e92d336116011e843efdc3d2271a4778

A minimal virtual machine and assembler for terminals.

Simplified and reformatted debug output.
h3rald h3rald@h3rald.com
Tue, 28 Jul 2026 09:59:44 +0200
commit

6d18bea4e92d336116011e843efdc3d2271a4778

parent

5288ff3936aa71ef2ce71abfe16ce8f940a2c519

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

jump to
M xywrun.cxywrun.c

@@ -564,9 +564,9 @@ if (!system_running_state())

{ continue; } - XYW_DBG(" -- PC:%04X %s%-3s U:%02X S:%02X X:%02X Y:%02X XW:%04X YW:%04X stk:%s\n", + XYW_DBG(" -- pc:%04X %s%-3s x:%02X y:%02X xw:%04X yw:%04X stack:%s\n", *pc, xyw_instructions[xyw_memory[*pc] & 0x1F], mode_suffix(xyw_memory[*pc]), - u, s, *x, *y, *xw, *yw, + *x, *y, *xw, *yw, format_stack_peek(xyw_memory[*pc] & XYW_MODE_W)); switch (xyw_memory[*pc]) {