Max-FORTH 68HC11 V3.3 MEMORY MAP +---+-----+-------------+----------------------------------------+ |DEC| HEX | NAME | VALUE | +---+-----+-------------+----------------------------------------+ 0 $0000 W 0 1 $0001 " 2 $0002 IP 0 WORD PTR AFTER BOOT PAT. 3 $0003 " 4 $0004 UP $0006 UAREA 5 $0005 " 6 $0006 DNLINK 0 7 $0007 " 8 $0008 UPLINK 0 9 $0009 " 10 $000A PRIORITY 0 11 $000B " 12 $000C RPSAVE 0 13 $000D " 14 $000E R0 STACKINIT 15 $000F " 16 $0010 S0 BOS 17 $0011 " 18 $0012 KEY-BC-PTR DEFKEY 19 $0013 " 20 $0014 EMIT-BC-PTR DEFOUT 21 $0015 " 22 $0016 UKEY KEYSUB+2 23 $0017 " 24 $0018 UEMIT EMITSUB+2 25 $0019 " 26 $001A U?TERMINAL QTSUB+2 27 $001B " 28 $001C TIB TIBX 29 $001D " 30 $001E UC/L 16 31 $001F " 32 $0020 CLD/WRM $A55A 33 $0021 " 34 $0022 UPAD UPADINIT 35 $0023 " 36 $0024 BASE 10 37 $0025 " 38 $0026 C/10MS 20000 39 $0027 " 40 $0028 CR CHARACTER $0D 41 $0029 " 42 $002A BS CHARACTER $08 43 $002B " 44 $002C DP TOP 45 $002D " 46 $002E DP\ 0 47 $002F " 48 $0030 EDP $B604 49 $0031 " 50 $0032 HEADERLESS 0 51 $0033 " 52 $0034 VOC-LINK UAREA+UASMOF+2 53 $0035 " 54 $0036 $81 $81,$A0 55 $0037 $A0 56 $0038 UFORTH NTOP 57 $0039 " 58 $003A 00 0000 59 $003B 00 60 $003C $81 $81,$A0 61 $003D $A0 62 $003E UEDITOR EDTOP 63 $003F " 64 $0040 " UAREA+U4TH+2 65 $0041 " 66 $0042 $81 $81,$A0 67 $0043 $A0 68 $0044 UASSEMBLER ASMTOP 69 $0045 " 70 $0046 " UAREA+UEDITOR+2 71 $0047 " 72 $0048 WIDTH 31 73 $0049 " 74 $004A FENCE NTOP 75 $004B " 76 $004C UABORT ABORT 77 $004D " 78 $004E UFIRST $D7FC 79 $004F " 80 $0050 ULIMIT $E000 81 $0051 " 82 $0052 OFFSET 0 83 $0053 " 84 $0054 WARNING 0 85 $0055 " 86 $0056 UR/W RAM DISK 87 $0057 " 88 $0058 >IN 89 $0059 " 90 $005A SPAN 91 $005B " 92 $005C #TIB 93 $005D " 94 $005E DPL 95 $005F " 96 $0060 FLD 97 $0061 " 98 $0062 USE 99 $0063 " 100 $0064 PREV 101 $0065 " 102 $0066 BLK 103 $0067 " 104 $0068 SCR 105 $0069 " 106 $006A CONTEXT 107 $006B " 108 $006C CURRENT 109 $006D " 110 $006E STATE 111 $006F " 112 $0070 CSP 113 $0071 " 114 $0072 CYLINDER 115 $0073 " 116 $0074 " 117 $0075 " 118 $0076 DISKNO 119 $0077 " 120 $0078 B/SIDE 121 $0079 " TOS END USER VARIABLES 122 $007A NTOP $84 123 $007B 'T' 124 $007C 'A' 125 $007D 'S' 126 $007E 'K' 127 $007F LINK 128 $0080 " 129 $0081 PFAPTR 130 $0082 " 131 $0083 (dictionary) TOP 132 $0084 " 133 $0085 " 134 $0086 " 135 $0087 " 136 $0088 " 137 $0089 " 138 $008A 139 $008B 140 $008C 141 $008D 142 $008E 143 $008F 144 $0090 145 $0091 146 $0092 147 $0093 148 $0094 149 $0095 150 $0096 151 $0097 152 $0098 153 $0099 154 $009A 155 $009B 156 $009C 157 $009D 158 $009E 159 $009F 160 $00A0 161 $00A1 162 $00A2 163 $00A3 164 $00A4 165 $00A5 166 $00A6 167 $00A7 168 $00A8 DATA STACK 16 169 $00A9 " 170 $00AA DATA STACK 15 171 $00AB " 172 $00AC DATA STACK 14 173 $00AD " 174 $00AE DATA STACK 13 175 $00AF " 176 $00B0 DATA STACK 12 177 $00B1 " 178 $00B2 DATA STACK 11 179 $00B3 " 180 $00B4 DATA STACK 10 181 $00B5 " 182 $00B6 DATA STACK 9 183 $00B7 " 184 $00B8 DATA STACK 8 185 $00B9 " 186 $00BA DATA STACK 7 187 $00BB " 188 $00BC DATA STACK 6 189 $00BD " 190 $00BE DATA STACK 5 191 $00BF " 192 $00C0 DATA STACK 4 193 $00C1 " 194 $00C2 DATA STACK 3 195 $00C3 " 196 $00C4 DATA STACK 2 197 $00C5 " 198 $00C6 DATA STACK 1 199 $00C7 " 200 $00C8 (digits) (BLK) BOS S0 IN Y 201 $00C9 (digits) " 202 $00CA (digits) (IN) 203 $00CB (digits) " 204 $00CC (digits) 205 $00CD (digits) 206 $00CE (digits) 207 $00CF (digits) 208 $00D0 TIBX UPADINIT 209 $00D1 " 211 $00D3 " 212 $00D4 " 213 $00D5 " 214 $00D6 " 215 $00D7 " 216 $00D8 " 217 $00D9 " 218 $00DA " 219 $00DB " 220 $00DC " 221 $00DD " 222 $00DE " 223 $00DF " 224 $00E0 RETURN STACK 16 225 $00E1 " 226 $00E2 RETURN STACK 15 227 $00E3 " 228 $00E4 RETURN STACK 14 229 $00E5 " 230 $00E6 RETURN STACK 13 231 $00E7 " 232 $00E8 RETURN STACK 12 233 $00E9 " 234 $00EA RETURN STACK 11 235 $00EB " 236 $00EC RETURN STACK 10 237 $00ED " 238 $00EE RETURN STACK 9 239 $00EF " 240 $00F0 RETURN STACK 8 241 $00F1 " 242 $00F2 RETURN STACK 7 243 $00F3 " 244 $00F4 RETURN STACK 6 245 $00F5 " 246 $00F6 RETURN STACK 5 247 $00F7 " 248 $00F8 RETURN STACK 4 249 $00F9 " 250 $00FA RETURN STACK 3 251 $00FB " 252 $00FC RETURN STACK 2 253 $00FD " 254 $00FE RETURN STACK 1 255 $00FF " STACKINIT RESET PUT INTO S $103D INIT REG $0B REV 2 ($09 REV 0-1) BY RESET $B000 PORTA ($9000 REV 0-1) $B001 Reserved etc. $B002 PIOC $B003 PORTC $B004 PORTB $B005 PORTCL $B006 Reserved $B007 DDRC $B008 PORTD $B009 DDRD $B00A PORTE $B00B CFORC $B00C OC1M $B00D OC1D $B00E TCNT $B00F " $B010 TIC1 $B011 " $B012 TIC2 $B013 " $B014 TIC3 $B015 " $B016 TOC1 $B017 " $B018 TOC2 $B019 " $B01A TOC3 $B01B " $B01C TOC4 $B01D " $B01E TOC5 $B01F " $B020 TCTL1 $B021 TCTL2 $B022 TMSK1 $B023 TFLG1 $B024 TMSK2 $B025 TFLG2 $B026 PACTL $B027 PACNT $B028 SPCR $B029 SPSR $B02A SPDR $B02B BAUD $30 BY RESET $B02C SCCR1 $00 BY RESET $B02D SCCR2 $0C BY RESET $B02E SCSR $B02F SCDR $B030 ADCTL $B031 ADR1 $B032 ADR2 $B033 ADR3 $B034 ADR4 $B035 Reserved $B036 Reserved $B037 Reserved $B038 Reserved $B039 OPTION $B03A COPRST $B03B PPROG $B03C HPRIO $B03D INIT $0B BY RESET $B03E TEST1 $B03F CONFIG $B600 EEPROM AUTOSTART LOC HI-LEVEL IN EEPROM $B601 " " $B602 " CFA OF WORD FOR HI-LEVEL AUTOSTART $B603 " " " " " UNASSIGNED " " $B7BF " SCI SER SYS INT VEC AT $FFD6 POINTS HERE " " $B7C2 " SPI SERIAL $FFD8 " " $B7C5 " PLS ACC OVRFL $FFDA " " $B7C8 " PLS ACC EDGE $FFDC " " $B7CB " TMR OVERFLOW $FFDE " " $B7CE " TMR OUT CAP 5 $FFE0 " " $B7D1 " TMR OUT CAP 4 $FFE2 " " $B7D4 " TMR OUT CAP 3 $FFE4 " " $B7D7 " TMR OUT CAP 2 $FFE6 " " $B7DA " TMR OUT CAP 1 $FFE8 " " $B7DD " TMR IN CAP 3 $FFEA " " $B7E0 " TMR IN CAP 2 $FFEC " " $B7E3 " TMR IN CAP 1 $FFEE " " $B7E6 " REAL TIME $FFF0 " " $B7E9 " IRQ $FFF2 " " $B7EC " XIRQ $FFF4 " " $B7EF " SWI $FFF6 " " $B7F2 " OP-CODE TRAP $FFF8 " " $B7F5 " COP FAILURE $FFFA " " $B7F8 " COP Clk Mon $FFFC " " $B7FB " ENTRY POINT FOR RESET SUB $B7FC " " $B7FD " " $B7FE " AUTOSTART LOC FOR RESET SUBROUTINE BEFORE $B7FF EEPROM REG INITIALIZATION FOR 64 CLK CYC REG SET $E000 ROM AND HEADS " " " " " $XXXX NON RUN TIME CODES " " " " " $XXXX RUN TIME CODES " " " " " $XXX0 DEFKEY SCSR IN ROM ADDRESS OF STATUS REG. $XXX1 $XXX2 DEFKEY+2 $20 IN ROM AND MASK $XXX3 DEFKEY+3 0 IN ROM XOR MASK $XXX4 DEFKEY+4 SCDR IN ROM ADDRESS OF INPUT REG. $XXX5 $XXX6 DEFOUT SCSR IN ROM ADDRESS OF STATUS REG $XXX7 $XXX8 DEFOUT+2 $80 IN ROM AND MASK $XXX9 DEFOUT+3 0 IN ROM XOR MASK $XXXA DEFOUT+4 SCDR IN ROM ADDRESS OF OUTPUT REGISTER $XXXB " $FFC0 RESERVED $FFC1 " $FFC2 RESERVED $FFC3 " $FFC4 RESERVED $FFC5 " $FFC6 RESERVED $FFC7 " $FFC8 RESERVED $FFC9 " $FFCA RESERVED $FFCB " $FFCC RESERVED $FFCD " $FFCE RESERVED $FFCF " $FFD0 RESERVED $FFD1 " $FFD2 RESERVED $FFD3 " $FFD4 RESERVED $FFD5 " $FFD6 SCI SER SYS $B7BF IN ROM $FFD7 " $FFD8 SPI SERIAL $B7C2 IN ROM $FFD9 " $FFDA PLS ACC EDGE $B7C5 IN ROM $FFDB " $FFDC PLS ACC OVRFL $B7C8 IN ROM $FFDD " $FFDE TMR OVERFLOW $B7CB IN ROM $FFDF " $FFE0 TMR OUT CAP 5 $B7CE IN ROM $FFE1 " $FFE2 TMR OUT CAP 4 $B7D1 IN ROM $FFE3 " $FFE4 TMR OUT CAP 3 $B7D4 IN ROM $FFE5 " $FFE6 TMR OUT CAP 2 $B7D7 IN ROM $FFE7 " $FFE8 TMR OUT CAP 1 $B7DA IN ROM $FFE9 " $FFEA TMR IN CAP 3 $B7DD IN ROM $FFEB " $FFEC TMR IN CAP 2 $B7E0 IN ROM $FFED " $FFEE TMR IN CAP 1 $B7E3 IN ROM $FFEF " $FFF0 REAL TIME $B7E6 IN ROM $FFF1 " $FFF2 IRQ $B7E9 IN ROM $FFF3 " $FFF4 XIRQ $B7EC IN ROM $FFF5 " $FFF6 SWI $B7EF IN ROM $FFF7 " $FFF8 OP-CODE TRAP $B7F2 IN ROM $FFF9 " $FFFA COP FAILURE $B7F5 IN ROM $FFFB " $FFFC COP Clk Mon $B7F8 IN ROM $FFFD " $FFFE RESET COLD+2 IN ROM $FFFF "