From: Alan Cox Date: Sat, 20 Oct 2018 14:02:07 +0000 (+0100) Subject: fweep: remove more debug X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=be319a0c3d6813c4834877e0923dadedbbe08f11;p=FUZIX.git fweep: remove more debug --- diff --git a/Applications/games/fweep.c b/Applications/games/fweep.c index 558ca7dd..0fa41cd2 100644 --- a/Applications/games/fweep.c +++ b/Applications/games/fweep.c @@ -373,7 +373,7 @@ static void zwrite(uint16_t addr, uint8_t value) uint8_t p = zbuf_find(addr >> 8); zbuf[p][addr & 0xFF] = value; zbuf_dirty[p] = 1; - memory[addr] = value; +// memory[addr] = value; // fprintf(stderr, ">%06X:%02X<\n", addr, value); } @@ -439,8 +439,6 @@ void paging_init(void) membreak = static_start >> 8; - printf("%d pages of pagefile.\n", membreak); - lseek(story, 0, SEEK_SET); lseek(pagefile, 0, SEEK_SET); /* Copy the writable parts of the story into the page file */ @@ -453,10 +451,9 @@ void paging_init(void) } memset(zbuf_page, 0xFF, sizeof(zbuf_page)); memset(zbuf_dirty, 0, sizeof(zbuf_dirty)); - printf("Page file set up.\n"); - lseek(story, 64, SEEK_SET); - if (read(story, memory + 64, sizeof(memory)) < 1024) - panic("invalid story file.\n"); + //lseek(story, 64, SEEK_SET); + //if (read(story, memory + 64, sizeof(memory)) < 1024) + // panic("invalid story file.\n"); /* Write back the proper header info */ for (i = 0; i < 64; i++) write8(i, memory[i]);