Print 8 items on the stack
This commit is contained in:
parent
a9d7ff23a5
commit
7d077eb2c6
|
@ -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");
|
||||
}
|
||||
|
|
|
@ -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++];
|
||||
|
|
|
@ -466,7 +466,7 @@ main(int argc, char **argv)
|
|||
/* flags */
|
||||
if(argc > 1 && argv[i][0] == '-') {
|
||||
if(!strcmp(argv[i], "-v"))
|
||||
return system_error("Uxnemu - Varvara Emulator(GUI)", "5 Aug 2024.");
|
||||
return system_error("Uxnemu - Varvara Emulator(GUI)", "11 Aug 2024.");
|
||||
else if(!strcmp(argv[i], "-2x"))
|
||||
set_zoom(2, 0);
|
||||
else if(!strcmp(argv[i], "-3x"))
|
||||
|
|
Loading…
Reference in New Issue