From 90a5dad6bb4cfaf4afc24000c8ce59d0410482b8 Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Sun, 11 Aug 2024 13:29:06 -0700 Subject: [PATCH] Print 8 items on the stack --- src/devices/system.c | 2 +- src/uxn11.c | 2 +- src/uxncli.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/devices/system.c b/src/devices/system.c index 61adc50..9519613 100644 --- a/src/devices/system.c +++ b/src/devices/system.c @@ -45,7 +45,7 @@ static void system_print(Stack *s) { Uint8 i; - for(i = s->ptr - 7; i != (Uint8)(s->ptr); i++) + for(i = s->ptr - 8; i != (Uint8)(s->ptr); i++) fprintf(stderr, "%02x%c", s->dat[i], i == 0xff ? '|' : ' '); fprintf(stderr, "< \n"); } diff --git a/src/uxn11.c b/src/uxn11.c index 60db526..a9ab18f 100644 --- a/src/uxn11.c +++ b/src/uxn11.c @@ -267,7 +267,7 @@ main(int argc, char **argv) int i = 1; char *rom; if(i != argc && argv[i][0] == '-' && argv[i][1] == 'v') { - fprintf(stdout, "Uxn11 - Varvara Emulator, 5 Aug 2024.\n"); + fprintf(stdout, "Uxn11 - Varvara Emulator, 11 Aug 2024.\n"); i++; } rom = i == argc ? "boot.rom" : argv[i++]; diff --git a/src/uxncli.c b/src/uxncli.c index 25ba0ec..710bd99 100644 --- a/src/uxncli.c +++ b/src/uxncli.c @@ -68,7 +68,7 @@ main(int argc, char **argv) int i = 1; char *rom; if(i != argc && argv[i][0] == '-' && argv[i][1] == 'v') { - fprintf(stdout, "Uxncli - Console Varvara Emulator, 5 Aug 2024.\n"); + fprintf(stdout, "Uxncli - Console Varvara Emulator, 11 Aug 2024.\n"); i++; } rom = i == argc ? "boot.rom" : argv[i++];