From 4e0f13090be377c29f4dcd85d5645c1e0db939a9 Mon Sep 17 00:00:00 2001 From: Dieter Baron Date: Wed, 30 Sep 2020 21:41:57 +0200 Subject: [PATCH] Fix table in help screen, make time estimates match between program and help screen. --- README.md | 4 ++-- help_screen.s | 10 +++++----- print-approximate-time.c | 2 +- tachyon-rl.c | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index b61bcb8..f95d942 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,8 @@ Approximate time for backup or restore for 16 MB RAMLink (proportionally shorter | Method | C64 | SuperCPU V1 | SuperCPU V2 | |:-:|:-:|:-:|:-:| -| Ultimate with REU | 8 min | 75 s | 55 s | -| SD2IEC | 72 min | 64 min | 60 min | +| Ultimate with REU | 7 min | 72 s | 55 s | +| SD2IEC | 72 min | 60 min | 60 min | ## Using diff --git a/help_screen.s b/help_screen.s index 1e365c8..78ba911 100644 --- a/help_screen.s +++ b/help_screen.s @@ -59,7 +59,7 @@ L1: .byte $40, $40, $40, $40, $40, $40, $40, $6e, $20, $20 scrcode " |Size | C64 |SuperCPU V1|SuperCPU V2| " scrcode " | 4 MB|2 min| 18 s | 14 s | " - scrcode " |16 MB|8 min| 75 s | 55 s | " + scrcode " |16 MB|7 min| 72 s | 55 s | " .byte $20, $6d, $40, $40, $40, $40, $40, $71, $40, $40 .byte $40, $40, $40, $71, $40, $40, $40, $40, $40, $40 .byte $40, $40, $40, $40, $40, $71, $40, $40, $40, $40 @@ -81,14 +81,14 @@ L1: scrcode " " scrcode " " scrcode "Approximate time for backup or restore: " - .byte $20, $70, $40, $40, $40, $40, $40, $40, $72, $40 + .byte $20, $70, $40, $40, $40, $40, $40, $72, $40, $40 .byte $40, $40, $40, $40, $72, $40, $40, $40, $40, $40 .byte $40, $40, $40, $40, $40, $40, $72, $40, $40, $40 .byte $40, $40, $40, $40, $40, $40, $40, $40, $6e, $20 scrcode " |Size | C64 |SuperCPU V1|SuperCPU V2| " - scrcode " | 4 MB|20 min| 15 min | 15 min | " - scrcode " |16 MB|75 min| 60 min | 60 min | " - .byte $20, $6d, $40, $40, $40, $40, $40, $40, $71, $40 + scrcode " | 4 MB|18 min| 15 min | 15 min | " + scrcode " |16 MB|72 min| 60 min | 60 min | " + .byte $20, $6d, $40, $40, $40, $40, $40, $71, $40, $40 .byte $40, $40, $40, $40, $71, $40, $40, $40, $40, $40 .byte $40, $40, $40, $40, $40, $40, $71, $40, $40, $40 .byte $40, $40, $40, $40, $40, $40, $40, $40, $7d, $20 diff --git a/print-approximate-time.c b/print-approximate-time.c index ef0f2c5..46f4580 100644 --- a/print-approximate-time.c +++ b/print-approximate-time.c @@ -30,7 +30,7 @@ #include "tachyon.h" void print_approximate_time(uint32_t ms) { - if (ms < 120000) { + if (ms < 110000) { printf("%lu seconds", (ms + 500) / 1000); } else { diff --git a/tachyon-rl.c b/tachyon-rl.c index 10498b0..7d6de0e 100644 --- a/tachyon-rl.c +++ b/tachyon-rl.c @@ -172,7 +172,7 @@ int main(void) { static void print_approximate_time(uint32_t ms) { - if (ms < 120000) { + if (ms < 110000) { printf("%lu seconds", (ms + 500) / 1000); } else {