From e4d99e870aee6db8f47725820b802ac37be24b20 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Thu, 17 May 2018 13:37:35 +0100 Subject: [PATCH] trs80: fix handling of standard 128K systems 128K systems have *two* banks not one. --- Kernel/platform-trs80/discard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/platform-trs80/discard.c b/Kernel/platform-trs80/discard.c index 3c7d5ab4..9dcac114 100644 --- a/Kernel/platform-trs80/discard.c +++ b/Kernel/platform-trs80/discard.c @@ -18,7 +18,7 @@ void map_init(void) { } -uint8_t nbanks = 1; /* Default 1 bank, unless port 94 probe updates */ +uint8_t nbanks = 2; /* Default 2 banks, unless port 94 probe updates */ void pagemap_init(void) { -- 2.34.1