coco2: update for the rest of the EC00 changes needed
authorAlan Cox <alan@linux.intel.com>
Sat, 5 Nov 2016 22:43:15 +0000 (22:43 +0000)
committerAlan Cox <alan@linux.intel.com>
Sat, 5 Nov 2016 22:43:15 +0000 (22:43 +0000)
Kernel/platform-coco2/README
Kernel/platform-coco2/config.h

index 17062b8..ed531b6 100644 (file)
@@ -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
 
index d2843b1..9151abd 100644 (file)
@@ -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 */