dragon: rewrite the setup code
authorAlan Cox <alan@etchedpixels.co.uk>
Thu, 27 Nov 2014 01:06:39 +0000 (01:06 +0000)
committerAlan Cox <alan@etchedpixels.co.uk>
Thu, 27 Nov 2014 01:06:39 +0000 (01:06 +0000)
commitb6bd78339b8ca0a50935bd506cc4c90850673bd7
treea1766ba9ef197cda7ccffc18e506f51a58ff001f
parent3093f54a848abe5c91de67abe10f310d8116c57f
dragon: rewrite the setup code

We load the first ROM with an unpacking routine and all the data. On boot
it sets up the SAM (must be done from ROM), the PIAs and then says hello,
clears memory and moves all the RAM objects from a DECB stream we add
into the ROM image.

With that done, it flips to the second ROM which together with the
cartridge mappings gives you a high 32K for kernel code, although it has
to be split using text1/text2 as we must stuff the exception vectors into
0xBFF0-0xBFFF - so double check the fuzix.map
Kernel/platform-dragon/setup.s