all repos — xyw @ 274de990052cccdf5790915dcf875c3368c9c8e0

A minimal virtual machine and assembler for terminals.

Minor fixes
h3rald h3rald@h3rald.com
Sun, 26 Jul 2026 16:39:10 +0200
commit

274de990052cccdf5790915dcf875c3368c9c8e0

parent

8c73b62840ae887c76be40eaf064e8c83ceea271

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

jump to
M devices/system.hdevices/system.h

@@ -5,6 +5,4 @@ xyw_byte system_input(xyw_byte *data, xyw_byte addr, xyw_byte *error);

void system_output(xyw_byte *data, xyw_byte addr, xyw_byte *error); void system_tick(xyw_byte *data); void system_save(xyw_byte *data, xyw_byte *state); -void system_restore(xyw_byte *data, const xyw_byte *state); - -int xyw_system_try_restore_parent(void);+void system_restore(xyw_byte *data, const xyw_byte *state);
M xyw.hxyw.h

@@ -118,5 +118,6 @@

void xyw_vm_save_snapshot(xyw_vm_snapshot *snap); void xyw_vm_restore_snapshot(xyw_vm_snapshot *snap); int xyw_vm_load_image(const char *path, const char *args); +int xyw_system_try_restore_parent(void); #endif // XYW_H