PDA

View Full Version : Low hub layout... $0000-$000F



Cluso99
03-21-2012, 11:19 AM
I know the layout except for one byte. Is the byte at $0005 a checksum byte or is it for something else?

Here is the rest of the layout for anyone that does not know...



$0000 long 00 EA 32 06 ' clock frequency (104MHz shown for 6.5MHz xtal)
$0004 byte 6F ' clock mode xtal1 + PLL16
$0005 byte CE ' is this a checksum???
$0006 word 10 00 ' Pbase = $0010 (always $0010)
$0008 word 88 29 ' Vbase = $2988
$000A word B4 30 ' Dbase = $30B4
$000C word 58 00 ' Pcurr = $0058
$000E word E0 30 ' Dcurr = $30E0


The Stackmarker of $FF FF F9 FF is repeated at Dbase - 4 and Dbase - 8.
The code is zero filled from Vbase to Dbase - 8.

MagIO2
03-21-2012, 11:59 AM
Have a look here: http://propeller.wikispaces.com/Hub+Memory+Map

Cluso99
03-21-2012, 01:42 PM
Thanks MagIO2. I was not sure thatnthe byte was a checksum. I need to keep and replace the clockfreq and mode after a new object load (binary) and I wanted to ensure that I didnt need to replace this byte too.