FreeCalypso > hg > freecalypso-sw
view 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 |
line wrap: on
line source
# Set WS=3 for both nCS0 and nCS1, same as the more basic Compal phones w16 fffffb00 00A3 w16 fffffb02 00A3 # We need to set the FFFF:FB10 register to map the flash (not the boot ROM) # to address 0, same as the basic compal.init version; see the latter for # the explanation. w16 fffffb10 0300 # We need to switch the CS4/ADD22 pin from its default function of CS4 # to the needed ADD22, to access the 8 MiB of flash. Compal's C155/156 # in-flash boot code does this setting, but let's do it ourselves too. w16 fffef006 0008