Print 8 items on the stack
This commit is contained in:
parent
a405e1c106
commit
90a5dad6bb
|
@ -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");
|
||||
}
|
||||
|
|
|
@ -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++];
|
||||
|
|
|
@ -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++];
|
||||
|
|
Loading…
Reference in New Issue