annotate loadtools/scripts/c155.init @ 451:578ba9dfc369

os_sem_ir.c: os_ReleaseSemaphore() done
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 23 Jun 2014 02:58:34 +0000
parents 57c681499f48
children fe9e620c89ff
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
420
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 # Set WS=3 for both nCS0 and nCS1, same as the more basic Compal phones
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 w16 fffffb00 00A3
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4 w16 fffffb02 00A3
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6 # We need to set the FFFF:FB10 register to map the flash (not the boot ROM)
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7 # to address 0, same as the basic compal.init version; see the latter for
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8 # the explanation.
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10 w16 fffffb10 0300
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 # We need to switch the CS4/ADD22 pin from its default function of CS4
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13 # to the needed ADD22, to access the 8 MiB of flash. Compal's C155/156
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
14 # in-flash boot code does this setting, but let's do it ourselves too.
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16 w16 fffef006 0008