#define PROGBASE 0x0000 /* also data base */
#define PROGLOAD 0x0100 /* also data base */
#define PROGTOP 0xC000 /* Top of program */
-#define KERNTOP 0xF000 /* Grow buffers to 0xF000 */
+#define KERNTOP 0xFFFF /* Grow buffers to 0xF000 */
#define PROC_SIZE 48 /* Memory needed per process (inc udata) */
extern unsigned int swap_dev;
#define SWAP_SIZE 0x61 /* 48.5K in blocks (prog + udata) */
#define SWAPBASE 0x0000 /* start at the base of user mem */
-#define SWAPTOP 0xC000 /* Swap out program */
+#define SWAPTOP 0xC200 /* Swap out program */
#define CONFIG_SPLIT_UDATA /* Adjacent addresses but different bank! */
#define UDATA_BLKS 1 /* One block of udata */
#define UDATA_SIZE 512 /* 512 bytes of udata */
/*
* When the kernel swaps something it needs to map the right page into
* memory using map_for_swap and then turn the user address into a
- * physical address. For a simple banked setup there is no conversion
- * needed so identity map it.
+ * physical address. For our one process setup we can identity map. We'll
+ * have to in fact as MSX1 has no flexible mapping.
*/
#define swap_map(x) ((uint8_t *)(x))
/* We need a tidier way to do this from the loader */
#define CMDLINE NULL /* Location of root dev name */
-#define BOOTDEVICENAMES "hd#,fd,,rd"
+#define BOOTDEVICENAMES "hd#,fd"
//#define CONFIG_DYNAMIC_BUFPOOL /* we expand bufpool to overwrite the _DISCARD segment at boot */
#define NBUFS 5 /* Number of block buffers, keep in line with space reserved in zeta-v2.s */