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

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

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

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

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

Example:
Attachment:
hw-overlay.png
hw-overlay.png [ 8.61 KiB | Viewed 7550 times ]


Attachments:
sw-overlay-sag.zip [2.02 KiB]
Downloaded 851 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/