diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d23b1a4..6db1bac 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,13 +15,13 @@ jobs: steps: - name: Install build tools - run: sudo apt update && sudo apt install build-essential + run: sudo apt update && sudo apt install build-essential xz-utils - name: Download OpenWatcom if: steps.cache.outputs.cache-hit != 'true' run: | rm -rf /opt/watcom mkdir /opt/watcom - wget -qO- https://github.com/open-watcom/open-watcom-v2/releases/download/Current-build/ow-snapshot.tar.gz | tar -xvz -C /opt/watcom + wget -qO- https://github.com/open-watcom/open-watcom-v2/releases/download/Current-build/ow-snapshot.tar.xz | tar -Jxv -C /opt/watcom echo "/opt/watcom/binl64:/opt/watcom/binl" >> $GITHUB_PATH - uses: actions/checkout@v2 - name: Build `cp437` @@ -100,4 +100,4 @@ jobs: **/*.COM amikey/*.md multikey/*.md - viakey/*.md \ No newline at end of file + viakey/*.md diff --git a/biosdump/biosdump.c b/biosdump/biosdump.c index 6bfc2dd..8b318d9 100644 --- a/biosdump/biosdump.c +++ b/biosdump/biosdump.c @@ -19,6 +19,7 @@ #include "clib.h" +/* Dummy comment. */ static int dump_range(uint32_t base, uint32_t size, const char *id) { @@ -26,7 +27,7 @@ dump_range(uint32_t base, uint32_t size, const char *id) FILE *f; /* Output the range being dumped. */ - printf("Dumping %s BIOS range (%08X-%08X)...", id, base, base + size - 1); + printf("Dumping %s BIOS range (%08X-%08X)... ", id, base, base + size - 1); /* Generate file name. */ sprintf(fn, "%08X.DMP", base); @@ -34,20 +35,20 @@ dump_range(uint32_t base, uint32_t size, const char *id) /* Open the dump file. */ f = fopen(fn, "wb"); if (!f) { - printf(" FAILURE\n"); + printf("FAILURE\n"); return 1; } /* Write the dump. */ if (fwrite((char *) base, 1, size, f) != size) { - printf(" FAILURE\n"); + printf("FAILURE\n"); fclose(f); return 2; } /* Finish the dump. */ fclose(f); - printf(" OK\n"); + printf("OK\n"); return 0; }