trs80: move udata and program top
authorAlan Cox <alan@linux.intel.com>
Thu, 18 Dec 2014 00:52:24 +0000 (00:52 +0000)
committerAlan Cox <alan@linux.intel.com>
Thu, 18 Dec 2014 00:52:24 +0000 (00:52 +0000)
Matches the linker and allows for the fact that F400-FFFF is occupied by
the keyboard mmio and the video map

Kernel/platform-trs80/config.h
Kernel/platform-trs80/kernel.def

index a9b618b..8f12ccd 100644 (file)
@@ -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) */
index 003a09e..923c2e7 100644 (file)
@@ -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