From: Alan Cox Date: Fri, 21 Apr 2017 15:51:44 +0000 (+0100) Subject: coco2cart: trivial improvements X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=7a15ec3d2e1628add9ecaa226edeee584f84fd58;p=FUZIX.git coco2cart: trivial improvements --- diff --git a/Kernel/platform-coco2cart/Makefile b/Kernel/platform-coco2cart/Makefile index 79c46ede..e89219fe 100644 --- a/Kernel/platform-coco2cart/Makefile +++ b/Kernel/platform-coco2cart/Makefile @@ -11,7 +11,7 @@ CDSRCS = discard.c mini_ide_discard.c DSRCS = ../dev/devdw.c ASRCS = crt0.s coco2.s ide.s usermem.s sdc.s -ASRCS += bootstrap.s bootstrap_sdc.s bootstrap_dw.s +ASRCS += bootstrap.s bootstrap_sdc.s #bootstrap_dw.s ASRCS += tricks.s commonmem.s drivewire.s video.s COBJS = $(CSRCS:.c=$(BINEXT)) diff --git a/Kernel/platform-coco2cart/README b/Kernel/platform-coco2cart/README index daf5e067..070ada0e 100644 --- a/Kernel/platform-coco2cart/README +++ b/Kernel/platform-coco2cart/README @@ -57,8 +57,6 @@ Needs the IDE patches TODO ==== -Fix use of CONFIG_LEGACY_EXEC in the devsdc driver - Make the boot loader robust (timeout handling) Add hash of code not just simple magic - so we know bits match Merge coco and IDE boot code so it works out which is present diff --git a/Kernel/platform-coco2cart/config.h b/Kernel/platform-coco2cart/config.h index f566efa0..a0071822 100644 --- a/Kernel/platform-coco2cart/config.h +++ b/Kernel/platform-coco2cart/config.h @@ -15,7 +15,8 @@ #define CONFIG_BANKS 1 /* And swapping */ -#define SWAPDEV 0x900 /* Uses part of IDE slice 0 */ +#define SWAPDEV 0x000 /* Uses part of IDE slice 0 */ +//#define SWAPDEV 0x900 /* Uses part of SD slice 0 */ #define SWAP_SIZE 0x40 /* 32K in 512 byte blocks */ #define SWAPBASE 0x8000 /* We swap the lot */ #define SWAPTOP 0xFE00 /* so it's a round number of 512 byte sectors */ @@ -24,7 +25,6 @@ /* Permit large I/O requests to bypass cache and go direct to userspace */ #define CONFIG_LARGE_IO_DIRECT -#define CONFIG_LEGACY_EXEC /* Video terminal, not a serial tty */ #define CONFIG_VT