From: Alan Cox Date: Thu, 18 Dec 2014 00:52:24 +0000 (+0000) Subject: trs80: move udata and program top X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=86ab1a6f9de83a9e20d91416966e3d0d92428110;p=FUZIX.git trs80: move udata and program top Matches the linker and allows for the fact that F400-FFFF is occupied by the keyboard mmio and the video map --- diff --git a/Kernel/platform-trs80/config.h b/Kernel/platform-trs80/config.h index a9b618bd..8f12ccd5 100644 --- a/Kernel/platform-trs80/config.h +++ b/Kernel/platform-trs80/config.h @@ -25,7 +25,7 @@ #define TICKSPERSEC 60 /* Ticks per second */ #define PROGBASE 0x0000 /* Base of user */ #define PROGLOAD 0x0100 /* Load and run here */ -#define PROGTOP 0xF900 /* Top of program, base of U_DATA */ +#define PROGTOP 0xEA00 /* Top of program, base of U_DATA */ #define PROC_SIZE 64 /* Memory needed per process */ #define SWAP_SIZE 0x80 /* 64K in blocks (we actually don't need quite all) */ diff --git a/Kernel/platform-trs80/kernel.def b/Kernel/platform-trs80/kernel.def index 003a09e1..923c2e7d 100644 --- a/Kernel/platform-trs80/kernel.def +++ b/Kernel/platform-trs80/kernel.def @@ -1,6 +1,6 @@ ; UZI mnemonics for memory addresses etc -U_DATA .equ 0xF900 ; (this is struct u_data from kernel.h) +U_DATA .equ 0xEA00 ; (this is struct u_data from kernel.h) U_DATA__TOTALSIZE .equ 0x300 ; 256+256+256 bytes. NMOS_Z80 .equ 1