From 458b25a4c0b7ff37cc0701b421c9c7db7e8e193d Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Fri, 10 Jan 2020 22:25:00 +0200 Subject: [PATCH] CPU tester next option. --- cputest/main.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cputest/main.c b/cputest/main.c index 66af4925..c02c4a70 100644 --- a/cputest/main.c +++ b/cputest/main.c @@ -125,6 +125,7 @@ static uae_u32 interrupt_mask; static int disasm; static int basicexcept; static int askifmissing; +static int nextall; #define SIZE_STORED_ADDRESS_OFFSET 8 #define SIZE_STORED_ADDRESS 16 @@ -2518,6 +2519,7 @@ int main(int argc, char *argv[]) printf("mnemonic = test single mnemonic\n"); printf("all = test all\n"); printf("all = test all, starting from \n"); + printf("all next = test all, starting after \n"); printf("continue = don't stop on error (all mode only)\n"); printf("ccrmask = ignore CCR bits that are not set.\n"); printf("nodisasm = do not disassemble failed test.\n"); @@ -2567,6 +2569,8 @@ int main(int argc, char *argv[]) basicexcept = 1; } else if (!_stricmp(s, "askifmissing")) { askifmissing = 1; + } else if (!_stricmp(s, "next")) { + nextall = 1; } } @@ -2643,6 +2647,9 @@ int main(int argc, char *argv[]) return 0; } } + if (nextall) { + first += MAX_FILE_LEN; + } for (int i = first; i < diroff; i += MAX_FILE_LEN) { if (test_mnemo(dirs + i)) { if (stop_on_error) -- 2.47.3