Memory Overlays and Advanced LDF Commands
Grouped Overlay Execution
Listing 5-5
shows a different implementation of the same algorithm.
The overlaid functions are grouped in pairs. Since all four pairs of routines
are resident simultaneously, the processor executes both routines before
paging.
Listing 5-5. LDF Overlays – Grouped
OVERLAY_GROUP {
OVERLAY_INPUT {
ALGORITHM
OVERLAY_OUTPUT ( fft_one.ovl)
INPUT_SECTIONS ( Fft_1st.doj(program) )
} >ovl_code
OVERLAY_INPUT {
ALGORITHM
OVERLAY_OUTPUT ( fft_two.ovl)
INPUT_SECTIONS ( Fft_mid.doj(program) )
} >ovl_code
}
OVERLAY_GROUP {
OVERLAY_INPUT {
ALGORITHM
OVERLAY_OUTPUT ( fft_three.ovl)
INPUT_SECTIONS ( Fft_last.doj(program) )
} >ovl_code
OVERLAY_INPUT {
ALGORITHM
OVERLAY_OUTPUT ( fft_last.ovl)
INPUT_SECTIONS ( Fft_last.doj(program) )
} >ovl_code
}
VisualDSP++ 3.5 Linker and Utilities Manual
for 16-Bit Processors
// Declare first overlay group
// Overlays to live in section ovl_code
( ALL_FIT )
( ALL_FIT )
// Declare second overlay group
// Overlays to live in section ovl_code
( ALL_FIT )
( ALL_FIT )
5-33
Need help?
Do you have a question about the VisualDSP++ 3.5 and is the answer not in the manual?
Questions and answers