diff bootrom.notes @ 8:a06573cacb6e

boot ROM re: trying to understand the code that runs after '<' received
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 17 Apr 2013 06:25:19 +0000
parents a445735685ba
children 25b016d16602
line wrap: on
line diff
--- a/bootrom.notes	Tue Apr 16 20:56:31 2013 +0000
+++ b/bootrom.notes	Wed Apr 17 06:25:19 2013 +0000
@@ -37,11 +37,19 @@
 80001C 7 words:
 	hard vectors: the physical vector locations in the ROM
 	contain branch instructions to these 7 RAM addresses
-
+800038:	The helper routine for transferring control to type 1 flash images
+	is copied to and run here.
+800100:	the last word of the above routine
 800104: word initialized to 0x0001D4C0
 800108: byte initialized to 0x01
 
-800534: byte initialized to 0x00
+800520: byte variable filled every time the 0xfb4 routine is called
+	holds the ID of the UART on which '<' came in, or FF if none
+800524: byte variable filled every time the 0xfb4 routine is called
+	filled with a copy of 800534
+
+800534: byte initialized to 0x00, then may be set to 1 by the 0xfb4
+	routine if it selects /1 clock mode.
 
 8005C0: appears to be the intended low address (bottom) of the stack
 80074C: top of the stack (initial value loaded into SP)