From 8a0db5c51cb874a11f086af3435541aa7e8adacb Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 8 Dec 2018 01:17:07 +0000 Subject: [PATCH] zxdiv: use slower switch rate due to expensive task switch --- Kernel/platform-zxdiv/config.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Kernel/platform-zxdiv/config.h b/Kernel/platform-zxdiv/config.h index 40337885..e4ed432f 100644 --- a/Kernel/platform-zxdiv/config.h +++ b/Kernel/platform-zxdiv/config.h @@ -49,6 +49,7 @@ #define PROGLOAD 0x8000 /* also data base */ #define PROGTOP 0xFE00 /* Top of program, base of U_DATA copy */ #define PROC_SIZE 32 /* Memory needed per process */ +#define MAXTICKS 10 /* As our task switch is so expensive */ #define BOOT_TTY (513) /* Set this to default device for stdio, stderr */ /* In this case, the default is the first TTY device */ -- 2.34.1