From: Alan Cox Date: Sat, 5 Nov 2016 22:43:15 +0000 (+0000) Subject: coco2: update for the rest of the EC00 changes needed X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=719368a509a53956dbb5c3476ab862c7b404def4;p=FUZIX.git coco2: update for the rest of the EC00 changes needed --- diff --git a/Kernel/platform-coco2/README b/Kernel/platform-coco2/README index 17062b81..ed531b63 100644 --- a/Kernel/platform-coco2/README +++ b/Kernel/platform-coco2/README @@ -1,7 +1,7 @@ COCO2 ===== -COCO or Dragon 64 with an IDE port and 64K of RAM +COCO or Dragon 64 with an IDE port, cartridge and 64K of RAM Supported hardware: IDE (Glenside or compatible) @@ -14,7 +14,7 @@ Memory Map 0400-7FFF Code/Data for kernel (take care to keep this below 8000 and shuffle stuff if needed to make it fit) 8000-EFFF User space -F000-FBFF More kernel bits +EC00-FBFF More kernel bits FC00-FEFF udata FF00-FFFF I/O etc diff --git a/Kernel/platform-coco2/config.h b/Kernel/platform-coco2/config.h index d2843b1e..9151abd6 100644 --- a/Kernel/platform-coco2/config.h +++ b/Kernel/platform-coco2/config.h @@ -19,7 +19,7 @@ #define SWAPDEV 0x0 /* Uses part of IDE slice 0 */ #define SWAP_SIZE 0x40 /* 32K in 512 byte blocks */ #define SWAPBASE 0x8000 /* We swap the lot, including stashed uarea */ -#define SWAPTOP 0xF000 /* so it's a round number of 512 byte sectors */ +#define SWAPTOP 0xEC00 /* so it's a round number of 512 byte sectors */ #define UDATA_SIZE 0x0200 /* one block */ #define MAX_SWAPS 32 @@ -48,7 +48,7 @@ extern unsigned char vt_mangle_6847(unsigned char c); #define TICKSPERSEC 50 /* Ticks per second */ #define PROGBASE 0x8000 /* also data base */ #define PROGLOAD 0x8000 /* also data base */ -#define PROGTOP 0xF000 /* Top of program */ +#define PROGTOP 0xEC00 /* Top of program */ /* We need a tidier way to do this from the loader */ #define CMDLINE NULL /* Location of root dev name */