changeset 1197:607fcc81c5ae

Fixed incorrect RMB sizes of Level One D.X*** system globals
author boisy
date Mon, 02 Jun 2003 15:52:27 +0000
parents 4725897b4eb1
children b4beed49ef37
files level1/modules/kernel.asm
diffstat 1 files changed, 35 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/level1/modules/kernel.asm	Mon Jun 02 14:28:08 2003 +0000
+++ b/level1/modules/kernel.asm	Mon Jun 02 15:52:27 2003 +0000
@@ -3,6 +3,35 @@
 *
 * $Id$
 *
+* This is how the memory map looks after the kernel has initialized:
+*
+*     $0000----> ================================== 
+*               |                                  |
+*               |                                  |
+*  $0020-$0111  |  System Globals (D.FMBM-D.XNMI)  |
+*               |                                  |
+*               |                                  |
+*     $0200---->|==================================|
+*               |        Free Memory Bitmap        |
+*  $0200-$0221  |     (1 bit = 256 byte page)      |
+*               |----------------------------------|
+*               |      System Dispatch Table       |
+*  $0222-$0291  |     (Room for 56 addresses)      |
+*               |----------------------------------|
+*  $0292-$02FF  |       User Dispatch Table        |
+*               |     (Room for 56 addresses)      |
+*     $0300---->|==================================|
+*               |                                  |
+*               |                                  |
+*  $0300-$03FF  |     Module Directory Entries     |
+*               |      (Room for 64 entries)       |
+*               |                                  |
+*     $0400---->|==================================|
+*               |                                  |
+*  $0400-$04FF  |           System Stack           |
+*               |                                  |
+*     $0500---->|==================================|
+*
 * Ed.    Comments                                       Who YY/MM/DD
 * ------------------------------------------------------------------
 *  14    From Tandy OS-9 Level One VR 02.00.00
@@ -42,17 +71,17 @@
 
 P2Nam    fcs   /OS9P2/
 
-VectCode bra   SWI3Jmp
+VectCode bra   SWI3Jmp		$0100
          nop
-         bra   SWI2Jmp
+         bra   SWI2Jmp		$0103
          nop
-         bra   SWIJmp
+         bra   SWIJmp		$0106
          nop
-         bra   NMIJmp
+         bra   NMIJmp		$0109
          nop
-         bra   IRQJmp
+         bra   IRQJmp		$010C
          nop
-         bra   FIRQJmp
+         bra   FIRQJmp		$010F
 
 SWI3Jmp  jmp   [>D.SWI3]
 SWI2Jmp  jmp   [>D.SWI2]