Andes Workshop
http://forum.andestech.com/

Software overlay sample code
http://forum.andestech.com/viewtopic.php?f=16&t=861
Page 1 of 1

Author:  cindy [ Tue Jun 24, 2014 5:51 pm ]
Post subject:  Software overlay sample code

USER_SECTIONS .section0, .section1, .section2
ROM 0x0
{
RAM 0x0
{
*(+RO, +RW, +ZI)
STACK = 0xA00000
}
}

ROM_OVLY 0x14000
{
RAM2 0x4000 OVERLAY 0x0
{
.overlay0 {* (.section0)}
.overlay1 {* (.section1)}
.overlay2 {* (.section2)}
}
}

Example:
Attachment:
sw-overlay1.png
sw-overlay1.png [ 21.38 KiB | Viewed 2392 times ]

Attachment:
sw-overlay-sag.zip [2.02 KiB]
Downloaded 152 times

Page 1 of 1 All times are UTC + 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/