comparison loadtools/scripts/c155.init @ 420:57c681499f48

loadtools/scripts/c155.{config,init}: created
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 18 Jun 2014 08:38:41 +0000
parents
children fe9e620c89ff
comparison
equal deleted inserted replaced
419:3a46728e054b 420:57c681499f48
1 # Set WS=3 for both nCS0 and nCS1, same as the more basic Compal phones
2
3 w16 fffffb00 00A3
4 w16 fffffb02 00A3
5
6 # We need to set the FFFF:FB10 register to map the flash (not the boot ROM)
7 # to address 0, same as the basic compal.init version; see the latter for
8 # the explanation.
9
10 w16 fffffb10 0300
11
12 # We need to switch the CS4/ADD22 pin from its default function of CS4
13 # to the needed ADD22, to access the 8 MiB of flash. Compal's C155/156
14 # in-flash boot code does this setting, but let's do it ourselves too.
15
16 w16 fffef006 0008